[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:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:19]OFD Sender: No OFD packet to send [03:28:24]OFD Sender: No OFD packet to send [03:28:29]OFD Sender: No OFD packet to send [03:28:34]OFD Sender: No OFD packet to send [03:28:39]OFD Sender: No OFD packet to send [03:28:44]OFD Sender: No OFD packet to send [03:28:49]OFD Sender: No OFD packet to send [03:28:54]OFD Sender: No OFD packet to send [03:28:59]OFD Sender: No OFD packet to send [03:29:04]OFD Sender: No OFD packet to send [03:29:09]OFD Sender: No OFD packet to send [03:29:14]OFD Sender: No OFD packet to send [03:29:19]OFD Sender: No OFD packet to send [03:29:24]OFD Sender: No OFD packet to send [03:29:29]OFD Sender: No OFD packet to send [03:29:34]OFD Sender: No OFD packet to send [03:29:39]OFD Sender: No OFD packet to send [03:29:44]OFD Sender: No OFD packet to send [03:29:49]OFD Sender: No OFD packet to send [03:29:54]OFD Sender: No OFD packet to send [03:29:59]OFD Sender: No OFD packet to send [03:30:04]OFD Sender: No OFD packet to send [03:30:09]OFD Sender: No OFD packet to send [03:30:14]OFD Sender: No OFD packet to send [03:30:19]OFD Sender: No OFD packet to send [03:30:24]OFD Sender: No OFD packet to send [03:30:29]OFD Sender: No OFD packet to send [03:30:34]OFD Sender: No OFD packet to send [03:30:39]OFD Sender: No OFD packet to send [03:30:44]OFD Sender: No OFD packet to send [03:30:49]OFD Sender: No OFD packet to send [03:30:54]OFD Sender: No OFD packet to send [03:30:59]OFD Sender: No OFD packet to send [03:31:04]OFD Sender: No OFD packet to send [03:31:09]OFD Sender: No OFD packet to send [03:31:14]OFD Sender: No OFD packet to send [03:31:19]OFD Sender: No OFD packet to send [03:31:24]OFD Sender: No OFD packet to send [03:31:29]OFD Sender: No OFD packet to send [03:31:34]OFD Sender: No OFD packet to send [03:31:39]OFD Sender: No OFD packet to send [03:31:44]OFD Sender: No OFD packet to send [03:31:49]OFD Sender: No OFD packet to send [03:31:54]OFD Sender: No OFD packet to send [03:31:59]OFD Sender: No OFD packet to send [03:32:04]OFD Sender: No OFD packet to send [03:32:09]OFD Sender: No OFD packet to send [03:32:14]OFD Sender: No OFD packet to send [03:32:19]OFD Sender: No OFD packet to send [03:32:24]OFD Sender: No OFD packet to send [03:32:29]OFD Sender: No OFD packet to send [03:32:34]OFD Sender: No OFD packet to send [03:32:39]OFD Sender: No OFD packet to send [03:32:44]OFD Sender: No OFD packet to send [03:32:49]OFD Sender: No OFD packet to send [03:32:54]OFD Sender: No OFD packet to send [03:32:59]OFD Sender: No OFD packet to send [03:33:04]OFD Sender: No OFD packet to send [03:33:09]OFD Sender: No OFD packet to send [03:33:14]OFD Sender: No OFD packet to send [03:33:19]OFD Sender: No OFD packet to send [03:33:24]OFD Sender: No OFD packet to send [03:33:29]OFD Sender: No OFD packet to send [03:33:34]OFD Sender: No OFD packet to send [03:33:39]OFD Sender: No OFD packet to send [03:33:44]OFD Sender: No OFD packet to send [03:33:49]OFD Sender: No OFD packet to send [03:33:54]OFD Sender: No OFD packet to send [03:33:59]OFD Sender: No OFD packet to send [03:34:04]OFD Sender: No OFD packet to send [03:34:09]OFD Sender: No OFD packet to send [03:34:14]OFD Sender: No OFD packet to send [03:34:19]OFD Sender: No OFD packet to send [03:34:24]OFD Sender: No OFD packet to send [03:34:29]OFD Sender: No OFD packet to send [03:34:34]OFD Sender: No OFD packet to send [03:34:39]OFD Sender: No OFD packet to send [03:34:44]OFD Sender: No OFD packet to send [03:34: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:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]OFD Sender: No OFD packet to send [03:48:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54: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:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:16]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:31]OFD Sender: No OFD packet to send [04:14:36]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14: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:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]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:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]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:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]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:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]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:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16: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:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36: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:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]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:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:04]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:14]OFD Sender: No OFD packet to send [07:23:19]OFD Sender: No OFD packet to send [07:23:24]OFD Sender: No OFD packet to send [07:23:29]OFD Sender: No OFD packet to send [07:23:34]OFD Sender: No OFD packet to send [07:23:39]OFD Sender: No OFD packet to send [07:23:44]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]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:33]OFD Sender: No OFD packet to send [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:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08: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:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:42]accept exits with 9 [09:30:42]New connection [09:30:42]New thread 3067030884 created [09:30:42]Thread 3066887524 joined [09:30:42]Waiting for new connection... [09:30:42] Sock 9.Parse request [09:30:42]Sock 9.Check first char [09:30:42]Sock 9.First char is OK [09:30:42]request: POST /json_proto HTTP/1.0 [09:30:42]Method: POST [09:30:42]URL: /json_proto [09:30:42]Method is POST - this is cgi request [09:30:42]url: /json_proto [09:30:42]query_string will be loaded in cgi processing [09:30:42]execute_cgi json_proto POST (null) [09:30:42]execute_cgi path=json_proto method=POST [09:30:42]POST find Content-Length [09:30:42]Host: 172.17.53.4:8080 [09:30:42]Content-Length: 843 [09:30:42]Content-Type: application/json [09:30:42] [09:30:42]POST finish read [09:30:42]Found Content-Length = 843 [09:30:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808615", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:30:42]execute_script... [09:30:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808615", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:30:42]POST & json_proto [09:30:42]process_json_proto [09:30:42]json parsed OK: [09:30:42]protocol is kg_v1.0 [09:30:42]action value=close_receipt [09:30:42]process_action close_receipt [09:30:42]cmd_close_receipt [09:30:42]MH_GetDate [09:30:42]Write to MH i2c: F0 00 00 F2 22 03 [09:30:42]Write i2c OK [09:30:42]MH_I2C_Read... [09:30:42]Read from MH i2c: F0 [09:30:42]MH_I2C_Read... [09:30:42]Read from MH i2c: F0 09 00 [09:30:42]MH_I2C_Read... [09:30:42]Read from MH i2c: F0 09 00 F2 22 00 51 1F 16 67 05 11 DA 64 4D [09:30:42]GetLastDocTimeStamp 1729470630 [09:30:42]current date 1729503057 [09:30:42]FM_GetShiftState [09:30:42]SAM_PROTO_GetShiftState [09:30:42]wFMCommunicate request_size=4 [09:30:42]MH_SAM_APDU [09:30:42]CAPDU: 80 13 01 00 [09:30:42]Write to MH i2c: E2 08 00 F3 22 80 13 01 00 00 00 00 00 92 [09:30:42]Write i2c OK [09:30:42]MH_I2C_Read... [09:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:30:42]Read from MH i2c: E2 [09:30:42]MH_I2C_Read... [09:30:42]Read from MH i2c: E2 0E 00 [09:30:42]MH_I2C_Read... [09:30:42]Read from MH i2c: E2 0E 00 F3 22 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 60 [09:30:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:30:42]wFMCommunicate OK [09:30:42]SAM_PROTO_GetShiftState done [09:30:42]FM_GetShiftState done [09:30:42]opened in 1729470630 [09:30:42]opened+sec_in_day 1729557030 [09:30:42]quantity*price = 100015 [09:30:42]sum+1 = 100017 [09:30:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.16 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 1 21.10.2024 09:30 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40733 ФПД: 204517095484463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T093057&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40733&fm=204517095484463&tin=02508201610067®Number=0000000000098148&sum=100016 [09:30:43]StoreToDocumentArchive [09:30:43]shift 448 fd 40733 [09:30:43]save to /storage/0448/doc_00040733 [09:30:43]save last doc name /storage/0448/doc_00040733 to /storage/kkm_last_doc_name [09:30:43]save OK [09:30:43]Clear old archive folders... [09:30:43]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:30:43]tlvbuf is 01115570 [09:30:43]SAM_PROTO_ClearQueue [09:30:43]wFMCommunicate request_size=4 [09:30:43]MH_SAM_APDU [09:30:43]CAPDU: 80 09 00 00 [09:30:43]Write to MH i2c: E2 08 00 00 23 80 09 00 00 00 00 00 00 95 [09:30:43]Write i2c OK [09:30:43]MH_I2C_Read... [09:30:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:30:43]Read from MH i2c: E2 [09:30:43]MH_I2C_Read... [09:30:43]Read from MH i2c: E2 03 00 [09:30:43]MH_I2C_Read... [09:30:43]Read from MH i2c: E2 03 00 00 23 00 90 00 97 [09:30:43]RAPDU: 90 00 [09:30:43]wFMCommunicate OK [09:30:43]SAM_PROTO_ClearQueue done [09:30:43]KKMCreateOFDPacket [09:30:43]OFDProtocolAddRootSTLVToBuf [09:30:43]FM_MakeSignedData [09:30:43]FM_MakeSignedData [09:30:43]SAM_PROTO_SignData [09:30:43]wFMCommunicate request_size=4 [09:30:43]MH_SAM_APDU [09:30:43]CAPDU: 80 0D 01 02 [09:30:43]Write to MH i2c: E2 08 00 01 23 80 0D 01 02 00 00 00 00 9D [09:30:43]Write i2c OK [09:30:43]MH_I2C_Read... [09:30:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:30:43]Read from MH i2c: E2 [09:30:43]MH_I2C_Read... [09:30:43]Read from MH i2c: E2 03 00 [09:30:43]MH_I2C_Read... [09:30:43]Read from MH i2c: E2 03 00 01 23 00 90 00 98 [09:30:43]RAPDU: 90 00 [09:30:43]wFMCommunicate OK [09:30:43]wFMCommunicate request_size=255 [09:30:43]MH_SAM_APDU [09:30:43]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 51 1F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1D 9F 00 00 35 04 06 00 BA [09:30:43]Write to MH i2c: E2 02 01 02 23 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 51 1F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1D 9F 00 00 35 04 06 00 BA 00 00 72 [09:30:43]Write i2c OK [09:30:43]MH_I2C_Read... [09:30:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:30:44]Read from MH i2c: E2 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 03 00 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 03 00 02 23 00 90 00 99 [09:30:44]RAPDU: 90 00 [09:30:44]wFMCommunicate OK [09:30:44]wFMCommunicate request_size=10 [09:30:44]MH_SAM_APDU [09:30:44]CAPDU: 80 0D 02 02 05 01 D8 D3 AC 2F [09:30:44]Write to MH i2c: E2 0D 00 03 23 80 0D 02 02 05 00 01 D8 D3 AC 2F 00 00 31 [09:30:44]Write i2c OK [09:30:44]MH_I2C_Read... [09:30:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:30:44]Read from MH i2c: E2 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 03 00 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 03 00 03 23 00 90 00 9A [09:30:44]RAPDU: 90 00 [09:30:44]wFMCommunicate OK [09:30:44]wFMCommunicate request_size=4 [09:30:44]MH_SAM_APDU [09:30:44]CAPDU: 80 0D 03 02 [09:30:44]Write to MH i2c: E2 08 00 04 23 80 0D 03 02 00 00 00 00 A2 [09:30:44]Write i2c OK [09:30:44]MH_I2C_Read... [09:30:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:30:44]Read from MH i2c: E2 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 0B 00 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 0B 00 04 23 00 0D B1 9E CC BC 7C BF 20 90 00 E2 [09:30:44]RAPDU: 0D B1 9E CC BC 7C BF 20 90 00 [09:30:44]wFMCommunicate OK [09:30:44]SAM_PROTO_SignData done [09:30:44]FM_MakeSignedData done [09:30:44]CreateOFDProtocolMessage [09:30:44]wFMCommunicate request_size=4 [09:30:44]MH_SAM_APDU [09:30:44]CAPDU: 80 11 00 00 [09:30:44]Write to MH i2c: E2 08 00 05 23 80 11 00 00 00 00 00 00 A2 [09:30:44]Write i2c OK [09:30:44]MH_I2C_Read... [09:30:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:30:44]Read from MH i2c: E2 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 17 00 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: E2 17 00 05 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F7 [09:30:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:30:44]wFMCommunicate OK [09:30:44]CreateOFDProtocolMessage done [09:30:44]OFDSenderStorePacket 40733 [09:30:44]StoreOFDPacket docnum=40733 [09:30:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 22 F0 07 01 E3 94 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 51 1F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1D 9F 00 00 35 04 06 00 BA 01 D8 D3 AC 2F 0D B1 9E CC BC 7C BF 20 [09:30:44]CheckFolder [09:30:44]dirname=/storage/ofd_packets [09:30:44]CheckFolder done [09:30:44]ProducePacketName [09:30:44]name=ofd_packets/00040733 [09:30:44]NVStorageSaveData ofd_packets/00040733 [09:30:44]File name is /storage/ofd_packets/00040733 [09:30:44]Write 301 bytes [09:30:44]NVStorageSaveData done [09:30:44]OFDSenderStorePacket done [09:30:44]KKMCreateOFDPacket done [09:30:44]NVStorageSaveData kkm_last_timestamp [09:30:44]File name is /storage/kkm_last_timestamp [09:30:44]Write 4 bytes [09:30:44]NVStorageSaveData done [09:30:44]ExternCall_PrintAddStr [09:30:44]wPrintStart [09:30:44]Write to MH i2c: 01 00 00 06 23 29 [09:30:44]Write i2c OK [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: 01 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: 01 07 00 [09:30:44]MH_I2C_Read... [09:30:44]Read from MH i2c: 01 07 00 06 23 00 00 00 00 00 FF 0F 3E [09:30:44]RasterBufferAndPrint [09:30:44]line Счет N : (1)808615 [09:30:44]line ИÐÐ: 02508201610067 [09:30:44]line Контрольно-КаÑÑовый Чек [09:30:44]line ПРОДÐЖР[09:30:44]line ТРК (МРК, ГÐК) : 63 [09:30:44]line Товар: 2710124130 [09:30:44]line Ðи-92-К-5 [09:30:44]line 14.950 * 66.90 [09:30:44]line = 1000.16 [09:30:44]line ÐДС 12% ÐСП 1% [09:30:44]line > о реализуемом товаре [09:30:44]line ИТОГО: 1000.16 [09:30:44]line ÐСП 1% : 8.85 [09:30:44]line ÐДС 12% : 106.21 [09:30:44]line Ðаличными: 0.00 [09:30:44]line Безнал.: 1000.16 [09:30:44]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:30:44]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:30:44]line СÐО: Общий режим [09:30:44]line Чек 1 21.10.2024 09:30 [09:30:44]line Смена: 448 ФФД: 1.0 [09:30:44]line ЗÐМ: 0300000239 [09:30:44]line РÐМ: 0000000000098148 [09:30:44]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:30:44]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [09:30:44]line ФМ: 0000000000965374 [09:30:44]line ФД: 40733 [09:30:44]line ФПД: 204517095484463 [09:30:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T093057&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40733&fm=204517095484463&tin=02508201610067®Number=0000000000098148&sum=100016 [09:30:44]OFD Sender: Processing packet 40733 [packets to send 4, broken 3] [09:30:44]ProducePacketName [09:30:44]name=ofd_packets/00040733 [09:30:44]OFD Sender: To server: ‡•öpG, [09:30:44]CommunicateWithHost lk.salyk.kg:30040 [09:30:44]ConnectInit lk.salyk.kg [09:30:44]written 0, free lines is 4095 [09:30:44]Connected sock=10 [09:30:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 22 F0 07 01 E3 94 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 51 1F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1D 9F 00 00 35 04 06 00 BA 01 D8 D3 AC 2F 0D B1 9E CC BC 7C BF 20 [09:30:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 DB 6F 47 00 C3 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1D 9F 00 00 F4 03 04 00 32 C5 15 67 B6 04 01 00 00 D3 3F 25 FD 74 DF 42 2A [09:30:44]CommunicateWithHost err = 0 [09:30:44]CheckOFDResponse [09:30:44]1017 (14) - 77093643461234 [09:30:44]1041 (16) - 0000000000965374 [09:30:44]1040 (4) - 40733 [09:30:44]1012 (4) - 21.10.2024 03:06 [09:30:44]1206 (1) - 0 [09:30:44]OFD Sender: Remove packet 40733 [09:30:44]ProducePacketName [09:30:44]name=ofd_packets/00040733 [09:30:44]NVStorageDeleteData [09:30:45]Write to MH i2c: 01 00 00 30 23 53 [09:30:45]Write i2c OK [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: 01 [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: 01 07 00 [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: 01 07 00 30 23 00 00 00 00 00 02 0D 69 [09:30:45]RasterBufferAndPrint [09:30:45]line [09:30:45]line [09:30:45]line [09:30:45]line [09:30:45]line [09:30:45]written 0, free lines is 3336 [09:30:45]MH_Cut [09:30:45]Write to MH i2c: D1 01 00 37 23 01 2C [09:30:45]Write i2c OK [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: D1 [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: D1 01 00 [09:30:45]MH_I2C_Read... [09:30:45]Read from MH i2c: D1 01 00 37 23 00 2B [09:30:45]Write to MH i2c: 01 00 00 38 23 5B [09:30:45]Write i2c OK [09:30:45]MH_I2C_Read... [09:30:45]OFD Sender: No OFD packet to send [09:30:45]*** Cut start [09:30:45]*** Partial cut [09:30:45]*** CUTSNS_PIN = 1 [09:30:45]*** CUTSNS_PIN = 0 [09:30:45]*** Brake cut motor [09:30:46]Read from MH i2c: 01 [09:30:46]MH_I2C_Read... [09:30:46]*** Stop cut motor [09:30:46]*** Cut end [09:30:46]Read from MH i2c: 01 07 00 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: 01 07 00 38 23 00 00 00 00 00 FF 0F 70 [09:30:46]process_action close_receipt done [09:30:46]requested_data is exist [09:30:46]produce_requested_data [09:30:46]requested_item fm.sn is exist - process it [09:30:46]wFMCommunicate request_size=4 [09:30:46]MH_SAM_APDU [09:30:46]CAPDU: 80 11 00 00 [09:30:46]Write to MH i2c: E2 08 00 39 23 80 11 00 00 00 00 00 00 D6 [09:30:46]Write i2c OK [09:30:46]MH_I2C_Read... [09:30:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:30:46]Read from MH i2c: E2 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 17 00 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 17 00 39 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2B [09:30:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:30:46]wFMCommunicate OK [09:30:46]requested_item fd.num is exist - process it [09:30:46]SAM_PROTO_GetFieldsCounters [09:30:46]wFMCommunicate request_size=4 [09:30:46]MH_SAM_APDU [09:30:46]CAPDU: 80 13 00 00 [09:30:46]Write to MH i2c: E2 08 00 3A 23 80 13 00 00 00 00 00 00 D9 [09:30:46]Write i2c OK [09:30:46]MH_I2C_Read... [09:30:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:30:46]Read from MH i2c: E2 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 62 00 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 62 00 3A 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1D 9F 00 00 0E 04 04 00 C0 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 81 [09:30:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1D 9F 00 00 0E 04 04 00 C0 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 [09:30:46]wFMCommunicate OK [09:30:46]SAM_PROTO_GetFieldsCounters done [09:30:46]requested_item shift.num is exist - process it [09:30:46]requested_item shift.opened is exist - process it [09:30:46]req_shift_opened [09:30:46]FM_GetShiftState [09:30:46]SAM_PROTO_GetShiftState [09:30:46]wFMCommunicate request_size=4 [09:30:46]MH_SAM_APDU [09:30:46]CAPDU: 80 13 01 00 [09:30:46]Write to MH i2c: E2 08 00 3B 23 80 13 01 00 00 00 00 00 DB [09:30:46]Write i2c OK [09:30:46]MH_I2C_Read... [09:30:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:30:46]Read from MH i2c: E2 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 0E 00 [09:30:46]MH_I2C_Read... [09:30:46]Read from MH i2c: E2 0E 00 3B 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A9 [09:30:46]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:30:46]wFMCommunicate OK [09:30:46]SAM_PROTO_GetShiftState done [09:30:46]FM_GetShiftState done [09:30:46]req_shift_opened done [09:30:46]requested_item shift.open_date is exist - process it [09:30:46]req_shift_open_date [09:30:46]req_shift_open_date done [09:30:46]produce_requested_data done [09:30:46]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40733,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:30:46]process_action_free close_receipt [09:30:46]json_value_free [09:30:46]json_value_free done [09:30:46]process_json_proto returns [09:30:46]Send response to host [09:30:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40733,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:30:46]free response buf [09:30:46]execute_script done [09:30:46]execute_script returns [09:30:46]free content buf [09:30:46]Sock 9.Close socket [09:30:46]Sock 9.Thread stoped [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:12]accept exits with 7 [09:38:12]New connection [09:38:12]New thread 3066887524 created [09:38:12]Thread 3067030884 joined [09:38:12]Waiting for new connection... [09:38:12] Sock 7.Parse request [09:38:12]Sock 7.Check first char [09:38:12]Sock 7.First char is OK [09:38:12]request: POST /json_proto HTTP/1.0 [09:38:12]Method: POST [09:38:12]URL: /json_proto [09:38:12]Method is POST - this is cgi request [09:38:12]url: /json_proto [09:38:12]query_string will be loaded in cgi processing [09:38:12]execute_cgi json_proto POST (null) [09:38:12]execute_cgi path=json_proto method=POST [09:38:12]POST find Content-Length [09:38:12]Host: 172.17.53.4:8080 [09:38:12]Content-Length: 833 [09:38:12]Content-Type: application/json [09:38:12] [09:38:12]POST finish read [09:38:12]Found Content-Length = 833 [09:38:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808616", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:12]execute_script... [09:38: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 : (1)808616", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:12]POST & json_proto [09:38:12]process_json_proto [09:38:12]json parsed OK: [09:38:12]protocol is kg_v1.0 [09:38:12]action value=close_receipt [09:38:12]process_action close_receipt [09:38:12]cmd_close_receipt [09:38:12]MH_GetDate [09:38:12]Write to MH i2c: F0 00 00 3C 23 4E [09:38:12]Write i2c OK [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: F0 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: F0 09 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: F0 09 00 3C 23 00 13 21 16 67 05 11 DA 64 5C [09:38:12]GetLastDocTimeStamp 1729503057 [09:38:12]current date 1729503507 [09:38:12]FM_GetShiftState [09:38:12]SAM_PROTO_GetShiftState [09:38:12]wFMCommunicate request_size=4 [09:38:12]MH_SAM_APDU [09:38:12]CAPDU: 80 13 01 00 [09:38:12]Write to MH i2c: E2 08 00 3D 23 80 13 01 00 00 00 00 00 DD [09:38:12]Write i2c OK [09:38:12]MH_I2C_Read... [09:38:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:12]Read from MH i2c: E2 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 0E 00 [09:38:12]MH_I2C_Read... [09:38:12]Read from MH i2c: E2 0E 00 3D 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AB [09:38:12]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:38:12]wFMCommunicate OK [09:38:12]SAM_PROTO_GetShiftState done [09:38:12]FM_GetShiftState done [09:38:12]opened in 1729470630 [09:38:12]opened+sec_in_day 1729557030 [09:38:12]quantity*price = 50000 [09:38:12]sum+1 = 50001 [09:38:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 ÐСП 1% : 4.42 ÐДС 12% : 53.10 Ðаличными: 0.00 Безнал.: 500.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 2 21.10.2024 09:38 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40734 ФПД: 78219172079624 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T093827&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40734&fm=78219172079624&tin=02508201610067®Number=0000000000098148&sum=50000 [09:38:13]StoreToDocumentArchive [09:38:13]shift 448 fd 40734 [09:38:13]save to /storage/0448/doc_00040734 [09:38:13]save last doc name /storage/0448/doc_00040734 to /storage/kkm_last_doc_name [09:38:13]save OK [09:38:13]Clear old archive folders... [09:38:13]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:38:13]tlvbuf is 010BC040 [09:38:13]SAM_PROTO_ClearQueue [09:38:13]wFMCommunicate request_size=4 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 09 00 00 [09:38:13]Write to MH i2c: E2 08 00 4A 23 80 09 00 00 00 00 00 00 DF [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 4A 23 00 90 00 E1 [09:38:13]RAPDU: 90 00 [09:38:13]wFMCommunicate OK [09:38:13]SAM_PROTO_ClearQueue done [09:38:13]KKMCreateOFDPacket [09:38:13]OFDProtocolAddRootSTLVToBuf [09:38:13]FM_MakeSignedData [09:38:13]FM_MakeSignedData [09:38:13]SAM_PROTO_SignData [09:38:13]wFMCommunicate request_size=4 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 0D 01 02 [09:38:13]Write to MH i2c: E2 08 00 4B 23 80 0D 01 02 00 00 00 00 E7 [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 4B 23 00 90 00 E2 [09:38:13]RAPDU: 90 00 [09:38:13]wFMCommunicate OK [09:38:13]wFMCommunicate request_size=255 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 13 21 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1E 9F 00 00 35 04 06 00 [09:38:13]Write to MH i2c: E2 02 01 4C 23 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 13 21 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1E 9F 00 00 35 04 06 00 00 00 88 [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 4C 23 00 90 00 E3 [09:38:13]RAPDU: 90 00 [09:38:13]wFMCommunicate OK [09:38:13]wFMCommunicate request_size=11 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 0D 02 02 06 47 23 D1 F7 68 08 [09:38:13]Write to MH i2c: E2 0E 00 4D 23 80 0D 02 02 06 00 47 23 D1 F7 68 08 00 00 98 [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 03 00 4D 23 00 90 00 E4 [09:38:13]RAPDU: 90 00 [09:38:13]wFMCommunicate OK [09:38:13]wFMCommunicate request_size=4 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 0D 03 02 [09:38:13]Write to MH i2c: E2 08 00 4E 23 80 0D 03 02 00 00 00 00 EC [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 0B 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 0B 00 4E 23 00 3F CB 12 16 18 1C CA D9 90 00 F6 [09:38:13]RAPDU: 3F CB 12 16 18 1C CA D9 90 00 [09:38:13]wFMCommunicate OK [09:38:13]SAM_PROTO_SignData done [09:38:13]FM_MakeSignedData done [09:38:13]CreateOFDProtocolMessage [09:38:13]wFMCommunicate request_size=4 [09:38:13]MH_SAM_APDU [09:38:13]CAPDU: 80 11 00 00 [09:38:13]Write to MH i2c: E2 08 00 4F 23 80 11 00 00 00 00 00 00 EC [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:13]Read from MH i2c: E2 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 17 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: E2 17 00 4F 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 41 [09:38:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:38:13]wFMCommunicate OK [09:38:13]CreateOFDProtocolMessage done [09:38:13]OFDSenderStorePacket 40734 [09:38:13]StoreOFDPacket docnum=40734 [09:38:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 F1 65 08 01 F2 13 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 13 21 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1E 9F 00 00 35 04 06 00 47 23 D1 F7 68 08 3F CB 12 16 18 1C CA D9 [09:38:13]CheckFolder [09:38:13]dirname=/storage/ofd_packets [09:38:13]CheckFolder done [09:38:13]ProducePacketName [09:38:13]name=ofd_packets/00040734 [09:38:13]NVStorageSaveData ofd_packets/00040734 [09:38:13]File name is /storage/ofd_packets/00040734 [09:38:13]Write 302 bytes [09:38:13]NVStorageSaveData done [09:38:13]OFDSenderStorePacket done [09:38:13]KKMCreateOFDPacket done [09:38:13]NVStorageSaveData kkm_last_timestamp [09:38:13]File name is /storage/kkm_last_timestamp [09:38:13]Write 4 bytes [09:38:13]NVStorageSaveData done [09:38:13]ExternCall_PrintAddStr [09:38:13]wPrintStart [09:38:13]Write to MH i2c: 01 00 00 50 23 73 [09:38:13]Write i2c OK [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: 01 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: 01 07 00 [09:38:13]MH_I2C_Read... [09:38:13]Read from MH i2c: 01 07 00 50 23 00 00 00 00 00 FF 0F 88 [09:38:13]RasterBufferAndPrint [09:38:13]line Счет N : (1)808616 [09:38:13]line ИÐÐ: 02508201610067 [09:38:13]line Контрольно-КаÑÑовый Чек [09:38:13]line ПРОДÐЖР[09:38:13]line ТРК (МРК, ГÐК) : 42 [09:38:13]line Товар: 2710124130 [09:38:13]line Super 92-К-5 [09:38:13]line 7.310 * 68.40 [09:38:13]line = 500.00 [09:38:13]line ÐДС 12% ÐСП 1% [09:38:13]line > о реализуемом товаре [09:38:13]line ИТОГО: 500.00 [09:38:13]line ÐСП 1% : 4.42 [09:38:13]line ÐДС 12% : 53.10 [09:38:13]line Ðаличными: 0.00 [09:38:13]line Безнал.: 500.00 [09:38:13]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:38:13]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:38:13]line СÐО: Общий режим [09:38:13]line Чек 2 21.10.2024 09:38 [09:38:13]line Смена: 448 ФФД: 1.0 [09:38:13]line ЗÐМ: 0300000239 [09:38:13]line РÐМ: 0000000000098148 [09:38:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:38:13]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [09:38:13]line ФМ: 0000000000965374 [09:38:13]line ФД: 40734 [09:38:13]line ФПД: 78219172079624 [09:38:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T093827&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40734&fm=78219172079624&tin=02508201610067®Number=0000000000098148&sum=50000 [09:38:14]written 0, free lines is 4095 [09:38:14]OFD Sender: Processing packet 40734 [packets to send 4, broken 3] [09:38:14]ProducePacketName [09:38:14]name=ofd_packets/00040734 [09:38:14]OFD Sender: To server: ‡•öpG, [09:38:14]CommunicateWithHost lk.salyk.kg:30040 [09:38:14]ConnectInit lk.salyk.kg [09:38:14]Connected sock=11 [09:38:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 F1 65 08 01 F2 13 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 13 21 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1E 9F 00 00 35 04 06 00 47 23 D1 F7 68 08 3F CB 12 16 18 1C CA D9 [09:38:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 D4 B7 47 00 53 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1E 9F 00 00 F4 03 04 00 F4 C6 15 67 B6 04 01 00 00 55 C6 6B 93 E5 13 3B 48 [09:38:14]CommunicateWithHost err = 0 [09:38:14]CheckOFDResponse [09:38:14]1017 (14) - 77093643461234 [09:38:14]1041 (16) - 0000000000965374 [09:38:14]1040 (4) - 40734 [09:38:14]1012 (4) - 21.10.2024 03:13 [09:38:14]1206 (1) - 0 [09:38:14]OFD Sender: Remove packet 40734 [09:38:14]ProducePacketName [09:38:14]name=ofd_packets/00040734 [09:38:14]NVStorageDeleteData [09:38:14]Write to MH i2c: 01 00 00 7A 23 9D [09:38:14]Write i2c OK [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: 01 [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: 01 07 00 [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: 01 07 00 7A 23 00 00 00 00 00 02 0D B3 [09:38:14]RasterBufferAndPrint [09:38:14]line [09:38:14]line [09:38:14]line [09:38:14]line [09:38:14]line [09:38:14]written 0, free lines is 3336 [09:38:14]MH_Cut [09:38:14]Write to MH i2c: D1 01 00 81 23 01 76 [09:38:14]Write i2c OK [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: D1 [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: D1 01 00 [09:38:14]MH_I2C_Read... [09:38:14]Read from MH i2c: D1 01 00 81 23 00 75 [09:38:14]Write to MH i2c: 01 00 00 82 23 A5 [09:38:14]Write i2c OK [09:38:14]MH_I2C_Read... [09:38:15]OFD Sender: No OFD packet to send [09:38:15]*** Cut start [09:38:15]*** Partial cut [09:38:15]*** CUTSNS_PIN = 1 [09:38:15]*** CUTSNS_PIN = 0 [09:38:15]*** Brake cut motor [09:38:15]Read from MH i2c: 01 [09:38:15]MH_I2C_Read... [09:38:15]*** Stop cut motor [09:38:15]*** Cut end [09:38:15]Read from MH i2c: 01 07 00 [09:38:15]MH_I2C_Read... [09:38:15]Read from MH i2c: 01 07 00 82 23 00 00 00 00 00 FF 0F BA [09:38:15]process_action close_receipt done [09:38:15]requested_data is exist [09:38:15]produce_requested_data [09:38:15]requested_item fm.sn is exist - process it [09:38:15]wFMCommunicate request_size=4 [09:38:15]MH_SAM_APDU [09:38:15]CAPDU: 80 11 00 00 [09:38:15]Write to MH i2c: E2 08 00 83 23 80 11 00 00 00 00 00 00 20 [09:38:15]Write i2c OK [09:38:15]MH_I2C_Read... [09:38:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:15]Read from MH i2c: E2 [09:38:15]MH_I2C_Read... [09:38:15]Read from MH i2c: E2 17 00 [09:38:15]MH_I2C_Read... [09:38:15]Read from MH i2c: E2 17 00 83 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 75 [09:38:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:38:15]wFMCommunicate OK [09:38:15]requested_item fd.num is exist - process it [09:38:15]SAM_PROTO_GetFieldsCounters [09:38:15]wFMCommunicate request_size=4 [09:38:15]MH_SAM_APDU [09:38:15]CAPDU: 80 13 00 00 [09:38:15]Write to MH i2c: E2 08 00 84 23 80 13 00 00 00 00 00 00 23 [09:38:15]Write i2c OK [09:38:15]MH_I2C_Read... [09:38:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:38:16]Read from MH i2c: E2 [09:38:16]MH_I2C_Read... [09:38:16]Read from MH i2c: E2 62 00 [09:38:16]MH_I2C_Read... [09:38:16]Read from MH i2c: E2 62 00 84 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1E 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 CF [09:38:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1E 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:38:16]wFMCommunicate OK [09:38:16]SAM_PROTO_GetFieldsCounters done [09:38:16]requested_item shift.num is exist - process it [09:38:16]requested_item shift.opened is exist - process it [09:38:16]req_shift_opened [09:38:16]FM_GetShiftState [09:38:16]SAM_PROTO_GetShiftState [09:38:16]wFMCommunicate request_size=4 [09:38:16]MH_SAM_APDU [09:38:16]CAPDU: 80 13 01 00 [09:38:16]Write to MH i2c: E2 08 00 85 23 80 13 01 00 00 00 00 00 25 [09:38:16]Write i2c OK [09:38:16]MH_I2C_Read... [09:38:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:16]Read from MH i2c: E2 [09:38:16]MH_I2C_Read... [09:38:16]Read from MH i2c: E2 0E 00 [09:38:16]MH_I2C_Read... [09:38:16]Read from MH i2c: E2 0E 00 85 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F3 [09:38:16]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:38:16]wFMCommunicate OK [09:38:16]SAM_PROTO_GetShiftState done [09:38:16]FM_GetShiftState done [09:38:16]req_shift_opened done [09:38:16]requested_item shift.open_date is exist - process it [09:38:16]req_shift_open_date [09:38:16]req_shift_open_date done [09:38:16]produce_requested_data done [09:38:16]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40734,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:38:16]process_action_free close_receipt [09:38:16]json_value_free [09:38:16]json_value_free done [09:38:16]process_json_proto returns [09:38:16]Send response to host [09:38:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40734,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:38:16]free response buf [09:38:16]execute_script done [09:38:16]execute_script returns [09:38:16]free content buf [09:38:16]Sock 7.Close socket [09:38:16]Sock 7.Thread stoped [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:35]accept exits with 9 [09:42:35]New connection [09:42:35]New thread 3067030884 created [09:42:35]Thread 3066887524 joined [09:42:35]Waiting for new connection... [09:42:35] Sock 9.Parse request [09:42:35]Sock 9.Check first char [09:42:35]Sock 9.First char is OK [09:42:35]request: POST /json_proto HTTP/1.0 [09:42:35]Method: POST [09:42:35]URL: /json_proto [09:42:35]Method is POST - this is cgi request [09:42:35]url: /json_proto [09:42:35]query_string will be loaded in cgi processing [09:42:35]execute_cgi json_proto POST (null) [09:42:35]execute_cgi path=json_proto method=POST [09:42:35]POST find Content-Length [09:42:35]Host: 172.17.53.4:8080 [09:42:35]Content-Length: 677 [09:42:35]Content-Type: application/json [09:42:35] [09:42:35]POST finish read [09:42:35]Found Content-Length = 677 [09:42:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808620", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:35]execute_script... [09:42:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808620", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:35]POST & json_proto [09:42:35]process_json_proto [09:42:35]json parsed OK: [09:42:35]protocol is kg_v1.0 [09:42:35]action value=close_receipt [09:42:35]process_action close_receipt [09:42:35]cmd_close_receipt [09:42:35]MH_GetDate [09:42:35]Write to MH i2c: F0 00 00 86 23 98 [09:42:35]Write i2c OK [09:42:35]MH_I2C_Read... [09:42:35]Read from MH i2c: F0 [09:42:35]MH_I2C_Read... [09:42:35]Read from MH i2c: F0 09 00 [09:42:35]MH_I2C_Read... [09:42:35]Read from MH i2c: F0 09 00 86 23 00 1B 22 16 67 05 11 DA 64 AF [09:42:35]GetLastDocTimeStamp 1729503507 [09:42:35]current date 1729503771 [09:42:35]FM_GetShiftState [09:42:35]SAM_PROTO_GetShiftState [09:42:35]wFMCommunicate request_size=4 [09:42:35]MH_SAM_APDU [09:42:35]CAPDU: 80 13 01 00 [09:42:35]Write to MH i2c: E2 08 00 87 23 80 13 01 00 00 00 00 00 27 [09:42:35]Write i2c OK [09:42:35]MH_I2C_Read... [09:42:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:36]Read from MH i2c: E2 [09:42:36]MH_I2C_Read... [09:42:36]Read from MH i2c: E2 0E 00 [09:42:36]MH_I2C_Read... [09:42:36]Read from MH i2c: E2 0E 00 87 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F5 [09:42:36]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:42:36]wFMCommunicate OK [09:42:36]SAM_PROTO_GetShiftState done [09:42:36]FM_GetShiftState done [09:42:36]opened in 1729470630 [09:42:36]opened+sec_in_day 1729557030 [09:42:36]quantity*price = 30038 [09:42:36]sum+1 = 30039 [09:42:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 3 21.10.2024 09:42 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40735 ФПД: 42618752259786 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094251&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40735&fm=42618752259786&tin=02508201610067®Number=0000000000098148&sum=30000 [09:42:37]StoreToDocumentArchive [09:42:37]shift 448 fd 40735 [09:42:37]save to /storage/0448/doc_00040735 [09:42:37]save last doc name /storage/0448/doc_00040735 to /storage/kkm_last_doc_name [09:42:37]save OK [09:42:37]Clear old archive folders... [09:42:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:42:37]tlvbuf is B6ED4210 [09:42:37]SAM_PROTO_ClearQueue [09:42:37]wFMCommunicate request_size=4 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 09 00 00 [09:42:37]Write to MH i2c: E2 08 00 94 23 80 09 00 00 00 00 00 00 29 [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 94 23 00 90 00 2B [09:42:37]RAPDU: 90 00 [09:42:37]wFMCommunicate OK [09:42:37]SAM_PROTO_ClearQueue done [09:42:37]KKMCreateOFDPacket [09:42:37]OFDProtocolAddRootSTLVToBuf [09:42:37]FM_MakeSignedData [09:42:37]FM_MakeSignedData [09:42:37]SAM_PROTO_SignData [09:42:37]wFMCommunicate request_size=4 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 0D 01 02 [09:42:37]Write to MH i2c: E2 08 00 95 23 80 0D 01 02 00 00 00 00 31 [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 95 23 00 90 00 2C [09:42:37]RAPDU: 90 00 [09:42:37]wFMCommunicate OK [09:42:37]wFMCommunicate request_size=255 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1F 9F 00 00 35 04 06 00 26 [09:42:37]Write to MH i2c: E2 02 01 96 23 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1F 9F 00 00 35 04 06 00 26 00 00 1D [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 96 23 00 90 00 2D [09:42:37]RAPDU: 90 00 [09:42:37]wFMCommunicate OK [09:42:37]wFMCommunicate request_size=10 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 0D 02 02 05 C2 F3 96 D6 CA [09:42:37]Write to MH i2c: E2 0D 00 97 23 80 0D 02 02 05 00 C2 F3 96 D6 CA 00 00 29 [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 03 00 97 23 00 90 00 2E [09:42:37]RAPDU: 90 00 [09:42:37]wFMCommunicate OK [09:42:37]wFMCommunicate request_size=4 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 0D 03 02 [09:42:37]Write to MH i2c: E2 08 00 98 23 80 0D 03 02 00 00 00 00 36 [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 0B 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 0B 00 98 23 00 56 AB 64 54 CC A2 DB 80 90 00 B9 [09:42:37]RAPDU: 56 AB 64 54 CC A2 DB 80 90 00 [09:42:37]wFMCommunicate OK [09:42:37]SAM_PROTO_SignData done [09:42:37]FM_MakeSignedData done [09:42:37]CreateOFDProtocolMessage [09:42:37]wFMCommunicate request_size=4 [09:42:37]MH_SAM_APDU [09:42:37]CAPDU: 80 11 00 00 [09:42:37]Write to MH i2c: E2 08 00 99 23 80 11 00 00 00 00 00 00 36 [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:37]Read from MH i2c: E2 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 17 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: E2 17 00 99 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8B [09:42:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:42:37]wFMCommunicate OK [09:42:37]CreateOFDProtocolMessage done [09:42:37]OFDSenderStorePacket 40735 [09:42:37]StoreOFDPacket docnum=40735 [09:42:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 C8 D6 07 01 53 C8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1F 9F 00 00 35 04 06 00 26 C2 F3 96 D6 CA 56 AB 64 54 CC A2 DB 80 [09:42:37]CheckFolder [09:42:37]dirname=/storage/ofd_packets [09:42:37]CheckFolder done [09:42:37]ProducePacketName [09:42:37]name=ofd_packets/00040735 [09:42:37]NVStorageSaveData ofd_packets/00040735 [09:42:37]File name is /storage/ofd_packets/00040735 [09:42:37]Write 301 bytes [09:42:37]NVStorageSaveData done [09:42:37]OFDSenderStorePacket done [09:42:37]KKMCreateOFDPacket done [09:42:37]NVStorageSaveData kkm_last_timestamp [09:42:37]File name is /storage/kkm_last_timestamp [09:42:37]Write 4 bytes [09:42:37]NVStorageSaveData done [09:42:37]ExternCall_PrintAddStr [09:42:37]wPrintStart [09:42:37]Write to MH i2c: 01 00 00 9A 23 BD [09:42:37]Write i2c OK [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: 01 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: 01 07 00 [09:42:37]MH_I2C_Read... [09:42:37]Read from MH i2c: 01 07 00 9A 23 00 00 00 00 00 FF 0F D2 [09:42:37]RasterBufferAndPrint [09:42:37]line Счет N : (1)808620 [09:42:37]line ИÐÐ: 02508201610067 [09:42:37]line Контрольно-КаÑÑовый Чек [09:42:37]line ПРОДÐЖР[09:42:37]line ТРК (МРК, ГÐК) : 53 [09:42:37]line Товар: 2710124130 [09:42:37]line Ðи-92-К-5 [09:42:37]line 4.490 * 66.90 [09:42:37]line = 300.38 [09:42:37]line ÐДС 12% ÐСП 1% [09:42:37]line > о реализуемом товаре [09:42:37]line ОКРУГЛЕÐИЕ: -0.38 [09:42:37]line ИТОГО: 300.00 [09:42:37]line ВнеÑено: 300.00 [09:42:37]line СДÐЧÐ: 0.00 [09:42:37]line ÐСП 1% : 2.66 [09:42:37]line ÐДС 12% : 31.90 [09:42:37]line Ðаличными: 300.00 [09:42:37]line Безнал.: 0.00 [09:42:37]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:42:37]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:42:37]line СÐО: Общий режим [09:42:37]line Чек 3 21.10.2024 09:42 [09:42:37]line Смена: 448 ФФД: 1.0 [09:42:37]line ЗÐМ: 0300000239 [09:42:37]line РÐМ: 0000000000098148 [09:42:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:42:37]line ФМ: 0000000000965374 [09:42:37]line ФД: 40735 [09:42:37]line ФПД: 42618752259786 [09:42:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094251&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40735&fm=42618752259786&tin=02508201610067®Number=0000000000098148&sum=30000 [09:42:38]OFD Sender: Processing packet 40735 [packets to send 4, broken 3] [09:42:38]ProducePacketName [09:42:38]name=ofd_packets/00040735 [09:42:38]OFD Sender: To server: ‡•öpG, [09:42:38]CommunicateWithHost lk.salyk.kg:30040 [09:42:38]ConnectInit lk.salyk.kg [09:42:38]written 0, free lines is 4095 [09:42:38]Connected sock=10 [09:42:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 C8 D6 07 01 53 C8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 1B 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1F 9F 00 00 35 04 06 00 26 C2 F3 96 D6 CA 56 AB 64 54 CC A2 DB 80 [09:42:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 78 71 47 00 7F 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 1F 9F 00 00 F4 03 04 00 FB C7 15 67 B6 04 01 00 00 0A AC 6F 35 22 12 E6 79 [09:42:38]CommunicateWithHost err = 0 [09:42:38]CheckOFDResponse [09:42:38]1017 (14) - 77093643461234 [09:42:38]1041 (16) - 0000000000965374 [09:42:38]1040 (4) - 40735 [09:42:38]1012 (4) - 21.10.2024 03:18 [09:42:38]1206 (1) - 0 [09:42:38]OFD Sender: Remove packet 40735 [09:42:38]ProducePacketName [09:42:38]name=ofd_packets/00040735 [09:42:38]NVStorageDeleteData [09:42:38]Write to MH i2c: 01 00 00 C5 23 E8 [09:42:38]Write i2c OK [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: 01 [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: 01 07 00 [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: 01 07 00 C5 23 00 00 00 00 00 F3 0C EE [09:42:38]RasterBufferAndPrint [09:42:38]line [09:42:38]line [09:42:38]line [09:42:38]line [09:42:38]line [09:42:38]written 0, free lines is 3321 [09:42:38]MH_Cut [09:42:38]Write to MH i2c: D1 01 00 CC 23 01 C1 [09:42:38]Write i2c OK [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: D1 [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: D1 01 00 [09:42:38]MH_I2C_Read... [09:42:38]Read from MH i2c: D1 01 00 CC 23 00 C0 [09:42:38]Write to MH i2c: 01 00 00 CD 23 F0 [09:42:38]Write i2c OK [09:42:38]MH_I2C_Read... [09:42:38]OFD Sender: No OFD packet to send [09:42:39]*** Cut start [09:42:39]*** Partial cut [09:42:39]*** CUTSNS_PIN = 1 [09:42:39]*** CUTSNS_PIN = 0 [09:42:39]*** Brake cut motor [09:42:39]Read from MH i2c: 01 [09:42:39]MH_I2C_Read... [09:42:39]*** Stop cut motor [09:42:39]*** Cut end [09:42:39]Read from MH i2c: 01 07 00 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: 01 07 00 CD 23 00 00 00 00 00 FF 0F 05 [09:42:39]process_action close_receipt done [09:42:39]requested_data is exist [09:42:39]produce_requested_data [09:42:39]requested_item fm.sn is exist - process it [09:42:39]wFMCommunicate request_size=4 [09:42:39]MH_SAM_APDU [09:42:39]CAPDU: 80 11 00 00 [09:42:39]Write to MH i2c: E2 08 00 CE 23 80 11 00 00 00 00 00 00 6B [09:42:39]Write i2c OK [09:42:39]MH_I2C_Read... [09:42:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:39]Read from MH i2c: E2 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 17 00 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 17 00 CE 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C0 [09:42:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:42:39]wFMCommunicate OK [09:42:39]requested_item fd.num is exist - process it [09:42:39]SAM_PROTO_GetFieldsCounters [09:42:39]wFMCommunicate request_size=4 [09:42:39]MH_SAM_APDU [09:42:39]CAPDU: 80 13 00 00 [09:42:39]Write to MH i2c: E2 08 00 CF 23 80 13 00 00 00 00 00 00 6E [09:42:39]Write i2c OK [09:42:39]MH_I2C_Read... [09:42:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:42:39]Read from MH i2c: E2 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 62 00 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 62 00 CF 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [09:42:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 1F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:42:39]wFMCommunicate OK [09:42:39]SAM_PROTO_GetFieldsCounters done [09:42:39]requested_item shift.num is exist - process it [09:42:39]requested_item shift.opened is exist - process it [09:42:39]req_shift_opened [09:42:39]FM_GetShiftState [09:42:39]SAM_PROTO_GetShiftState [09:42:39]wFMCommunicate request_size=4 [09:42:39]MH_SAM_APDU [09:42:39]CAPDU: 80 13 01 00 [09:42:39]Write to MH i2c: E2 08 00 D0 23 80 13 01 00 00 00 00 00 70 [09:42:39]Write i2c OK [09:42:39]MH_I2C_Read... [09:42:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:39]Read from MH i2c: E2 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 0E 00 [09:42:39]MH_I2C_Read... [09:42:39]Read from MH i2c: E2 0E 00 D0 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 3E [09:42:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:42:39]wFMCommunicate OK [09:42:39]SAM_PROTO_GetShiftState done [09:42:39]FM_GetShiftState done [09:42:39]req_shift_opened done [09:42:39]requested_item shift.open_date is exist - process it [09:42:39]req_shift_open_date [09:42:39]req_shift_open_date done [09:42:39]produce_requested_data done [09:42:39]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40735,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:42:39]process_action_free close_receipt [09:42:39]json_value_free [09:42:39]json_value_free done [09:42:39]process_json_proto returns [09:42:39]Send response to host [09:42:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40735,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:42:39]free response buf [09:42:39]execute_script done [09:42:39]execute_script returns [09:42:39]free content buf [09:42:39]Sock 9.Close socket [09:42:39]Sock 9.Thread stoped [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:21]accept exits with 7 [09:43:21]New connection [09:43:21]New thread 3066887524 created [09:43:21]Thread 3067030884 joined [09:43:21]Waiting for new connection... [09:43:21] Sock 7.Parse request [09:43:21]Sock 7.Check first char [09:43:21]Sock 7.First char is OK [09:43:21]request: POST /json_proto HTTP/1.0 [09:43:21]Method: POST [09:43:21]URL: /json_proto [09:43:21]Method is POST - this is cgi request [09:43:21]url: /json_proto [09:43:21]query_string will be loaded in cgi processing [09:43:21]execute_cgi json_proto POST (null) [09:43:21]execute_cgi path=json_proto method=POST [09:43:21]POST find Content-Length [09:43:21]Host: 172.17.53.4:8080 [09:43:21]Content-Length: 797 [09:43:21]Content-Type: application/json [09:43:21] [09:43:21]POST finish read [09:43:21]Found Content-Length = 797 [09:43:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808619", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 40.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4753555", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:21]execute_script... [09:43: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)808619", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 40.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4753555", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:21]POST & json_proto [09:43:21]process_json_proto [09:43:21]json parsed OK: [09:43:21]protocol is kg_v1.0 [09:43:21]action value=close_receipt [09:43:21]process_action close_receipt [09:43:21]cmd_close_receipt [09:43:21]MH_GetDate [09:43:21]Write to MH i2c: F0 00 00 D1 23 E3 [09:43:21]Write i2c OK [09:43:21]MH_I2C_Read... [09:43:21]Read from MH i2c: F0 [09:43:21]MH_I2C_Read... [09:43:21]Read from MH i2c: F0 09 00 [09:43:21]MH_I2C_Read... [09:43:21]Read from MH i2c: F0 09 00 D1 23 00 48 22 16 67 05 11 DA 64 27 [09:43:21]GetLastDocTimeStamp 1729503771 [09:43:21]current date 1729503816 [09:43:21]FM_GetShiftState [09:43:21]SAM_PROTO_GetShiftState [09:43:21]wFMCommunicate request_size=4 [09:43:21]MH_SAM_APDU [09:43:21]CAPDU: 80 13 01 00 [09:43:21]Write to MH i2c: E2 08 00 D2 23 80 13 01 00 00 00 00 00 72 [09:43:21]Write i2c OK [09:43:21]MH_I2C_Read... [09:43:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:21]Read from MH i2c: E2 [09:43:21]MH_I2C_Read... [09:43:21]Read from MH i2c: E2 0E 00 [09:43:21]MH_I2C_Read... [09:43:21]Read from MH i2c: E2 0E 00 D2 23 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 40 [09:43:21]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:43:21]wFMCommunicate OK [09:43:21]SAM_PROTO_GetShiftState done [09:43:21]FM_GetShiftState done [09:43:21]opened in 1729470630 [09:43:21]opened+sec_in_day 1729557030 [09:43:21]quantity*price = 0 [09:43:21]sum+1 = 1 [09:43:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 4 21.10.2024 09:43 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 Талоны: Топливные Талоны 4753555 ФМ: 0000000000965374 ФД: 40736 ФПД: 233444111572275 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094336&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40736&fm=233444111572275&tin=02508201610067®Number=0000000000098148&sum=0 [09:43:22]StoreToDocumentArchive [09:43:22]shift 448 fd 40736 [09:43:22]save to /storage/0448/doc_00040736 [09:43:22]save last doc name /storage/0448/doc_00040736 to /storage/kkm_last_doc_name [09:43:22]save OK [09:43:22]Clear old archive folders... [09:43:22]ProcessDocumentItem done err = 0, tmpTLVsize=248 [09:43:22]tlvbuf is B6ED42F0 [09:43:22]SAM_PROTO_ClearQueue [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 09 00 00 [09:43:22]Write to MH i2c: E2 08 00 DF 23 80 09 00 00 00 00 00 00 74 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 DF 23 00 90 00 76 [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]SAM_PROTO_ClearQueue done [09:43:22]KKMCreateOFDPacket [09:43:22]OFDProtocolAddRootSTLVToBuf [09:43:22]FM_MakeSignedData [09:43:22]FM_MakeSignedData [09:43:22]SAM_PROTO_SignData [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 01 02 [09:43:22]Write to MH i2c: E2 08 00 E0 23 80 0D 01 02 00 00 00 00 7C [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 E0 23 00 90 00 77 [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=255 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 20 9F 00 00 35 04 06 00 D4 50 F1 58 [09:43:22]Write to MH i2c: E2 02 01 E1 23 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 20 9F 00 00 35 04 06 00 D4 50 F1 58 00 00 91 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 E1 23 00 90 00 78 [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=7 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 02 02 02 5D 33 [09:43:22]Write to MH i2c: E2 0A 00 E2 23 80 0D 02 02 02 00 5D 33 00 00 13 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 E2 23 00 90 00 79 [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 03 02 [09:43:22]Write to MH i2c: E2 08 00 E3 23 80 0D 03 02 00 00 00 00 81 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 0B 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 0B 00 E3 23 00 AB B5 5A 1B 1D 76 56 C9 90 00 09 [09:43:23]RAPDU: AB B5 5A 1B 1D 76 56 C9 90 00 [09:43:23]wFMCommunicate OK [09:43:23]SAM_PROTO_SignData done [09:43:23]FM_MakeSignedData done [09:43:23]CreateOFDProtocolMessage [09:43:23]wFMCommunicate request_size=4 [09:43:23]MH_SAM_APDU [09:43:23]CAPDU: 80 11 00 00 [09:43:23]Write to MH i2c: E2 08 00 E4 23 80 11 00 00 00 00 00 00 81 [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:23]Read from MH i2c: E2 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: E2 17 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: E2 17 00 E4 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D6 [09:43:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:43:23]wFMCommunicate OK [09:43:23]CreateOFDProtocolMessage done [09:43:23]OFDSenderStorePacket 40736 [09:43:23]StoreOFDPacket docnum=40736 [09:43:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 17 DD 04 01 C3 80 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 20 9F 00 00 35 04 06 00 D4 50 F1 58 5D 33 AB B5 5A 1B 1D 76 56 C9 [09:43:23]CheckFolder [09:43:23]dirname=/storage/ofd_packets [09:43:23]CheckFolder done [09:43:23]ProducePacketName [09:43:23]name=ofd_packets/00040736 [09:43:23]NVStorageSaveData ofd_packets/00040736 [09:43:23]File name is /storage/ofd_packets/00040736 [09:43:23]Write 298 bytes [09:43:23]NVStorageSaveData done [09:43:23]OFDSenderStorePacket done [09:43:23]KKMCreateOFDPacket done [09:43:23]NVStorageSaveData kkm_last_timestamp [09:43:23]File name is /storage/kkm_last_timestamp [09:43:23]Write 4 bytes [09:43:23]NVStorageSaveData done [09:43:23]ExternCall_PrintAddStr [09:43:23]wPrintStart [09:43:23]Write to MH i2c: 01 00 00 E5 23 08 [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 E5 23 00 00 00 00 00 FF 0F 1D [09:43:23]RasterBufferAndPrint [09:43:23]line Счет N : (1)808619 [09:43:23]line ИÐÐ: 02508201610067 [09:43:23]line Контрольно-КаÑÑовый Чек [09:43:23]line ПРОДÐЖР[09:43:23]line ТРК (МРК, ГÐК) : 21 [09:43:23]line Товар: 2710194210 [09:43:23]line ДТ-К-2 [09:43:23]line 40.000 * 0.00 [09:43:23]line = 0.00 [09:43:23]line ÐДС 12% ÐСП 1% [09:43:23]line > о реализуемом товаре [09:43:23]line ИТОГО: 0.00 [09:43:23]line ÐСП 1% : 0.00 [09:43:23]line ÐДС 12% : 0.00 [09:43:23]line Ðаличными: 0.00 [09:43:23]line Безнал.: 0.00 [09:43:23]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:43:23]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:43:23]line СÐО: Общий режим [09:43:23]line Чек 4 21.10.2024 09:43 [09:43:23]line Смена: 448 ФФД: 1.0 [09:43:23]line ЗÐМ: 0300000239 [09:43:23]line РÐМ: 0000000000098148 [09:43:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:43:23]line Талоны: Топливные Талоны [09:43:23]line 4753555 [09:43:23]line ФМ: 0000000000965374 [09:43:23]line ФД: 40736 [09:43:23]line ФПД: 233444111572275 [09:43:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094336&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40736&fm=233444111572275&tin=02508201610067®Number=0000000000098148&sum=0 [09:43:23]OFD Sender: Processing packet 40736 [packets to send 4, broken 3] [09:43:23]ProducePacketName [09:43:23]name=ofd_packets/00040736 [09:43:23]OFD Sender: To server: ‡•öpG, [09:43:23]CommunicateWithHost lk.salyk.kg:30040 [09:43:23]ConnectInit lk.salyk.kg [09:43:23]written 0, free lines is 4095 [09:43:23]Connected sock=10 [09:43:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 17 DD 04 01 C3 80 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 20 9F 00 00 35 04 06 00 D4 50 F1 58 5D 33 AB B5 5A 1B 1D 76 56 C9 [09:43:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 A5 28 47 00 F4 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 39 36 35 33 37 34 10 04 04 00 20 9F 00 00 F4 03 04 00 29 C8 15 67 B6 04 01 00 00 53 18 6D D1 F1 03 AB 6A [09:43:23]CommunicateWithHost err = 0 [09:43:23]CheckOFDResponse [09:43:23]1017 (14) - 77093643461234 [09:43:23]1041 (16) - 0000000000965374 [09:43:23]1040 (4) - 40736 [09:43:23]1012 (4) - 21.10.2024 03:19 [09:43:23]1206 (1) - 0 [09:43:23]OFD Sender: Remove packet 40736 [09:43:23]ProducePacketName [09:43:23]name=ofd_packets/00040736 [09:43:23]NVStorageDeleteData [09:43:23]Write to MH i2c: 01 00 00 0F 24 33 [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 0F 24 00 00 00 00 00 F9 0C 3F [09:43:23]RasterBufferAndPrint [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]written 0, free lines is 3327 [09:43:23]MH_Cut [09:43:23]Write to MH i2c: D1 01 00 16 24 01 0C [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 01 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 01 00 16 24 00 0B [09:43:23]Write to MH i2c: 01 00 00 17 24 3B [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:24]OFD Sender: No OFD packet to send [09:43:24]*** Cut start [09:43:24]*** Partial cut [09:43:24]*** CUTSNS_PIN = 1 [09:43:24]*** CUTSNS_PIN = 0 [09:43:24]*** Brake cut motor [09:43:25]Read from MH i2c: 01 [09:43:25]MH_I2C_Read... [09:43:25]*** Stop cut motor [09:43:25]*** Cut end [09:43:25]Read from MH i2c: 01 07 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: 01 07 00 17 24 00 00 00 00 00 FF 0F 50 [09:43:25]process_action close_receipt done [09:43:25]requested_data is exist [09:43:25]produce_requested_data [09:43:25]requested_item fm.sn is exist - process it [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 11 00 00 [09:43:25]Write to MH i2c: E2 08 00 18 24 80 11 00 00 00 00 00 00 B6 [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 17 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 17 00 18 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0B [09:43:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:43:25]wFMCommunicate OK [09:43:25]requested_item fd.num is exist - process it [09:43:25]SAM_PROTO_GetFieldsCounters [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 13 00 00 [09:43:25]Write to MH i2c: E2 08 00 19 24 80 13 00 00 00 00 00 00 B9 [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 62 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 62 00 19 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 20 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [09:43:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 20 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:43:25]wFMCommunicate OK [09:43:25]SAM_PROTO_GetFieldsCounters done [09:43:25]requested_item shift.num is exist - process it [09:43:25]requested_item shift.opened is exist - process it [09:43:25]req_shift_opened [09:43:25]FM_GetShiftState [09:43:25]SAM_PROTO_GetShiftState [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 13 01 00 [09:43:25]Write to MH i2c: E2 08 00 1A 24 80 13 01 00 00 00 00 00 BB [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:25]Read from MH i2c: E2 0E 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 0E 00 1A 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 89 [09:43:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:43:25]wFMCommunicate OK [09:43:25]SAM_PROTO_GetShiftState done [09:43:25]FM_GetShiftState done [09:43:25]req_shift_opened done [09:43:25]requested_item shift.open_date is exist - process it [09:43:25]req_shift_open_date [09:43:25]req_shift_open_date done [09:43:25]produce_requested_data done [09:43:25]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40736,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:43:25]process_action_free close_receipt [09:43:25]json_value_free [09:43:25]json_value_free done [09:43:25]process_json_proto returns [09:43:25]Send response to host [09:43:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40736,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:43:25]free response buf [09:43:25]execute_script done [09:43:25]execute_script returns [09:43:25]free content buf [09:43:25]Sock 7.Close socket [09:43:25]Sock 7.Thread stoped [09:43:29]OFD Sender: No OFD packet to send [09:43:34]accept exits with 9 [09:43:34]New connection [09:43:34]New thread 3067030884 created [09:43:34]Thread 3066887524 joined [09:43:34]Waiting for new connection... [09:43:34] Sock 9.Parse request [09:43:34]Sock 9.Check first char [09:43:34]Sock 9.First char is OK [09:43:34]request: POST /json_proto HTTP/1.0 [09:43:34]Method: POST [09:43:34]URL: /json_proto [09:43:34]Method is POST - this is cgi request [09:43:34]url: /json_proto [09:43:34]query_string will be loaded in cgi processing [09:43:34]execute_cgi json_proto POST (null) [09:43:34]execute_cgi path=json_proto method=POST [09:43:34]POST find Content-Length [09:43:34]Host: 172.17.53.4:8080 [09:43:34]Content-Length: 840 [09:43:34]Content-Type: application/json [09:43:34] [09:43:34]POST finish read [09:43:34]Found Content-Length = 840 [09:43:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808623", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:34]execute_script... [09:43:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808623", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:34]POST & json_proto [09:43:34]process_json_proto [09:43:34]json parsed OK: [09:43:34]protocol is kg_v1.0 [09:43:34]action value=close_receipt [09:43:34]process_action close_receipt [09:43:34]cmd_close_receipt [09:43:34]MH_GetDate [09:43:34]Write to MH i2c: F0 00 00 1B 24 2E [09:43:34]Write i2c OK [09:43:34]MH_I2C_Read... [09:43:34]Read from MH i2c: F0 [09:43:34]MH_I2C_Read... [09:43:34]Read from MH i2c: F0 09 00 [09:43:34]MH_I2C_Read... [09:43:34]Read from MH i2c: F0 09 00 1B 24 00 55 22 16 67 05 11 DA 64 7F [09:43:34]GetLastDocTimeStamp 1729503816 [09:43:34]current date 1729503829 [09:43:34]FM_GetShiftState [09:43:34]SAM_PROTO_GetShiftState [09:43:34]wFMCommunicate request_size=4 [09:43:34]MH_SAM_APDU [09:43:34]CAPDU: 80 13 01 00 [09:43:34]Write to MH i2c: E2 08 00 1C 24 80 13 01 00 00 00 00 00 BD [09:43:34]Write i2c OK [09:43:34]MH_I2C_Read... [09:43:34]OFD Sender: No OFD packet to send [09:43:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:34]Read from MH i2c: E2 [09:43:34]MH_I2C_Read... [09:43:34]Read from MH i2c: E2 0E 00 [09:43:34]MH_I2C_Read... [09:43:34]Read from MH i2c: E2 0E 00 1C 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8B [09:43:34]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:43:34]wFMCommunicate OK [09:43:34]SAM_PROTO_GetShiftState done [09:43:34]FM_GetShiftState done [09:43:34]opened in 1729470630 [09:43:34]opened+sec_in_day 1729557030 [09:43:34]quantity*price = 50010 [09:43:34]sum+1 = 50012 [09:43:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.11 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 0.00 Безнал.: 500.11 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 5 21.10.2024 09:43 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40737 ФПД: 54846080667382 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094349&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40737&fm=54846080667382&tin=02508201610067®Number=0000000000098148&sum=50011 [09:43:35]StoreToDocumentArchive [09:43:35]shift 448 fd 40737 [09:43:35]save to /storage/0448/doc_00040737 [09:43:35]save last doc name /storage/0448/doc_00040737 to /storage/kkm_last_doc_name [09:43:35]save OK [09:43:35]Clear old archive folders... [09:43:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:43:35]tlvbuf is 010BC1A0 [09:43:35]SAM_PROTO_ClearQueue [09:43:35]wFMCommunicate request_size=4 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 09 00 00 [09:43:35]Write to MH i2c: E2 08 00 29 24 80 09 00 00 00 00 00 00 BF [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 29 24 00 90 00 C1 [09:43:35]RAPDU: 90 00 [09:43:35]wFMCommunicate OK [09:43:35]SAM_PROTO_ClearQueue done [09:43:35]KKMCreateOFDPacket [09:43:35]OFDProtocolAddRootSTLVToBuf [09:43:35]FM_MakeSignedData [09:43:35]FM_MakeSignedData [09:43:35]SAM_PROTO_SignData [09:43:35]wFMCommunicate request_size=4 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 0D 01 02 [09:43:35]Write to MH i2c: E2 08 00 2A 24 80 0D 01 02 00 00 00 00 C7 [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 2A 24 00 90 00 C2 [09:43:35]RAPDU: 90 00 [09:43:35]wFMCommunicate OK [09:43:35]wFMCommunicate request_size=255 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 55 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 21 9F 00 00 35 04 06 00 31 [09:43:35]Write to MH i2c: E2 02 01 2B 24 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 55 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 21 9F 00 00 35 04 06 00 31 00 00 F4 [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 2B 24 00 90 00 C3 [09:43:35]RAPDU: 90 00 [09:43:35]wFMCommunicate OK [09:43:35]wFMCommunicate request_size=10 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 0D 02 02 05 E1 D9 27 CE F6 [09:43:35]Write to MH i2c: E2 0D 00 2C 24 80 0D 02 02 05 00 E1 D9 27 CE F6 00 00 79 [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 03 00 2C 24 00 90 00 C4 [09:43:35]RAPDU: 90 00 [09:43:35]wFMCommunicate OK [09:43:35]wFMCommunicate request_size=4 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 0D 03 02 [09:43:35]Write to MH i2c: E2 08 00 2D 24 80 0D 03 02 00 00 00 00 CC [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 0B 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 0B 00 2D 24 00 A0 78 AF 8A 0E EA DD 11 90 00 04 [09:43:35]RAPDU: A0 78 AF 8A 0E EA DD 11 90 00 [09:43:35]wFMCommunicate OK [09:43:35]SAM_PROTO_SignData done [09:43:35]FM_MakeSignedData done [09:43:35]CreateOFDProtocolMessage [09:43:35]wFMCommunicate request_size=4 [09:43:35]MH_SAM_APDU [09:43:35]CAPDU: 80 11 00 00 [09:43:35]Write to MH i2c: E2 08 00 2E 24 80 11 00 00 00 00 00 00 CC [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:35]Read from MH i2c: E2 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 17 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: E2 17 00 2E 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 21 [09:43:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:43:35]wFMCommunicate OK [09:43:35]CreateOFDProtocolMessage done [09:43:35]OFDSenderStorePacket 40737 [09:43:35]StoreOFDPacket docnum=40737 [09:43:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 B8 B2 07 01 A5 A7 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 55 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 21 9F 00 00 35 04 06 00 31 E1 D9 27 CE F6 A0 78 AF 8A 0E EA DD 11 [09:43:35]CheckFolder [09:43:35]dirname=/storage/ofd_packets [09:43:35]CheckFolder done [09:43:35]ProducePacketName [09:43:35]name=ofd_packets/00040737 [09:43:35]NVStorageSaveData ofd_packets/00040737 [09:43:35]File name is /storage/ofd_packets/00040737 [09:43:35]Write 301 bytes [09:43:35]NVStorageSaveData done [09:43:35]OFDSenderStorePacket done [09:43:35]KKMCreateOFDPacket done [09:43:35]NVStorageSaveData kkm_last_timestamp [09:43:35]File name is /storage/kkm_last_timestamp [09:43:35]Write 4 bytes [09:43:35]NVStorageSaveData done [09:43:35]ExternCall_PrintAddStr [09:43:35]wPrintStart [09:43:35]Write to MH i2c: 01 00 00 2F 24 53 [09:43:35]Write i2c OK [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: 01 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: 01 07 00 [09:43:35]MH_I2C_Read... [09:43:35]Read from MH i2c: 01 07 00 2F 24 00 00 00 00 00 FF 0F 68 [09:43:35]RasterBufferAndPrint [09:43:35]line Счет N : (1)808623 [09:43:35]line ИÐÐ: 02508201610067 [09:43:35]line Контрольно-КаÑÑовый Чек [09:43:35]line ПРОДÐЖР[09:43:35]line ТРК (МРК, ГÐК) : 34 [09:43:35]line Товар: 2710124500 [09:43:35]line Ðи-95-К-3 [09:43:35]line 6.740 * 74.20 [09:43:35]line = 500.11 [09:43:35]line ÐДС 12% ÐСП 1% [09:43:35]line > о реализуемом товаре [09:43:35]line ИТОГО: 500.11 [09:43:35]line ÐСП 1% : 4.43 [09:43:35]line ÐДС 12% : 53.11 [09:43:35]line Ðаличными: 0.00 [09:43:35]line Безнал.: 500.11 [09:43:35]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:43:35]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:43:35]line СÐО: Общий режим [09:43:35]line Чек 5 21.10.2024 09:43 [09:43:35]line Смена: 448 ФФД: 1.0 [09:43:35]line ЗÐМ: 0300000239 [09:43:35]line РÐМ: 0000000000098148 [09:43:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:43:35]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [09:43:35]line ФМ: 0000000000965374 [09:43:35]line ФД: 40737 [09:43:35]line ФПД: 54846080667382 [09:43:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094349&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40737&fm=54846080667382&tin=02508201610067®Number=0000000000098148&sum=50011 [09:43:35]written 0, free lines is 4095 [09:43:35]OFD Sender: Processing packet 40737 [packets to send 4, broken 3] [09:43:35]ProducePacketName [09:43:35]name=ofd_packets/00040737 [09:43:35]OFD Sender: To server: ‡•öpG, [09:43:35]CommunicateWithHost lk.salyk.kg:30040 [09:43:35]ConnectInit lk.salyk.kg [09:43:36]Connected sock=10 [09:43:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 B8 B2 07 01 A5 A7 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 55 22 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 21 9F 00 00 35 04 06 00 31 E1 D9 27 CE F6 A0 78 AF 8A 0E EA DD 11 [09:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 62 37 47 00 6F ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 21 9F 00 00 F4 03 04 00 35 C8 15 67 B6 04 01 00 00 7C C1 F7 C8 CF 23 B3 D0 [09:43:36]CommunicateWithHost err = 0 [09:43:36]CheckOFDResponse [09:43:36]1017 (14) - 77093643461234 [09:43:36]1041 (16) - 0000000000965374 [09:43:36]1040 (4) - 40737 [09:43:36]1012 (4) - 21.10.2024 03:19 [09:43:36]1206 (1) - 0 [09:43:36]OFD Sender: Remove packet 40737 [09:43:36]ProducePacketName [09:43:36]name=ofd_packets/00040737 [09:43:36]NVStorageDeleteData [09:43:36]Write to MH i2c: 01 00 00 59 24 7D [09:43:36]Write i2c OK [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: 01 [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: 01 07 00 [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: 01 07 00 59 24 00 00 00 00 00 02 0D 93 [09:43:36]RasterBufferAndPrint [09:43:36]line [09:43:36]line [09:43:36]line [09:43:36]line [09:43:36]line [09:43:36]written 0, free lines is 3339 [09:43:36]MH_Cut [09:43:36]Write to MH i2c: D1 01 00 60 24 01 56 [09:43:36]Write i2c OK [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: D1 [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: D1 01 00 [09:43:36]MH_I2C_Read... [09:43:36]Read from MH i2c: D1 01 00 60 24 00 55 [09:43:36]Write to MH i2c: 01 00 00 61 24 85 [09:43:36]Write i2c OK [09:43:36]MH_I2C_Read... [09:43:36]OFD Sender: No OFD packet to send [09:43:37]*** Cut start [09:43:37]*** Partial cut [09:43:37]*** CUTSNS_PIN = 1 [09:43:37]*** CUTSNS_PIN = 0 [09:43:37]*** Brake cut motor [09:43:37]Read from MH i2c: 01 [09:43:37]MH_I2C_Read... [09:43:37]*** Stop cut motor [09:43:37]*** Cut end [09:43:37]Read from MH i2c: 01 07 00 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: 01 07 00 61 24 00 00 00 00 00 FF 0F 9A [09:43:37]process_action close_receipt done [09:43:37]requested_data is exist [09:43:37]produce_requested_data [09:43:37]requested_item fm.sn is exist - process it [09:43:37]wFMCommunicate request_size=4 [09:43:37]MH_SAM_APDU [09:43:37]CAPDU: 80 11 00 00 [09:43:37]Write to MH i2c: E2 08 00 62 24 80 11 00 00 00 00 00 00 00 [09:43:37]Write i2c OK [09:43:37]MH_I2C_Read... [09:43:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:37]Read from MH i2c: E2 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 17 00 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 17 00 62 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 55 [09:43:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:43:37]wFMCommunicate OK [09:43:37]requested_item fd.num is exist - process it [09:43:37]SAM_PROTO_GetFieldsCounters [09:43:37]wFMCommunicate request_size=4 [09:43:37]MH_SAM_APDU [09:43:37]CAPDU: 80 13 00 00 [09:43:37]Write to MH i2c: E2 08 00 63 24 80 13 00 00 00 00 00 00 03 [09:43:37]Write i2c OK [09:43:37]MH_I2C_Read... [09:43:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:43:37]Read from MH i2c: E2 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 62 00 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 62 00 63 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 21 9F 00 00 0E 04 04 00 C0 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 BB [09:43:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 21 9F 00 00 0E 04 04 00 C0 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 [09:43:37]wFMCommunicate OK [09:43:37]SAM_PROTO_GetFieldsCounters done [09:43:37]requested_item shift.num is exist - process it [09:43:37]requested_item shift.opened is exist - process it [09:43:37]req_shift_opened [09:43:37]FM_GetShiftState [09:43:37]SAM_PROTO_GetShiftState [09:43:37]wFMCommunicate request_size=4 [09:43:37]MH_SAM_APDU [09:43:37]CAPDU: 80 13 01 00 [09:43:37]Write to MH i2c: E2 08 00 64 24 80 13 01 00 00 00 00 00 05 [09:43:37]Write i2c OK [09:43:37]MH_I2C_Read... [09:43:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:37]Read from MH i2c: E2 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 0E 00 [09:43:37]MH_I2C_Read... [09:43:37]Read from MH i2c: E2 0E 00 64 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D3 [09:43:37]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:43:37]wFMCommunicate OK [09:43:37]SAM_PROTO_GetShiftState done [09:43:37]FM_GetShiftState done [09:43:37]req_shift_opened done [09:43:37]requested_item shift.open_date is exist - process it [09:43:37]req_shift_open_date [09:43:37]req_shift_open_date done [09:43:37]produce_requested_data done [09:43:37]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40737,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:43:37]process_action_free close_receipt [09:43:37]json_value_free [09:43:37]json_value_free done [09:43:37]process_json_proto returns [09:43:37]Send response to host [09:43:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40737,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:43:37]free response buf [09:43:37]execute_script done [09:43:37]execute_script returns [09:43:37]free content buf [09:43:37]Sock 9.Close socket [09:43:37]Sock 9.Thread stoped [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:19]accept exits with 7 [09:55:19]New connection [09:55:19]New thread 3066887524 created [09:55:19]Thread 3067030884 joined [09:55:19]Waiting for new connection... [09:55:19] Sock 7.Parse request [09:55:19]Sock 7.Check first char [09:55:19]Sock 7.First char is OK [09:55:19]request: POST /json_proto HTTP/1.0 [09:55:19]Method: POST [09:55:19]URL: /json_proto [09:55:19]Method is POST - this is cgi request [09:55:19]url: /json_proto [09:55:19]query_string will be loaded in cgi processing [09:55:19]execute_cgi json_proto POST (null) [09:55:19]execute_cgi path=json_proto method=POST [09:55:19]POST find Content-Length [09:55:19]Host: 172.17.53.4:8080 [09:55:19]Content-Length: 840 [09:55:19]Content-Type: application/json [09:55:19] [09:55:19]POST finish read [09:55:19]Found Content-Length = 840 [09:55:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808631", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 8.090, "sum" : 600.28, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 600.28 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:55:19]execute_script... [09:55: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)808631", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 8.090, "sum" : 600.28, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 600.28 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:55:19]POST & json_proto [09:55:19]process_json_proto [09:55:19]json parsed OK: [09:55:19]protocol is kg_v1.0 [09:55:19]action value=close_receipt [09:55:19]process_action close_receipt [09:55:19]cmd_close_receipt [09:55:19]MH_GetDate [09:55:19]Write to MH i2c: F0 00 00 65 24 78 [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: F0 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: F0 09 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: F0 09 00 65 24 00 16 25 16 67 05 11 DA 64 8D [09:55:19]GetLastDocTimeStamp 1729503829 [09:55:19]current date 1729504534 [09:55:19]FM_GetShiftState [09:55:19]SAM_PROTO_GetShiftState [09:55:19]wFMCommunicate request_size=4 [09:55:19]MH_SAM_APDU [09:55:19]CAPDU: 80 13 01 00 [09:55:19]Write to MH i2c: E2 08 00 66 24 80 13 01 00 00 00 00 00 07 [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:19]Read from MH i2c: E2 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 0E 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 0E 00 66 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D5 [09:55:19]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:55:19]wFMCommunicate OK [09:55:19]SAM_PROTO_GetShiftState done [09:55:19]FM_GetShiftState done [09:55:19]opened in 1729470630 [09:55:19]opened+sec_in_day 1729557030 [09:55:19]quantity*price = 60027 [09:55:19]sum+1 = 60029 [09:55:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.28 ÐСП 1% : 5.31 ÐДС 12% : 63.75 Ðаличными: 0.00 Безнал.: 600.28 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 6 21.10.2024 09:55 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40738 ФПД: 80447422847721 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095534&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40738&fm=80447422847721&tin=02508201610067®Number=0000000000098148&sum=60028 [09:55:20]StoreToDocumentArchive [09:55:20]shift 448 fd 40738 [09:55:20]save to /storage/0448/doc_00040738 [09:55:20]save last doc name /storage/0448/doc_00040738 to /storage/kkm_last_doc_name [09:55:20]save OK [09:55:20]Clear old archive folders... [09:55:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:55:20]tlvbuf is 010AE040 [09:55:20]SAM_PROTO_ClearQueue [09:55:20]wFMCommunicate request_size=4 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 09 00 00 [09:55:20]Write to MH i2c: E2 08 00 73 24 80 09 00 00 00 00 00 00 09 [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 73 24 00 90 00 0B [09:55:20]RAPDU: 90 00 [09:55:20]wFMCommunicate OK [09:55:20]SAM_PROTO_ClearQueue done [09:55:20]KKMCreateOFDPacket [09:55:20]OFDProtocolAddRootSTLVToBuf [09:55:20]FM_MakeSignedData [09:55:20]FM_MakeSignedData [09:55:20]SAM_PROTO_SignData [09:55:20]wFMCommunicate request_size=4 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 0D 01 02 [09:55:20]Write to MH i2c: E2 08 00 74 24 80 0D 01 02 00 00 00 00 11 [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 74 24 00 90 00 0C [09:55:20]RAPDU: 90 00 [09:55:20]wFMCommunicate OK [09:55:20]wFMCommunicate request_size=255 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 1F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 16 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 22 9F 00 00 35 04 06 00 49 [09:55:20]Write to MH i2c: E2 02 01 75 24 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 33 FF 03 08 00 03 9A 1F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 16 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 22 9F 00 00 35 04 06 00 49 00 00 C4 [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 75 24 00 90 00 0D [09:55:20]RAPDU: 90 00 [09:55:20]wFMCommunicate OK [09:55:20]wFMCommunicate request_size=10 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 0D 02 02 05 2A A0 0F DA E9 [09:55:20]Write to MH i2c: E2 0D 00 76 24 80 0D 02 02 05 00 2A A0 0F DA E9 00 00 BA [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 03 00 76 24 00 90 00 0E [09:55:20]RAPDU: 90 00 [09:55:20]wFMCommunicate OK [09:55:20]wFMCommunicate request_size=4 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 0D 03 02 [09:55:20]Write to MH i2c: E2 08 00 77 24 80 0D 03 02 00 00 00 00 16 [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 0B 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 0B 00 77 24 00 C2 52 27 28 1F 6D 6D 94 90 00 07 [09:55:20]RAPDU: C2 52 27 28 1F 6D 6D 94 90 00 [09:55:20]wFMCommunicate OK [09:55:20]SAM_PROTO_SignData done [09:55:20]FM_MakeSignedData done [09:55:20]CreateOFDProtocolMessage [09:55:20]wFMCommunicate request_size=4 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 11 00 00 [09:55:20]Write to MH i2c: E2 08 00 78 24 80 11 00 00 00 00 00 00 16 [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 17 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 17 00 78 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 6B [09:55:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:55:20]wFMCommunicate OK [09:55:20]CreateOFDProtocolMessage done [09:55:20]OFDSenderStorePacket 40738 [09:55:20]StoreOFDPacket docnum=40738 [09:55:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 41 9F 07 01 34 12 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 33 FF 03 08 00 03 9A 1F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 16 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 22 9F 00 00 35 04 06 00 49 2A A0 0F DA E9 C2 52 27 28 1F 6D 6D 94 [09:55:20]CheckFolder [09:55:20]dirname=/storage/ofd_packets [09:55:20]CheckFolder done [09:55:20]ProducePacketName [09:55:20]name=ofd_packets/00040738 [09:55:20]NVStorageSaveData ofd_packets/00040738 [09:55:20]File name is /storage/ofd_packets/00040738 [09:55:20]Write 301 bytes [09:55:20]NVStorageSaveData done [09:55:20]OFDSenderStorePacket done [09:55:20]KKMCreateOFDPacket done [09:55:20]NVStorageSaveData kkm_last_timestamp [09:55:20]File name is /storage/kkm_last_timestamp [09:55:20]Write 4 bytes [09:55:20]NVStorageSaveData done [09:55:20]ExternCall_PrintAddStr [09:55:20]wPrintStart [09:55:20]Write to MH i2c: 01 00 00 79 24 9D [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: 01 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: 01 07 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: 01 07 00 79 24 00 00 00 00 00 FF 0F B2 [09:55:20]RasterBufferAndPrint [09:55:20]line Счет N : (1)808631 [09:55:20]line ИÐÐ: 02508201610067 [09:55:20]line Контрольно-КаÑÑовый Чек [09:55:20]line ПРОДÐЖР[09:55:20]line ТРК (МРК, ГÐК) : 44 [09:55:20]line Товар: 2710124500 [09:55:20]line Ðи-95-К-3 [09:55:20]line 8.090 * 74.20 [09:55:20]line = 600.28 [09:55:20]line ÐДС 12% ÐСП 1% [09:55:20]line > о реализуемом товаре [09:55:20]line ИТОГО: 600.28 [09:55:20]line ÐСП 1% : 5.31 [09:55:20]line ÐДС 12% : 63.75 [09:55:20]line Ðаличными: 0.00 [09:55:20]line Безнал.: 600.28 [09:55:20]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:55:20]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:55:20]line СÐО: Общий режим [09:55:20]line Чек 6 21.10.2024 09:55 [09:55:20]line Смена: 448 ФФД: 1.0 [09:55:20]line ЗÐМ: 0300000239 [09:55:20]line РÐМ: 0000000000098148 [09:55:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:55:20]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [09:55:20]line ФМ: 0000000000965374 [09:55:20]line ФД: 40738 [09:55:20]line ФПД: 80447422847721 [09:55:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095534&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40738&fm=80447422847721&tin=02508201610067®Number=0000000000098148&sum=60028 [09:55:21]written 0, free lines is 4095 [09:55:21]OFD Sender: Processing packet 40738 [packets to send 4, broken 3] [09:55:21]ProducePacketName [09:55:21]name=ofd_packets/00040738 [09:55:21]OFD Sender: To server: ‡•öpG, [09:55:21]CommunicateWithHost lk.salyk.kg:30040 [09:55:21]ConnectInit lk.salyk.kg [09:55:21]Connected sock=10 [09:55:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 41 9F 07 01 34 12 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 33 FF 03 08 00 03 9A 1F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 16 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 22 9F 00 00 35 04 06 00 49 2A A0 0F DA E9 C2 52 27 28 1F 6D 6D 94 [09:55:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 DC CE 47 00 D3 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 22 9F 00 00 F4 03 04 00 F7 CA 15 67 B6 04 01 00 00 58 49 CE 28 83 42 A2 3B [09:55:21]CommunicateWithHost err = 0 [09:55:21]CheckOFDResponse [09:55:21]1017 (14) - 77093643461234 [09:55:21]1041 (16) - 0000000000965374 [09:55:21]1040 (4) - 40738 [09:55:21]1012 (4) - 21.10.2024 03:31 [09:55:21]1206 (1) - 0 [09:55:21]OFD Sender: Remove packet 40738 [09:55:21]ProducePacketName [09:55:21]name=ofd_packets/00040738 [09:55:21]NVStorageDeleteData [09:55:21]Write to MH i2c: 01 00 00 A3 24 C7 [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: 01 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: 01 07 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: 01 07 00 A3 24 00 00 00 00 00 05 0D E0 [09:55:21]RasterBufferAndPrint [09:55:21]line [09:55:21]line [09:55:21]line [09:55:21]line [09:55:21]line [09:55:21]written 0, free lines is 3340 [09:55:21]MH_Cut [09:55:21]Write to MH i2c: D1 01 00 AA 24 01 A0 [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: D1 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: D1 01 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: D1 01 00 AA 24 00 9F [09:55:21]Write to MH i2c: 01 00 00 AB 24 CF [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]OFD Sender: No OFD packet to send [09:55:22]*** Cut start [09:55:22]*** Partial cut [09:55:22]*** CUTSNS_PIN = 1 [09:55:22]*** CUTSNS_PIN = 0 [09:55:22]*** Brake cut motor [09:55:22]Read from MH i2c: 01 [09:55:22]MH_I2C_Read... [09:55:22]*** Stop cut motor [09:55:22]*** Cut end [09:55:22]Read from MH i2c: 01 07 00 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: 01 07 00 AB 24 00 00 00 00 00 FF 0F E4 [09:55:22]process_action close_receipt done [09:55:22]requested_data is exist [09:55:22]produce_requested_data [09:55:22]requested_item fm.sn is exist - process it [09:55:22]wFMCommunicate request_size=4 [09:55:22]MH_SAM_APDU [09:55:22]CAPDU: 80 11 00 00 [09:55:22]Write to MH i2c: E2 08 00 AC 24 80 11 00 00 00 00 00 00 4A [09:55:22]Write i2c OK [09:55:22]MH_I2C_Read... [09:55:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:22]Read from MH i2c: E2 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: E2 17 00 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: E2 17 00 AC 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 9F [09:55:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:55:22]wFMCommunicate OK [09:55:22]requested_item fd.num is exist - process it [09:55:22]SAM_PROTO_GetFieldsCounters [09:55:22]wFMCommunicate request_size=4 [09:55:22]MH_SAM_APDU [09:55:22]CAPDU: 80 13 00 00 [09:55:22]Write to MH i2c: E2 08 00 AD 24 80 13 00 00 00 00 00 00 4D [09:55:22]Write i2c OK [09:55:22]MH_I2C_Read... [09:55:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:55:22]Read from MH i2c: E2 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: E2 62 00 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: E2 62 00 AD 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 22 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [09:55:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 22 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:55:23]wFMCommunicate OK [09:55:23]SAM_PROTO_GetFieldsCounters done [09:55:23]requested_item shift.num is exist - process it [09:55:23]requested_item shift.opened is exist - process it [09:55:23]req_shift_opened [09:55:23]FM_GetShiftState [09:55:23]SAM_PROTO_GetShiftState [09:55:23]wFMCommunicate request_size=4 [09:55:23]MH_SAM_APDU [09:55:23]CAPDU: 80 13 01 00 [09:55:23]Write to MH i2c: E2 08 00 AE 24 80 13 01 00 00 00 00 00 4F [09:55:23]Write i2c OK [09:55:23]MH_I2C_Read... [09:55:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:23]Read from MH i2c: E2 [09:55:23]MH_I2C_Read... [09:55:23]Read from MH i2c: E2 0E 00 [09:55:23]MH_I2C_Read... [09:55:23]Read from MH i2c: E2 0E 00 AE 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 1D [09:55:23]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:55:23]wFMCommunicate OK [09:55:23]SAM_PROTO_GetShiftState done [09:55:23]FM_GetShiftState done [09:55:23]req_shift_opened done [09:55:23]requested_item shift.open_date is exist - process it [09:55:23]req_shift_open_date [09:55:23]req_shift_open_date done [09:55:23]produce_requested_data done [09:55:23]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40738,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:55:23]process_action_free close_receipt [09:55:23]json_value_free [09:55:23]json_value_free done [09:55:23]process_json_proto returns [09:55:23]Send response to host [09:55:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40738,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:55:23]free response buf [09:55:23]execute_script done [09:55:23]execute_script returns [09:55:23]free content buf [09:55:23]Sock 7.Close socket [09:55:23]Sock 7.Thread stoped [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:45]accept exits with 9 [09:55:45]New connection [09:55:45]New thread 3067030884 created [09:55:45]Thread 3066887524 joined [09:55:45]Waiting for new connection... [09:55:45] Sock 9.Parse request [09:55:45]Sock 9.Check first char [09:55:45]Sock 9.First char is OK [09:55:45]request: POST /json_proto HTTP/1.0 [09:55:45]Method: POST [09:55:45]URL: /json_proto [09:55:45]Method is POST - this is cgi request [09:55:45]url: /json_proto [09:55:45]query_string will be loaded in cgi processing [09:55:45]execute_cgi json_proto POST (null) [09:55:45]execute_cgi path=json_proto method=POST [09:55:45]POST find Content-Length [09:55:45]Host: 172.17.53.4:8080 [09:55:45]Content-Length: 843 [09:55:45]Content-Type: application/json [09:55:45] [09:55:45]POST finish read [09:55:45]Found Content-Length = 843 [09:55:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808630", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:55:45]execute_script... [09:55: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)808630", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:55:45]POST & json_proto [09:55:45]process_json_proto [09:55:45]json parsed OK: [09:55:45]protocol is kg_v1.0 [09:55:45]action value=close_receipt [09:55:45]process_action close_receipt [09:55:45]cmd_close_receipt [09:55:45]MH_GetDate [09:55:45]Write to MH i2c: F0 00 00 AF 24 C2 [09:55:45]Write i2c OK [09:55:45]MH_I2C_Read... [09:55:45]Read from MH i2c: F0 [09:55:45]MH_I2C_Read... [09:55:45]Read from MH i2c: F0 09 00 [09:55:45]MH_I2C_Read... [09:55:45]Read from MH i2c: F0 09 00 AF 24 00 30 25 16 67 05 11 DA 64 F1 [09:55:45]GetLastDocTimeStamp 1729504534 [09:55:45]current date 1729504560 [09:55:45]FM_GetShiftState [09:55:45]SAM_PROTO_GetShiftState [09:55:45]wFMCommunicate request_size=4 [09:55:45]MH_SAM_APDU [09:55:45]CAPDU: 80 13 01 00 [09:55:45]Write to MH i2c: E2 08 00 B0 24 80 13 01 00 00 00 00 00 51 [09:55:45]Write i2c OK [09:55:45]MH_I2C_Read... [09:55:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:45]Read from MH i2c: E2 [09:55:45]MH_I2C_Read... [09:55:45]Read from MH i2c: E2 0E 00 [09:55:45]MH_I2C_Read... [09:55:45]Read from MH i2c: E2 0E 00 B0 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 1F [09:55:45]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:55:45]wFMCommunicate OK [09:55:45]SAM_PROTO_GetShiftState done [09:55:45]FM_GetShiftState done [09:55:45]opened in 1729470630 [09:55:45]opened+sec_in_day 1729557030 [09:55:45]quantity*price = 100015 [09:55:45]sum+1 = 100017 [09:55:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.16 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 7 21.10.2024 09:56 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40739 ФПД: 148589797671440 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095600&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40739&fm=148589797671440&tin=02508201610067®Number=0000000000098148&sum=100016 [09:55:46]StoreToDocumentArchive [09:55:46]shift 448 fd 40739 [09:55:46]save to /storage/0448/doc_00040739 [09:55:46]save last doc name /storage/0448/doc_00040739 to /storage/kkm_last_doc_name [09:55:46]save OK [09:55:46]Clear old archive folders... [09:55:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:55:46]tlvbuf is 01114F00 [09:55:46]SAM_PROTO_ClearQueue [09:55:46]wFMCommunicate request_size=4 [09:55:46]MH_SAM_APDU [09:55:46]CAPDU: 80 09 00 00 [09:55:46]Write to MH i2c: E2 08 00 BD 24 80 09 00 00 00 00 00 00 53 [09:55:46]Write i2c OK [09:55:46]MH_I2C_Read... [09:55:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:46]OFD Sender: No OFD packet to send [09:55:46]Read from MH i2c: E2 [09:55:46]MH_I2C_Read... [09:55:46]Read from MH i2c: E2 03 00 [09:55:46]MH_I2C_Read... [09:55:46]Read from MH i2c: E2 03 00 BD 24 00 90 00 55 [09:55:47]RAPDU: 90 00 [09:55:47]wFMCommunicate OK [09:55:47]SAM_PROTO_ClearQueue done [09:55:47]KKMCreateOFDPacket [09:55:47]OFDProtocolAddRootSTLVToBuf [09:55:47]FM_MakeSignedData [09:55:47]FM_MakeSignedData [09:55:47]SAM_PROTO_SignData [09:55:47]wFMCommunicate request_size=4 [09:55:47]MH_SAM_APDU [09:55:47]CAPDU: 80 0D 01 02 [09:55:47]Write to MH i2c: E2 08 00 BE 24 80 0D 01 02 00 00 00 00 5B [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:47]Read from MH i2c: E2 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 BE 24 00 90 00 56 [09:55:47]RAPDU: 90 00 [09:55:47]wFMCommunicate OK [09:55:47]wFMCommunicate request_size=255 [09:55:47]MH_SAM_APDU [09:55:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 30 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 23 9F 00 00 35 04 06 00 87 [09:55:47]Write to MH i2c: E2 02 01 BF 24 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 30 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 23 9F 00 00 35 04 06 00 87 00 00 EE [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:47]Read from MH i2c: E2 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 BF 24 00 90 00 57 [09:55:47]RAPDU: 90 00 [09:55:47]wFMCommunicate OK [09:55:47]wFMCommunicate request_size=10 [09:55:47]MH_SAM_APDU [09:55:47]CAPDU: 80 0D 02 02 05 24 42 1B 82 10 [09:55:47]Write to MH i2c: E2 0D 00 C0 24 80 0D 02 02 05 00 24 42 1B 82 10 00 00 7B [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:47]Read from MH i2c: E2 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 03 00 C0 24 00 90 00 58 [09:55:47]RAPDU: 90 00 [09:55:47]wFMCommunicate OK [09:55:47]wFMCommunicate request_size=4 [09:55:47]MH_SAM_APDU [09:55:47]CAPDU: 80 0D 03 02 [09:55:47]Write to MH i2c: E2 08 00 C1 24 80 0D 03 02 00 00 00 00 60 [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:47]Read from MH i2c: E2 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 0B 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 0B 00 C1 24 00 30 58 8C 7E B2 11 2F 9C 90 00 81 [09:55:47]RAPDU: 30 58 8C 7E B2 11 2F 9C 90 00 [09:55:47]wFMCommunicate OK [09:55:47]SAM_PROTO_SignData done [09:55:47]FM_MakeSignedData done [09:55:47]CreateOFDProtocolMessage [09:55:47]wFMCommunicate request_size=4 [09:55:47]MH_SAM_APDU [09:55:47]CAPDU: 80 11 00 00 [09:55:47]Write to MH i2c: E2 08 00 C2 24 80 11 00 00 00 00 00 00 60 [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:47]Read from MH i2c: E2 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 17 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: E2 17 00 C2 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B5 [09:55:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:55:47]wFMCommunicate OK [09:55:47]CreateOFDProtocolMessage done [09:55:47]OFDSenderStorePacket 40739 [09:55:47]StoreOFDPacket docnum=40739 [09:55:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 89 58 07 01 2F 62 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 30 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 23 9F 00 00 35 04 06 00 87 24 42 1B 82 10 30 58 8C 7E B2 11 2F 9C [09:55:47]CheckFolder [09:55:47]dirname=/storage/ofd_packets [09:55:47]CheckFolder done [09:55:47]ProducePacketName [09:55:47]name=ofd_packets/00040739 [09:55:47]NVStorageSaveData ofd_packets/00040739 [09:55:47]File name is /storage/ofd_packets/00040739 [09:55:47]Write 301 bytes [09:55:47]NVStorageSaveData done [09:55:47]OFDSenderStorePacket done [09:55:47]KKMCreateOFDPacket done [09:55:47]NVStorageSaveData kkm_last_timestamp [09:55:47]File name is /storage/kkm_last_timestamp [09:55:47]Write 4 bytes [09:55:47]NVStorageSaveData done [09:55:47]ExternCall_PrintAddStr [09:55:47]wPrintStart [09:55:47]Write to MH i2c: 01 00 00 C3 24 E7 [09:55:47]Write i2c OK [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: 01 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: 01 07 00 [09:55:47]MH_I2C_Read... [09:55:47]Read from MH i2c: 01 07 00 C3 24 00 00 00 00 00 FF 0F FC [09:55:47]RasterBufferAndPrint [09:55:47]line Счет N : (1)808630 [09:55:47]line ИÐÐ: 02508201610067 [09:55:47]line Контрольно-КаÑÑовый Чек [09:55:47]line ПРОДÐЖР[09:55:47]line ТРК (МРК, ГÐК) : 33 [09:55:47]line Товар: 2710124130 [09:55:47]line Ðи-92-К-5 [09:55:47]line 14.950 * 66.90 [09:55:47]line = 1000.16 [09:55:47]line ÐДС 12% ÐСП 1% [09:55:47]line > о реализуемом товаре [09:55:47]line ИТОГО: 1000.16 [09:55:47]line ÐСП 1% : 8.85 [09:55:47]line ÐДС 12% : 106.21 [09:55:47]line Ðаличными: 0.00 [09:55:47]line Безнал.: 1000.16 [09:55:47]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [09:55:47]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [09:55:47]line СÐО: Общий режим [09:55:47]line Чек 7 21.10.2024 09:56 [09:55:47]line Смена: 448 ФФД: 1.0 [09:55:47]line ЗÐМ: 0300000239 [09:55:47]line РÐМ: 0000000000098148 [09:55:47]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:55:47]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [09:55:47]line ФМ: 0000000000965374 [09:55:47]line ФД: 40739 [09:55:47]line ФПД: 148589797671440 [09:55:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095600&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40739&fm=148589797671440&tin=02508201610067®Number=0000000000098148&sum=100016 [09:55:47]OFD Sender: Processing packet 40739 [packets to send 4, broken 3] [09:55:47]ProducePacketName [09:55:47]name=ofd_packets/00040739 [09:55:47]OFD Sender: To server: ‡•öpG, [09:55:47]CommunicateWithHost lk.salyk.kg:30040 [09:55:47]ConnectInit lk.salyk.kg [09:55:47]written 0, free lines is 4095 [09:55:47]Connected sock=10 [09:55:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 89 58 07 01 2F 62 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 30 25 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 23 9F 00 00 35 04 06 00 87 24 42 1B 82 10 30 58 8C 7E B2 11 2F 9C [09:55:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 0F 05 47 00 EB D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 23 9F 00 00 F4 03 04 00 11 CB 15 67 B6 04 01 00 00 83 ED 58 64 F8 36 DD DF [09:55:48]CommunicateWithHost err = 0 [09:55:48]CheckOFDResponse [09:55:48]1017 (14) - 77093643461234 [09:55:48]1041 (16) - 0000000000965374 [09:55:48]1040 (4) - 40739 [09:55:48]1012 (4) - 21.10.2024 03:31 [09:55:48]1206 (1) - 0 [09:55:48]OFD Sender: Remove packet 40739 [09:55:48]ProducePacketName [09:55:48]name=ofd_packets/00040739 [09:55:48]NVStorageDeleteData [09:55:48]Write to MH i2c: 01 00 00 ED 24 11 [09:55:48]Write i2c OK [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: 01 [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: 01 07 00 [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: 01 07 00 ED 24 00 00 00 00 00 02 0D 27 [09:55:48]RasterBufferAndPrint [09:55:48]line [09:55:48]line [09:55:48]line [09:55:48]line [09:55:48]line [09:55:48]written 0, free lines is 3336 [09:55:48]MH_Cut [09:55:48]Write to MH i2c: D1 01 00 F4 24 01 EA [09:55:48]Write i2c OK [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: D1 [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: D1 01 00 [09:55:48]MH_I2C_Read... [09:55:48]Read from MH i2c: D1 01 00 F4 24 00 E9 [09:55:48]Write to MH i2c: 01 00 00 F5 24 19 [09:55:48]Write i2c OK [09:55:48]MH_I2C_Read... [09:55:48]OFD Sender: No OFD packet to send [09:55:48]*** Cut start [09:55:48]*** Partial cut [09:55:48]*** CUTSNS_PIN = 1 [09:55:48]*** CUTSNS_PIN = 0 [09:55:49]*** Brake cut motor [09:55:49]Read from MH i2c: 01 [09:55:49]MH_I2C_Read... [09:55:49]*** Stop cut motor [09:55:49]*** Cut end [09:55:49]Read from MH i2c: 01 07 00 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: 01 07 00 F5 24 00 00 00 00 00 FF 0F 2E [09:55:49]process_action close_receipt done [09:55:49]requested_data is exist [09:55:49]produce_requested_data [09:55:49]requested_item fm.sn is exist - process it [09:55:49]wFMCommunicate request_size=4 [09:55:49]MH_SAM_APDU [09:55:49]CAPDU: 80 11 00 00 [09:55:49]Write to MH i2c: E2 08 00 F6 24 80 11 00 00 00 00 00 00 94 [09:55:49]Write i2c OK [09:55:49]MH_I2C_Read... [09:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:49]Read from MH i2c: E2 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 17 00 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 17 00 F6 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E9 [09:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [09:55:49]wFMCommunicate OK [09:55:49]requested_item fd.num is exist - process it [09:55:49]SAM_PROTO_GetFieldsCounters [09:55:49]wFMCommunicate request_size=4 [09:55:49]MH_SAM_APDU [09:55:49]CAPDU: 80 13 00 00 [09:55:49]Write to MH i2c: E2 08 00 F7 24 80 13 00 00 00 00 00 00 97 [09:55:49]Write i2c OK [09:55:49]MH_I2C_Read... [09:55:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:55:49]Read from MH i2c: E2 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 62 00 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 62 00 F7 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 23 9F 00 00 0E 04 04 00 C0 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 57 [09:55:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 23 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:55:49]wFMCommunicate OK [09:55:49]SAM_PROTO_GetFieldsCounters done [09:55:49]requested_item shift.num is exist - process it [09:55:49]requested_item shift.opened is exist - process it [09:55:49]req_shift_opened [09:55:49]FM_GetShiftState [09:55:49]SAM_PROTO_GetShiftState [09:55:49]wFMCommunicate request_size=4 [09:55:49]MH_SAM_APDU [09:55:49]CAPDU: 80 13 01 00 [09:55:49]Write to MH i2c: E2 08 00 F8 24 80 13 01 00 00 00 00 00 99 [09:55:49]Write i2c OK [09:55:49]MH_I2C_Read... [09:55:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:49]Read from MH i2c: E2 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 0E 00 [09:55:49]MH_I2C_Read... [09:55:49]Read from MH i2c: E2 0E 00 F8 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 67 [09:55:49]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [09:55:49]wFMCommunicate OK [09:55:49]SAM_PROTO_GetShiftState done [09:55:49]FM_GetShiftState done [09:55:49]req_shift_opened done [09:55:49]requested_item shift.open_date is exist - process it [09:55:49]req_shift_open_date [09:55:49]req_shift_open_date done [09:55:49]produce_requested_data done [09:55:49]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40739,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [09:55:49]process_action_free close_receipt [09:55:49]json_value_free [09:55:49]json_value_free done [09:55:49]process_json_proto returns [09:55:49]Send response to host [09:55:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40739,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [09:55:49]free response buf [09:55:49]execute_script done [09:55:49]execute_script returns [09:55:49]free content buf [09:55:49]Sock 9.Close socket [09:55:49]Sock 9.Thread stoped [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:53]OFD Sender: No OFD packet to send [09:57:58]OFD Sender: No OFD packet to send [09:58:03]OFD Sender: No OFD packet to send [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:28]OFD Sender: No OFD packet to send [09:58:33]OFD Sender: No OFD packet to send [09:58:38]OFD Sender: No OFD packet to send [09:58:43]OFD Sender: No OFD packet to send [09:58:48]OFD Sender: No OFD packet to send [09:58:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:03]OFD Sender: No OFD packet to send [09:59:08]OFD Sender: No OFD packet to send [09:59:13]OFD Sender: No OFD packet to send [09:59:18]OFD Sender: No OFD packet to send [09:59:23]OFD Sender: No OFD packet to send [09:59:28]OFD Sender: No OFD packet to send [09:59:33]OFD Sender: No OFD packet to send [09:59:38]OFD Sender: No OFD packet to send [09:59:43]OFD Sender: No OFD packet to send [09:59:48]OFD Sender: No OFD packet to send [09:59:53]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send [10:01:28]OFD Sender: No OFD packet to send [10:01:33]OFD Sender: No OFD packet to send [10:01:38]OFD Sender: No OFD packet to send [10:01:43]OFD Sender: No OFD packet to send [10:01:48]OFD Sender: No OFD packet to send [10:01:53]OFD Sender: No OFD packet to send [10:01:58]OFD Sender: No OFD packet to send [10:02:03]OFD Sender: No OFD packet to send [10:02:08]OFD Sender: No OFD packet to send [10:02:13]OFD Sender: No OFD packet to send [10:02:18]OFD Sender: No OFD packet to send [10:02:23]OFD Sender: No OFD packet to send [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]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:27]accept exits with 7 [10:07:27]New connection [10:07:27]New thread 3066887524 created [10:07:27]Thread 3067030884 joined [10:07:27]Waiting for new connection... [10:07:27] Sock 7.Parse request [10:07:27]Sock 7.Check first char [10:07:27]Sock 7.First char is OK [10:07:27]request: POST /json_proto HTTP/1.0 [10:07:27]Method: POST [10:07:27]URL: /json_proto [10:07:27]Method is POST - this is cgi request [10:07:27]url: /json_proto [10:07:27]query_string will be loaded in cgi processing [10:07:27]execute_cgi json_proto POST (null) [10:07:27]execute_cgi path=json_proto method=POST [10:07:27]POST find Content-Length [10:07:27]Host: 172.17.53.4:8080 [10:07:27]Content-Length: 797 [10:07:27]Content-Type: application/json [10:07:27] [10:07:27]POST finish read [10:07:27]Found Content-Length = 797 [10:07:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808638", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 20.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4380975", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:27]execute_script... [10:07: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 : (1)808638", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 20.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4380975", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:27]POST & json_proto [10:07:27]process_json_proto [10:07:27]json parsed OK: [10:07:27]protocol is kg_v1.0 [10:07:27]action value=close_receipt [10:07:27]process_action close_receipt [10:07:27]cmd_close_receipt [10:07:27]MH_GetDate [10:07:27]Write to MH i2c: F0 00 00 F9 24 0C [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: F0 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: F0 09 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: F0 09 00 F9 24 00 EF 27 16 67 05 11 DA 64 FC [10:07:27]GetLastDocTimeStamp 1729504560 [10:07:27]current date 1729505263 [10:07:27]FM_GetShiftState [10:07:27]SAM_PROTO_GetShiftState [10:07:27]wFMCommunicate request_size=4 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 13 01 00 [10:07:27]Write to MH i2c: E2 08 00 FA 24 80 13 01 00 00 00 00 00 9B [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 0E 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 0E 00 FA 24 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 69 [10:07:27]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:07:27]wFMCommunicate OK [10:07:27]SAM_PROTO_GetShiftState done [10:07:27]FM_GetShiftState done [10:07:27]opened in 1729470630 [10:07:27]opened+sec_in_day 1729557030 [10:07:27]quantity*price = 0 [10:07:27]sum+1 = 1 [10:07:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 8 21.10.2024 10:07 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 Талоны: Топливные Талоны 4380975 ФМ: 0000000000965374 ФД: 40740 ФПД: 76314301237671 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T100743&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40740&fm=76314301237671&tin=02508201610067®Number=0000000000098148&sum=0 [10:07:29]StoreToDocumentArchive [10:07:29]shift 448 fd 40740 [10:07:29]save to /storage/0448/doc_00040740 [10:07:29]save last doc name /storage/0448/doc_00040740 to /storage/kkm_last_doc_name [10:07:29]save OK [10:07:29]Clear old archive folders... [10:07:29]ProcessDocumentItem done err = 0, tmpTLVsize=248 [10:07:29]tlvbuf is 0104EA60 [10:07:29]SAM_PROTO_ClearQueue [10:07:29]wFMCommunicate request_size=4 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 09 00 00 [10:07:29]Write to MH i2c: E2 08 00 07 25 80 09 00 00 00 00 00 00 9E [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 07 25 00 90 00 A0 [10:07:29]RAPDU: 90 00 [10:07:29]wFMCommunicate OK [10:07:29]SAM_PROTO_ClearQueue done [10:07:29]KKMCreateOFDPacket [10:07:29]OFDProtocolAddRootSTLVToBuf [10:07:29]FM_MakeSignedData [10:07:29]FM_MakeSignedData [10:07:29]SAM_PROTO_SignData [10:07:29]wFMCommunicate request_size=4 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 0D 01 02 [10:07:29]Write to MH i2c: E2 08 00 08 25 80 0D 01 02 00 00 00 00 A6 [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 08 25 00 90 00 A1 [10:07:29]RAPDU: 90 00 [10:07:29]wFMCommunicate OK [10:07:29]wFMCommunicate request_size=255 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EF 27 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 24 9F 00 00 35 04 06 00 45 68 4E D1 [10:07:29]Write to MH i2c: E2 02 01 09 25 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EF 27 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 24 9F 00 00 35 04 06 00 45 68 4E D1 00 00 60 [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]OFD Sender: No OFD packet to send [10:07:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 09 25 00 90 00 A2 [10:07:29]RAPDU: 90 00 [10:07:29]wFMCommunicate OK [10:07:29]wFMCommunicate request_size=7 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 0D 02 02 02 09 A7 [10:07:29]Write to MH i2c: E2 0A 00 0A 25 80 0D 02 02 02 00 09 A7 00 00 5D [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 03 00 0A 25 00 90 00 A3 [10:07:29]RAPDU: 90 00 [10:07:29]wFMCommunicate OK [10:07:29]wFMCommunicate request_size=4 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 0D 03 02 [10:07:29]Write to MH i2c: E2 08 00 0B 25 80 0D 03 02 00 00 00 00 AB [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 0B 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 0B 00 0B 25 00 F4 28 E1 14 47 1F 5A AF 90 00 2C [10:07:29]RAPDU: F4 28 E1 14 47 1F 5A AF 90 00 [10:07:29]wFMCommunicate OK [10:07:29]SAM_PROTO_SignData done [10:07:29]FM_MakeSignedData done [10:07:29]CreateOFDProtocolMessage [10:07:29]wFMCommunicate request_size=4 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 11 00 00 [10:07:29]Write to MH i2c: E2 08 00 0C 25 80 11 00 00 00 00 00 00 AB [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:29]Read from MH i2c: E2 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 17 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: E2 17 00 0C 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 00 [10:07:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:07:29]wFMCommunicate OK [10:07:29]CreateOFDProtocolMessage done [10:07:29]OFDSenderStorePacket 40740 [10:07:29]StoreOFDPacket docnum=40740 [10:07:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 26 C2 04 01 10 16 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EF 27 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 24 9F 00 00 35 04 06 00 45 68 4E D1 09 A7 F4 28 E1 14 47 1F 5A AF [10:07:29]CheckFolder [10:07:29]dirname=/storage/ofd_packets [10:07:29]CheckFolder done [10:07:29]ProducePacketName [10:07:29]name=ofd_packets/00040740 [10:07:29]NVStorageSaveData ofd_packets/00040740 [10:07:29]File name is /storage/ofd_packets/00040740 [10:07:29]Write 298 bytes [10:07:29]NVStorageSaveData done [10:07:29]OFDSenderStorePacket done [10:07:29]KKMCreateOFDPacket done [10:07:29]NVStorageSaveData kkm_last_timestamp [10:07:29]File name is /storage/kkm_last_timestamp [10:07:29]Write 4 bytes [10:07:29]NVStorageSaveData done [10:07:29]ExternCall_PrintAddStr [10:07:29]wPrintStart [10:07:29]Write to MH i2c: 01 00 00 0D 25 32 [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: 01 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: 01 07 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: 01 07 00 0D 25 00 00 00 00 00 FF 0F 47 [10:07:29]RasterBufferAndPrint [10:07:29]line Счет N : (1)808638 [10:07:29]line ИÐÐ: 02508201610067 [10:07:29]line Контрольно-КаÑÑовый Чек [10:07:29]line ПРОДÐЖР[10:07:29]line ТРК (МРК, ГÐК) : 11 [10:07:29]line Товар: 2710194210 [10:07:29]line ДТ-К-2 [10:07:29]line 20.000 * 0.00 [10:07:29]line = 0.00 [10:07:29]line ÐДС 12% ÐСП 1% [10:07:29]line > о реализуемом товаре [10:07:29]line ИТОГО: 0.00 [10:07:29]line ÐСП 1% : 0.00 [10:07:29]line ÐДС 12% : 0.00 [10:07:29]line Ðаличными: 0.00 [10:07:29]line Безнал.: 0.00 [10:07:29]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [10:07:29]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [10:07:29]line СÐО: Общий режим [10:07:29]line Чек 8 21.10.2024 10:07 [10:07:29]line Смена: 448 ФФД: 1.0 [10:07:29]line ЗÐМ: 0300000239 [10:07:29]line РÐМ: 0000000000098148 [10:07:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:07:29]line Талоны: Топливные Талоны [10:07:29]line 4380975 [10:07:29]line ФМ: 0000000000965374 [10:07:29]line ФД: 40740 [10:07:29]line ФПД: 76314301237671 [10:07:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T100743&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40740&fm=76314301237671&tin=02508201610067®Number=0000000000098148&sum=0 [10:07:29]OFD Sender: Processing packet 40740 [packets to send 4, broken 3] [10:07:29]ProducePacketName [10:07:29]name=ofd_packets/00040740 [10:07:29]OFD Sender: To server: ‡•öpG, [10:07:29]CommunicateWithHost lk.salyk.kg:30040 [10:07:29]ConnectInit lk.salyk.kg [10:07:29]written 0, free lines is 4095 [10:07:29]Connected sock=10 [10:07:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 26 C2 04 01 10 16 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EF 27 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 24 9F 00 00 35 04 06 00 45 68 4E D1 09 A7 F4 28 E1 14 47 1F 5A AF [10:07:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 E3 DA 47 00 F0 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 24 9F 00 00 F4 03 04 00 CF CD 15 67 B6 04 01 00 00 43 F3 BF D0 F0 9D DB 05 [10:07:30]CommunicateWithHost err = 0 [10:07:30]CheckOFDResponse [10:07:30]1017 (14) - 77093643461234 [10:07:30]1041 (16) - 0000000000965374 [10:07:30]1040 (4) - 40740 [10:07:30]1012 (4) - 21.10.2024 03:43 [10:07:30]1206 (1) - 0 [10:07:30]OFD Sender: Remove packet 40740 [10:07:30]ProducePacketName [10:07:30]name=ofd_packets/00040740 [10:07:30]NVStorageDeleteData [10:07:30]Write to MH i2c: 01 00 00 37 25 5C [10:07:30]Write i2c OK [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: 01 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: 01 07 00 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: 01 07 00 37 25 00 00 00 00 00 FD 0C 6C [10:07:30]RasterBufferAndPrint [10:07:30]line [10:07:30]line [10:07:30]line [10:07:30]line [10:07:30]line [10:07:30]written 0, free lines is 3331 [10:07:30]MH_Cut [10:07:30]Write to MH i2c: D1 01 00 3E 25 01 35 [10:07:30]Write i2c OK [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: D1 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: D1 01 00 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: D1 01 00 3E 25 00 34 [10:07:30]Write to MH i2c: 01 00 00 3F 25 64 [10:07:30]Write i2c OK [10:07:30]MH_I2C_Read... [10:07:30]OFD Sender: No OFD packet to send [10:07:30]*** Cut start [10:07:30]*** Partial cut [10:07:30]*** CUTSNS_PIN = 1 [10:07:31]*** CUTSNS_PIN = 0 [10:07:31]*** Brake cut motor [10:07:31]Read from MH i2c: 01 [10:07:31]MH_I2C_Read... [10:07:31]*** Stop cut motor [10:07:31]*** Cut end [10:07:31]Read from MH i2c: 01 07 00 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: 01 07 00 3F 25 00 00 00 00 00 FF 0F 79 [10:07:31]process_action close_receipt done [10:07:31]requested_data is exist [10:07:31]produce_requested_data [10:07:31]requested_item fm.sn is exist - process it [10:07:31]wFMCommunicate request_size=4 [10:07:31]MH_SAM_APDU [10:07:31]CAPDU: 80 11 00 00 [10:07:31]Write to MH i2c: E2 08 00 40 25 80 11 00 00 00 00 00 00 DF [10:07:31]Write i2c OK [10:07:31]MH_I2C_Read... [10:07:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:31]Read from MH i2c: E2 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 17 00 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 17 00 40 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 34 [10:07:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:07:31]wFMCommunicate OK [10:07:31]requested_item fd.num is exist - process it [10:07:31]SAM_PROTO_GetFieldsCounters [10:07:31]wFMCommunicate request_size=4 [10:07:31]MH_SAM_APDU [10:07:31]CAPDU: 80 13 00 00 [10:07:31]Write to MH i2c: E2 08 00 41 25 80 13 00 00 00 00 00 00 E2 [10:07:31]Write i2c OK [10:07:31]MH_I2C_Read... [10:07:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:31]Read from MH i2c: E2 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 62 00 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 62 00 41 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 24 9F 00 00 0E 04 04 00 C0 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 A6 [10:07:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 24 9F 00 00 0E 04 04 00 C0 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 [10:07:31]wFMCommunicate OK [10:07:31]SAM_PROTO_GetFieldsCounters done [10:07:31]requested_item shift.num is exist - process it [10:07:31]requested_item shift.opened is exist - process it [10:07:31]req_shift_opened [10:07:31]FM_GetShiftState [10:07:31]SAM_PROTO_GetShiftState [10:07:31]wFMCommunicate request_size=4 [10:07:31]MH_SAM_APDU [10:07:31]CAPDU: 80 13 01 00 [10:07:31]Write to MH i2c: E2 08 00 42 25 80 13 01 00 00 00 00 00 E4 [10:07:31]Write i2c OK [10:07:31]MH_I2C_Read... [10:07:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:31]Read from MH i2c: E2 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 0E 00 [10:07:31]MH_I2C_Read... [10:07:31]Read from MH i2c: E2 0E 00 42 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B2 [10:07:31]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:07:31]wFMCommunicate OK [10:07:31]SAM_PROTO_GetShiftState done [10:07:31]FM_GetShiftState done [10:07:31]req_shift_opened done [10:07:31]requested_item shift.open_date is exist - process it [10:07:31]req_shift_open_date [10:07:31]req_shift_open_date done [10:07:31]produce_requested_data done [10:07:31]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40740,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [10:07:31]process_action_free close_receipt [10:07:31]json_value_free [10:07:31]json_value_free done [10:07:31]process_json_proto returns [10:07:31]Send response to host [10:07:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40740,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [10:07:31]free response buf [10:07:31]execute_script done [10:07:31]execute_script returns [10:07:31]free content buf [10:07:31]Sock 7.Close socket [10:07:31]Sock 7.Thread stoped [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:03]accept exits with 9 [10:08:03]New connection [10:08:03]New thread 3067030884 created [10:08:03]Thread 3066887524 joined [10:08:03]Waiting for new connection... [10:08:03] Sock 9.Parse request [10:08:03]Sock 9.Check first char [10:08:03]Sock 9.First char is OK [10:08:03]request: POST /json_proto HTTP/1.0 [10:08:03]Method: POST [10:08:03]URL: /json_proto [10:08:03]Method is POST - this is cgi request [10:08:03]url: /json_proto [10:08:03]query_string will be loaded in cgi processing [10:08:03]execute_cgi json_proto POST (null) [10:08:03]execute_cgi path=json_proto method=POST [10:08:03]POST find Content-Length [10:08:03]Host: 172.17.53.4:8080 [10:08:03]Content-Length: 675 [10:08:03]Content-Type: application/json [10:08:03] [10:08:03]POST finish read [10:08:03]Found Content-Length = 675 [10:08:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808641", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 11.680, "sum" : 890.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 890.00, "total" : 890.00, "payments": [ { "type": 0, "sum" : 890.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:03]execute_script... [10:08:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808641", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 11.680, "sum" : 890.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 890.00, "total" : 890.00, "payments": [ { "type": 0, "sum" : 890.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:03]POST & json_proto [10:08:03]process_json_proto [10:08:03]json parsed OK: [10:08:03]protocol is kg_v1.0 [10:08:03]action value=close_receipt [10:08:03]process_action close_receipt [10:08:03]cmd_close_receipt [10:08:03]MH_GetDate [10:08:03]Write to MH i2c: F0 00 00 43 25 57 [10:08:03]Write i2c OK [10:08:03]MH_I2C_Read... [10:08:03]Read from MH i2c: F0 [10:08:03]MH_I2C_Read... [10:08:03]Read from MH i2c: F0 09 00 [10:08:03]MH_I2C_Read... [10:08:03]Read from MH i2c: F0 09 00 43 25 00 13 28 16 67 05 11 DA 64 6C [10:08:03]GetLastDocTimeStamp 1729505263 [10:08:03]current date 1729505299 [10:08:03]FM_GetShiftState [10:08:03]SAM_PROTO_GetShiftState [10:08:03]wFMCommunicate request_size=4 [10:08:03]MH_SAM_APDU [10:08:03]CAPDU: 80 13 01 00 [10:08:03]Write to MH i2c: E2 08 00 44 25 80 13 01 00 00 00 00 00 E6 [10:08:03]Write i2c OK [10:08:03]MH_I2C_Read... [10:08:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:03]Read from MH i2c: E2 [10:08:03]MH_I2C_Read... [10:08:03]Read from MH i2c: E2 0E 00 [10:08:03]MH_I2C_Read... [10:08:03]Read from MH i2c: E2 0E 00 44 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B4 [10:08:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:08:03]wFMCommunicate OK [10:08:03]SAM_PROTO_GetShiftState done [10:08:03]FM_GetShiftState done [10:08:03]opened in 1729470630 [10:08:03]opened+sec_in_day 1729557030 [10:08:03]quantity*price = 89001 [10:08:03]sum+1 = 89003 [10:08:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.02 ИТОГО: 890.00 ВнеÑено: 890.00 СДÐЧÐ: 0.00 ÐСП 1% : 7.88 ÐДС 12% : 94.51 Ðаличными: 890.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 9 21.10.2024 10:08 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40741 ФПД: 154551368482359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T100819&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40741&fm=154551368482359&tin=02508201610067®Number=0000000000098148&sum=89000 [10:08:04]StoreToDocumentArchive [10:08:04]shift 448 fd 40741 [10:08:04]save to /storage/0448/doc_00040741 [10:08:04]save last doc name /storage/0448/doc_00040741 to /storage/kkm_last_doc_name [10:08:04]save OK [10:08:04]Clear old archive folders... [10:08:04]ProcessDocumentItem done err = 0, tmpTLVsize=248 [10:08:04]tlvbuf is 011151E0 [10:08:04]SAM_PROTO_ClearQueue [10:08:04]wFMCommunicate request_size=4 [10:08:04]MH_SAM_APDU [10:08:04]CAPDU: 80 09 00 00 [10:08:04]Write to MH i2c: E2 08 00 51 25 80 09 00 00 00 00 00 00 E8 [10:08:04]Write i2c OK [10:08:04]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 51 25 00 90 00 EA [10:08:05]RAPDU: 90 00 [10:08:05]wFMCommunicate OK [10:08:05]SAM_PROTO_ClearQueue done [10:08:05]KKMCreateOFDPacket [10:08:05]OFDProtocolAddRootSTLVToBuf [10:08:05]FM_MakeSignedData [10:08:05]FM_MakeSignedData [10:08:05]SAM_PROTO_SignData [10:08:05]wFMCommunicate request_size=4 [10:08:05]MH_SAM_APDU [10:08:05]CAPDU: 80 0D 01 02 [10:08:05]Write to MH i2c: E2 08 00 52 25 80 0D 01 02 00 00 00 00 F0 [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 52 25 00 90 00 EB [10:08:05]RAPDU: 90 00 [10:08:05]wFMCommunicate OK [10:08:05]wFMCommunicate request_size=255 [10:08:05]MH_SAM_APDU [10:08:05]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A0 2D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 AA 5B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 5B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 24 00 00 00 00 07 04 06 00 A8 5B 01 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 13 28 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 25 9F 00 00 35 04 06 00 8C 90 4B 6A [10:08:05]Write to MH i2c: E2 02 01 53 25 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A0 2D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 AA 5B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 5B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 24 00 00 00 00 07 04 06 00 A8 5B 01 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 13 28 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 25 9F 00 00 35 04 06 00 8C 90 4B 6A 00 00 4A [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 53 25 00 90 00 EC [10:08:05]RAPDU: 90 00 [10:08:05]wFMCommunicate OK [10:08:05]wFMCommunicate request_size=7 [10:08:05]MH_SAM_APDU [10:08:05]CAPDU: 80 0D 02 02 02 FE 37 [10:08:05]Write to MH i2c: E2 0A 00 54 25 80 0D 02 02 02 00 FE 37 00 00 2C [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 03 00 54 25 00 90 00 ED [10:08:05]RAPDU: 90 00 [10:08:05]wFMCommunicate OK [10:08:05]wFMCommunicate request_size=4 [10:08:05]MH_SAM_APDU [10:08:05]CAPDU: 80 0D 03 02 [10:08:05]Write to MH i2c: E2 08 00 55 25 80 0D 03 02 00 00 00 00 F5 [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 0B 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 0B 00 55 25 00 38 9F CE 30 E5 27 DC FF 90 00 B2 [10:08:05]RAPDU: 38 9F CE 30 E5 27 DC FF 90 00 [10:08:05]wFMCommunicate OK [10:08:05]SAM_PROTO_SignData done [10:08:05]FM_MakeSignedData done [10:08:05]CreateOFDProtocolMessage [10:08:05]wFMCommunicate request_size=4 [10:08:05]MH_SAM_APDU [10:08:05]CAPDU: 80 11 00 00 [10:08:05]Write to MH i2c: E2 08 00 56 25 80 11 00 00 00 00 00 00 F5 [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:05]Read from MH i2c: E2 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 17 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: E2 17 00 56 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 4A [10:08:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:08:05]wFMCommunicate OK [10:08:05]CreateOFDProtocolMessage done [10:08:05]OFDSenderStorePacket 40741 [10:08:05]StoreOFDPacket docnum=40741 [10:08:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 AE F4 04 01 D5 CB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A0 2D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 AA 5B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 5B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 24 00 00 00 00 07 04 06 00 A8 5B 01 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 13 28 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 25 9F 00 00 35 04 06 00 8C 90 4B 6A FE 37 38 9F CE 30 E5 27 DC FF [10:08:05]CheckFolder [10:08:05]dirname=/storage/ofd_packets [10:08:05]CheckFolder done [10:08:05]ProducePacketName [10:08:05]name=ofd_packets/00040741 [10:08:05]NVStorageSaveData ofd_packets/00040741 [10:08:05]File name is /storage/ofd_packets/00040741 [10:08:05]Write 298 bytes [10:08:05]NVStorageSaveData done [10:08:05]OFDSenderStorePacket done [10:08:05]KKMCreateOFDPacket done [10:08:05]NVStorageSaveData kkm_last_timestamp [10:08:05]File name is /storage/kkm_last_timestamp [10:08:05]Write 4 bytes [10:08:05]NVStorageSaveData done [10:08:05]ExternCall_PrintAddStr [10:08:05]wPrintStart [10:08:05]Write to MH i2c: 01 00 00 57 25 7C [10:08:05]Write i2c OK [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: 01 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: 01 07 00 [10:08:05]MH_I2C_Read... [10:08:05]Read from MH i2c: 01 07 00 57 25 00 00 00 00 00 FF 0F 91 [10:08:05]RasterBufferAndPrint [10:08:05]line Счет N : (1)808641 [10:08:05]line ИÐÐ: 02508201610067 [10:08:05]line Контрольно-КаÑÑовый Чек [10:08:05]line ПРОДÐЖР[10:08:05]line ТРК (МРК, ГÐК) : 11 [10:08:05]line Товар: 2710194210 [10:08:05]line ДТ-К-2 [10:08:05]line 11.680 * 76.20 [10:08:05]line = 890.02 [10:08:05]line ÐДС 12% ÐСП 1% [10:08:05]line > о реализуемом товаре [10:08:05]line ОКРУГЛЕÐИЕ: -0.02 [10:08:05]line ИТОГО: 890.00 [10:08:05]line ВнеÑено: 890.00 [10:08:05]line СДÐЧÐ: 0.00 [10:08:05]line ÐСП 1% : 7.88 [10:08:05]line ÐДС 12% : 94.51 [10:08:05]line Ðаличными: 890.00 [10:08:05]line Безнал.: 0.00 [10:08:05]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [10:08:05]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [10:08:05]line СÐО: Общий режим [10:08:05]line Чек 9 21.10.2024 10:08 [10:08:05]line Смена: 448 ФФД: 1.0 [10:08:05]line ЗÐМ: 0300000239 [10:08:05]line РÐМ: 0000000000098148 [10:08:05]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:08:05]line ФМ: 0000000000965374 [10:08:05]line ФД: 40741 [10:08:05]line ФПД: 154551368482359 [10:08:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T100819&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40741&fm=154551368482359&tin=02508201610067®Number=0000000000098148&sum=89000 [10:08:05]OFD Sender: Processing packet 40741 [packets to send 4, broken 3] [10:08:05]ProducePacketName [10:08:05]name=ofd_packets/00040741 [10:08:05]OFD Sender: To server: ‡•öpG, [10:08:05]CommunicateWithHost lk.salyk.kg:30040 [10:08:05]ConnectInit lk.salyk.kg [10:08:05]written 0, free lines is 4095 [10:08:05]Connected sock=10 [10:08:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 AE F4 04 01 D5 CB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A0 2D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 AA 5B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 5B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 24 00 00 00 00 07 04 06 00 A8 5B 01 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 13 28 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 25 9F 00 00 35 04 06 00 8C 90 4B 6A FE 37 38 9F CE 30 E5 27 DC FF [10:08:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 45 91 47 00 6D 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 25 9F 00 00 F4 03 04 00 F3 CD 15 67 B6 04 01 00 00 3A 83 B0 5E E2 51 1F EF [10:08:06]CommunicateWithHost err = 0 [10:08:06]CheckOFDResponse [10:08:06]1017 (14) - 77093643461234 [10:08:06]1041 (16) - 0000000000965374 [10:08:06]1040 (4) - 40741 [10:08:06]1012 (4) - 21.10.2024 03:43 [10:08:06]1206 (1) - 0 [10:08:06]OFD Sender: Remove packet 40741 [10:08:06]ProducePacketName [10:08:06]name=ofd_packets/00040741 [10:08:06]NVStorageDeleteData [10:08:06]Write to MH i2c: 01 00 00 82 25 A7 [10:08:06]Write i2c OK [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: 01 [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: 01 07 00 [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: 01 07 00 82 25 00 00 00 00 00 F4 0C AE [10:08:06]RasterBufferAndPrint [10:08:06]line [10:08:06]line [10:08:06]line [10:08:06]line [10:08:06]line [10:08:06]written 0, free lines is 3323 [10:08:06]MH_Cut [10:08:06]Write to MH i2c: D1 01 00 89 25 01 80 [10:08:06]Write i2c OK [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: D1 [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: D1 01 00 [10:08:06]MH_I2C_Read... [10:08:06]Read from MH i2c: D1 01 00 89 25 00 7F [10:08:06]Write to MH i2c: 01 00 00 8A 25 AF [10:08:06]Write i2c OK [10:08:06]MH_I2C_Read... [10:08:06]OFD Sender: No OFD packet to send [10:08:06]*** Cut start [10:08:06]*** Partial cut [10:08:06]*** CUTSNS_PIN = 1 [10:08:06]*** CUTSNS_PIN = 0 [10:08:07]*** Brake cut motor [10:08:07]Read from MH i2c: 01 [10:08:07]MH_I2C_Read... [10:08:07]*** Stop cut motor [10:08:07]*** Cut end [10:08:07]Read from MH i2c: 01 07 00 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: 01 07 00 8A 25 00 00 00 00 00 FF 0F C4 [10:08:07]process_action close_receipt done [10:08:07]requested_data is exist [10:08:07]produce_requested_data [10:08:07]requested_item fm.sn is exist - process it [10:08:07]wFMCommunicate request_size=4 [10:08:07]MH_SAM_APDU [10:08:07]CAPDU: 80 11 00 00 [10:08:07]Write to MH i2c: E2 08 00 8B 25 80 11 00 00 00 00 00 00 2A [10:08:07]Write i2c OK [10:08:07]MH_I2C_Read... [10:08:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:07]Read from MH i2c: E2 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 17 00 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 17 00 8B 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 7F [10:08:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:08:07]wFMCommunicate OK [10:08:07]requested_item fd.num is exist - process it [10:08:07]SAM_PROTO_GetFieldsCounters [10:08:07]wFMCommunicate request_size=4 [10:08:07]MH_SAM_APDU [10:08:07]CAPDU: 80 13 00 00 [10:08:07]Write to MH i2c: E2 08 00 8C 25 80 13 00 00 00 00 00 00 2D [10:08:07]Write i2c OK [10:08:07]MH_I2C_Read... [10:08:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:07]Read from MH i2c: E2 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 62 00 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 62 00 8C 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 25 9F 00 00 0E 04 04 00 C0 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 F5 [10:08:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 25 9F 00 00 0E 04 04 00 C0 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 [10:08:07]wFMCommunicate OK [10:08:07]SAM_PROTO_GetFieldsCounters done [10:08:07]requested_item shift.num is exist - process it [10:08:07]requested_item shift.opened is exist - process it [10:08:07]req_shift_opened [10:08:07]FM_GetShiftState [10:08:07]SAM_PROTO_GetShiftState [10:08:07]wFMCommunicate request_size=4 [10:08:07]MH_SAM_APDU [10:08:07]CAPDU: 80 13 01 00 [10:08:07]Write to MH i2c: E2 08 00 8D 25 80 13 01 00 00 00 00 00 2F [10:08:07]Write i2c OK [10:08:07]MH_I2C_Read... [10:08:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:07]Read from MH i2c: E2 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 0E 00 [10:08:07]MH_I2C_Read... [10:08:07]Read from MH i2c: E2 0E 00 8D 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 FD [10:08:07]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:08:07]wFMCommunicate OK [10:08:07]SAM_PROTO_GetShiftState done [10:08:07]FM_GetShiftState done [10:08:07]req_shift_opened done [10:08:07]requested_item shift.open_date is exist - process it [10:08:07]req_shift_open_date [10:08:07]req_shift_open_date done [10:08:07]produce_requested_data done [10:08:07]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40741,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [10:08:07]process_action_free close_receipt [10:08:07]json_value_free [10:08:07]json_value_free done [10:08:07]process_json_proto returns [10:08:07]Send response to host [10:08:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40741,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [10:08:07]free response buf [10:08:07]execute_script done [10:08:07]execute_script returns [10:08:07]free content buf [10:08:07]Sock 9.Close socket [10:08:07]Sock 9.Thread stoped [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33: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]accept exits with 7 [10:36:12]New connection [10:36:12]New thread 3066887524 created [10:36:12]Thread 3067030884 joined [10:36:12]Waiting for new connection... [10:36:12] Sock 7.Parse request [10:36:12]Sock 7.Check first char [10:36:12]Sock 7.First char is OK [10:36:12]request: POST /json_proto HTTP/1.0 [10:36:12]Method: POST [10:36:12]URL: /json_proto [10:36:12]Method is POST - this is cgi request [10:36:12]url: /json_proto [10:36:12]query_string will be loaded in cgi processing [10:36:12]execute_cgi json_proto POST (null) [10:36:12]execute_cgi path=json_proto method=POST [10:36:12]POST find Content-Length [10:36:12]Host: 172.17.53.4:8080 [10:36:12]Content-Length: 677 [10:36:12]Content-Type: application/json [10:36:12] [10:36:12]POST finish read [10:36:12]Found Content-Length = 677 [10:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808663", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:12]execute_script... [10: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 : (1)808663", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:12]POST & json_proto [10:36:12]process_json_proto [10:36:12]json parsed OK: [10:36:12]protocol is kg_v1.0 [10:36:12]action value=close_receipt [10:36:12]process_action close_receipt [10:36:12]cmd_close_receipt [10:36:12]MH_GetDate [10:36:12]Write to MH i2c: F0 00 00 8E 25 A2 [10:36:12]Write i2c OK [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: F0 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: F0 09 00 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: F0 09 00 8E 25 00 AC 2E 16 67 05 11 DA 64 56 [10:36:12]GetLastDocTimeStamp 1729505299 [10:36:12]current date 1729506988 [10:36:12]FM_GetShiftState [10:36:12]SAM_PROTO_GetShiftState [10:36:12]wFMCommunicate request_size=4 [10:36:12]MH_SAM_APDU [10:36:12]CAPDU: 80 13 01 00 [10:36:12]Write to MH i2c: E2 08 00 8F 25 80 13 01 00 00 00 00 00 31 [10:36:12]Write i2c OK [10:36:12]MH_I2C_Read... [10:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:12]Read from MH i2c: E2 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: E2 0E 00 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: E2 0E 00 8F 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 FF [10:36:12]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:36:12]wFMCommunicate OK [10:36:12]SAM_PROTO_GetShiftState done [10:36:12]FM_GetShiftState done [10:36:12]opened in 1729470630 [10:36:12]opened+sec_in_day 1729557030 [10:36:12]quantity*price = 30038 [10:36:12]sum+1 = 30039 [10:36:12]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 10 21.10.2024 10:36 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40742 ФПД: 31014858297143 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103628&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40742&fm=31014858297143&tin=02508201610067®Number=0000000000098148&sum=30000 [10:36:13]StoreToDocumentArchive [10:36:13]shift 448 fd 40742 [10:36:13]save to /storage/0448/doc_00040742 [10:36:13]save last doc name /storage/0448/doc_00040742 to /storage/kkm_last_doc_name [10:36:13]save OK [10:36:13]Clear old archive folders... [10:36:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:36:13]tlvbuf is B6F6B8F0 [10:36:13]SAM_PROTO_ClearQueue [10:36:13]wFMCommunicate request_size=4 [10:36:13]MH_SAM_APDU [10:36:13]CAPDU: 80 09 00 00 [10:36:13]Write to MH i2c: E2 08 00 9C 25 80 09 00 00 00 00 00 00 33 [10:36:13]Write i2c OK [10:36:13]MH_I2C_Read... [10:36:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:13]Read from MH i2c: E2 [10:36:13]MH_I2C_Read... [10:36:13]Read from MH i2c: E2 03 00 [10:36:13]MH_I2C_Read... [10:36:13]Read from MH i2c: E2 03 00 9C 25 00 90 00 35 [10:36:13]RAPDU: 90 00 [10:36:13]wFMCommunicate OK [10:36:13]SAM_PROTO_ClearQueue done [10:36:13]KKMCreateOFDPacket [10:36:13]OFDProtocolAddRootSTLVToBuf [10:36:13]FM_MakeSignedData [10:36:13]FM_MakeSignedData [10:36:13]SAM_PROTO_SignData [10:36:13]wFMCommunicate request_size=4 [10:36:13]MH_SAM_APDU [10:36:13]CAPDU: 80 0D 01 02 [10:36:13]Write to MH i2c: E2 08 00 9D 25 80 0D 01 02 00 00 00 00 3B [10:36:13]Write i2c OK [10:36:13]MH_I2C_Read... [10:36:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:14]Read from MH i2c: E2 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 9D 25 00 90 00 36 [10:36:14]RAPDU: 90 00 [10:36:14]wFMCommunicate OK [10:36:14]wFMCommunicate request_size=255 [10:36:14]MH_SAM_APDU [10:36:14]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AC 2E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 26 9F 00 00 35 04 06 00 1C [10:36:14]Write to MH i2c: E2 02 01 9E 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 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AC 2E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 26 9F 00 00 35 04 06 00 1C 00 00 C8 [10:36:14]Write i2c OK [10:36:14]MH_I2C_Read... [10:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:14]Read from MH i2c: E2 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 9E 25 00 90 00 37 [10:36:14]RAPDU: 90 00 [10:36:14]wFMCommunicate OK [10:36:14]wFMCommunicate request_size=10 [10:36:14]MH_SAM_APDU [10:36:14]CAPDU: 80 0D 02 02 05 35 35 9C 8F 37 [10:36:14]Write to MH i2c: E2 0D 00 9F 25 80 0D 02 02 05 00 35 35 9C 8F 37 00 00 14 [10:36:14]Write i2c OK [10:36:14]MH_I2C_Read... [10:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:14]Read from MH i2c: E2 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 03 00 9F 25 00 90 00 38 [10:36:14]RAPDU: 90 00 [10:36:14]wFMCommunicate OK [10:36:14]wFMCommunicate request_size=4 [10:36:14]MH_SAM_APDU [10:36:14]CAPDU: 80 0D 03 02 [10:36:14]Write to MH i2c: E2 08 00 A0 25 80 0D 03 02 00 00 00 00 40 [10:36:14]Write i2c OK [10:36:14]MH_I2C_Read... [10:36:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:14]Read from MH i2c: E2 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 0B 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 0B 00 A0 25 00 5F 0B 24 22 96 24 29 93 90 00 67 [10:36:14]RAPDU: 5F 0B 24 22 96 24 29 93 90 00 [10:36:14]wFMCommunicate OK [10:36:14]SAM_PROTO_SignData done [10:36:14]FM_MakeSignedData done [10:36:14]CreateOFDProtocolMessage [10:36:14]wFMCommunicate request_size=4 [10:36:14]MH_SAM_APDU [10:36:14]CAPDU: 80 11 00 00 [10:36:14]Write to MH i2c: E2 08 00 A1 25 80 11 00 00 00 00 00 00 40 [10:36:14]Write i2c OK [10:36:14]MH_I2C_Read... [10:36:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:14]Read from MH i2c: E2 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 17 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: E2 17 00 A1 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 95 [10:36:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:36:14]wFMCommunicate OK [10:36:14]CreateOFDProtocolMessage done [10:36:14]OFDSenderStorePacket 40742 [10:36:14]StoreOFDPacket docnum=40742 [10:36:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 04 29 07 01 75 5B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AC 2E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 26 9F 00 00 35 04 06 00 1C 35 35 9C 8F 37 5F 0B 24 22 96 24 29 93 [10:36:14]CheckFolder [10:36:14]dirname=/storage/ofd_packets [10:36:14]CheckFolder done [10:36:14]ProducePacketName [10:36:14]name=ofd_packets/00040742 [10:36:14]NVStorageSaveData ofd_packets/00040742 [10:36:14]File name is /storage/ofd_packets/00040742 [10:36:14]Write 301 bytes [10:36:14]NVStorageSaveData done [10:36:14]OFDSenderStorePacket done [10:36:14]KKMCreateOFDPacket done [10:36:14]NVStorageSaveData kkm_last_timestamp [10:36:14]File name is /storage/kkm_last_timestamp [10:36:14]Write 4 bytes [10:36:14]NVStorageSaveData done [10:36:14]ExternCall_PrintAddStr [10:36:14]wPrintStart [10:36:14]Write to MH i2c: 01 00 00 A2 25 C7 [10:36:14]Write i2c OK [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: 01 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: 01 07 00 [10:36:14]MH_I2C_Read... [10:36:14]Read from MH i2c: 01 07 00 A2 25 00 00 00 00 00 FF 0F DC [10:36:14]RasterBufferAndPrint [10:36:14]line Счет N : (1)808663 [10:36:14]line ИÐÐ: 02508201610067 [10:36:14]line Контрольно-КаÑÑовый Чек [10:36:14]line ПРОДÐЖР[10:36:14]line ТРК (МРК, ГÐК) : 43 [10:36:14]line Товар: 2710124130 [10:36:14]line Ðи-92-К-5 [10:36:14]line 4.490 * 66.90 [10:36:14]line = 300.38 [10:36:14]line ÐДС 12% ÐСП 1% [10:36:14]line > о реализуемом товаре [10:36:14]line ОКРУГЛЕÐИЕ: -0.38 [10:36:14]line ИТОГО: 300.00 [10:36:14]line ВнеÑено: 300.00 [10:36:14]line СДÐЧÐ: 0.00 [10:36:14]line ÐСП 1% : 2.66 [10:36:14]line ÐДС 12% : 31.90 [10:36:14]line Ðаличными: 300.00 [10:36:14]line Безнал.: 0.00 [10:36:14]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [10:36:14]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [10:36:14]line СÐО: Общий режим [10:36:14]line Чек 10 21.10.2024 10:36 [10:36:14]line Смена: 448 ФФД: 1.0 [10:36:14]line ЗÐМ: 0300000239 [10:36:14]line РÐМ: 0000000000098148 [10:36:14]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:36:14]line ФМ: 0000000000965374 [10:36:14]line ФД: 40742 [10:36:14]line ФПД: 31014858297143 [10:36:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103628&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40742&fm=31014858297143&tin=02508201610067®Number=0000000000098148&sum=30000 [10:36:14]written 0, free lines is 4095 [10:36:14]OFD Sender: Processing packet 40742 [packets to send 4, broken 3] [10:36:14]ProducePacketName [10:36:14]name=ofd_packets/00040742 [10:36:14]OFD Sender: To server: ‡•öpG, [10:36:14]CommunicateWithHost lk.salyk.kg:30040 [10:36:14]ConnectInit lk.salyk.kg [10:36:14]Connected sock=10 [10:36:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 04 29 07 01 75 5B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AC 2E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 26 9F 00 00 35 04 06 00 1C 35 35 9C 8F 37 5F 0B 24 22 96 24 29 93 [10:36:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 96 88 47 00 66 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 26 9F 00 00 F4 03 04 00 8C D4 15 67 B6 04 01 00 00 03 71 65 3A 14 D2 5F 34 [10:36:15]CommunicateWithHost err = 0 [10:36:15]CheckOFDResponse [10:36:15]1017 (14) - 77093643461234 [10:36:15]1041 (16) - 0000000000965374 [10:36:15]1040 (4) - 40742 [10:36:15]1012 (4) - 21.10.2024 04:11 [10:36:15]1206 (1) - 0 [10:36:15]OFD Sender: Remove packet 40742 [10:36:15]ProducePacketName [10:36:15]name=ofd_packets/00040742 [10:36:15]NVStorageDeleteData [10:36:15]Write to MH i2c: 01 00 00 CD 25 F2 [10:36:15]Write i2c OK [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: 01 [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: 01 07 00 [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: 01 07 00 CD 25 00 00 00 00 00 EF 0C F4 [10:36:15]RasterBufferAndPrint [10:36:15]line [10:36:15]line [10:36:15]line [10:36:15]line [10:36:15]line [10:36:15]written 0, free lines is 3317 [10:36:15]MH_Cut [10:36:15]Write to MH i2c: D1 01 00 D4 25 01 CB [10:36:15]Write i2c OK [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: D1 [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: D1 01 00 [10:36:15]MH_I2C_Read... [10:36:15]Read from MH i2c: D1 01 00 D4 25 00 CA [10:36:15]Write to MH i2c: 01 00 00 D5 25 FA [10:36:15]Write i2c OK [10:36:15]MH_I2C_Read... [10:36:15]OFD Sender: No OFD packet to send [10:36:15]*** Cut start [10:36:15]*** Partial cut [10:36:15]*** CUTSNS_PIN = 1 [10:36:15]*** CUTSNS_PIN = 0 [10:36:16]*** Brake cut motor [10:36:16]Read from MH i2c: 01 [10:36:16]MH_I2C_Read... [10:36:16]*** Stop cut motor [10:36:16]*** Cut end [10:36:16]Read from MH i2c: 01 07 00 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: 01 07 00 D5 25 00 00 00 00 00 FF 0F 0F [10:36:16]process_action close_receipt done [10:36:16]requested_data is exist [10:36:16]produce_requested_data [10:36:16]requested_item fm.sn is exist - process it [10:36:16]wFMCommunicate request_size=4 [10:36:16]MH_SAM_APDU [10:36:16]CAPDU: 80 11 00 00 [10:36:16]Write to MH i2c: E2 08 00 D6 25 80 11 00 00 00 00 00 00 75 [10:36:16]Write i2c OK [10:36:16]MH_I2C_Read... [10:36:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:16]Read from MH i2c: E2 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 17 00 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 17 00 D6 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 CA [10:36:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:36:16]wFMCommunicate OK [10:36:16]requested_item fd.num is exist - process it [10:36:16]SAM_PROTO_GetFieldsCounters [10:36:16]wFMCommunicate request_size=4 [10:36:16]MH_SAM_APDU [10:36:16]CAPDU: 80 13 00 00 [10:36:16]Write to MH i2c: E2 08 00 D7 25 80 13 00 00 00 00 00 00 78 [10:36:16]Write i2c OK [10:36:16]MH_I2C_Read... [10:36:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:16]Read from MH i2c: E2 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 62 00 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 62 00 D7 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 26 9F 00 00 0E 04 04 00 C0 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 44 [10:36:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 26 9F 00 00 0E 04 04 00 C0 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 [10:36:16]wFMCommunicate OK [10:36:16]SAM_PROTO_GetFieldsCounters done [10:36:16]requested_item shift.num is exist - process it [10:36:16]requested_item shift.opened is exist - process it [10:36:16]req_shift_opened [10:36:16]FM_GetShiftState [10:36:16]SAM_PROTO_GetShiftState [10:36:16]wFMCommunicate request_size=4 [10:36:16]MH_SAM_APDU [10:36:16]CAPDU: 80 13 01 00 [10:36:16]Write to MH i2c: E2 08 00 D8 25 80 13 01 00 00 00 00 00 7A [10:36:16]Write i2c OK [10:36:16]MH_I2C_Read... [10:36:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:16]Read from MH i2c: E2 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 0E 00 [10:36:16]MH_I2C_Read... [10:36:16]Read from MH i2c: E2 0E 00 D8 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 48 [10:36:16]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:36:16]wFMCommunicate OK [10:36:16]SAM_PROTO_GetShiftState done [10:36:16]FM_GetShiftState done [10:36:16]req_shift_opened done [10:36:16]requested_item shift.open_date is exist - process it [10:36:16]req_shift_open_date [10:36:16]req_shift_open_date done [10:36:16]produce_requested_data done [10:36:16]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40742,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [10:36:16]process_action_free close_receipt [10:36:16]json_value_free [10:36:16]json_value_free done [10:36:16]process_json_proto returns [10:36:16]Send response to host [10:36:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40742,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [10:36:16]free response buf [10:36:16]execute_script done [10:36:16]execute_script returns [10:36:16]free content buf [10:36:16]Sock 7.Close socket [10:36:16]Sock 7.Thread stoped [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:03]accept exits with 9 [10:39:03]New connection [10:39:03]New thread 3067030884 created [10:39:03]Thread 3066887524 joined [10:39:03]Waiting for new connection... [10:39:03] Sock 9.Parse request [10:39:03]Sock 9.Check first char [10:39:03]Sock 9.First char is OK [10:39:03]request: POST /json_proto HTTP/1.0 [10:39:03]Method: POST [10:39:03]URL: /json_proto [10:39:03]Method is POST - this is cgi request [10:39:03]url: /json_proto [10:39:03]query_string will be loaded in cgi processing [10:39:03]execute_cgi json_proto POST (null) [10:39:03]execute_cgi path=json_proto method=POST [10:39:03]POST find Content-Length [10:39:03]Host: 172.17.53.4:8080 [10:39:03]Content-Length: 677 [10:39:03]Content-Type: application/json [10:39:03] [10:39:03]POST finish read [10:39:03]Found Content-Length = 677 [10:39:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808665", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:03]execute_script... [10:39:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808665", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:03]POST & json_proto [10:39:03]process_json_proto [10:39:03]json parsed OK: [10:39:03]protocol is kg_v1.0 [10:39:03]action value=close_receipt [10:39:03]process_action close_receipt [10:39:03]cmd_close_receipt [10:39:03]MH_GetDate [10:39:03]Write to MH i2c: F0 00 00 D9 25 ED [10:39:03]Write i2c OK [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: F0 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: F0 09 00 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: F0 09 00 D9 25 00 57 2F 16 67 05 11 DA 64 4D [10:39:03]GetLastDocTimeStamp 1729506988 [10:39:03]current date 1729507159 [10:39:03]FM_GetShiftState [10:39:03]SAM_PROTO_GetShiftState [10:39:03]wFMCommunicate request_size=4 [10:39:03]MH_SAM_APDU [10:39:03]CAPDU: 80 13 01 00 [10:39:03]Write to MH i2c: E2 08 00 DA 25 80 13 01 00 00 00 00 00 7C [10:39:03]Write i2c OK [10:39:03]MH_I2C_Read... [10:39:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:03]Read from MH i2c: E2 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: E2 0E 00 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: E2 0E 00 DA 25 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 4A [10:39:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:39:03]wFMCommunicate OK [10:39:03]SAM_PROTO_GetShiftState done [10:39:03]FM_GetShiftState done [10:39:03]opened in 1729470630 [10:39:03]opened+sec_in_day 1729557030 [10:39:03]quantity*price = 50010 [10:39:03]sum+1 = 50012 [10:39:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.11 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 11 21.10.2024 10:39 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40743 ФПД: 175279062297037 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103919&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40743&fm=175279062297037&tin=02508201610067®Number=0000000000098148&sum=50000 [10:39:04]StoreToDocumentArchive [10:39:04]shift 448 fd 40743 [10:39:04]save to /storage/0448/doc_00040743 [10:39:04]save last doc name /storage/0448/doc_00040743 to /storage/kkm_last_doc_name [10:39:04]save OK [10:39:04]Clear old archive folders... [10:39:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:39:04]tlvbuf is 0104E2E0 [10:39:04]SAM_PROTO_ClearQueue [10:39:04]wFMCommunicate request_size=4 [10:39:04]MH_SAM_APDU [10:39:04]CAPDU: 80 09 00 00 [10:39:04]Write to MH i2c: E2 08 00 E7 25 80 09 00 00 00 00 00 00 7E [10:39:04]Write i2c OK [10:39:04]MH_I2C_Read... [10:39:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:04]Read from MH i2c: E2 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 03 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 03 00 E7 25 00 90 00 80 [10:39:04]RAPDU: 90 00 [10:39:04]wFMCommunicate OK [10:39:04]SAM_PROTO_ClearQueue done [10:39:04]KKMCreateOFDPacket [10:39:04]OFDProtocolAddRootSTLVToBuf [10:39:04]FM_MakeSignedData [10:39:04]FM_MakeSignedData [10:39:04]SAM_PROTO_SignData [10:39:04]wFMCommunicate request_size=4 [10:39:04]MH_SAM_APDU [10:39:04]CAPDU: 80 0D 01 02 [10:39:04]Write to MH i2c: E2 08 00 E8 25 80 0D 01 02 00 00 00 00 86 [10:39:04]Write i2c OK [10:39:04]MH_I2C_Read... [10:39:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:04]Read from MH i2c: E2 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 03 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 03 00 E8 25 00 90 00 81 [10:39:04]RAPDU: 90 00 [10:39:04]wFMCommunicate OK [10:39:04]wFMCommunicate request_size=255 [10:39:04]MH_SAM_APDU [10:39:04]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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 57 2F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 27 9F 00 00 35 04 06 00 9F [10:39:04]Write to MH i2c: E2 02 01 E9 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 57 2F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 27 9F 00 00 35 04 06 00 9F 00 00 26 [10:39:05]Write i2c OK [10:39:05]MH_I2C_Read... [10:39:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:05]Read from MH i2c: E2 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 03 00 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 03 00 E9 25 00 90 00 82 [10:39:05]RAPDU: 90 00 [10:39:05]wFMCommunicate OK [10:39:05]wFMCommunicate request_size=10 [10:39:05]MH_SAM_APDU [10:39:05]CAPDU: 80 0D 02 02 05 6A 56 3E A9 CD [10:39:05]Write to MH i2c: E2 0D 00 EA 25 80 0D 02 02 05 00 6A 56 3E A9 CD 00 00 07 [10:39:05]Write i2c OK [10:39:05]MH_I2C_Read... [10:39:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:05]Read from MH i2c: E2 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 03 00 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 03 00 EA 25 00 90 00 83 [10:39:05]RAPDU: 90 00 [10:39:05]wFMCommunicate OK [10:39:05]wFMCommunicate request_size=4 [10:39:05]MH_SAM_APDU [10:39:05]CAPDU: 80 0D 03 02 [10:39:05]Write to MH i2c: E2 08 00 EB 25 80 0D 03 02 00 00 00 00 8B [10:39:05]Write i2c OK [10:39:05]MH_I2C_Read... [10:39:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:05]Read from MH i2c: E2 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 0B 00 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 0B 00 EB 25 00 E8 0C 5E 19 35 DF 4A 05 90 00 5A [10:39:05]RAPDU: E8 0C 5E 19 35 DF 4A 05 90 00 [10:39:05]wFMCommunicate OK [10:39:05]SAM_PROTO_SignData done [10:39:05]FM_MakeSignedData done [10:39:05]CreateOFDProtocolMessage [10:39:05]wFMCommunicate request_size=4 [10:39:05]MH_SAM_APDU [10:39:05]CAPDU: 80 11 00 00 [10:39:05]Write to MH i2c: E2 08 00 EC 25 80 11 00 00 00 00 00 00 8B [10:39:05]Write i2c OK [10:39:05]MH_I2C_Read... [10:39:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:05]Read from MH i2c: E2 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 17 00 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: E2 17 00 EC 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E0 [10:39:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:39:05]wFMCommunicate OK [10:39:05]CreateOFDProtocolMessage done [10:39:05]OFDSenderStorePacket 40743 [10:39:05]StoreOFDPacket docnum=40743 [10:39:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5B 15 07 01 3E 64 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 57 2F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 27 9F 00 00 35 04 06 00 9F 6A 56 3E A9 CD E8 0C 5E 19 35 DF 4A 05 [10:39:05]CheckFolder [10:39:05]dirname=/storage/ofd_packets [10:39:05]CheckFolder done [10:39:05]ProducePacketName [10:39:05]name=ofd_packets/00040743 [10:39:05]NVStorageSaveData ofd_packets/00040743 [10:39:05]File name is /storage/ofd_packets/00040743 [10:39:05]Write 301 bytes [10:39:05]NVStorageSaveData done [10:39:05]OFDSenderStorePacket done [10:39:05]KKMCreateOFDPacket done [10:39:05]NVStorageSaveData kkm_last_timestamp [10:39:05]File name is /storage/kkm_last_timestamp [10:39:05]Write 4 bytes [10:39:05]NVStorageSaveData done [10:39:05]ExternCall_PrintAddStr [10:39:05]wPrintStart [10:39:05]Write to MH i2c: 01 00 00 ED 25 12 [10:39:05]Write i2c OK [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: 01 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: 01 07 00 [10:39:05]MH_I2C_Read... [10:39:05]Read from MH i2c: 01 07 00 ED 25 00 00 00 00 00 FF 0F 27 [10:39:05]RasterBufferAndPrint [10:39:05]line Счет N : (1)808665 [10:39:05]line ИÐÐ: 02508201610067 [10:39:05]line Контрольно-КаÑÑовый Чек [10:39:05]line ПРОДÐЖР[10:39:05]line ТРК (МРК, ГÐК) : 44 [10:39:05]line Товар: 2710124500 [10:39:05]line Ðи-95-К-3 [10:39:05]line 6.740 * 74.20 [10:39:05]line = 500.11 [10:39:05]line ÐДС 12% ÐСП 1% [10:39:05]line > о реализуемом товаре [10:39:05]line ОКРУГЛЕÐИЕ: -0.11 [10:39:05]line ИТОГО: 500.00 [10:39:05]line ВнеÑено: 500.00 [10:39:05]line СДÐЧÐ: 0.00 [10:39:05]line ÐСП 1% : 4.43 [10:39:05]line ÐДС 12% : 53.11 [10:39:05]line Ðаличными: 500.00 [10:39:05]line Безнал.: 0.00 [10:39:05]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [10:39:05]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [10:39:05]line СÐО: Общий режим [10:39:05]line Чек 11 21.10.2024 10:39 [10:39:05]line Смена: 448 ФФД: 1.0 [10:39:05]line ЗÐМ: 0300000239 [10:39:05]line РÐМ: 0000000000098148 [10:39:05]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:39:05]line ФМ: 0000000000965374 [10:39:05]line ФД: 40743 [10:39:05]line ФПД: 175279062297037 [10:39:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103919&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40743&fm=175279062297037&tin=02508201610067®Number=0000000000098148&sum=50000 [10:39:05]written 0, free lines is 4095 [10:39:05]OFD Sender: Processing packet 40743 [packets to send 4, broken 3] [10:39:05]ProducePacketName [10:39:05]name=ofd_packets/00040743 [10:39:05]OFD Sender: To server: ‡•öpG, [10:39:05]CommunicateWithHost lk.salyk.kg:30040 [10:39:05]ConnectInit lk.salyk.kg [10:39:05]Connected sock=10 [10:39:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5B 15 07 01 3E 64 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 57 2F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 27 9F 00 00 35 04 06 00 9F 6A 56 3E A9 CD E8 0C 5E 19 35 DF 4A 05 [10:39:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 8B F6 47 00 23 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 27 9F 00 00 F4 03 04 00 37 D5 15 67 B6 04 01 00 00 14 46 FA 5B C7 13 83 64 [10:39:06]CommunicateWithHost err = 0 [10:39:06]CheckOFDResponse [10:39:06]1017 (14) - 77093643461234 [10:39:06]1041 (16) - 0000000000965374 [10:39:06]1040 (4) - 40743 [10:39:06]1012 (4) - 21.10.2024 04:14 [10:39:06]1206 (1) - 0 [10:39:06]OFD Sender: Remove packet 40743 [10:39:06]ProducePacketName [10:39:06]name=ofd_packets/00040743 [10:39:06]NVStorageDeleteData [10:39:06]Write to MH i2c: 01 00 00 18 26 3E [10:39:06]Write i2c OK [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: 01 [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: 01 07 00 [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: 01 07 00 18 26 00 00 00 00 00 E8 0C 39 [10:39:06]RasterBufferAndPrint [10:39:06]line [10:39:06]line [10:39:06]line [10:39:06]line [10:39:06]line [10:39:06]written 0, free lines is 3311 [10:39:06]MH_Cut [10:39:06]Write to MH i2c: D1 01 00 1F 26 01 17 [10:39:06]Write i2c OK [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: D1 [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: D1 01 00 [10:39:06]MH_I2C_Read... [10:39:06]Read from MH i2c: D1 01 00 1F 26 00 16 [10:39:06]Write to MH i2c: 01 00 00 20 26 46 [10:39:06]Write i2c OK [10:39:06]MH_I2C_Read... [10:39:06]OFD Sender: No OFD packet to send [10:39:06]*** Cut start [10:39:06]*** Partial cut [10:39:06]*** CUTSNS_PIN = 1 [10:39:06]*** CUTSNS_PIN = 0 [10:39:07]*** Brake cut motor [10:39:07]Read from MH i2c: 01 [10:39:07]MH_I2C_Read... [10:39:07]*** Stop cut motor [10:39:07]*** Cut end [10:39:07]Read from MH i2c: 01 07 00 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: 01 07 00 20 26 00 00 00 00 00 FF 0F 5B [10:39:07]process_action close_receipt done [10:39:07]requested_data is exist [10:39:07]produce_requested_data [10:39:07]requested_item fm.sn is exist - process it [10:39:07]wFMCommunicate request_size=4 [10:39:07]MH_SAM_APDU [10:39:07]CAPDU: 80 11 00 00 [10:39:07]Write to MH i2c: E2 08 00 21 26 80 11 00 00 00 00 00 00 C1 [10:39:07]Write i2c OK [10:39:07]MH_I2C_Read... [10:39:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:07]Read from MH i2c: E2 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 17 00 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 17 00 21 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 16 [10:39:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [10:39:07]wFMCommunicate OK [10:39:07]requested_item fd.num is exist - process it [10:39:07]SAM_PROTO_GetFieldsCounters [10:39:07]wFMCommunicate request_size=4 [10:39:07]MH_SAM_APDU [10:39:07]CAPDU: 80 13 00 00 [10:39:07]Write to MH i2c: E2 08 00 22 26 80 13 00 00 00 00 00 00 C4 [10:39:07]Write i2c OK [10:39:07]MH_I2C_Read... [10:39:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:07]Read from MH i2c: E2 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 62 00 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 62 00 22 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 27 9F 00 00 0E 04 04 00 C0 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 94 [10:39:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 27 9F 00 00 0E 04 04 00 C0 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:39:07]wFMCommunicate OK [10:39:07]SAM_PROTO_GetFieldsCounters done [10:39:07]requested_item shift.num is exist - process it [10:39:07]requested_item shift.opened is exist - process it [10:39:07]req_shift_opened [10:39:07]FM_GetShiftState [10:39:07]SAM_PROTO_GetShiftState [10:39:07]wFMCommunicate request_size=4 [10:39:07]MH_SAM_APDU [10:39:07]CAPDU: 80 13 01 00 [10:39:07]Write to MH i2c: E2 08 00 23 26 80 13 01 00 00 00 00 00 C6 [10:39:07]Write i2c OK [10:39:07]MH_I2C_Read... [10:39:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:07]Read from MH i2c: E2 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 0E 00 [10:39:07]MH_I2C_Read... [10:39:07]Read from MH i2c: E2 0E 00 23 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 94 [10:39:07]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [10:39:07]wFMCommunicate OK [10:39:07]SAM_PROTO_GetShiftState done [10:39:07]FM_GetShiftState done [10:39:07]req_shift_opened done [10:39:07]requested_item shift.open_date is exist - process it [10:39:07]req_shift_open_date [10:39:07]req_shift_open_date done [10:39:07]produce_requested_data done [10:39:07]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40743,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [10:39:07]process_action_free close_receipt [10:39:07]json_value_free [10:39:07]json_value_free done [10:39:07]process_json_proto returns [10:39:07]Send response to host [10:39:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40743,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [10:39:07]free response buf [10:39:07]execute_script done [10:39:07]execute_script returns [10:39:07]free content buf [10:39:07]Sock 9.Close socket [10:39:07]Sock 9.Thread stoped [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:11]accept exits with 7 [11:03:11]New connection [11:03:11]New thread 3066887524 created [11:03:11]Thread 3067030884 joined [11:03:11]Waiting for new connection... [11:03:11] Sock 7.Parse request [11:03:11]Sock 7.Check first char [11:03:11]Sock 7.First char is OK [11:03:11]request: POST /json_proto HTTP/1.0 [11:03:11]Method: POST [11:03:11]URL: /json_proto [11:03:11]Method is POST - this is cgi request [11:03:11]url: /json_proto [11:03:11]query_string will be loaded in cgi processing [11:03:11]execute_cgi json_proto POST (null) [11:03:11]execute_cgi path=json_proto method=POST [11:03:11]POST find Content-Length [11:03:11]Host: 172.17.53.4:8080 [11:03:11]Content-Length: 677 [11:03:11]Content-Type: application/json [11:03:11] [11:03:11]POST finish read [11:03:11]Found Content-Length = 677 [11:03:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:11]execute_script... [11:03:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808677", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:11]POST & json_proto [11:03:11]process_json_proto [11:03:11]json parsed OK: [11:03:11]protocol is kg_v1.0 [11:03:11]action value=close_receipt [11:03:11]process_action close_receipt [11:03:11]cmd_close_receipt [11:03:11]MH_GetDate [11:03:11]Write to MH i2c: F0 00 00 24 26 39 [11:03:11]Write i2c OK [11:03:11]MH_I2C_Read... [11:03:11]Read from MH i2c: F0 [11:03:11]MH_I2C_Read... [11:03:11]Read from MH i2c: F0 09 00 [11:03:11]MH_I2C_Read... [11:03:11]Read from MH i2c: F0 09 00 24 26 00 FF 34 16 67 05 11 DA 64 46 [11:03:11]GetLastDocTimeStamp 1729507159 [11:03:11]current date 1729508607 [11:03:11]FM_GetShiftState [11:03:11]SAM_PROTO_GetShiftState [11:03:11]wFMCommunicate request_size=4 [11:03:11]MH_SAM_APDU [11:03:11]CAPDU: 80 13 01 00 [11:03:11]Write to MH i2c: E2 08 00 25 26 80 13 01 00 00 00 00 00 C8 [11:03:11]Write i2c OK [11:03:11]MH_I2C_Read... [11:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:11]Read from MH i2c: E2 [11:03:11]MH_I2C_Read... [11:03:11]Read from MH i2c: E2 0E 00 [11:03:11]MH_I2C_Read... [11:03:11]Read from MH i2c: E2 0E 00 25 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 96 [11:03:11]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:03:11]wFMCommunicate OK [11:03:11]SAM_PROTO_GetShiftState done [11:03:11]FM_GetShiftState done [11:03:11]opened in 1729470630 [11:03:11]opened+sec_in_day 1729557030 [11:03:11]quantity*price = 50041 [11:03:11]sum+1 = 50042 [11:03:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 12 21.10.2024 11:03 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40744 ФПД: 279017864481086 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110327&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40744&fm=279017864481086&tin=02508201610067®Number=0000000000098148&sum=50000 [11:03:13]StoreToDocumentArchive [11:03:13]shift 448 fd 40744 [11:03:13]save to /storage/0448/doc_00040744 [11:03:13]save last doc name /storage/0448/doc_00040744 to /storage/kkm_last_doc_name [11:03:13]save OK [11:03:13]Clear old archive folders... [11:03:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:03:13]tlvbuf is 01052B00 [11:03:13]SAM_PROTO_ClearQueue [11:03:13]wFMCommunicate request_size=4 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 09 00 00 [11:03:13]Write to MH i2c: E2 08 00 32 26 80 09 00 00 00 00 00 00 CA [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 32 26 00 90 00 CC [11:03:13]RAPDU: 90 00 [11:03:13]wFMCommunicate OK [11:03:13]SAM_PROTO_ClearQueue done [11:03:13]KKMCreateOFDPacket [11:03:13]OFDProtocolAddRootSTLVToBuf [11:03:13]FM_MakeSignedData [11:03:13]FM_MakeSignedData [11:03:13]SAM_PROTO_SignData [11:03:13]wFMCommunicate request_size=4 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 0D 01 02 [11:03:13]Write to MH i2c: E2 08 00 33 26 80 0D 01 02 00 00 00 00 D2 [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:03:13]Read from MH i2c: E2 03 00 33 26 00 90 00 CD [11:03:13]RAPDU: 90 00 [11:03:13]wFMCommunicate OK [11:03:13]wFMCommunicate request_size=255 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 34 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 28 9F 00 00 35 04 06 00 FD [11:03:13]Write to MH i2c: E2 02 01 34 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 34 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 28 9F 00 00 35 04 06 00 FD 00 00 A9 [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 34 26 00 90 00 CE [11:03:13]RAPDU: 90 00 [11:03:13]wFMCommunicate OK [11:03:13]wFMCommunicate request_size=10 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 0D 02 02 05 C3 E8 B2 C9 3E [11:03:13]Write to MH i2c: E2 0D 00 35 26 80 0D 02 02 05 00 C3 E8 B2 C9 3E 00 00 43 [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 03 00 35 26 00 90 00 CF [11:03:13]RAPDU: 90 00 [11:03:13]wFMCommunicate OK [11:03:13]wFMCommunicate request_size=4 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 0D 03 02 [11:03:13]Write to MH i2c: E2 08 00 36 26 80 0D 03 02 00 00 00 00 D7 [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 0B 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 0B 00 36 26 00 C0 6C 0C 44 0E 7A 59 0E 90 00 43 [11:03:13]RAPDU: C0 6C 0C 44 0E 7A 59 0E 90 00 [11:03:13]wFMCommunicate OK [11:03:13]SAM_PROTO_SignData done [11:03:13]FM_MakeSignedData done [11:03:13]CreateOFDProtocolMessage [11:03:13]wFMCommunicate request_size=4 [11:03:13]MH_SAM_APDU [11:03:13]CAPDU: 80 11 00 00 [11:03:13]Write to MH i2c: E2 08 00 37 26 80 11 00 00 00 00 00 00 D7 [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:13]Read from MH i2c: E2 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 17 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: E2 17 00 37 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2C [11:03:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:03:13]wFMCommunicate OK [11:03:13]CreateOFDProtocolMessage done [11:03:13]OFDSenderStorePacket 40744 [11:03:13]StoreOFDPacket docnum=40744 [11:03:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 12 7B 07 01 1C 40 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 34 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 28 9F 00 00 35 04 06 00 FD C3 E8 B2 C9 3E C0 6C 0C 44 0E 7A 59 0E [11:03:13]CheckFolder [11:03:13]dirname=/storage/ofd_packets [11:03:13]CheckFolder done [11:03:13]ProducePacketName [11:03:13]name=ofd_packets/00040744 [11:03:13]NVStorageSaveData ofd_packets/00040744 [11:03:13]File name is /storage/ofd_packets/00040744 [11:03:13]Write 301 bytes [11:03:13]NVStorageSaveData done [11:03:13]OFDSenderStorePacket done [11:03:13]KKMCreateOFDPacket done [11:03:13]NVStorageSaveData kkm_last_timestamp [11:03:13]File name is /storage/kkm_last_timestamp [11:03:13]Write 4 bytes [11:03:13]NVStorageSaveData done [11:03:13]ExternCall_PrintAddStr [11:03:13]wPrintStart [11:03:13]Write to MH i2c: 01 00 00 38 26 5E [11:03:13]Write i2c OK [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: 01 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: 01 07 00 [11:03:13]MH_I2C_Read... [11:03:13]Read from MH i2c: 01 07 00 38 26 00 00 00 00 00 FF 0F 73 [11:03:13]RasterBufferAndPrint [11:03:13]line Счет N : (1)808677 [11:03:13]line ИÐÐ: 02508201610067 [11:03:13]line Контрольно-КаÑÑовый Чек [11:03:13]line ПРОДÐЖР[11:03:13]line ТРК (МРК, ГÐК) : 53 [11:03:13]line Товар: 2710124130 [11:03:13]line Ðи-92-К-5 [11:03:13]line 7.480 * 66.90 [11:03:13]line = 500.41 [11:03:13]line ÐДС 12% ÐСП 1% [11:03:13]line > о реализуемом товаре [11:03:13]line ОКРУГЛЕÐИЕ: -0.41 [11:03:13]line ИТОГО: 500.00 [11:03:13]line ВнеÑено: 500.00 [11:03:13]line СДÐЧÐ: 0.00 [11:03:13]line ÐСП 1% : 4.43 [11:03:13]line ÐДС 12% : 53.14 [11:03:13]line Ðаличными: 500.00 [11:03:13]line Безнал.: 0.00 [11:03:13]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:03:13]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:03:13]line СÐО: Общий режим [11:03:13]line Чек 12 21.10.2024 11:03 [11:03:13]line Смена: 448 ФФД: 1.0 [11:03:13]line ЗÐМ: 0300000239 [11:03:13]line РÐМ: 0000000000098148 [11:03:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:03:13]line ФМ: 0000000000965374 [11:03:13]line ФД: 40744 [11:03:13]line ФПД: 279017864481086 [11:03:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110327&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40744&fm=279017864481086&tin=02508201610067®Number=0000000000098148&sum=50000 [11:03:13]OFD Sender: Processing packet 40744 [packets to send 4, broken 3] [11:03:13]ProducePacketName [11:03:13]name=ofd_packets/00040744 [11:03:13]OFD Sender: To server: ‡•öpG, [11:03:13]CommunicateWithHost lk.salyk.kg:30040 [11:03:13]ConnectInit lk.salyk.kg [11:03:13]written 0, free lines is 4095 [11:03:13]Connected sock=10 [11:03:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 12 7B 07 01 1C 40 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 34 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 28 9F 00 00 35 04 06 00 FD C3 E8 B2 C9 3E C0 6C 0C 44 0E 7A 59 0E [11:03:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 35 33 47 00 AE 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 39 36 35 33 37 34 10 04 04 00 28 9F 00 00 F4 03 04 00 DF DA 15 67 B6 04 01 00 00 D6 6B FB FE 83 F0 4F E7 [11:03:14]CommunicateWithHost err = 0 [11:03:14]CheckOFDResponse [11:03:14]1017 (14) - 77093643461234 [11:03:14]1041 (16) - 0000000000965374 [11:03:14]1040 (4) - 40744 [11:03:14]1012 (4) - 21.10.2024 04:38 [11:03:14]1206 (1) - 0 [11:03:14]OFD Sender: Remove packet 40744 [11:03:14]ProducePacketName [11:03:14]name=ofd_packets/00040744 [11:03:14]NVStorageDeleteData [11:03:14]Write to MH i2c: 01 00 00 63 26 89 [11:03:14]Write i2c OK [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: 01 [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: 01 07 00 [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: 01 07 00 63 26 00 00 00 00 00 E5 0C 81 [11:03:14]RasterBufferAndPrint [11:03:14]line [11:03:14]line [11:03:14]line [11:03:14]line [11:03:14]line [11:03:14]written 0, free lines is 3307 [11:03:14]MH_Cut [11:03:14]Write to MH i2c: D1 01 00 6A 26 01 62 [11:03:14]Write i2c OK [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: D1 [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: D1 01 00 [11:03:14]MH_I2C_Read... [11:03:14]Read from MH i2c: D1 01 00 6A 26 00 61 [11:03:14]Write to MH i2c: 01 00 00 6B 26 91 [11:03:14]Write i2c OK [11:03:14]MH_I2C_Read... [11:03:14]OFD Sender: No OFD packet to send [11:03:15]*** Cut start [11:03:15]*** Partial cut [11:03:15]*** CUTSNS_PIN = 1 [11:03:15]*** CUTSNS_PIN = 0 [11:03:15]*** Brake cut motor [11:03:15]Read from MH i2c: 01 [11:03:15]MH_I2C_Read... [11:03:15]*** Stop cut motor [11:03:15]*** Cut end [11:03:15]Read from MH i2c: 01 07 00 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: 01 07 00 6B 26 00 00 00 00 00 FF 0F A6 [11:03:15]process_action close_receipt done [11:03:15]requested_data is exist [11:03:15]produce_requested_data [11:03:15]requested_item fm.sn is exist - process it [11:03:15]wFMCommunicate request_size=4 [11:03:15]MH_SAM_APDU [11:03:15]CAPDU: 80 11 00 00 [11:03:15]Write to MH i2c: E2 08 00 6C 26 80 11 00 00 00 00 00 00 0C [11:03:15]Write i2c OK [11:03:15]MH_I2C_Read... [11:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:15]Read from MH i2c: E2 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 17 00 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 17 00 6C 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 61 [11:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:03:15]wFMCommunicate OK [11:03:15]requested_item fd.num is exist - process it [11:03:15]SAM_PROTO_GetFieldsCounters [11:03:15]wFMCommunicate request_size=4 [11:03:15]MH_SAM_APDU [11:03:15]CAPDU: 80 13 00 00 [11:03:15]Write to MH i2c: E2 08 00 6D 26 80 13 00 00 00 00 00 00 0F [11:03:15]Write i2c OK [11:03:15]MH_I2C_Read... [11:03:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:03:15]Read from MH i2c: E2 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 62 00 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 62 00 6D 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 28 9F 00 00 0E 04 04 00 C0 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 E3 [11:03:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 28 9F 00 00 0E 04 04 00 C0 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 [11:03:15]wFMCommunicate OK [11:03:15]SAM_PROTO_GetFieldsCounters done [11:03:15]requested_item shift.num is exist - process it [11:03:15]requested_item shift.opened is exist - process it [11:03:15]req_shift_opened [11:03:15]FM_GetShiftState [11:03:15]SAM_PROTO_GetShiftState [11:03:15]wFMCommunicate request_size=4 [11:03:15]MH_SAM_APDU [11:03:15]CAPDU: 80 13 01 00 [11:03:15]Write to MH i2c: E2 08 00 6E 26 80 13 01 00 00 00 00 00 11 [11:03:15]Write i2c OK [11:03:15]MH_I2C_Read... [11:03:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:15]Read from MH i2c: E2 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 0E 00 [11:03:15]MH_I2C_Read... [11:03:15]Read from MH i2c: E2 0E 00 6E 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 DF [11:03:15]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:03:15]wFMCommunicate OK [11:03:15]SAM_PROTO_GetShiftState done [11:03:15]FM_GetShiftState done [11:03:15]req_shift_opened done [11:03:15]requested_item shift.open_date is exist - process it [11:03:15]req_shift_open_date [11:03:15]req_shift_open_date done [11:03:15]produce_requested_data done [11:03:15]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40744,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:03:15]process_action_free close_receipt [11:03:15]json_value_free [11:03:15]json_value_free done [11:03:15]process_json_proto returns [11:03:15]Send response to host [11:03:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40744,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:03:15]free response buf [11:03:15]execute_script done [11:03:15]execute_script returns [11:03:15]free content buf [11:03:15]Sock 7.Close socket [11:03:15]Sock 7.Thread stoped [11:03:16]accept exits with 9 [11:03:16]New connection [11:03:16]New thread 3067030884 created [11:03:16]Thread 3066887524 joined [11:03:16]Waiting for new connection... [11:03:16] Sock 9.Parse request [11:03:16]Sock 9.Check first char [11:03:16]Sock 9.First char is OK [11:03:16]request: POST /json_proto HTTP/1.0 [11:03:16]Method: POST [11:03:16]URL: /json_proto [11:03:16]Method is POST - this is cgi request [11:03:16]url: /json_proto [11:03:16]query_string will be loaded in cgi processing [11:03:16]execute_cgi json_proto POST (null) [11:03:16]execute_cgi path=json_proto method=POST [11:03:16]POST find Content-Length [11:03:16]Host: 172.17.53.4:8080 [11:03:16]Content-Length: 677 [11:03:16]Content-Type: application/json [11:03:16] [11:03:16]POST finish read [11:03:16]Found Content-Length = 677 [11:03:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808678", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:16]execute_script... [11:03: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 : (1)808678", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:03:16]POST & json_proto [11:03:16]process_json_proto [11:03:16]json parsed OK: [11:03:16]protocol is kg_v1.0 [11:03:16]action value=close_receipt [11:03:16]process_action close_receipt [11:03:16]cmd_close_receipt [11:03:16]MH_GetDate [11:03:16]Write to MH i2c: F0 00 00 6F 26 84 [11:03:16]Write i2c OK [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 09 00 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: F0 09 00 6F 26 00 04 35 16 67 05 11 DA 64 97 [11:03:16]GetLastDocTimeStamp 1729508607 [11:03:16]current date 1729508612 [11:03:16]FM_GetShiftState [11:03:16]SAM_PROTO_GetShiftState [11:03:16]wFMCommunicate request_size=4 [11:03:16]MH_SAM_APDU [11:03:16]CAPDU: 80 13 01 00 [11:03:16]Write to MH i2c: E2 08 00 70 26 80 13 01 00 00 00 00 00 13 [11:03:16]Write i2c OK [11:03:16]MH_I2C_Read... [11:03:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:16]Read from MH i2c: E2 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: E2 0E 00 [11:03:16]MH_I2C_Read... [11:03:16]Read from MH i2c: E2 0E 00 70 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E1 [11:03:16]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:03:16]wFMCommunicate OK [11:03:16]SAM_PROTO_GetShiftState done [11:03:16]FM_GetShiftState done [11:03:16]opened in 1729470630 [11:03:16]opened+sec_in_day 1729557030 [11:03:16]quantity*price = 50041 [11:03:16]sum+1 = 50042 [11:03:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 13 21.10.2024 11:03 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40745 ФПД: 255220913487413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110332&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40745&fm=255220913487413&tin=02508201610067®Number=0000000000098148&sum=50000 [11:03:18]StoreToDocumentArchive [11:03:18]shift 448 fd 40745 [11:03:18]save to /storage/0448/doc_00040745 [11:03:18]save last doc name /storage/0448/doc_00040745 to /storage/kkm_last_doc_name [11:03:18]save OK [11:03:18]Clear old archive folders... [11:03:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:03:18]tlvbuf is 010C8C40 [11:03:18]SAM_PROTO_ClearQueue [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 09 00 00 [11:03:18]Write to MH i2c: E2 08 00 7D 26 80 09 00 00 00 00 00 00 15 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 7D 26 00 90 00 17 [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]SAM_PROTO_ClearQueue done [11:03:18]KKMCreateOFDPacket [11:03:18]OFDProtocolAddRootSTLVToBuf [11:03:18]FM_MakeSignedData [11:03:18]FM_MakeSignedData [11:03:18]SAM_PROTO_SignData [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 01 02 [11:03:18]Write to MH i2c: E2 08 00 7E 26 80 0D 01 02 00 00 00 00 1D [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 7E 26 00 90 00 18 [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]wFMCommunicate request_size=255 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 04 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 29 9F 00 00 35 04 06 00 E8 [11:03:18]Write to MH i2c: E2 02 01 7F 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 04 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 29 9F 00 00 35 04 06 00 E8 00 00 E7 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 7F 26 00 90 00 19 [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]wFMCommunicate request_size=10 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 02 02 05 1F 3F E3 3E 35 [11:03:18]Write to MH i2c: E2 0D 00 80 26 80 0D 02 02 05 00 1F 3F E3 3E 35 00 00 DE [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 03 00 80 26 00 90 00 1A [11:03:18]RAPDU: 90 00 [11:03:18]wFMCommunicate OK [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 0D 03 02 [11:03:18]Write to MH i2c: E2 08 00 81 26 80 0D 03 02 00 00 00 00 22 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 0B 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 0B 00 81 26 00 9B 1C 98 5A 00 ED BC 54 90 00 C9 [11:03:18]RAPDU: 9B 1C 98 5A 00 ED BC 54 90 00 [11:03:18]wFMCommunicate OK [11:03:18]SAM_PROTO_SignData done [11:03:18]FM_MakeSignedData done [11:03:18]CreateOFDProtocolMessage [11:03:18]wFMCommunicate request_size=4 [11:03:18]MH_SAM_APDU [11:03:18]CAPDU: 80 11 00 00 [11:03:18]Write to MH i2c: E2 08 00 82 26 80 11 00 00 00 00 00 00 22 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:18]Read from MH i2c: E2 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 17 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: E2 17 00 82 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 77 [11:03:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:03:18]wFMCommunicate OK [11:03:18]CreateOFDProtocolMessage done [11:03:18]OFDSenderStorePacket 40745 [11:03:18]StoreOFDPacket docnum=40745 [11:03:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 43 B5 07 01 31 E4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 04 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 29 9F 00 00 35 04 06 00 E8 1F 3F E3 3E 35 9B 1C 98 5A 00 ED BC 54 [11:03:18]CheckFolder [11:03:18]dirname=/storage/ofd_packets [11:03:18]CheckFolder done [11:03:18]ProducePacketName [11:03:18]name=ofd_packets/00040745 [11:03:18]NVStorageSaveData ofd_packets/00040745 [11:03:18]File name is /storage/ofd_packets/00040745 [11:03:18]Write 301 bytes [11:03:18]NVStorageSaveData done [11:03:18]OFDSenderStorePacket done [11:03:18]KKMCreateOFDPacket done [11:03:18]NVStorageSaveData kkm_last_timestamp [11:03:18]File name is /storage/kkm_last_timestamp [11:03:18]Write 4 bytes [11:03:18]NVStorageSaveData done [11:03:18]ExternCall_PrintAddStr [11:03:18]wPrintStart [11:03:18]Write to MH i2c: 01 00 00 83 26 A9 [11:03:18]Write i2c OK [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 [11:03:18]MH_I2C_Read... [11:03:18]Read from MH i2c: 01 07 00 83 26 00 00 00 00 00 FF 0F BE [11:03:18]RasterBufferAndPrint [11:03:18]line Счет N : (1)808678 [11:03:18]line ИÐÐ: 02508201610067 [11:03:18]line Контрольно-КаÑÑовый Чек [11:03:18]line ПРОДÐЖР[11:03:18]line ТРК (МРК, ГÐК) : 63 [11:03:18]line Товар: 2710124130 [11:03:18]line Ðи-92-К-5 [11:03:18]line 7.480 * 66.90 [11:03:18]line = 500.41 [11:03:18]line ÐДС 12% ÐСП 1% [11:03:18]line > о реализуемом товаре [11:03:18]line ОКРУГЛЕÐИЕ: -0.41 [11:03:18]line ИТОГО: 500.00 [11:03:18]line ВнеÑено: 500.00 [11:03:18]line СДÐЧÐ: 0.00 [11:03:18]line ÐСП 1% : 4.43 [11:03:18]line ÐДС 12% : 53.14 [11:03:18]line Ðаличными: 500.00 [11:03:18]line Безнал.: 0.00 [11:03:18]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:03:18]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:03:18]line СÐО: Общий режим [11:03:18]line Чек 13 21.10.2024 11:03 [11:03:18]line Смена: 448 ФФД: 1.0 [11:03:18]line ЗÐМ: 0300000239 [11:03:18]line РÐМ: 0000000000098148 [11:03:18]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:03:18]line ФМ: 0000000000965374 [11:03:18]line ФД: 40745 [11:03:18]line ФПД: 255220913487413 [11:03:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110332&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40745&fm=255220913487413&tin=02508201610067®Number=0000000000098148&sum=50000 [11:03:18]written 0, free lines is 4095 [11:03:18]OFD Sender: Processing packet 40745 [packets to send 4, broken 3] [11:03:18]ProducePacketName [11:03:18]name=ofd_packets/00040745 [11:03:18]OFD Sender: To server: ‡•öpG, [11:03:18]CommunicateWithHost lk.salyk.kg:30040 [11:03:18]ConnectInit lk.salyk.kg [11:03:18]Connected sock=10 [11:03:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 43 B5 07 01 31 E4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 04 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 29 9F 00 00 35 04 06 00 E8 1F 3F E3 3E 35 9B 1C 98 5A 00 ED BC 54 [11:03:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 56 4D 47 00 F7 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 29 9F 00 00 F4 03 04 00 E4 DA 15 67 B6 04 01 00 00 5E 91 BC 1B 92 5D 2C 10 [11:03:19]CommunicateWithHost err = 0 [11:03:19]CheckOFDResponse [11:03:19]1017 (14) - 77093643461234 [11:03:19]1041 (16) - 0000000000965374 [11:03:19]1040 (4) - 40745 [11:03:19]1012 (4) - 21.10.2024 04:39 [11:03:19]1206 (1) - 0 [11:03:19]OFD Sender: Remove packet 40745 [11:03:19]ProducePacketName [11:03:19]name=ofd_packets/00040745 [11:03:19]NVStorageDeleteData [11:03:19]Write to MH i2c: 01 00 00 AE 26 D4 [11:03:19]Write i2c OK [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: 01 [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: 01 07 00 [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: 01 07 00 AE 26 00 00 00 00 00 FA 0C E1 [11:03:19]RasterBufferAndPrint [11:03:19]line [11:03:19]line [11:03:19]line [11:03:19]line [11:03:19]line [11:03:19]written 0, free lines is 3334 [11:03:19]MH_Cut [11:03:19]Write to MH i2c: D1 01 00 B5 26 01 AD [11:03:19]Write i2c OK [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: D1 [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: D1 01 00 [11:03:19]MH_I2C_Read... [11:03:19]Read from MH i2c: D1 01 00 B5 26 00 AC [11:03:19]Write to MH i2c: 01 00 00 B6 26 DC [11:03:19]Write i2c OK [11:03:19]MH_I2C_Read... [11:03:19]OFD Sender: No OFD packet to send [11:03:19]*** Cut start [11:03:19]*** Partial cut [11:03:19]*** CUTSNS_PIN = 1 [11:03:19]*** CUTSNS_PIN = 0 [11:03:20]*** Brake cut motor [11:03:20]Read from MH i2c: 01 [11:03:20]MH_I2C_Read... [11:03:20]*** Stop cut motor [11:03:20]*** Cut end [11:03:20]Read from MH i2c: 01 07 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: 01 07 00 B6 26 00 00 00 00 00 FF 0F F1 [11:03:20]process_action close_receipt done [11:03:20]requested_data is exist [11:03:20]produce_requested_data [11:03:20]requested_item fm.sn is exist - process it [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 11 00 00 [11:03:20]Write to MH i2c: E2 08 00 B7 26 80 11 00 00 00 00 00 00 57 [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 17 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 17 00 B7 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 AC [11:03:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:03:20]wFMCommunicate OK [11:03:20]requested_item fd.num is exist - process it [11:03:20]SAM_PROTO_GetFieldsCounters [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 13 00 00 [11:03:20]Write to MH i2c: E2 08 00 B8 26 80 13 00 00 00 00 00 00 5A [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 62 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 62 00 B8 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 29 9F 00 00 0E 04 04 00 C0 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 32 [11:03:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 29 9F 00 00 0E 04 04 00 C0 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 [11:03:20]wFMCommunicate OK [11:03:20]SAM_PROTO_GetFieldsCounters done [11:03:20]requested_item shift.num is exist - process it [11:03:20]requested_item shift.opened is exist - process it [11:03:20]req_shift_opened [11:03:20]FM_GetShiftState [11:03:20]SAM_PROTO_GetShiftState [11:03:20]wFMCommunicate request_size=4 [11:03:20]MH_SAM_APDU [11:03:20]CAPDU: 80 13 01 00 [11:03:20]Write to MH i2c: E2 08 00 B9 26 80 13 01 00 00 00 00 00 5C [11:03:20]Write i2c OK [11:03:20]MH_I2C_Read... [11:03:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:20]Read from MH i2c: E2 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 0E 00 [11:03:20]MH_I2C_Read... [11:03:20]Read from MH i2c: E2 0E 00 B9 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 2A [11:03:20]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:03:20]wFMCommunicate OK [11:03:20]SAM_PROTO_GetShiftState done [11:03:20]FM_GetShiftState done [11:03:20]req_shift_opened done [11:03:20]requested_item shift.open_date is exist - process it [11:03:20]req_shift_open_date [11:03:20]req_shift_open_date done [11:03:20]produce_requested_data done [11:03:20]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40745,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:03:20]process_action_free close_receipt [11:03:20]json_value_free [11:03:20]json_value_free done [11:03:20]process_json_proto returns [11:03:20]Send response to host [11:03:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40745,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:03:20]free response buf [11:03:20]execute_script done [11:03:20]execute_script returns [11:03:20]free content buf [11:03:20]Sock 9.Close socket [11:03:20]Sock 9.Thread stoped [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:01]accept exits with 7 [11:05:01]New connection [11:05:01]New thread 3066887524 created [11:05:01]Thread 3067030884 joined [11:05:01]Waiting for new connection... [11:05:01] Sock 7.Parse request [11:05:01]Sock 7.Check first char [11:05:01]Sock 7.First char is OK [11:05:01]request: POST /json_proto HTTP/1.0 [11:05:01]Method: POST [11:05:01]URL: /json_proto [11:05:01]Method is POST - this is cgi request [11:05:01]url: /json_proto [11:05:01]query_string will be loaded in cgi processing [11:05:01]execute_cgi json_proto POST (null) [11:05:01]execute_cgi path=json_proto method=POST [11:05:01]POST find Content-Length [11:05:01]Host: 172.17.53.4:8080 [11:05:01]Content-Length: 677 [11:05:01]Content-Type: application/json [11:05:01] [11:05:01]POST finish read [11:05:01]Found Content-Length = 677 [11:05:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808682", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:01]execute_script... [11:05: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 : (1)808682", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:01]POST & json_proto [11:05:01]process_json_proto [11:05:01]json parsed OK: [11:05:01]protocol is kg_v1.0 [11:05:01]action value=close_receipt [11:05:01]process_action close_receipt [11:05:01]cmd_close_receipt [11:05:01]MH_GetDate [11:05:01]Write to MH i2c: F0 00 00 BA 26 CF [11:05:01]Write i2c OK [11:05:01]MH_I2C_Read... [11:05:01]Read from MH i2c: F0 [11:05:01]MH_I2C_Read... [11:05:01]Read from MH i2c: F0 09 00 [11:05:01]MH_I2C_Read... [11:05:01]Read from MH i2c: F0 09 00 BA 26 00 6C 35 16 67 05 11 DA 64 4A [11:05:01]GetLastDocTimeStamp 1729508612 [11:05:01]current date 1729508716 [11:05:01]FM_GetShiftState [11:05:01]SAM_PROTO_GetShiftState [11:05:01]wFMCommunicate request_size=4 [11:05:01]MH_SAM_APDU [11:05:01]CAPDU: 80 13 01 00 [11:05:01]Write to MH i2c: E2 08 00 BB 26 80 13 01 00 00 00 00 00 5E [11:05:01]Write i2c OK [11:05:01]MH_I2C_Read... [11:05:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:01]Read from MH i2c: E2 [11:05:01]MH_I2C_Read... [11:05:01]Read from MH i2c: E2 0E 00 [11:05:01]MH_I2C_Read... [11:05:01]Read from MH i2c: E2 0E 00 BB 26 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 2C [11:05:01]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:05:01]wFMCommunicate OK [11:05:01]SAM_PROTO_GetShiftState done [11:05:01]FM_GetShiftState done [11:05:01]opened in 1729470630 [11:05:01]opened+sec_in_day 1729557030 [11:05:01]quantity*price = 50041 [11:05:01]sum+1 = 50042 [11:05:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 14 21.10.2024 11:05 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40746 ФПД: 181269152029862 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110516&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40746&fm=181269152029862&tin=02508201610067®Number=0000000000098148&sum=50000 [11:05:02]StoreToDocumentArchive [11:05:02]shift 448 fd 40746 [11:05:02]save to /storage/0448/doc_00040746 [11:05:02]save last doc name /storage/0448/doc_00040746 to /storage/kkm_last_doc_name [11:05:02]save OK [11:05:02]Clear old archive folders... [11:05:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:05:02]tlvbuf is B6EBB090 [11:05:02]SAM_PROTO_ClearQueue [11:05:02]wFMCommunicate request_size=4 [11:05:02]MH_SAM_APDU [11:05:02]CAPDU: 80 09 00 00 [11:05:02]Write to MH i2c: E2 08 00 C8 26 80 09 00 00 00 00 00 00 60 [11:05:02]Write i2c OK [11:05:02]MH_I2C_Read... [11:05:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:02]Read from MH i2c: E2 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 C8 26 00 90 00 62 [11:05:02]RAPDU: 90 00 [11:05:02]wFMCommunicate OK [11:05:02]SAM_PROTO_ClearQueue done [11:05:02]KKMCreateOFDPacket [11:05:02]OFDProtocolAddRootSTLVToBuf [11:05:02]FM_MakeSignedData [11:05:02]FM_MakeSignedData [11:05:02]SAM_PROTO_SignData [11:05:02]wFMCommunicate request_size=4 [11:05:02]MH_SAM_APDU [11:05:02]CAPDU: 80 0D 01 02 [11:05:02]Write to MH i2c: E2 08 00 C9 26 80 0D 01 02 00 00 00 00 68 [11:05:02]Write i2c OK [11:05:02]MH_I2C_Read... [11:05:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:02]Read from MH i2c: E2 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 C9 26 00 90 00 63 [11:05:02]RAPDU: 90 00 [11:05:02]wFMCommunicate OK [11:05:02]wFMCommunicate request_size=255 [11:05:02]MH_SAM_APDU [11:05:02]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6C 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2A 9F 00 00 35 04 06 00 A4 [11:05:02]Write to MH i2c: E2 02 01 CA 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6C 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2A 9F 00 00 35 04 06 00 A4 00 00 58 [11:05:02]Write i2c OK [11:05:02]MH_I2C_Read... [11:05:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:02]Read from MH i2c: E2 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 CA 26 00 90 00 64 [11:05:02]RAPDU: 90 00 [11:05:02]wFMCommunicate OK [11:05:02]wFMCommunicate request_size=10 [11:05:02]MH_SAM_APDU [11:05:02]CAPDU: 80 0D 02 02 05 DD 03 6A 5C A6 [11:05:02]Write to MH i2c: E2 0D 00 CB 26 80 0D 02 02 05 00 DD 03 6A 5C A6 00 00 C1 [11:05:02]Write i2c OK [11:05:02]MH_I2C_Read... [11:05:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:02]Read from MH i2c: E2 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 [11:05:02]MH_I2C_Read... [11:05:02]Read from MH i2c: E2 03 00 CB 26 00 90 00 65 [11:05:02]RAPDU: 90 00 [11:05:02]wFMCommunicate OK [11:05:02]wFMCommunicate request_size=4 [11:05:02]MH_SAM_APDU [11:05:02]CAPDU: 80 0D 03 02 [11:05:02]Write to MH i2c: E2 08 00 CC 26 80 0D 03 02 00 00 00 00 6D [11:05:02]Write i2c OK [11:05:02]MH_I2C_Read... [11:05:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:03]Read from MH i2c: E2 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: E2 0B 00 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: E2 0B 00 CC 26 00 A4 CF 17 17 8D B7 1C AB 90 00 1A [11:05:03]RAPDU: A4 CF 17 17 8D B7 1C AB 90 00 [11:05:03]wFMCommunicate OK [11:05:03]SAM_PROTO_SignData done [11:05:03]FM_MakeSignedData done [11:05:03]CreateOFDProtocolMessage [11:05:03]wFMCommunicate request_size=4 [11:05:03]MH_SAM_APDU [11:05:03]CAPDU: 80 11 00 00 [11:05:03]Write to MH i2c: E2 08 00 CD 26 80 11 00 00 00 00 00 00 6D [11:05:03]Write i2c OK [11:05:03]MH_I2C_Read... [11:05:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:03]Read from MH i2c: E2 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: E2 17 00 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: E2 17 00 CD 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C2 [11:05:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:05:03]wFMCommunicate OK [11:05:03]CreateOFDProtocolMessage done [11:05:03]OFDSenderStorePacket 40746 [11:05:03]StoreOFDPacket docnum=40746 [11:05:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A6 56 07 01 93 E4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6C 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2A 9F 00 00 35 04 06 00 A4 DD 03 6A 5C A6 A4 CF 17 17 8D B7 1C AB [11:05:03]CheckFolder [11:05:03]dirname=/storage/ofd_packets [11:05:03]CheckFolder done [11:05:03]ProducePacketName [11:05:03]name=ofd_packets/00040746 [11:05:03]NVStorageSaveData ofd_packets/00040746 [11:05:03]File name is /storage/ofd_packets/00040746 [11:05:03]Write 301 bytes [11:05:03]NVStorageSaveData done [11:05:03]OFDSenderStorePacket done [11:05:03]KKMCreateOFDPacket done [11:05:03]NVStorageSaveData kkm_last_timestamp [11:05:03]File name is /storage/kkm_last_timestamp [11:05:03]Write 4 bytes [11:05:03]NVStorageSaveData done [11:05:03]ExternCall_PrintAddStr [11:05:03]wPrintStart [11:05:03]Write to MH i2c: 01 00 00 CE 26 F4 [11:05:03]Write i2c OK [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 07 00 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 07 00 CE 26 00 00 00 00 00 FF 0F 09 [11:05:03]RasterBufferAndPrint [11:05:03]line Счет N : (1)808682 [11:05:03]line ИÐÐ: 02508201610067 [11:05:03]line Контрольно-КаÑÑовый Чек [11:05:03]line ПРОДÐЖР[11:05:03]line ТРК (МРК, ГÐК) : 33 [11:05:03]line Товар: 2710124130 [11:05:03]line Ðи-92-К-5 [11:05:03]line 7.480 * 66.90 [11:05:03]line = 500.41 [11:05:03]line ÐДС 12% ÐСП 1% [11:05:03]line > о реализуемом товаре [11:05:03]line ОКРУГЛЕÐИЕ: -0.41 [11:05:03]line ИТОГО: 500.00 [11:05:03]line ВнеÑено: 500.00 [11:05:03]line СДÐЧÐ: 0.00 [11:05:03]line ÐСП 1% : 4.43 [11:05:03]line ÐДС 12% : 53.14 [11:05:03]line Ðаличными: 500.00 [11:05:03]line Безнал.: 0.00 [11:05:03]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:05:03]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:05:03]line СÐО: Общий режим [11:05:03]line Чек 14 21.10.2024 11:05 [11:05:03]line Смена: 448 ФФД: 1.0 [11:05:03]line ЗÐМ: 0300000239 [11:05:03]line РÐМ: 0000000000098148 [11:05:03]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:05:03]line ФМ: 0000000000965374 [11:05:03]line ФД: 40746 [11:05:03]line ФПД: 181269152029862 [11:05:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110516&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40746&fm=181269152029862&tin=02508201610067®Number=0000000000098148&sum=50000 [11:05:03]written 0, free lines is 4095 [11:05:03]OFD Sender: Processing packet 40746 [packets to send 4, broken 3] [11:05:03]ProducePacketName [11:05:03]name=ofd_packets/00040746 [11:05:03]OFD Sender: To server: ‡•öpG, [11:05:03]CommunicateWithHost lk.salyk.kg:30040 [11:05:03]ConnectInit lk.salyk.kg [11:05:03]Connected sock=10 [11:05:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A6 56 07 01 93 E4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6C 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2A 9F 00 00 35 04 06 00 A4 DD 03 6A 5C A6 A4 CF 17 17 8D B7 1C AB [11:05:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 D6 23 47 00 FC AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2A 9F 00 00 F4 03 04 00 4D DB 15 67 B6 04 01 00 00 85 10 54 C0 51 D5 5B 8A [11:05:03]CommunicateWithHost err = 0 [11:05:03]CheckOFDResponse [11:05:03]1017 (14) - 77093643461234 [11:05:03]1041 (16) - 0000000000965374 [11:05:03]1040 (4) - 40746 [11:05:03]1012 (4) - 21.10.2024 04:40 [11:05:03]1206 (1) - 0 [11:05:03]OFD Sender: Remove packet 40746 [11:05:03]ProducePacketName [11:05:03]name=ofd_packets/00040746 [11:05:03]NVStorageDeleteData [11:05:03]Write to MH i2c: 01 00 00 F9 26 1F [11:05:03]Write i2c OK [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 07 00 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: 01 07 00 F9 26 00 00 00 00 00 EC 0C 1E [11:05:03]RasterBufferAndPrint [11:05:03]line [11:05:03]line [11:05:03]line [11:05:03]line [11:05:03]line [11:05:03]written 0, free lines is 3314 [11:05:03]MH_Cut [11:05:03]Write to MH i2c: D1 01 00 00 27 01 F9 [11:05:03]Write i2c OK [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: D1 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: D1 01 00 [11:05:03]MH_I2C_Read... [11:05:03]Read from MH i2c: D1 01 00 00 27 00 F8 [11:05:03]Write to MH i2c: 01 00 00 01 27 28 [11:05:03]Write i2c OK [11:05:03]MH_I2C_Read... [11:05:04]OFD Sender: No OFD packet to send [11:05:04]*** Cut start [11:05:04]*** Partial cut [11:05:04]*** CUTSNS_PIN = 1 [11:05:04]*** CUTSNS_PIN = 0 [11:05:04]*** Brake cut motor [11:05:05]Read from MH i2c: 01 [11:05:05]MH_I2C_Read... [11:05:05]*** Stop cut motor [11:05:05]*** Cut end [11:05:05]Read from MH i2c: 01 07 00 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: 01 07 00 01 27 00 00 00 00 00 FF 0F 3D [11:05:05]process_action close_receipt done [11:05:05]requested_data is exist [11:05:05]produce_requested_data [11:05:05]requested_item fm.sn is exist - process it [11:05:05]wFMCommunicate request_size=4 [11:05:05]MH_SAM_APDU [11:05:05]CAPDU: 80 11 00 00 [11:05:05]Write to MH i2c: E2 08 00 02 27 80 11 00 00 00 00 00 00 A3 [11:05:05]Write i2c OK [11:05:05]MH_I2C_Read... [11:05:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:05]Read from MH i2c: E2 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 17 00 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 17 00 02 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F8 [11:05:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:05:05]wFMCommunicate OK [11:05:05]requested_item fd.num is exist - process it [11:05:05]SAM_PROTO_GetFieldsCounters [11:05:05]wFMCommunicate request_size=4 [11:05:05]MH_SAM_APDU [11:05:05]CAPDU: 80 13 00 00 [11:05:05]Write to MH i2c: E2 08 00 03 27 80 13 00 00 00 00 00 00 A6 [11:05:05]Write i2c OK [11:05:05]MH_I2C_Read... [11:05:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:05]Read from MH i2c: E2 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 62 00 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 62 00 03 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2A 9F 00 00 0E 04 04 00 C0 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 82 [11:05:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2A 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:05:05]wFMCommunicate OK [11:05:05]SAM_PROTO_GetFieldsCounters done [11:05:05]requested_item shift.num is exist - process it [11:05:05]requested_item shift.opened is exist - process it [11:05:05]req_shift_opened [11:05:05]FM_GetShiftState [11:05:05]SAM_PROTO_GetShiftState [11:05:05]wFMCommunicate request_size=4 [11:05:05]MH_SAM_APDU [11:05:05]CAPDU: 80 13 01 00 [11:05:05]Write to MH i2c: E2 08 00 04 27 80 13 01 00 00 00 00 00 A8 [11:05:05]Write i2c OK [11:05:05]MH_I2C_Read... [11:05:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:05]Read from MH i2c: E2 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 0E 00 [11:05:05]MH_I2C_Read... [11:05:05]Read from MH i2c: E2 0E 00 04 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 76 [11:05:05]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:05:05]wFMCommunicate OK [11:05:05]SAM_PROTO_GetShiftState done [11:05:05]FM_GetShiftState done [11:05:05]req_shift_opened done [11:05:05]requested_item shift.open_date is exist - process it [11:05:05]req_shift_open_date [11:05:05]req_shift_open_date done [11:05:05]produce_requested_data done [11:05:05]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40746,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:05:05]process_action_free close_receipt [11:05:05]json_value_free [11:05:05]json_value_free done [11:05:05]process_json_proto returns [11:05:05]Send response to host [11:05:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40746,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:05:05]free response buf [11:05:05]execute_script done [11:05:05]execute_script returns [11:05:05]free content buf [11:05:05]Sock 7.Close socket [11:05:05]Sock 7.Thread stoped [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:28]accept exits with 9 [11:05:28]New connection [11:05:28]New thread 3067030884 created [11:05:28]Thread 3066887524 joined [11:05:28]Waiting for new connection... [11:05:28] Sock 9.Parse request [11:05:28]Sock 9.Check first char [11:05:28]Sock 9.First char is OK [11:05:28]request: POST /json_proto HTTP/1.0 [11:05:28]Method: POST [11:05:28]URL: /json_proto [11:05:28]Method is POST - this is cgi request [11:05:28]url: /json_proto [11:05:28]query_string will be loaded in cgi processing [11:05:28]execute_cgi json_proto POST (null) [11:05:28]execute_cgi path=json_proto method=POST [11:05:28]POST find Content-Length [11:05:28]Host: 172.17.53.4:8080 [11:05:28]Content-Length: 840 [11:05:28]Content-Type: application/json [11:05:28] [11:05:28]POST finish read [11:05:28]Found Content-Length = 840 [11:05:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808681", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 5.440, "sum" : 403.65, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 403.65 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:28]execute_script... [11:05:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808681", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 5.440, "sum" : 403.65, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 403.65 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:28]POST & json_proto [11:05:28]process_json_proto [11:05:28]json parsed OK: [11:05:28]protocol is kg_v1.0 [11:05:28]action value=close_receipt [11:05:28]process_action close_receipt [11:05:28]cmd_close_receipt [11:05:28]MH_GetDate [11:05:28]Write to MH i2c: F0 00 00 05 27 1B [11:05:28]Write i2c OK [11:05:28]MH_I2C_Read... [11:05:28]Read from MH i2c: F0 [11:05:28]MH_I2C_Read... [11:05:28]Read from MH i2c: F0 09 00 [11:05:28]MH_I2C_Read... [11:05:28]Read from MH i2c: F0 09 00 05 27 00 87 35 16 67 05 11 DA 64 B1 [11:05:28]GetLastDocTimeStamp 1729508716 [11:05:28]current date 1729508743 [11:05:28]FM_GetShiftState [11:05:28]SAM_PROTO_GetShiftState [11:05:28]wFMCommunicate request_size=4 [11:05:28]MH_SAM_APDU [11:05:28]CAPDU: 80 13 01 00 [11:05:28]Write to MH i2c: E2 08 00 06 27 80 13 01 00 00 00 00 00 AA [11:05:28]Write i2c OK [11:05:28]MH_I2C_Read... [11:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:28]Read from MH i2c: E2 [11:05:28]MH_I2C_Read... [11:05:28]Read from MH i2c: E2 0E 00 [11:05:28]MH_I2C_Read... [11:05:28]Read from MH i2c: E2 0E 00 06 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 78 [11:05:28]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:05:28]wFMCommunicate OK [11:05:28]SAM_PROTO_GetShiftState done [11:05:28]FM_GetShiftState done [11:05:28]opened in 1729470630 [11:05:28]opened+sec_in_day 1729557030 [11:05:28]quantity*price = 40364 [11:05:28]sum+1 = 40366 [11:05:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 403.65 ÐСП 1% : 3.57 ÐДС 12% : 42.86 Ðаличными: 0.00 Безнал.: 403.65 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 15 21.10.2024 11:05 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40747 ФПД: 237186894811168 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110543&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40747&fm=237186894811168&tin=02508201610067®Number=0000000000098148&sum=40365 [11:05:29]StoreToDocumentArchive [11:05:29]shift 448 fd 40747 [11:05:29]save to /storage/0448/doc_00040747 [11:05:29]save last doc name /storage/0448/doc_00040747 to /storage/kkm_last_doc_name [11:05:29]save OK [11:05:29]Clear old archive folders... [11:05:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:05:29]tlvbuf is 010C00C0 [11:05:29]SAM_PROTO_ClearQueue [11:05:29]wFMCommunicate request_size=4 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 09 00 00 [11:05:29]Write to MH i2c: E2 08 00 13 27 80 09 00 00 00 00 00 00 AC [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 13 27 00 90 00 AE [11:05:29]RAPDU: 90 00 [11:05:29]wFMCommunicate OK [11:05:29]SAM_PROTO_ClearQueue done [11:05:29]KKMCreateOFDPacket [11:05:29]OFDProtocolAddRootSTLVToBuf [11:05:29]FM_MakeSignedData [11:05:29]FM_MakeSignedData [11:05:29]SAM_PROTO_SignData [11:05:29]wFMCommunicate request_size=4 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 0D 01 02 [11:05:29]Write to MH i2c: E2 08 00 14 27 80 0D 01 02 00 00 00 00 B4 [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 14 27 00 90 00 AF [11:05:29]RAPDU: 90 00 [11:05:29]wFMCommunicate OK [11:05:29]wFMCommunicate request_size=255 [11:05:29]MH_SAM_APDU [11:05:29]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 33 FF 03 08 00 03 40 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 9D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2B 9F 00 00 35 04 06 00 D7 [11:05:29]Write to MH i2c: E2 02 01 15 27 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 33 FF 03 08 00 03 40 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 9D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2B 9F 00 00 35 04 06 00 D7 00 00 F0 [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 15 27 00 90 00 B0 [11:05:29]RAPDU: 90 00 [11:05:29]wFMCommunicate OK [11:05:29]wFMCommunicate request_size=10 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 0D 02 02 05 B8 60 9C 50 20 [11:05:29]Write to MH i2c: E2 0D 00 16 27 80 0D 02 02 05 00 B8 60 9C 50 20 00 00 E5 [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 03 00 16 27 00 90 00 B1 [11:05:29]RAPDU: 90 00 [11:05:29]wFMCommunicate OK [11:05:29]wFMCommunicate request_size=4 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 0D 03 02 [11:05:29]Write to MH i2c: E2 08 00 17 27 80 0D 03 02 00 00 00 00 B9 [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 0B 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 0B 00 17 27 00 84 65 15 FD 02 16 5E F8 90 00 23 [11:05:29]RAPDU: 84 65 15 FD 02 16 5E F8 90 00 [11:05:29]wFMCommunicate OK [11:05:29]SAM_PROTO_SignData done [11:05:29]FM_MakeSignedData done [11:05:29]CreateOFDProtocolMessage [11:05:29]wFMCommunicate request_size=4 [11:05:29]MH_SAM_APDU [11:05:29]CAPDU: 80 11 00 00 [11:05:29]Write to MH i2c: E2 08 00 18 27 80 11 00 00 00 00 00 00 B9 [11:05:29]Write i2c OK [11:05:29]MH_I2C_Read... [11:05:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:29]Read from MH i2c: E2 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 17 00 [11:05:29]MH_I2C_Read... [11:05:29]Read from MH i2c: E2 17 00 18 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0E [11:05:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:05:29]wFMCommunicate OK [11:05:29]CreateOFDProtocolMessage done [11:05:29]OFDSenderStorePacket 40747 [11:05:29]StoreOFDPacket docnum=40747 [11:05:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 7C 1C 07 01 FE FF 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 33 FF 03 08 00 03 40 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 9D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2B 9F 00 00 35 04 06 00 D7 B8 60 9C 50 20 84 65 15 FD 02 16 5E F8 [11:05:29]CheckFolder [11:05:29]dirname=/storage/ofd_packets [11:05:29]CheckFolder done [11:05:29]ProducePacketName [11:05:29]name=ofd_packets/00040747 [11:05:29]NVStorageSaveData ofd_packets/00040747 [11:05:29]File name is /storage/ofd_packets/00040747 [11:05:29]Write 301 bytes [11:05:29]NVStorageSaveData done [11:05:29]OFDSenderStorePacket done [11:05:30]KKMCreateOFDPacket done [11:05:30]NVStorageSaveData kkm_last_timestamp [11:05:30]File name is /storage/kkm_last_timestamp [11:05:30]Write 4 bytes [11:05:30]NVStorageSaveData done [11:05:30]ExternCall_PrintAddStr [11:05:30]wPrintStart [11:05:30]Write to MH i2c: 01 00 00 19 27 40 [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 07 00 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 07 00 19 27 00 00 00 00 00 FF 0F 55 [11:05:30]RasterBufferAndPrint [11:05:30]line Счет N : (1)808681 [11:05:30]line ИÐÐ: 02508201610067 [11:05:30]line Контрольно-КаÑÑовый Чек [11:05:30]line ПРОДÐЖР[11:05:30]line ТРК (МРК, ГÐК) : 64 [11:05:30]line Товар: 2710124500 [11:05:30]line Ðи-95-К-3 [11:05:30]line 5.440 * 74.20 [11:05:30]line = 403.65 [11:05:30]line ÐДС 12% ÐСП 1% [11:05:30]line > о реализуемом товаре [11:05:30]line ИТОГО: 403.65 [11:05:30]line ÐСП 1% : 3.57 [11:05:30]line ÐДС 12% : 42.86 [11:05:30]line Ðаличными: 0.00 [11:05:30]line Безнал.: 403.65 [11:05:30]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:05:30]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:05:30]line СÐО: Общий режим [11:05:30]line Чек 15 21.10.2024 11:05 [11:05:30]line Смена: 448 ФФД: 1.0 [11:05:30]line ЗÐМ: 0300000239 [11:05:30]line РÐМ: 0000000000098148 [11:05:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:05:30]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [11:05:30]line ФМ: 0000000000965374 [11:05:30]line ФД: 40747 [11:05:30]line ФПД: 237186894811168 [11:05:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110543&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40747&fm=237186894811168&tin=02508201610067®Number=0000000000098148&sum=40365 [11:05:30]written 0, free lines is 4095 [11:05:30]OFD Sender: Processing packet 40747 [packets to send 4, broken 3] [11:05:30]ProducePacketName [11:05:30]name=ofd_packets/00040747 [11:05:30]OFD Sender: To server: ‡•öpG, [11:05:30]CommunicateWithHost lk.salyk.kg:30040 [11:05:30]ConnectInit lk.salyk.kg [11:05:30]Connected sock=11 [11:05:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 7C 1C 07 01 FE FF 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 33 FF 03 08 00 03 40 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 9D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 35 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2B 9F 00 00 35 04 06 00 D7 B8 60 9C 50 20 84 65 15 FD 02 16 5E F8 [11:05:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 2B 65 47 00 70 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2B 9F 00 00 F4 03 04 00 68 DB 15 67 B6 04 01 00 00 6A 42 5D E2 87 2B EC F4 [11:05:30]CommunicateWithHost err = 0 [11:05:30]CheckOFDResponse [11:05:30]1017 (14) - 77093643461234 [11:05:30]1041 (16) - 0000000000965374 [11:05:30]1040 (4) - 40747 [11:05:30]1012 (4) - 21.10.2024 04:41 [11:05:30]1206 (1) - 0 [11:05:30]OFD Sender: Remove packet 40747 [11:05:30]ProducePacketName [11:05:30]name=ofd_packets/00040747 [11:05:30]NVStorageDeleteData [11:05:30]Write to MH i2c: 01 00 00 43 27 6A [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 07 00 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: 01 07 00 43 27 00 00 00 00 00 02 0D 80 [11:05:30]RasterBufferAndPrint [11:05:30]line [11:05:30]line [11:05:30]line [11:05:30]line [11:05:30]line [11:05:30]written 0, free lines is 3336 [11:05:30]MH_Cut [11:05:30]Write to MH i2c: D1 01 00 4A 27 01 43 [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: D1 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: D1 01 00 [11:05:30]MH_I2C_Read... [11:05:30]Read from MH i2c: D1 01 00 4A 27 00 42 [11:05:30]Write to MH i2c: 01 00 00 4B 27 72 [11:05:30]Write i2c OK [11:05:30]MH_I2C_Read... [11:05:31]OFD Sender: No OFD packet to send [11:05:31]*** Cut start [11:05:31]*** Partial cut [11:05:31]*** CUTSNS_PIN = 1 [11:05:31]*** CUTSNS_PIN = 0 [11:05:31]*** Brake cut motor [11:05:32]Read from MH i2c: 01 [11:05:32]MH_I2C_Read... [11:05:32]*** Stop cut motor [11:05:32]*** Cut end [11:05:32]Read from MH i2c: 01 07 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: 01 07 00 4B 27 00 00 00 00 00 FF 0F 87 [11:05:32]process_action close_receipt done [11:05:32]requested_data is exist [11:05:32]produce_requested_data [11:05:32]requested_item fm.sn is exist - process it [11:05:32]wFMCommunicate request_size=4 [11:05:32]MH_SAM_APDU [11:05:32]CAPDU: 80 11 00 00 [11:05:32]Write to MH i2c: E2 08 00 4C 27 80 11 00 00 00 00 00 00 ED [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:32]Read from MH i2c: E2 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 17 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 17 00 4C 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 42 [11:05:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:05:32]wFMCommunicate OK [11:05:32]requested_item fd.num is exist - process it [11:05:32]SAM_PROTO_GetFieldsCounters [11:05:32]wFMCommunicate request_size=4 [11:05:32]MH_SAM_APDU [11:05:32]CAPDU: 80 13 00 00 [11:05:32]Write to MH i2c: E2 08 00 4D 27 80 13 00 00 00 00 00 00 F0 [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:32]Read from MH i2c: E2 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 62 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 62 00 4D 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2B 9F 00 00 0E 04 04 00 C0 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 D0 [11:05:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2B 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:05:32]wFMCommunicate OK [11:05:32]SAM_PROTO_GetFieldsCounters done [11:05:32]requested_item shift.num is exist - process it [11:05:32]requested_item shift.opened is exist - process it [11:05:32]req_shift_opened [11:05:32]FM_GetShiftState [11:05:32]SAM_PROTO_GetShiftState [11:05:32]wFMCommunicate request_size=4 [11:05:32]MH_SAM_APDU [11:05:32]CAPDU: 80 13 01 00 [11:05:32]Write to MH i2c: E2 08 00 4E 27 80 13 01 00 00 00 00 00 F2 [11:05:32]Write i2c OK [11:05:32]MH_I2C_Read... [11:05:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:32]Read from MH i2c: E2 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 0E 00 [11:05:32]MH_I2C_Read... [11:05:32]Read from MH i2c: E2 0E 00 4E 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C0 [11:05:32]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:05:32]wFMCommunicate OK [11:05:32]SAM_PROTO_GetShiftState done [11:05:32]FM_GetShiftState done [11:05:32]req_shift_opened done [11:05:32]requested_item shift.open_date is exist - process it [11:05:32]req_shift_open_date [11:05:32]req_shift_open_date done [11:05:32]produce_requested_data done [11:05:32]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40747,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:05:32]process_action_free close_receipt [11:05:32]json_value_free [11:05:32]json_value_free done [11:05:32]process_json_proto returns [11:05:32]Send response to host [11:05:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40747,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:05:32]free response buf [11:05:32]execute_script done [11:05:32]execute_script returns [11:05:32]free content buf [11:05:32]Sock 9.Close socket [11:05:32]Sock 9.Thread stoped [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]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]OFD Sender: No OFD packet to send [11:06:16]OFD Sender: No OFD packet to send [11:06:21]OFD Sender: No OFD packet to send [11:06:26]OFD Sender: No OFD packet to send [11:06:31]OFD Sender: No OFD packet to send [11:06:36]OFD Sender: No OFD packet to send [11:06:41]OFD Sender: No OFD packet to send [11:06:46]OFD Sender: No OFD packet to send [11:06:51]OFD Sender: No OFD packet to send [11:06:56]OFD Sender: No OFD packet to send [11:07:01]OFD Sender: No OFD packet to send [11:07:06]OFD Sender: No OFD packet to send [11:07:11]OFD Sender: No OFD packet to send [11:07:16]OFD Sender: No OFD packet to send [11:07:21]OFD Sender: No OFD packet to send [11:07:26]OFD Sender: No OFD packet to send [11:07:31]OFD Sender: No OFD packet to send [11:07:36]OFD Sender: No OFD packet to send [11:07:38]accept exits with 7 [11:07:38]New connection [11:07:38]New thread 3066887524 created [11:07:38]Thread 3067030884 joined [11:07:38]Waiting for new connection... [11:07:38] Sock 7.Parse request [11:07:38]Sock 7.Check first char [11:07:38]Sock 7.First char is OK [11:07:38]request: POST /json_proto HTTP/1.0 [11:07:38]Method: POST [11:07:38]URL: /json_proto [11:07:38]Method is POST - this is cgi request [11:07:38]url: /json_proto [11:07:38]query_string will be loaded in cgi processing [11:07:38]execute_cgi json_proto POST (null) [11:07:38]execute_cgi path=json_proto method=POST [11:07:38]POST find Content-Length [11:07:38]Host: 172.17.53.4:8080 [11:07:38]Content-Length: 840 [11:07:38]Content-Type: application/json [11:07:38] [11:07:38]POST finish read [11:07:38]Found Content-Length = 840 [11:07:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808683", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:38]execute_script... [11:07:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808683", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:38]POST & json_proto [11:07:38]process_json_proto [11:07:38]json parsed OK: [11:07:38]protocol is kg_v1.0 [11:07:38]action value=close_receipt [11:07:38]process_action close_receipt [11:07:38]cmd_close_receipt [11:07:38]MH_GetDate [11:07:38]Write to MH i2c: F0 00 00 4F 27 65 [11:07:38]Write i2c OK [11:07:38]MH_I2C_Read... [11:07:38]Read from MH i2c: F0 [11:07:38]MH_I2C_Read... [11:07:38]Read from MH i2c: F0 09 00 [11:07:38]MH_I2C_Read... [11:07:38]Read from MH i2c: F0 09 00 4F 27 00 0A 36 16 67 05 11 DA 64 7F [11:07:38]GetLastDocTimeStamp 1729508743 [11:07:38]current date 1729508874 [11:07:38]FM_GetShiftState [11:07:38]SAM_PROTO_GetShiftState [11:07:38]wFMCommunicate request_size=4 [11:07:38]MH_SAM_APDU [11:07:38]CAPDU: 80 13 01 00 [11:07:38]Write to MH i2c: E2 08 00 50 27 80 13 01 00 00 00 00 00 F4 [11:07:38]Write i2c OK [11:07:38]MH_I2C_Read... [11:07:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:07:38]Read from MH i2c: E2 [11:07:38]MH_I2C_Read... [11:07:38]Read from MH i2c: E2 0E 00 [11:07:38]MH_I2C_Read... [11:07:38]Read from MH i2c: E2 0E 00 50 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C2 [11:07:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:07:38]wFMCommunicate OK [11:07:38]SAM_PROTO_GetShiftState done [11:07:38]FM_GetShiftState done [11:07:38]opened in 1729470630 [11:07:38]opened+sec_in_day 1729557030 [11:07:38]quantity*price = 150037 [11:07:38]sum+1 = 150039 [11:07:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.38 ÐСП 1% : 13.28 ÐДС 12% : 159.33 Ðаличными: 0.00 Безнал.: 1500.38 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 16 21.10.2024 11:07 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40748 ФПД: 136486494796841 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110754&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40748&fm=136486494796841&tin=02508201610067®Number=0000000000098148&sum=150038 [11:07:39]StoreToDocumentArchive [11:07:39]shift 448 fd 40748 [11:07:39]save to /storage/0448/doc_00040748 [11:07:39]save last doc name /storage/0448/doc_00040748 to /storage/kkm_last_doc_name [11:07:39]save OK [11:07:39]Clear old archive folders... [11:07:39]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:07:39]tlvbuf is 010BFAD0 [11:07:39]SAM_PROTO_ClearQueue [11:07:39]wFMCommunicate request_size=4 [11:07:39]MH_SAM_APDU [11:07:39]CAPDU: 80 09 00 00 [11:07:39]Write to MH i2c: E2 08 00 5D 27 80 09 00 00 00 00 00 00 F6 [11:07:39]Write i2c OK [11:07:39]MH_I2C_Read... [11:07:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:07:39]Read from MH i2c: E2 [11:07:39]MH_I2C_Read... [11:07:39]Read from MH i2c: E2 03 00 [11:07:39]MH_I2C_Read... [11:07:39]Read from MH i2c: E2 03 00 5D 27 00 90 00 F8 [11:07:39]RAPDU: 90 00 [11:07:39]wFMCommunicate OK [11:07:39]SAM_PROTO_ClearQueue done [11:07:39]KKMCreateOFDPacket [11:07:39]OFDProtocolAddRootSTLVToBuf [11:07:39]FM_MakeSignedData [11:07:39]FM_MakeSignedData [11:07:39]SAM_PROTO_SignData [11:07:39]wFMCommunicate request_size=4 [11:07:39]MH_SAM_APDU [11:07:39]CAPDU: 80 0D 01 02 [11:07:39]Write to MH i2c: E2 08 00 5E 27 80 0D 01 02 00 00 00 00 FE [11:07:39]Write i2c OK [11:07:39]MH_I2C_Read... [11:07:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:07:39]Read from MH i2c: E2 [11:07:39]MH_I2C_Read... [11:07:39]Read from MH i2c: E2 03 00 [11:07:39]MH_I2C_Read... [11:07:39]Read from MH i2c: E2 03 00 5E 27 00 90 00 F9 [11:07:39]RAPDU: 90 00 [11:07:39]wFMCommunicate OK [11:07:39]wFMCommunicate request_size=255 [11:07:39]MH_SAM_APDU [11:07:39]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 0A 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2C 9F 00 00 35 04 06 00 7C 22 3D 09 [11:07:39]Write to MH i2c: E2 02 01 5F 27 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 0A 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2C 9F 00 00 35 04 06 00 7C 22 3D 09 00 00 89 [11:07:39]Write i2c OK [11:07:39]MH_I2C_Read... [11:07:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:07:40]Read from MH i2c: E2 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 03 00 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 03 00 5F 27 00 90 00 FA [11:07:40]RAPDU: 90 00 [11:07:40]wFMCommunicate OK [11:07:40]wFMCommunicate request_size=7 [11:07:40]MH_SAM_APDU [11:07:40]CAPDU: 80 0D 02 02 02 FC 29 [11:07:40]Write to MH i2c: E2 0A 00 60 27 80 0D 02 02 02 00 FC 29 00 00 2A [11:07:40]Write i2c OK [11:07:40]MH_I2C_Read... [11:07:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:07:40]Read from MH i2c: E2 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 03 00 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 03 00 60 27 00 90 00 FB [11:07:40]RAPDU: 90 00 [11:07:40]wFMCommunicate OK [11:07:40]wFMCommunicate request_size=4 [11:07:40]MH_SAM_APDU [11:07:40]CAPDU: 80 0D 03 02 [11:07:40]Write to MH i2c: E2 08 00 61 27 80 0D 03 02 00 00 00 00 03 [11:07:40]Write i2c OK [11:07:40]MH_I2C_Read... [11:07:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:07:40]Read from MH i2c: E2 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 0B 00 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 0B 00 61 27 00 3F 35 F0 D4 64 5D 74 3D 90 00 AE [11:07:40]RAPDU: 3F 35 F0 D4 64 5D 74 3D 90 00 [11:07:40]wFMCommunicate OK [11:07:40]SAM_PROTO_SignData done [11:07:40]FM_MakeSignedData done [11:07:40]CreateOFDProtocolMessage [11:07:40]wFMCommunicate request_size=4 [11:07:40]MH_SAM_APDU [11:07:40]CAPDU: 80 11 00 00 [11:07:40]Write to MH i2c: E2 08 00 62 27 80 11 00 00 00 00 00 00 03 [11:07:40]Write i2c OK [11:07:40]MH_I2C_Read... [11:07:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:07:40]Read from MH i2c: E2 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 17 00 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: E2 17 00 62 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 58 [11:07:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:07:40]wFMCommunicate OK [11:07:40]CreateOFDProtocolMessage done [11:07:40]OFDSenderStorePacket 40748 [11:07:40]StoreOFDPacket docnum=40748 [11:07:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CB CE 04 01 F4 5E 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 0A 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2C 9F 00 00 35 04 06 00 7C 22 3D 09 FC 29 3F 35 F0 D4 64 5D 74 3D [11:07:40]CheckFolder [11:07:40]dirname=/storage/ofd_packets [11:07:40]CheckFolder done [11:07:40]ProducePacketName [11:07:40]name=ofd_packets/00040748 [11:07:40]NVStorageSaveData ofd_packets/00040748 [11:07:40]File name is /storage/ofd_packets/00040748 [11:07:40]Write 298 bytes [11:07:40]NVStorageSaveData done [11:07:40]OFDSenderStorePacket done [11:07:40]KKMCreateOFDPacket done [11:07:40]NVStorageSaveData kkm_last_timestamp [11:07:40]File name is /storage/kkm_last_timestamp [11:07:40]Write 4 bytes [11:07:40]NVStorageSaveData done [11:07:40]ExternCall_PrintAddStr [11:07:40]wPrintStart [11:07:40]Write to MH i2c: 01 00 00 63 27 8A [11:07:40]Write i2c OK [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: 01 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: 01 07 00 [11:07:40]MH_I2C_Read... [11:07:40]Read from MH i2c: 01 07 00 63 27 00 00 00 00 00 FF 0F 9F [11:07:40]RasterBufferAndPrint [11:07:40]line Счет N : (1)808683 [11:07:40]line ИÐÐ: 02508201610067 [11:07:40]line Контрольно-КаÑÑовый Чек [11:07:40]line ПРОДÐЖР[11:07:40]line ТРК (МРК, ГÐК) : 51 [11:07:40]line Товар: 2710194210 [11:07:40]line ДТ-К-2 [11:07:40]line 19.690 * 76.20 [11:07:40]line = 1500.38 [11:07:40]line ÐДС 12% ÐСП 1% [11:07:40]line > о реализуемом товаре [11:07:40]line ИТОГО: 1500.38 [11:07:40]line ÐСП 1% : 13.28 [11:07:40]line ÐДС 12% : 159.33 [11:07:40]line Ðаличными: 0.00 [11:07:40]line Безнал.: 1500.38 [11:07:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:07:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:07:40]line СÐО: Общий режим [11:07:40]line Чек 16 21.10.2024 11:07 [11:07:40]line Смена: 448 ФФД: 1.0 [11:07:40]line ЗÐМ: 0300000239 [11:07:40]line РÐМ: 0000000000098148 [11:07:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:07:40]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [11:07:40]line ФМ: 0000000000965374 [11:07:40]line ФД: 40748 [11:07:40]line ФПД: 136486494796841 [11:07:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110754&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40748&fm=136486494796841&tin=02508201610067®Number=0000000000098148&sum=150038 [11:07:40]OFD Sender: Processing packet 40748 [packets to send 4, broken 3] [11:07:40]ProducePacketName [11:07:40]name=ofd_packets/00040748 [11:07:40]OFD Sender: To server: ‡•öpG, [11:07:40]CommunicateWithHost lk.salyk.kg:30040 [11:07:40]ConnectInit lk.salyk.kg [11:07:40]written 0, free lines is 4095 [11:07:40]Connected sock=10 [11:07:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CB CE 04 01 F4 5E 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 0A 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2C 9F 00 00 35 04 06 00 7C 22 3D 09 FC 29 3F 35 F0 D4 64 5D 74 3D [11:07:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 B3 AD 47 00 31 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2C 9F 00 00 F4 03 04 00 EA DB 15 67 B6 04 01 00 00 FD 4D E9 31 51 D8 7F A8 [11:07:40]CommunicateWithHost err = 0 [11:07:40]CheckOFDResponse [11:07:40]1017 (14) - 77093643461234 [11:07:40]1041 (16) - 0000000000965374 [11:07:40]1040 (4) - 40748 [11:07:40]1012 (4) - 21.10.2024 04:43 [11:07:40]1206 (1) - 0 [11:07:40]OFD Sender: Remove packet 40748 [11:07:40]ProducePacketName [11:07:40]name=ofd_packets/00040748 [11:07:40]NVStorageDeleteData [11:07:41]Write to MH i2c: 01 00 00 8D 27 B4 [11:07:41]Write i2c OK [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: 01 [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: 01 07 00 [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: 01 07 00 8D 27 00 00 00 00 00 FF 0C C6 [11:07:41]RasterBufferAndPrint [11:07:41]line [11:07:41]line [11:07:41]line [11:07:41]line [11:07:41]line [11:07:41]written 0, free lines is 3333 [11:07:41]MH_Cut [11:07:41]Write to MH i2c: D1 01 00 94 27 01 8D [11:07:41]Write i2c OK [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: D1 [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: D1 01 00 [11:07:41]MH_I2C_Read... [11:07:41]Read from MH i2c: D1 01 00 94 27 00 8C [11:07:41]Write to MH i2c: 01 00 00 95 27 BC [11:07:41]Write i2c OK [11:07:41]MH_I2C_Read... [11:07:41]OFD Sender: No OFD packet to send [11:07:41]*** Cut start [11:07:41]*** Partial cut [11:07:41]*** CUTSNS_PIN = 1 [11:07:41]*** CUTSNS_PIN = 0 [11:07:41]*** Brake cut motor [11:07:42]Read from MH i2c: 01 [11:07:42]MH_I2C_Read... [11:07:42]*** Stop cut motor [11:07:42]*** Cut end [11:07:42]Read from MH i2c: 01 07 00 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: 01 07 00 95 27 00 00 00 00 00 FF 0F D1 [11:07:42]process_action close_receipt done [11:07:42]requested_data is exist [11:07:42]produce_requested_data [11:07:42]requested_item fm.sn is exist - process it [11:07:42]wFMCommunicate request_size=4 [11:07:42]MH_SAM_APDU [11:07:42]CAPDU: 80 11 00 00 [11:07:42]Write to MH i2c: E2 08 00 96 27 80 11 00 00 00 00 00 00 37 [11:07:42]Write i2c OK [11:07:42]MH_I2C_Read... [11:07:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:07:42]Read from MH i2c: E2 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 17 00 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 17 00 96 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8C [11:07:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:07:42]wFMCommunicate OK [11:07:42]requested_item fd.num is exist - process it [11:07:42]SAM_PROTO_GetFieldsCounters [11:07:42]wFMCommunicate request_size=4 [11:07:42]MH_SAM_APDU [11:07:42]CAPDU: 80 13 00 00 [11:07:42]Write to MH i2c: E2 08 00 97 27 80 13 00 00 00 00 00 00 3A [11:07:42]Write i2c OK [11:07:42]MH_I2C_Read... [11:07:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:07:42]Read from MH i2c: E2 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 62 00 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 62 00 97 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2C 9F 00 00 0E 04 04 00 C0 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 1E [11:07:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2C 9F 00 00 0E 04 04 00 C0 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 [11:07:42]wFMCommunicate OK [11:07:42]SAM_PROTO_GetFieldsCounters done [11:07:42]requested_item shift.num is exist - process it [11:07:42]requested_item shift.opened is exist - process it [11:07:42]req_shift_opened [11:07:42]FM_GetShiftState [11:07:42]SAM_PROTO_GetShiftState [11:07:42]wFMCommunicate request_size=4 [11:07:42]MH_SAM_APDU [11:07:42]CAPDU: 80 13 01 00 [11:07:42]Write to MH i2c: E2 08 00 98 27 80 13 01 00 00 00 00 00 3C [11:07:42]Write i2c OK [11:07:42]MH_I2C_Read... [11:07:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:07:42]Read from MH i2c: E2 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 0E 00 [11:07:42]MH_I2C_Read... [11:07:42]Read from MH i2c: E2 0E 00 98 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0A [11:07:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:07:42]wFMCommunicate OK [11:07:42]SAM_PROTO_GetShiftState done [11:07:42]FM_GetShiftState done [11:07:42]req_shift_opened done [11:07:42]requested_item shift.open_date is exist - process it [11:07:42]req_shift_open_date [11:07:42]req_shift_open_date done [11:07:42]produce_requested_data done [11:07:42]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40748,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:07:42]process_action_free close_receipt [11:07:42]json_value_free [11:07:42]json_value_free done [11:07:42]process_json_proto returns [11:07:42]Send response to host [11:07:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40748,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:07:42]free response buf [11:07:42]execute_script done [11:07:42]execute_script returns [11:07:42]free content buf [11:07:42]Sock 7.Close socket [11:07:42]Sock 7.Thread stoped [11:07:46]OFD Sender: No OFD packet to send [11:07:51]OFD Sender: No OFD packet to send [11:07:56]OFD Sender: No OFD packet to send [11:07:59]accept exits with 9 [11:07:59]New connection [11:07:59]New thread 3067030884 created [11:07:59]Thread 3066887524 joined [11:07:59]Waiting for new connection... [11:07:59] Sock 9.Parse request [11:07:59]Sock 9.Check first char [11:07:59]Sock 9.First char is OK [11:07:59]request: POST /json_proto HTTP/1.0 [11:07:59]Method: POST [11:07:59]URL: /json_proto [11:07:59]Method is POST - this is cgi request [11:07:59]url: /json_proto [11:07:59]query_string will be loaded in cgi processing [11:07:59]execute_cgi json_proto POST (null) [11:07:59]execute_cgi path=json_proto method=POST [11:07:59]POST find Content-Length [11:07:59]Host: 172.17.53.4:8080 [11:07:59]Content-Length: 843 [11:07:59]Content-Type: application/json [11:07:59] [11:07:59]POST finish read [11:07:59]Found Content-Length = 843 [11:07:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808685", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1500.32 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:59]execute_script... [11:07:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808685", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1500.32 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:59]POST & json_proto [11:07:59]process_json_proto [11:07:59]json parsed OK: [11:07:59]protocol is kg_v1.0 [11:07:59]action value=close_receipt [11:07:59]process_action close_receipt [11:07:59]cmd_close_receipt [11:07:59]MH_GetDate [11:07:59]Write to MH i2c: F0 00 00 99 27 AF [11:07:59]Write i2c OK [11:07:59]MH_I2C_Read... [11:07:59]Read from MH i2c: F0 [11:07:59]MH_I2C_Read... [11:07:59]Read from MH i2c: F0 09 00 [11:07:59]MH_I2C_Read... [11:07:59]Read from MH i2c: F0 09 00 99 27 00 1F 36 16 67 05 11 DA 64 DE [11:07:59]GetLastDocTimeStamp 1729508874 [11:07:59]current date 1729508895 [11:07:59]FM_GetShiftState [11:07:59]SAM_PROTO_GetShiftState [11:07:59]wFMCommunicate request_size=4 [11:07:59]MH_SAM_APDU [11:07:59]CAPDU: 80 13 01 00 [11:07:59]Write to MH i2c: E2 08 00 9A 27 80 13 01 00 00 00 00 00 3E [11:07:59]Write i2c OK [11:07:59]MH_I2C_Read... [11:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:00]Read from MH i2c: E2 [11:08:00]MH_I2C_Read... [11:08:00]Read from MH i2c: E2 0E 00 [11:08:00]MH_I2C_Read... [11:08:00]Read from MH i2c: E2 0E 00 9A 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0C [11:08:00]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:08:00]wFMCommunicate OK [11:08:00]SAM_PROTO_GetShiftState done [11:08:00]FM_GetShiftState done [11:08:00]opened in 1729470630 [11:08:00]opened+sec_in_day 1729557030 [11:08:00]quantity*price = 150032 [11:08:00]sum+1 = 150033 [11:08:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.32 ÐСП 1% : 13.28 ÐДС 12% : 159.33 Ðаличными: 0.00 Безнал.: 1500.32 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 17 21.10.2024 11:08 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40749 ФПД: 94481605265702 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110815&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40749&fm=94481605265702&tin=02508201610067®Number=0000000000098148&sum=150032 [11:08:01]StoreToDocumentArchive [11:08:01]shift 448 fd 40749 [11:08:01]save to /storage/0448/doc_00040749 [11:08:01]save last doc name /storage/0448/doc_00040749 to /storage/kkm_last_doc_name [11:08:01]save OK [11:08:01]Clear old archive folders... [11:08:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:08:01]tlvbuf is B6F6B310 [11:08:01]SAM_PROTO_ClearQueue [11:08:01]wFMCommunicate request_size=4 [11:08:01]MH_SAM_APDU [11:08:01]CAPDU: 80 09 00 00 [11:08:01]Write to MH i2c: E2 08 00 A7 27 80 09 00 00 00 00 00 00 40 [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 A7 27 00 90 00 42 [11:08:01]RAPDU: 90 00 [11:08:01]wFMCommunicate OK [11:08:01]SAM_PROTO_ClearQueue done [11:08:01]KKMCreateOFDPacket [11:08:01]OFDProtocolAddRootSTLVToBuf [11:08:01]FM_MakeSignedData [11:08:01]FM_MakeSignedData [11:08:01]SAM_PROTO_SignData [11:08:01]wFMCommunicate request_size=4 [11:08:01]MH_SAM_APDU [11:08:01]CAPDU: 80 0D 01 02 [11:08:01]Write to MH i2c: E2 08 00 A8 27 80 0D 01 02 00 00 00 00 48 [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 A8 27 00 90 00 43 [11:08:01]RAPDU: 90 00 [11:08:01]wFMCommunicate OK [11:08:01]wFMCommunicate request_size=255 [11:08:01]MH_SAM_APDU [11: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 33 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 1F 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2D 9F 00 00 35 04 06 00 55 [11:08:01]Write to MH i2c: E2 02 01 A9 27 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 33 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 1F 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2D 9F 00 00 35 04 06 00 55 00 00 46 [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]OFD Sender: No OFD packet to send [11:08:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 A9 27 00 90 00 44 [11:08:01]RAPDU: 90 00 [11:08:01]wFMCommunicate OK [11:08:01]wFMCommunicate request_size=10 [11:08:01]MH_SAM_APDU [11:08:01]CAPDU: 80 0D 02 02 05 EE 36 85 09 26 [11:08:01]Write to MH i2c: E2 0D 00 AA 27 80 0D 02 02 05 00 EE 36 85 09 26 00 00 2D [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 03 00 AA 27 00 90 00 45 [11:08:01]RAPDU: 90 00 [11:08:01]wFMCommunicate OK [11:08:01]wFMCommunicate request_size=4 [11:08:01]MH_SAM_APDU [11:08:01]CAPDU: 80 0D 03 02 [11:08:01]Write to MH i2c: E2 08 00 AB 27 80 0D 03 02 00 00 00 00 4D [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 0B 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 0B 00 AB 27 00 39 A5 E0 5D BC 72 25 41 90 00 FD [11:08:01]RAPDU: 39 A5 E0 5D BC 72 25 41 90 00 [11:08:01]wFMCommunicate OK [11:08:01]SAM_PROTO_SignData done [11:08:01]FM_MakeSignedData done [11:08:01]CreateOFDProtocolMessage [11:08:01]wFMCommunicate request_size=4 [11:08:01]MH_SAM_APDU [11:08:01]CAPDU: 80 11 00 00 [11:08:01]Write to MH i2c: E2 08 00 AC 27 80 11 00 00 00 00 00 00 4D [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:01]Read from MH i2c: E2 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 17 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: E2 17 00 AC 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A2 [11:08:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:08:01]wFMCommunicate OK [11:08:01]CreateOFDProtocolMessage done [11:08:01]OFDSenderStorePacket 40749 [11:08:01]StoreOFDPacket docnum=40749 [11:08:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 AF 82 07 01 20 9B 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 33 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 1F 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2D 9F 00 00 35 04 06 00 55 EE 36 85 09 26 39 A5 E0 5D BC 72 25 41 [11:08:01]CheckFolder [11:08:01]dirname=/storage/ofd_packets [11:08:01]CheckFolder done [11:08:01]ProducePacketName [11:08:01]name=ofd_packets/00040749 [11:08:01]NVStorageSaveData ofd_packets/00040749 [11:08:01]File name is /storage/ofd_packets/00040749 [11:08:01]Write 301 bytes [11:08:01]NVStorageSaveData done [11:08:01]OFDSenderStorePacket done [11:08:01]KKMCreateOFDPacket done [11:08:01]NVStorageSaveData kkm_last_timestamp [11:08:01]File name is /storage/kkm_last_timestamp [11:08:01]Write 4 bytes [11:08:01]NVStorageSaveData done [11:08:01]ExternCall_PrintAddStr [11:08:01]wPrintStart [11:08:01]Write to MH i2c: 01 00 00 AD 27 D4 [11:08:01]Write i2c OK [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: 01 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: 01 07 00 [11:08:01]MH_I2C_Read... [11:08:01]Read from MH i2c: 01 07 00 AD 27 00 00 00 00 00 FF 0F E9 [11:08:01]RasterBufferAndPrint [11:08:01]line Счет N : (1)808685 [11:08:01]line ИÐÐ: 02508201610067 [11:08:01]line Контрольно-КаÑÑовый Чек [11:08:01]line ПРОДÐЖР[11:08:01]line ТРК (МРК, ГÐК) : 64 [11:08:01]line Товар: 2710124500 [11:08:01]line Ðи-95-К-3 [11:08:01]line 20.220 * 74.20 [11:08:01]line = 1500.32 [11:08:01]line ÐДС 12% ÐСП 1% [11:08:01]line > о реализуемом товаре [11:08:01]line ИТОГО: 1500.32 [11:08:01]line ÐСП 1% : 13.28 [11:08:01]line ÐДС 12% : 159.33 [11:08:01]line Ðаличными: 0.00 [11:08:01]line Безнал.: 1500.32 [11:08:01]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:08:01]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:08:01]line СÐО: Общий режим [11:08:01]line Чек 17 21.10.2024 11:08 [11:08:01]line Смена: 448 ФФД: 1.0 [11:08:01]line ЗÐМ: 0300000239 [11:08:01]line РÐМ: 0000000000098148 [11:08:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:08:01]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [11:08:01]line ФМ: 0000000000965374 [11:08:01]line ФД: 40749 [11:08:01]line ФПД: 94481605265702 [11:08:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110815&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40749&fm=94481605265702&tin=02508201610067®Number=0000000000098148&sum=150032 [11:08:02]OFD Sender: Processing packet 40749 [packets to send 4, broken 3] [11:08:02]ProducePacketName [11:08:02]name=ofd_packets/00040749 [11:08:02]OFD Sender: To server: ‡•öpG, [11:08:02]CommunicateWithHost lk.salyk.kg:30040 [11:08:02]ConnectInit lk.salyk.kg [11:08:02]written 0, free lines is 4095 [11:08:02]Connected sock=10 [11:08:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 AF 82 07 01 20 9B 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 33 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 1F 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2D 9F 00 00 35 04 06 00 55 EE 36 85 09 26 39 A5 E0 5D BC 72 25 41 [11:08:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 F2 37 47 00 B1 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2D 9F 00 00 F4 03 04 00 00 DC 15 67 B6 04 01 00 00 8B D5 87 F0 34 70 F9 1C [11:08:02]CommunicateWithHost err = 0 [11:08:02]CheckOFDResponse [11:08:02]1017 (14) - 77093643461234 [11:08:02]1041 (16) - 0000000000965374 [11:08:02]1040 (4) - 40749 [11:08:02]1012 (4) - 21.10.2024 04:43 [11:08:02]1206 (1) - 0 [11:08:02]OFD Sender: Remove packet 40749 [11:08:02]ProducePacketName [11:08:02]name=ofd_packets/00040749 [11:08:02]NVStorageDeleteData [11:08:02]Write to MH i2c: 01 00 00 D7 27 FE [11:08:02]Write i2c OK [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: 01 [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: 01 07 00 [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: 01 07 00 D7 27 00 00 00 00 00 02 0D 14 [11:08:02]RasterBufferAndPrint [11:08:02]line [11:08:02]line [11:08:02]line [11:08:02]line [11:08:02]line [11:08:02]written 0, free lines is 3336 [11:08:02]MH_Cut [11:08:02]Write to MH i2c: D1 01 00 DE 27 01 D7 [11:08:02]Write i2c OK [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: D1 [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: D1 01 00 [11:08:02]MH_I2C_Read... [11:08:02]Read from MH i2c: D1 01 00 DE 27 00 D6 [11:08:02]Write to MH i2c: 01 00 00 DF 27 06 [11:08:02]Write i2c OK [11:08:02]MH_I2C_Read... [11:08:02]OFD Sender: No OFD packet to send [11:08:03]*** Cut start [11:08:03]*** Partial cut [11:08:03]*** CUTSNS_PIN = 1 [11:08:03]*** CUTSNS_PIN = 0 [11:08:03]*** Brake cut motor [11:08:03]Read from MH i2c: 01 [11:08:03]MH_I2C_Read... [11:08:03]*** Stop cut motor [11:08:03]*** Cut end [11:08:03]Read from MH i2c: 01 07 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: 01 07 00 DF 27 00 00 00 00 00 FF 0F 1B [11:08:03]process_action close_receipt done [11:08:03]requested_data is exist [11:08:03]produce_requested_data [11:08:03]requested_item fm.sn is exist - process it [11:08:03]wFMCommunicate request_size=4 [11:08:03]MH_SAM_APDU [11:08:03]CAPDU: 80 11 00 00 [11:08:03]Write to MH i2c: E2 08 00 E0 27 80 11 00 00 00 00 00 00 81 [11:08:03]Write i2c OK [11:08:03]MH_I2C_Read... [11:08:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:03]Read from MH i2c: E2 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 17 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 17 00 E0 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D6 [11:08:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:08:03]wFMCommunicate OK [11:08:03]requested_item fd.num is exist - process it [11:08:03]SAM_PROTO_GetFieldsCounters [11:08:03]wFMCommunicate request_size=4 [11:08:03]MH_SAM_APDU [11:08:03]CAPDU: 80 13 00 00 [11:08:03]Write to MH i2c: E2 08 00 E1 27 80 13 00 00 00 00 00 00 84 [11:08:03]Write i2c OK [11:08:03]MH_I2C_Read... [11:08:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:03]Read from MH i2c: E2 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 62 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 62 00 E1 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2D 9F 00 00 0E 04 04 00 C0 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 6C [11:08:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2D 9F 00 00 0E 04 04 00 C0 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:08:03]wFMCommunicate OK [11:08:03]SAM_PROTO_GetFieldsCounters done [11:08:03]requested_item shift.num is exist - process it [11:08:03]requested_item shift.opened is exist - process it [11:08:03]req_shift_opened [11:08:03]FM_GetShiftState [11:08:03]SAM_PROTO_GetShiftState [11:08:03]wFMCommunicate request_size=4 [11:08:03]MH_SAM_APDU [11:08:03]CAPDU: 80 13 01 00 [11:08:03]Write to MH i2c: E2 08 00 E2 27 80 13 01 00 00 00 00 00 86 [11:08:03]Write i2c OK [11:08:03]MH_I2C_Read... [11:08:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:03]Read from MH i2c: E2 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 0E 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 0E 00 E2 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 54 [11:08:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:08:03]wFMCommunicate OK [11:08:03]SAM_PROTO_GetShiftState done [11:08:03]FM_GetShiftState done [11:08:03]req_shift_opened done [11:08:03]requested_item shift.open_date is exist - process it [11:08:03]req_shift_open_date [11:08:03]req_shift_open_date done [11:08:03]produce_requested_data done [11:08:03]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40749,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:08:03]process_action_free close_receipt [11:08:03]json_value_free [11:08:03]json_value_free done [11:08:03]process_json_proto returns [11:08:03]Send response to host [11:08:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40749,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:08:03]free response buf [11:08:03]execute_script done [11:08:03]execute_script returns [11:08:03]free content buf [11:08:03]Sock 9.Close socket [11:08:03]Sock 9.Thread stoped [11:08:07]OFD Sender: No OFD packet to send [11:08:12]accept exits with 7 [11:08:12]New connection [11:08:12]New thread 3066887524 created [11:08:12]Thread 3067030884 joined [11:08:12]Waiting for new connection... [11:08:12] Sock 7.Parse request [11:08:12]Sock 7.Check first char [11:08:12]Sock 7.First char is OK [11:08:12]request: POST /json_proto HTTP/1.0 [11:08:12]Method: POST [11:08:12]URL: /json_proto [11:08:12]Method is POST - this is cgi request [11:08:12]url: /json_proto [11:08:12]query_string will be loaded in cgi processing [11:08:12]execute_cgi json_proto POST (null) [11:08:12]execute_cgi path=json_proto method=POST [11:08:12]POST find Content-Length [11:08:12]Host: 172.17.53.4:8080 [11:08:12]Content-Length: 797 [11:08:12]Content-Type: application/json [11:08:12] [11:08:12]POST finish read [11:08:12]Found Content-Length = 797 [11:08:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808684", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 50.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4753540", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:12]execute_script... [11:08:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808684", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 50.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A4753540", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:12]POST & json_proto [11:08:12]process_json_proto [11:08:12]json parsed OK: [11:08:12]protocol is kg_v1.0 [11:08:12]action value=close_receipt [11:08:12]process_action close_receipt [11:08:12]cmd_close_receipt [11:08:12]MH_GetDate [11:08:12]Write to MH i2c: F0 00 00 E3 27 F9 [11:08:12]Write i2c OK [11:08:12]MH_I2C_Read... [11:08:12]Read from MH i2c: F0 [11:08:12]MH_I2C_Read... [11:08:12]Read from MH i2c: F0 09 00 [11:08:12]MH_I2C_Read... [11:08:12]Read from MH i2c: F0 09 00 E3 27 00 2B 36 16 67 05 11 DA 64 34 [11:08:12]GetLastDocTimeStamp 1729508895 [11:08:12]current date 1729508907 [11:08:12]FM_GetShiftState [11:08:12]SAM_PROTO_GetShiftState [11:08:12]wFMCommunicate request_size=4 [11:08:12]MH_SAM_APDU [11:08:12]CAPDU: 80 13 01 00 [11:08:12]Write to MH i2c: E2 08 00 E4 27 80 13 01 00 00 00 00 00 88 [11:08:12]Write i2c OK [11:08:12]MH_I2C_Read... [11:08:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:12]Read from MH i2c: E2 [11:08:12]MH_I2C_Read... [11:08:12]Read from MH i2c: E2 0E 00 [11:08:12]MH_I2C_Read... [11:08:12]Read from MH i2c: E2 0E 00 E4 27 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 56 [11:08:12]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:08:12]wFMCommunicate OK [11:08:12]SAM_PROTO_GetShiftState done [11:08:12]FM_GetShiftState done [11:08:12]opened in 1729470630 [11:08:12]opened+sec_in_day 1729557030 [11:08:12]quantity*price = 0 [11:08:12]sum+1 = 1 [11:08:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 18 21.10.2024 11:08 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 Талоны: Топливные Талоны 4753540 ФМ: 0000000000965374 ФД: 40750 ФПД: 176219771426553 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110827&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40750&fm=176219771426553&tin=02508201610067®Number=0000000000098148&sum=0 [11:08:13]StoreToDocumentArchive [11:08:13]shift 448 fd 40750 [11:08:13]save to /storage/0448/doc_00040750 [11:08:13]save last doc name /storage/0448/doc_00040750 to /storage/kkm_last_doc_name [11:08:13]save OK [11:08:13]Clear old archive folders... [11:08:13]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:08:13]tlvbuf is 010A6CD0 [11:08:13]SAM_PROTO_ClearQueue [11:08:13]wFMCommunicate request_size=4 [11:08:13]MH_SAM_APDU [11:08:13]CAPDU: 80 09 00 00 [11:08:13]Write to MH i2c: E2 08 00 F1 27 80 09 00 00 00 00 00 00 8A [11:08:13]Write i2c OK [11:08:13]MH_I2C_Read... [11:08:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:13]Read from MH i2c: E2 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 F1 27 00 90 00 8C [11:08:13]RAPDU: 90 00 [11:08:13]wFMCommunicate OK [11:08:13]SAM_PROTO_ClearQueue done [11:08:13]KKMCreateOFDPacket [11:08:13]OFDProtocolAddRootSTLVToBuf [11:08:13]FM_MakeSignedData [11:08:13]FM_MakeSignedData [11:08:13]SAM_PROTO_SignData [11:08:13]wFMCommunicate request_size=4 [11:08:13]MH_SAM_APDU [11:08:13]CAPDU: 80 0D 01 02 [11:08:13]Write to MH i2c: E2 08 00 F2 27 80 0D 01 02 00 00 00 00 92 [11:08:13]Write i2c OK [11:08:13]MH_I2C_Read... [11:08:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:13]Read from MH i2c: E2 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 F2 27 00 90 00 8D [11:08:13]RAPDU: 90 00 [11:08:13]wFMCommunicate OK [11:08:13]wFMCommunicate request_size=255 [11:08:13]MH_SAM_APDU [11:08:13]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 2B 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2E 9F 00 00 35 04 06 00 A0 45 5C E0 [11:08:13]Write to MH i2c: E2 02 01 F3 27 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 2B 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2E 9F 00 00 35 04 06 00 A0 45 5C E0 00 00 A5 [11:08:13]Write i2c OK [11:08:13]MH_I2C_Read... [11:08:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:13]Read from MH i2c: E2 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 03 00 F3 27 00 90 00 8E [11:08:13]RAPDU: 90 00 [11:08:13]wFMCommunicate OK [11:08:13]wFMCommunicate request_size=7 [11:08:13]MH_SAM_APDU [11:08:13]CAPDU: 80 0D 02 02 02 D6 F9 [11:08:13]Write to MH i2c: E2 0A 00 F4 27 80 0D 02 02 02 00 D6 F9 00 00 68 [11:08:13]Write i2c OK [11:08:13]MH_I2C_Read... [11:08:13]Read from MH i2c: E2 [11:08:14]MH_I2C_Read... [11:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:14]Read from MH i2c: E2 03 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: E2 03 00 F4 27 00 90 00 8F [11:08:14]RAPDU: 90 00 [11:08:14]wFMCommunicate OK [11:08:14]wFMCommunicate request_size=4 [11:08:14]MH_SAM_APDU [11:08:14]CAPDU: 80 0D 03 02 [11:08:14]Write to MH i2c: E2 08 00 F5 27 80 0D 03 02 00 00 00 00 97 [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:14]Read from MH i2c: E2 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: E2 0B 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: E2 0B 00 F5 27 00 BE B3 47 32 4B E5 AE 05 90 00 65 [11:08:14]RAPDU: BE B3 47 32 4B E5 AE 05 90 00 [11:08:14]wFMCommunicate OK [11:08:14]SAM_PROTO_SignData done [11:08:14]FM_MakeSignedData done [11:08:14]CreateOFDProtocolMessage [11:08:14]wFMCommunicate request_size=4 [11:08:14]MH_SAM_APDU [11:08:14]CAPDU: 80 11 00 00 [11:08:14]Write to MH i2c: E2 08 00 F6 27 80 11 00 00 00 00 00 00 97 [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:14]Read from MH i2c: E2 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: E2 17 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: E2 17 00 F6 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EC [11:08:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:08:14]wFMCommunicate OK [11:08:14]CreateOFDProtocolMessage done [11:08:14]OFDSenderStorePacket 40750 [11:08:14]StoreOFDPacket docnum=40750 [11:08:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 85 C7 04 01 69 A4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 2B 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2E 9F 00 00 35 04 06 00 A0 45 5C E0 D6 F9 BE B3 47 32 4B E5 AE 05 [11:08:14]CheckFolder [11:08:14]dirname=/storage/ofd_packets [11:08:14]CheckFolder done [11:08:14]ProducePacketName [11:08:14]name=ofd_packets/00040750 [11:08:14]NVStorageSaveData ofd_packets/00040750 [11:08:14]File name is /storage/ofd_packets/00040750 [11:08:14]Write 298 bytes [11:08:14]NVStorageSaveData done [11:08:14]OFDSenderStorePacket done [11:08:14]KKMCreateOFDPacket done [11:08:14]NVStorageSaveData kkm_last_timestamp [11:08:14]File name is /storage/kkm_last_timestamp [11:08:14]Write 4 bytes [11:08:14]NVStorageSaveData done [11:08:14]ExternCall_PrintAddStr [11:08:14]wPrintStart [11:08:14]Write to MH i2c: 01 00 00 F7 27 1E [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 07 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 07 00 F7 27 00 00 00 00 00 FF 0F 33 [11:08:14]RasterBufferAndPrint [11:08:14]line Счет N : (1)808684 [11:08:14]line ИÐÐ: 02508201610067 [11:08:14]line Контрольно-КаÑÑовый Чек [11:08:14]line ПРОДÐЖР[11:08:14]line ТРК (МРК, ГÐК) : 21 [11:08:14]line Товар: 2710194210 [11:08:14]line ДТ-К-2 [11:08:14]line 50.000 * 0.00 [11:08:14]line = 0.00 [11:08:14]line ÐДС 12% ÐСП 1% [11:08:14]line > о реализуемом товаре [11:08:14]line ИТОГО: 0.00 [11:08:14]line ÐСП 1% : 0.00 [11:08:14]line ÐДС 12% : 0.00 [11:08:14]line Ðаличными: 0.00 [11:08:14]line Безнал.: 0.00 [11:08:14]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:08:14]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:08:14]line СÐО: Общий режим [11:08:14]line Чек 18 21.10.2024 11:08 [11:08:14]line Смена: 448 ФФД: 1.0 [11:08:14]line ЗÐМ: 0300000239 [11:08:14]line РÐМ: 0000000000098148 [11:08:14]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:08:14]line Талоны: Топливные Талоны [11:08:14]line 4753540 [11:08:14]line ФМ: 0000000000965374 [11:08:14]line ФД: 40750 [11:08:14]line ФПД: 176219771426553 [11:08:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T110827&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40750&fm=176219771426553&tin=02508201610067®Number=0000000000098148&sum=0 [11:08:14]written 0, free lines is 4095 [11:08:14]OFD Sender: Processing packet 40750 [packets to send 4, broken 3] [11:08:14]ProducePacketName [11:08:14]name=ofd_packets/00040750 [11:08:14]OFD Sender: To server: ‡•öpG, [11:08:14]CommunicateWithHost lk.salyk.kg:30040 [11:08:14]ConnectInit lk.salyk.kg [11:08:14]Connected sock=11 [11:08:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 85 C7 04 01 69 A4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 2B 36 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2E 9F 00 00 35 04 06 00 A0 45 5C E0 D6 F9 BE B3 47 32 4B E5 AE 05 [11:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 27 C6 47 00 5E E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2E 9F 00 00 F4 03 04 00 0C DC 15 67 B6 04 01 00 00 50 04 6E CB 23 04 14 BF [11:08:14]CommunicateWithHost err = 0 [11:08:14]CheckOFDResponse [11:08:14]1017 (14) - 77093643461234 [11:08:14]1041 (16) - 0000000000965374 [11:08:14]1040 (4) - 40750 [11:08:14]1012 (4) - 21.10.2024 04:43 [11:08:14]1206 (1) - 0 [11:08:14]OFD Sender: Remove packet 40750 [11:08:14]ProducePacketName [11:08:14]name=ofd_packets/00040750 [11:08:14]NVStorageDeleteData [11:08:14]Write to MH i2c: 01 00 00 21 28 49 [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 07 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: 01 07 00 21 28 00 00 00 00 00 03 0D 60 [11:08:14]RasterBufferAndPrint [11:08:14]line [11:08:14]line [11:08:14]line [11:08:14]line [11:08:14]line [11:08:14]written 0, free lines is 3337 [11:08:14]MH_Cut [11:08:14]Write to MH i2c: D1 01 00 28 28 01 22 [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: D1 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: D1 01 00 [11:08:14]MH_I2C_Read... [11:08:14]Read from MH i2c: D1 01 00 28 28 00 21 [11:08:14]Write to MH i2c: 01 00 00 29 28 51 [11:08:14]Write i2c OK [11:08:14]MH_I2C_Read... [11:08:14]OFD Sender: No OFD packet to send [11:08:15]*** Cut start [11:08:15]*** Partial cut [11:08:15]*** CUTSNS_PIN = 1 [11:08:15]*** CUTSNS_PIN = 0 [11:08:15]*** Brake cut motor [11:08:15]Read from MH i2c: 01 [11:08:15]MH_I2C_Read... [11:08:15]*** Stop cut motor [11:08:15]*** Cut end [11:08:15]Read from MH i2c: 01 07 00 [11:08:15]MH_I2C_Read... [11:08:15]Read from MH i2c: 01 07 00 29 28 00 00 00 00 00 FF 0F 66 [11:08:15]process_action close_receipt done [11:08:15]requested_data is exist [11:08:15]produce_requested_data [11:08:15]requested_item fm.sn is exist - process it [11:08:15]wFMCommunicate request_size=4 [11:08:15]MH_SAM_APDU [11:08:15]CAPDU: 80 11 00 00 [11:08:15]Write to MH i2c: E2 08 00 2A 28 80 11 00 00 00 00 00 00 CC [11:08:15]Write i2c OK [11:08:15]MH_I2C_Read... [11:08:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:15]Read from MH i2c: E2 [11:08:15]MH_I2C_Read... [11:08:15]Read from MH i2c: E2 17 00 [11:08:15]MH_I2C_Read... [11:08:15]Read from MH i2c: E2 17 00 2A 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 21 [11:08:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:08:15]wFMCommunicate OK [11:08:15]requested_item fd.num is exist - process it [11:08:15]SAM_PROTO_GetFieldsCounters [11:08:15]wFMCommunicate request_size=4 [11:08:15]MH_SAM_APDU [11:08:15]CAPDU: 80 13 00 00 [11:08:15]Write to MH i2c: E2 08 00 2B 28 80 13 00 00 00 00 00 00 CF [11:08:15]Write i2c OK [11:08:15]MH_I2C_Read... [11:08:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:16]Read from MH i2c: E2 [11:08:16]MH_I2C_Read... [11:08:16]Read from MH i2c: E2 62 00 [11:08:16]MH_I2C_Read... [11:08:16]Read from MH i2c: E2 62 00 2B 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2E 9F 00 00 0E 04 04 00 C0 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 BB [11:08:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2E 9F 00 00 0E 04 04 00 C0 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:08:16]wFMCommunicate OK [11:08:16]SAM_PROTO_GetFieldsCounters done [11:08:16]requested_item shift.num is exist - process it [11:08:16]requested_item shift.opened is exist - process it [11:08:16]req_shift_opened [11:08:16]FM_GetShiftState [11:08:16]SAM_PROTO_GetShiftState [11:08:16]wFMCommunicate request_size=4 [11:08:16]MH_SAM_APDU [11:08:16]CAPDU: 80 13 01 00 [11:08:16]Write to MH i2c: E2 08 00 2C 28 80 13 01 00 00 00 00 00 D1 [11:08:16]Write i2c OK [11:08:16]MH_I2C_Read... [11:08:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:16]Read from MH i2c: E2 [11:08:16]MH_I2C_Read... [11:08:16]Read from MH i2c: E2 0E 00 [11:08:16]MH_I2C_Read... [11:08:16]Read from MH i2c: E2 0E 00 2C 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9F [11:08:16]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:08:16]wFMCommunicate OK [11:08:16]SAM_PROTO_GetShiftState done [11:08:16]FM_GetShiftState done [11:08:16]req_shift_opened done [11:08:16]requested_item shift.open_date is exist - process it [11:08:16]req_shift_open_date [11:08:16]req_shift_open_date done [11:08:16]produce_requested_data done [11:08:16]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40750,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:08:16]process_action_free close_receipt [11:08:16]json_value_free [11:08:16]json_value_free done [11:08:16]process_json_proto returns [11:08:16]Send response to host [11:08:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40750,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:08:16]free response buf [11:08:16]execute_script done [11:08:16]execute_script returns [11:08:16]free content buf [11:08:16]Sock 7.Close socket [11:08:16]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:49]accept exits with 9 [11:16:49]New connection [11:16:49]New thread 3067030884 created [11:16:49]Thread 3066887524 joined [11:16:49]Waiting for new connection... [11:16:49] Sock 9.Parse request [11:16:49]Sock 9.Check first char [11:16:49]Sock 9.First char is OK [11:16:49]request: POST /json_proto HTTP/1.0 [11:16:49]Method: POST [11:16:49]URL: /json_proto [11:16:49]Method is POST - this is cgi request [11:16:49]url: /json_proto [11:16:49]query_string will be loaded in cgi processing [11:16:49]execute_cgi json_proto POST (null) [11:16:49]execute_cgi path=json_proto method=POST [11:16:49]POST find Content-Length [11:16:49]Host: 172.17.53.4:8080 [11:16:49]Content-Length: 833 [11:16:49]Content-Type: application/json [11:16:49] [11:16:49]POST finish read [11:16:49]Found Content-Length = 833 [11:16:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808692", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:49]execute_script... [11:16: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 : (1)808692", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:49]POST & json_proto [11:16:49]process_json_proto [11:16:49]json parsed OK: [11:16:49]protocol is kg_v1.0 [11:16:49]action value=close_receipt [11:16:49]process_action close_receipt [11:16:49]cmd_close_receipt [11:16:49]MH_GetDate [11:16:49]Write to MH i2c: F0 00 00 2D 28 44 [11:16:49]Write i2c OK [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: F0 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: F0 09 00 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: F0 09 00 2D 28 00 30 38 16 67 05 11 DA 64 86 [11:16:49]GetLastDocTimeStamp 1729508907 [11:16:49]current date 1729509424 [11:16:49]FM_GetShiftState [11:16:49]SAM_PROTO_GetShiftState [11:16:49]wFMCommunicate request_size=4 [11:16:49]MH_SAM_APDU [11:16:49]CAPDU: 80 13 01 00 [11:16:49]Write to MH i2c: E2 08 00 2E 28 80 13 01 00 00 00 00 00 D3 [11:16:49]Write i2c OK [11:16:49]MH_I2C_Read... [11:16:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:49]Read from MH i2c: E2 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 0E 00 [11:16:49]MH_I2C_Read... [11:16:49]Read from MH i2c: E2 0E 00 2E 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A1 [11:16:49]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:16:49]wFMCommunicate OK [11:16:49]SAM_PROTO_GetShiftState done [11:16:49]FM_GetShiftState done [11:16:49]opened in 1729470630 [11:16:49]opened+sec_in_day 1729557030 [11:16:49]quantity*price = 50000 [11:16:49]sum+1 = 50001 [11:16:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 ÐСП 1% : 4.42 ÐДС 12% : 53.10 Ðаличными: 0.00 Безнал.: 500.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 19 21.10.2024 11:17 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40751 ФПД: 205148813128263 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T111704&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40751&fm=205148813128263&tin=02508201610067®Number=0000000000098148&sum=50000 [11:16:50]StoreToDocumentArchive [11:16:50]shift 448 fd 40751 [11:16:50]save to /storage/0448/doc_00040751 [11:16:50]save last doc name /storage/0448/doc_00040751 to /storage/kkm_last_doc_name [11:16:50]save OK [11:16:50]Clear old archive folders... [11:16:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:16:50]tlvbuf is 010AE600 [11:16:50]SAM_PROTO_ClearQueue [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 09 00 00 [11:16:50]Write to MH i2c: E2 08 00 3B 28 80 09 00 00 00 00 00 00 D5 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 3B 28 00 90 00 D7 [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]SAM_PROTO_ClearQueue done [11:16:50]KKMCreateOFDPacket [11:16:50]OFDProtocolAddRootSTLVToBuf [11:16:50]FM_MakeSignedData [11:16:50]FM_MakeSignedData [11:16:50]SAM_PROTO_SignData [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 01 02 [11:16:50]Write to MH i2c: E2 08 00 3C 28 80 0D 01 02 00 00 00 00 DD [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 3C 28 00 90 00 D8 [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=255 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 30 38 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2F 9F 00 00 35 04 06 00 [11:16:50]Write to MH i2c: E2 02 01 3D 28 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 30 38 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2F 9F 00 00 35 04 06 00 00 00 D4 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 3D 28 00 90 00 D9 [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=11 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 02 02 06 BA 94 EE 21 F2 47 [11:16:50]Write to MH i2c: E2 0E 00 3E 28 80 0D 02 02 06 00 BA 94 EE 21 F2 47 00 00 82 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 03 00 3E 28 00 90 00 DA [11:16:50]RAPDU: 90 00 [11:16:50]wFMCommunicate OK [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 0D 03 02 [11:16:50]Write to MH i2c: E2 08 00 3F 28 80 0D 03 02 00 00 00 00 E2 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 0B 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 0B 00 3F 28 00 45 06 D7 BE 75 BB B7 59 90 00 03 [11:16:50]RAPDU: 45 06 D7 BE 75 BB B7 59 90 00 [11:16:50]wFMCommunicate OK [11:16:50]SAM_PROTO_SignData done [11:16:50]FM_MakeSignedData done [11:16:50]CreateOFDProtocolMessage [11:16:50]wFMCommunicate request_size=4 [11:16:50]MH_SAM_APDU [11:16:50]CAPDU: 80 11 00 00 [11:16:50]Write to MH i2c: E2 08 00 40 28 80 11 00 00 00 00 00 00 E2 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:50]Read from MH i2c: E2 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 17 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: E2 17 00 40 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 37 [11:16:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:16:50]wFMCommunicate OK [11:16:50]CreateOFDProtocolMessage done [11:16:50]OFDSenderStorePacket 40751 [11:16:50]StoreOFDPacket docnum=40751 [11:16:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 6F 57 08 01 02 9D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 30 38 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2F 9F 00 00 35 04 06 00 BA 94 EE 21 F2 47 45 06 D7 BE 75 BB B7 59 [11:16:50]CheckFolder [11:16:50]dirname=/storage/ofd_packets [11:16:50]CheckFolder done [11:16:50]ProducePacketName [11:16:50]name=ofd_packets/00040751 [11:16:50]NVStorageSaveData ofd_packets/00040751 [11:16:50]File name is /storage/ofd_packets/00040751 [11:16:50]Write 302 bytes [11:16:50]NVStorageSaveData done [11:16:50]OFDSenderStorePacket done [11:16:50]KKMCreateOFDPacket done [11:16:50]NVStorageSaveData kkm_last_timestamp [11:16:50]File name is /storage/kkm_last_timestamp [11:16:50]Write 4 bytes [11:16:50]NVStorageSaveData done [11:16:50]ExternCall_PrintAddStr [11:16:50]wPrintStart [11:16:50]Write to MH i2c: 01 00 00 41 28 69 [11:16:50]Write i2c OK [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 07 00 [11:16:50]MH_I2C_Read... [11:16:50]Read from MH i2c: 01 07 00 41 28 00 00 00 00 00 FF 0F 7E [11:16:50]RasterBufferAndPrint [11:16:50]line Счет N : (1)808692 [11:16:50]line ИÐÐ: 02508201610067 [11:16:50]line Контрольно-КаÑÑовый Чек [11:16:50]line ПРОДÐЖР[11:16:50]line ТРК (МРК, ГÐК) : 42 [11:16:50]line Товар: 2710124130 [11:16:50]line Super 92-К-5 [11:16:50]line 7.310 * 68.40 [11:16:50]line = 500.00 [11:16:50]line ÐДС 12% ÐСП 1% [11:16:50]line > о реализуемом товаре [11:16:50]line ИТОГО: 500.00 [11:16:50]line ÐСП 1% : 4.42 [11:16:50]line ÐДС 12% : 53.10 [11:16:50]line Ðаличными: 0.00 [11:16:50]line Безнал.: 500.00 [11:16:50]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:16:50]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:16:50]line СÐО: Общий режим [11:16:50]line Чек 19 21.10.2024 11:17 [11:16:50]line Смена: 448 ФФД: 1.0 [11:16:50]line ЗÐМ: 0300000239 [11:16:50]line РÐМ: 0000000000098148 [11:16:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:16:50]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [11:16:50]line ФМ: 0000000000965374 [11:16:50]line ФД: 40751 [11:16:50]line ФПД: 205148813128263 [11:16:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T111704&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40751&fm=205148813128263&tin=02508201610067®Number=0000000000098148&sum=50000 [11:16:50]written 0, free lines is 4095 [11:16:50]OFD Sender: Processing packet 40751 [packets to send 4, broken 3] [11:16:50]ProducePacketName [11:16:50]name=ofd_packets/00040751 [11:16:50]OFD Sender: To server: ‡•öpG, [11:16:51]CommunicateWithHost lk.salyk.kg:30040 [11:16:51]ConnectInit lk.salyk.kg [11:16:51]Write to MH i2c: 01 00 00 6B 28 93 [11:16:51]Write i2c OK [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 07 00 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: 01 07 00 6B 28 00 00 00 00 00 FD 0C A3 [11:16:51]RasterBufferAndPrint [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]line [11:16:51]written 0, free lines is 3331 [11:16:51]MH_Cut [11:16:51]Write to MH i2c: D1 01 00 72 28 01 6C [11:16:51]Write i2c OK [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 01 00 [11:16:51]MH_I2C_Read... [11:16:51]Read from MH i2c: D1 01 00 72 28 00 6B [11:16:51]Write to MH i2c: 01 00 00 73 28 9B [11:16:51]Write i2c OK [11:16:51]MH_I2C_Read... [11:16:52]*** Cut start [11:16:52]*** Partial cut [11:16:52]*** CUTSNS_PIN = 1 [11:16:52]*** CUTSNS_PIN = 0 [11:16:52]*** Brake cut motor [11:16:52]Read from MH i2c: 01 [11:16:52]MH_I2C_Read... [11:16:52]*** Stop cut motor [11:16:52]*** Cut end [11:16:52]Read from MH i2c: 01 07 00 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: 01 07 00 73 28 00 00 00 00 00 FF 0F B0 [11:16:52]process_action close_receipt done [11:16:52]requested_data is exist [11:16:52]produce_requested_data [11:16:52]requested_item fm.sn is exist - process it [11:16:52]wFMCommunicate request_size=4 [11:16:52]MH_SAM_APDU [11:16:52]CAPDU: 80 11 00 00 [11:16:52]Write to MH i2c: E2 08 00 74 28 80 11 00 00 00 00 00 00 16 [11:16:52]Write i2c OK [11:16:52]MH_I2C_Read... [11:16:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:52]Read from MH i2c: E2 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 17 00 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 17 00 74 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 6B [11:16:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:16:52]wFMCommunicate OK [11:16:52]requested_item fd.num is exist - process it [11:16:52]SAM_PROTO_GetFieldsCounters [11:16:52]wFMCommunicate request_size=4 [11:16:52]MH_SAM_APDU [11:16:52]CAPDU: 80 13 00 00 [11:16:52]Write to MH i2c: E2 08 00 75 28 80 13 00 00 00 00 00 00 19 [11:16:52]Write i2c OK [11:16:52]MH_I2C_Read... [11:16:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:16:52]Read from MH i2c: E2 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 62 00 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 62 00 75 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [11:16:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 2F 9F 00 00 0E 04 04 00 C0 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:16:52]wFMCommunicate OK [11:16:52]SAM_PROTO_GetFieldsCounters done [11:16:52]requested_item shift.num is exist - process it [11:16:52]requested_item shift.opened is exist - process it [11:16:52]req_shift_opened [11:16:52]FM_GetShiftState [11:16:52]SAM_PROTO_GetShiftState [11:16:52]wFMCommunicate request_size=4 [11:16:52]MH_SAM_APDU [11:16:52]CAPDU: 80 13 01 00 [11:16:52]Write to MH i2c: E2 08 00 76 28 80 13 01 00 00 00 00 00 1B [11:16:52]Write i2c OK [11:16:52]MH_I2C_Read... [11:16:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:52]Read from MH i2c: E2 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 0E 00 [11:16:52]MH_I2C_Read... [11:16:52]Read from MH i2c: E2 0E 00 76 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E9 [11:16:52]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:16:52]wFMCommunicate OK [11:16:52]SAM_PROTO_GetShiftState done [11:16:52]FM_GetShiftState done [11:16:52]req_shift_opened done [11:16:52]requested_item shift.open_date is exist - process it [11:16:52]req_shift_open_date [11:16:52]req_shift_open_date done [11:16:52]produce_requested_data done [11:16:52]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40751,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:16:52]process_action_free close_receipt [11:16:52]json_value_free [11:16:52]json_value_free done [11:16:52]process_json_proto returns [11:16:52]Send response to host [11:16:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40751,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:16:52]free response buf [11:16:52]execute_script done [11:16:52]execute_script returns [11:16:52]free content buf [11:16:52]Sock 9.Close socket [11:16:52]Sock 9.Thread stoped [11:16:56]ConnectInit Can't take IP for lk.salyk.kg [11:16:56]CommunicateWithHost connect error [11:16:56]CommunicateWithHost err = -1 [11:16:56]OFD Sender: Server communicate error [11:17:01]OFD Sender: Processing packet 40751 [packets to send 4, broken 3] [11:17:01]ProducePacketName [11:17:01]name=ofd_packets/00040751 [11:17:01]OFD Sender: To server: ‡•öpG, [11:17:01]CommunicateWithHost lk.salyk.kg:30040 [11:17:01]ConnectInit lk.salyk.kg [11:17:06]ConnectInit Can't take IP for lk.salyk.kg [11:17:06]CommunicateWithHost connect error [11:17:06]CommunicateWithHost err = -1 [11:17:06]OFD Sender: Server communicate error [11:17:08]ConnectInit Can't connect to host [11:17:11]OFD Sender: Processing packet 40751 [packets to send 4, broken 3] [11:17:11]ProducePacketName [11:17:11]name=ofd_packets/00040751 [11:17:11]OFD Sender: To server: ‡•öpG, [11:17:11]CommunicateWithHost lk.salyk.kg:30040 [11:17:11]ConnectInit lk.salyk.kg [11:17:11]Connected sock=7 [11:17:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 6F 57 08 01 02 9D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 30 38 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2F 9F 00 00 35 04 06 00 BA 94 EE 21 F2 47 45 06 D7 BE 75 BB B7 59 [11:17:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 5E 58 47 00 97 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 2F 9F 00 00 F4 03 04 00 25 DE 15 67 B6 04 01 00 00 0E 0D 30 FB 72 D5 66 AA [11:17:11]CommunicateWithHost err = 0 [11:17:11]CheckOFDResponse [11:17:11]1017 (14) - 77093643461234 [11:17:11]1041 (16) - 0000000000965374 [11:17:11]1040 (4) - 40751 [11:17:11]1012 (4) - 21.10.2024 04:52 [11:17:11]1206 (1) - 0 [11:17:11]OFD Sender: Remove packet 40751 [11:17:11]ProducePacketName [11:17:11]name=ofd_packets/00040751 [11:17:11]NVStorageDeleteData [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:37]OFD Sender: No OFD packet to send [11:24:42]OFD Sender: No OFD packet to send [11:24:47]OFD Sender: No OFD packet to send [11:24:52]OFD Sender: No OFD packet to send [11:24:57]OFD Sender: No OFD packet to send [11:25:02]OFD Sender: No OFD packet to send [11:25:07]OFD Sender: No OFD packet to send [11:25:12]OFD Sender: No OFD packet to send [11:25:17]OFD Sender: No OFD packet to send [11:25:22]OFD Sender: No OFD packet to send [11:25:27]OFD Sender: No OFD packet to send [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:37]accept exits with 10 [11:28:37]New connection [11:28:37]New thread 3066887524 created [11:28:37]Thread 3067030884 joined [11:28:37]Waiting for new connection... [11:28:37] Sock 10.Parse request [11:28:37]Sock 10.Check first char [11:28:37]Sock 10.First char is OK [11:28:37]request: POST /json_proto HTTP/1.0 [11:28:37]Method: POST [11:28:37]URL: /json_proto [11:28:37]Method is POST - this is cgi request [11:28:37]url: /json_proto [11:28:37]query_string will be loaded in cgi processing [11:28:37]execute_cgi json_proto POST (null) [11:28:37]execute_cgi path=json_proto method=POST [11:28:37]POST find Content-Length [11:28:37]Host: 172.17.53.4:8080 [11:28:37]Content-Length: 678 [11:28:37]Content-Type: application/json [11:28:37] [11:28:37]POST finish read [11:28:37]Found Content-Length = 678 [11:28:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808702", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:37]execute_script... [11:28:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808702", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:37]POST & json_proto [11:28:37]process_json_proto [11:28:37]json parsed OK: [11:28:37]protocol is kg_v1.0 [11:28:37]action value=close_receipt [11:28:37]process_action close_receipt [11:28:37]cmd_close_receipt [11:28:37]MH_GetDate [11:28:37]Write to MH i2c: F0 00 00 77 28 8E [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: F0 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: F0 09 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: F0 09 00 77 28 00 F5 3A 16 67 05 11 DA 64 97 [11:28:37]GetLastDocTimeStamp 1729509424 [11:28:37]current date 1729510133 [11:28:37]FM_GetShiftState [11:28:37]SAM_PROTO_GetShiftState [11:28:37]wFMCommunicate request_size=4 [11:28:37]MH_SAM_APDU [11:28:37]CAPDU: 80 13 01 00 [11:28:37]Write to MH i2c: E2 08 00 78 28 80 13 01 00 00 00 00 00 1D [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:37]Read from MH i2c: E2 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 0E 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 0E 00 78 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 EB [11:28:37]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:28:37]wFMCommunicate OK [11:28:37]SAM_PROTO_GetShiftState done [11:28:37]FM_GetShiftState done [11:28:37]opened in 1729470630 [11:28:37]opened+sec_in_day 1729557030 [11:28:37]quantity*price = 70044 [11:28:37]sum+1 = 70045 [11:28:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.44 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 20 21.10.2024 11:28 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40752 ФПД: 88917798291367 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112853&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40752&fm=88917798291367&tin=02508201610067®Number=0000000000098148&sum=70000 [11:28:39]StoreToDocumentArchive [11:28:39]shift 448 fd 40752 [11:28:39]save to /storage/0448/doc_00040752 [11:28:39]save last doc name /storage/0448/doc_00040752 to /storage/kkm_last_doc_name [11:28:39]save OK [11:28:39]Clear old archive folders... [11:28:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:28:39]tlvbuf is 0111C1B0 [11:28:39]SAM_PROTO_ClearQueue [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 09 00 00 [11:28:39]Write to MH i2c: E2 08 00 85 28 80 09 00 00 00 00 00 00 1F [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 85 28 00 90 00 21 [11:28:39]RAPDU: 90 00 [11:28:39]wFMCommunicate OK [11:28:39]SAM_PROTO_ClearQueue done [11:28:39]KKMCreateOFDPacket [11:28:39]OFDProtocolAddRootSTLVToBuf [11:28:39]FM_MakeSignedData [11:28:39]FM_MakeSignedData [11:28:39]SAM_PROTO_SignData [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 0D 01 02 [11:28:39]Write to MH i2c: E2 08 00 86 28 80 0D 01 02 00 00 00 00 27 [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 86 28 00 90 00 22 [11:28:39]RAPDU: 90 00 [11:28:39]wFMCommunicate OK [11:28:39]wFMCommunicate request_size=255 [11:28:39]MH_SAM_APDU [11:28:39]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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F5 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 30 9F 00 00 35 04 06 00 50 [11:28:39]Write to MH i2c: E2 02 01 87 28 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F5 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 30 9F 00 00 35 04 06 00 50 00 00 6D [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 87 28 00 90 00 23 [11:28:39]RAPDU: 90 00 [11:28:39]wFMCommunicate OK [11:28:39]wFMCommunicate request_size=10 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 0D 02 02 05 DE C9 C8 07 A7 [11:28:39]Write to MH i2c: E2 0D 00 88 28 80 0D 02 02 05 00 DE C9 C8 07 A7 00 00 51 [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 03 00 88 28 00 90 00 24 [11:28:39]RAPDU: 90 00 [11:28:39]wFMCommunicate OK [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 0D 03 02 [11:28:39]Write to MH i2c: E2 08 00 89 28 80 0D 03 02 00 00 00 00 2C [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 0B 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 0B 00 89 28 00 16 82 D8 5B 91 EC 7D 76 90 00 68 [11:28:39]RAPDU: 16 82 D8 5B 91 EC 7D 76 90 00 [11:28:39]wFMCommunicate OK [11:28:39]SAM_PROTO_SignData done [11:28:39]FM_MakeSignedData done [11:28:39]CreateOFDProtocolMessage [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 11 00 00 [11:28:39]Write to MH i2c: E2 08 00 8A 28 80 11 00 00 00 00 00 00 2C [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 17 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 17 00 8A 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 81 [11:28:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:28:39]wFMCommunicate OK [11:28:39]CreateOFDProtocolMessage done [11:28:39]OFDSenderStorePacket 40752 [11:28:39]StoreOFDPacket docnum=40752 [11:28:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CF D1 07 01 2A 8C 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F5 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 30 9F 00 00 35 04 06 00 50 DE C9 C8 07 A7 16 82 D8 5B 91 EC 7D 76 [11:28:39]CheckFolder [11:28:39]dirname=/storage/ofd_packets [11:28:39]CheckFolder done [11:28:39]ProducePacketName [11:28:39]name=ofd_packets/00040752 [11:28:39]NVStorageSaveData ofd_packets/00040752 [11:28:39]File name is /storage/ofd_packets/00040752 [11:28:39]Write 301 bytes [11:28:39]NVStorageSaveData done [11:28:39]OFDSenderStorePacket done [11:28:39]KKMCreateOFDPacket done [11:28:39]NVStorageSaveData kkm_last_timestamp [11:28:39]File name is /storage/kkm_last_timestamp [11:28:39]Write 4 bytes [11:28:39]NVStorageSaveData done [11:28:39]ExternCall_PrintAddStr [11:28:39]wPrintStart [11:28:39]Write to MH i2c: 01 00 00 8B 28 B3 [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: 01 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: 01 07 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: 01 07 00 8B 28 00 00 00 00 00 FF 0F C8 [11:28:39]RasterBufferAndPrint [11:28:39]line Счет N : (1)808702 [11:28:39]line ИÐÐ: 02508201610067 [11:28:39]line Контрольно-КаÑÑовый Чек [11:28:39]line ПРОДÐЖР[11:28:39]line ТРК (МРК, ГÐК) : 63 [11:28:39]line Товар: 2710124130 [11:28:39]line Ðи-92-К-5 [11:28:39]line 10.470 * 66.90 [11:28:39]line = 700.44 [11:28:39]line ÐДС 12% ÐСП 1% [11:28:39]line > о реализуемом товаре [11:28:39]line ОКРУГЛЕÐИЕ: -0.44 [11:28:39]line ИТОГО: 700.00 [11:28:39]line ВнеÑено: 700.00 [11:28:39]line СДÐЧÐ: 0.00 [11:28:39]line ÐСП 1% : 6.20 [11:28:39]line ÐДС 12% : 74.38 [11:28:39]line Ðаличными: 700.00 [11:28:39]line Безнал.: 0.00 [11:28:39]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:28:39]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:28:39]line СÐО: Общий режим [11:28:39]line Чек 20 21.10.2024 11:28 [11:28:39]line Смена: 448 ФФД: 1.0 [11:28:39]line ЗÐМ: 0300000239 [11:28:39]line РÐМ: 0000000000098148 [11:28:39]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:28:39]line ФМ: 0000000000965374 [11:28:39]line ФД: 40752 [11:28:39]line ФПД: 88917798291367 [11:28:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112853&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40752&fm=88917798291367&tin=02508201610067®Number=0000000000098148&sum=70000 [11:28:39]written 0, free lines is 4095 [11:28:39]OFD Sender: Processing packet 40752 [packets to send 4, broken 3] [11:28:39]ProducePacketName [11:28:39]name=ofd_packets/00040752 [11:28:39]OFD Sender: To server: ‡•öpG, [11:28:39]CommunicateWithHost lk.salyk.kg:30040 [11:28:39]ConnectInit lk.salyk.kg [11:28:39]Connected sock=9 [11:28:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CF D1 07 01 2A 8C 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F5 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 30 9F 00 00 35 04 06 00 50 DE C9 C8 07 A7 16 82 D8 5B 91 EC 7D 76 [11:28:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 C6 93 47 00 22 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 30 9F 00 00 F4 03 04 00 D5 E0 15 67 B6 04 01 00 00 55 7A 14 BF 69 2D BE 7A [11:28:40]CommunicateWithHost err = 0 [11:28:40]CheckOFDResponse [11:28:40]1017 (14) - 77093643461234 [11:28:40]1041 (16) - 0000000000965374 [11:28:40]1040 (4) - 40752 [11:28:40]1012 (4) - 21.10.2024 05:04 [11:28:40]1206 (1) - 0 [11:28:40]OFD Sender: Remove packet 40752 [11:28:40]ProducePacketName [11:28:40]name=ofd_packets/00040752 [11:28:40]NVStorageDeleteData [11:28:40]Write to MH i2c: 01 00 00 B6 28 DE [11:28:40]Write i2c OK [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: 01 [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: 01 07 00 [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: 01 07 00 B6 28 00 00 00 00 00 F0 0C E1 [11:28:40]RasterBufferAndPrint [11:28:40]line [11:28:40]line [11:28:40]line [11:28:40]line [11:28:40]line [11:28:40]written 0, free lines is 3318 [11:28:40]MH_Cut [11:28:40]Write to MH i2c: D1 01 00 BD 28 01 B7 [11:28:40]Write i2c OK [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: D1 [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: D1 01 00 [11:28:40]MH_I2C_Read... [11:28:40]Read from MH i2c: D1 01 00 BD 28 00 B6 [11:28:40]Write to MH i2c: 01 00 00 BE 28 E6 [11:28:40]Write i2c OK [11:28:40]MH_I2C_Read... [11:28:40]OFD Sender: No OFD packet to send [11:28:41]*** Cut start [11:28:41]*** Partial cut [11:28:41]*** CUTSNS_PIN = 1 [11:28:41]*** CUTSNS_PIN = 0 [11:28:41]*** Brake cut motor [11:28:41]Read from MH i2c: 01 [11:28:41]MH_I2C_Read... [11:28:41]*** Stop cut motor [11:28:41]*** Cut end [11:28:41]Read from MH i2c: 01 07 00 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: 01 07 00 BE 28 00 00 00 00 00 FF 0F FB [11:28:41]process_action close_receipt done [11:28:41]requested_data is exist [11:28:41]produce_requested_data [11:28:41]requested_item fm.sn is exist - process it [11:28:41]wFMCommunicate request_size=4 [11:28:41]MH_SAM_APDU [11:28:41]CAPDU: 80 11 00 00 [11:28:41]Write to MH i2c: E2 08 00 BF 28 80 11 00 00 00 00 00 00 61 [11:28:41]Write i2c OK [11:28:41]MH_I2C_Read... [11:28:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:41]Read from MH i2c: E2 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 17 00 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 17 00 BF 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B6 [11:28:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:28:41]wFMCommunicate OK [11:28:41]requested_item fd.num is exist - process it [11:28:41]SAM_PROTO_GetFieldsCounters [11:28:41]wFMCommunicate request_size=4 [11:28:41]MH_SAM_APDU [11:28:41]CAPDU: 80 13 00 00 [11:28:41]Write to MH i2c: E2 08 00 C0 28 80 13 00 00 00 00 00 00 64 [11:28:41]Write i2c OK [11:28:41]MH_I2C_Read... [11:28:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:28:41]Read from MH i2c: E2 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 62 00 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 62 00 C0 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 30 9F 00 00 0E 04 04 00 C0 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 58 [11:28:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 30 9F 00 00 0E 04 04 00 C0 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:28:41]wFMCommunicate OK [11:28:41]SAM_PROTO_GetFieldsCounters done [11:28:41]requested_item shift.num is exist - process it [11:28:41]requested_item shift.opened is exist - process it [11:28:41]req_shift_opened [11:28:41]FM_GetShiftState [11:28:41]SAM_PROTO_GetShiftState [11:28:41]wFMCommunicate request_size=4 [11:28:41]MH_SAM_APDU [11:28:41]CAPDU: 80 13 01 00 [11:28:41]Write to MH i2c: E2 08 00 C1 28 80 13 01 00 00 00 00 00 66 [11:28:41]Write i2c OK [11:28:41]MH_I2C_Read... [11:28:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:41]Read from MH i2c: E2 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 0E 00 [11:28:41]MH_I2C_Read... [11:28:41]Read from MH i2c: E2 0E 00 C1 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 34 [11:28:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:28:41]wFMCommunicate OK [11:28:41]SAM_PROTO_GetShiftState done [11:28:41]FM_GetShiftState done [11:28:41]req_shift_opened done [11:28:41]requested_item shift.open_date is exist - process it [11:28:41]req_shift_open_date [11:28:41]req_shift_open_date done [11:28:41]produce_requested_data done [11:28:41]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40752,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:28:41]process_action_free close_receipt [11:28:41]json_value_free [11:28:41]json_value_free done [11:28:41]process_json_proto returns [11:28:41]Send response to host [11:28:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40752,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:28:41]free response buf [11:28:41]execute_script done [11:28:41]execute_script returns [11:28:41]free content buf [11:28:41]Sock 10.Close socket [11:28:41]Sock 10.Thread stoped [11:28:42]accept exits with 7 [11:28:42]New connection [11:28:42]New thread 3067030884 created [11:28:42]Thread 3066887524 joined [11:28:42]Waiting for new connection... [11:28:42] Sock 7.Parse request [11:28:42]Sock 7.Check first char [11:28:42]Sock 7.First char is OK [11:28:42]request: POST /json_proto HTTP/1.0 [11:28:42]Method: POST [11:28:42]URL: /json_proto [11:28:42]Method is POST - this is cgi request [11:28:42]url: /json_proto [11:28:42]query_string will be loaded in cgi processing [11:28:42]execute_cgi json_proto POST (null) [11:28:42]execute_cgi path=json_proto method=POST [11:28:42]POST find Content-Length [11:28:42]Host: 172.17.53.4:8080 [11:28:42]Content-Length: 670 [11:28:42]Content-Type: application/json [11:28:42] [11:28:42]POST finish read [11:28:42]Found Content-Length = 670 [11:28:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808701", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:42]execute_script... [11:28:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808701", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:42]POST & json_proto [11:28:42]process_json_proto [11:28:42]json parsed OK: [11:28:42]protocol is kg_v1.0 [11:28:42]action value=close_receipt [11:28:42]process_action close_receipt [11:28:42]cmd_close_receipt [11:28:42]MH_GetDate [11:28:42]Write to MH i2c: F0 00 00 C2 28 D9 [11:28:42]Write i2c OK [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 09 00 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 09 00 C2 28 00 F9 3A 16 67 05 11 DA 64 E6 [11:28:42]GetLastDocTimeStamp 1729510133 [11:28:42]current date 1729510137 [11:28:42]FM_GetShiftState [11:28:42]SAM_PROTO_GetShiftState [11:28:42]wFMCommunicate request_size=4 [11:28:42]MH_SAM_APDU [11:28:42]CAPDU: 80 13 01 00 [11:28:42]Write to MH i2c: E2 08 00 C3 28 80 13 01 00 00 00 00 00 68 [11:28:42]Write i2c OK [11:28:42]MH_I2C_Read... [11:28:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:42]Read from MH i2c: E2 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: E2 0E 00 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: E2 0E 00 C3 28 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 36 [11:28:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:28:42]wFMCommunicate OK [11:28:42]SAM_PROTO_GetShiftState done [11:28:42]FM_GetShiftState done [11:28:42]opened in 1729470630 [11:28:42]opened+sec_in_day 1729557030 [11:28:42]quantity*price = 60055 [11:28:42]sum+1 = 60056 [11:28:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.55 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.77 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 21 21.10.2024 11:28 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40753 ФПД: 252540655696186 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112857&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40753&fm=252540655696186&tin=02508201610067®Number=0000000000098148&sum=60000 [11:28:43]StoreToDocumentArchive [11:28:43]shift 448 fd 40753 [11:28:43]save to /storage/0448/doc_00040753 [11:28:43]save last doc name /storage/0448/doc_00040753 to /storage/kkm_last_doc_name [11:28:43]save OK [11:28:43]Clear old archive folders... [11:28:43]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:28:43]tlvbuf is 01134AB0 [11:28:43]SAM_PROTO_ClearQueue [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 09 00 00 [11:28:43]Write to MH i2c: E2 08 00 D0 28 80 09 00 00 00 00 00 00 6A [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 D0 28 00 90 00 6C [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]SAM_PROTO_ClearQueue done [11:28:43]KKMCreateOFDPacket [11:28:43]OFDProtocolAddRootSTLVToBuf [11:28:43]FM_MakeSignedData [11:28:43]FM_MakeSignedData [11:28:43]SAM_PROTO_SignData [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 01 02 [11:28:43]Write to MH i2c: E2 08 00 D1 28 80 0D 01 02 00 00 00 00 72 [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 D1 28 00 90 00 6D [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]wFMCommunicate request_size=255 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F9 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 31 9F 00 00 35 04 06 00 [11:28:43]Write to MH i2c: E2 02 01 D2 28 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F9 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 31 9F 00 00 35 04 06 00 00 00 61 [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:44]Read from MH i2c: E2 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 03 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 03 00 D2 28 00 90 00 6E [11:28:44]RAPDU: 90 00 [11:28:44]wFMCommunicate OK [11:28:44]wFMCommunicate request_size=11 [11:28:44]MH_SAM_APDU [11:28:44]CAPDU: 80 0D 02 02 06 E5 AF 34 12 F9 3A [11:28:44]Write to MH i2c: E2 0E 00 D3 28 80 0D 02 02 06 00 E5 AF 34 12 F9 3A 00 00 8E [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:44]Read from MH i2c: E2 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 03 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 03 00 D3 28 00 90 00 6F [11:28:44]RAPDU: 90 00 [11:28:44]wFMCommunicate OK [11:28:44]wFMCommunicate request_size=4 [11:28:44]MH_SAM_APDU [11:28:44]CAPDU: 80 0D 03 02 [11:28:44]Write to MH i2c: E2 08 00 D4 28 80 0D 03 02 00 00 00 00 77 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:28:44]Read from MH i2c: E2 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 0B 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 0B 00 D4 28 00 47 8C D0 A8 46 B7 26 2E 90 00 14 [11:28:44]RAPDU: 47 8C D0 A8 46 B7 26 2E 90 00 [11:28:44]wFMCommunicate OK [11:28:44]SAM_PROTO_SignData done [11:28:44]FM_MakeSignedData done [11:28:44]CreateOFDProtocolMessage [11:28:44]wFMCommunicate request_size=4 [11:28:44]MH_SAM_APDU [11:28:44]CAPDU: 80 11 00 00 [11:28:44]Write to MH i2c: E2 08 00 D5 28 80 11 00 00 00 00 00 00 77 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:44]Read from MH i2c: E2 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 17 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 17 00 D5 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 CC [11:28:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:28:44]wFMCommunicate OK [11:28:44]CreateOFDProtocolMessage done [11:28:44]OFDSenderStorePacket 40753 [11:28:44]StoreOFDPacket docnum=40753 [11:28:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 CA AD 08 01 F1 CB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F9 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 31 9F 00 00 35 04 06 00 E5 AF 34 12 F9 3A 47 8C D0 A8 46 B7 26 2E [11:28:44]CheckFolder [11:28:44]dirname=/storage/ofd_packets [11:28:44]CheckFolder done [11:28:44]ProducePacketName [11:28:44]name=ofd_packets/00040753 [11:28:44]NVStorageSaveData ofd_packets/00040753 [11:28:44]File name is /storage/ofd_packets/00040753 [11:28:44]Write 302 bytes [11:28:44]NVStorageSaveData done [11:28:44]OFDSenderStorePacket done [11:28:44]KKMCreateOFDPacket done [11:28:44]NVStorageSaveData kkm_last_timestamp [11:28:44]File name is /storage/kkm_last_timestamp [11:28:44]Write 4 bytes [11:28:44]NVStorageSaveData done [11:28:44]ExternCall_PrintAddStr [11:28:44]wPrintStart [11:28:44]Write to MH i2c: 01 00 00 D6 28 FE [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 [11:28:44]MH_I2C_Read... [11:28:44]OFD Sender: Processing packet 40753 [packets to send 4, broken 3] [11:28:44]ProducePacketName [11:28:44]name=ofd_packets/00040753 [11:28:44]OFD Sender: To server: ‡•öpG, [11:28:44]CommunicateWithHost lk.salyk.kg:30040 [11:28:44]ConnectInit lk.salyk.kg [11:28:44]Read from MH i2c: 01 07 00 D6 28 00 00 00 00 00 FF 0F 13 [11:28:44]RasterBufferAndPrint [11:28:44]line Счет N : (1)808701 [11:28:44]line ИÐÐ: 02508201610067 [11:28:44]line Контрольно-КаÑÑовый Чек [11:28:44]line ПРОДÐЖР[11:28:44]line ТРК (МРК, ГÐК) : 32 [11:28:44]line Товар: 2710124130 [11:28:44]line Super 92-К-5 [11:28:44]line 8.780 * 68.40 [11:28:44]line = 600.55 [11:28:44]line ÐДС 12% ÐСП 1% [11:28:44]line > о реализуемом товаре [11:28:44]line ОКРУГЛЕÐИЕ: -0.55 [11:28:44]line ИТОГО: 600.00 [11:28:44]line ВнеÑено: 600.00 [11:28:44]line СДÐЧÐ: 0.00 [11:28:44]line ÐСП 1% : 5.31 [11:28:44]line ÐДС 12% : 63.77 [11:28:44]line Ðаличными: 600.00 [11:28:44]line Безнал.: 0.00 [11:28:44]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:28:44]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:28:44]line СÐО: Общий режим [11:28:44]line Чек 21 21.10.2024 11:28 [11:28:44]line Смена: 448 ФФД: 1.0 [11:28:44]line ЗÐМ: 0300000239 [11:28:44]line РÐМ: 0000000000098148 [11:28:44]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:28:44]line ФМ: 0000000000965374 [11:28:44]line ФД: 40753 [11:28:44]line ФПД: 252540655696186 [11:28:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112857&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40753&fm=252540655696186&tin=02508201610067®Number=0000000000098148&sum=60000 [11:28:44]written 0, free lines is 4095 [11:28:44]Connected sock=10 [11:28:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 CA AD 08 01 F1 CB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F9 3A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 31 9F 00 00 35 04 06 00 E5 AF 34 12 F9 3A 47 8C D0 A8 46 B7 26 2E [11:28:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 64 6D 47 00 05 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 31 9F 00 00 F4 03 04 00 DA E0 15 67 B6 04 01 00 00 6F 96 DE 41 54 42 76 59 [11:28:44]CommunicateWithHost err = 0 [11:28:44]CheckOFDResponse [11:28:44]1017 (14) - 77093643461234 [11:28:44]1041 (16) - 0000000000965374 [11:28:44]1040 (4) - 40753 [11:28:44]1012 (4) - 21.10.2024 05:04 [11:28:44]1206 (1) - 0 [11:28:44]OFD Sender: Remove packet 40753 [11:28:44]ProducePacketName [11:28:44]name=ofd_packets/00040753 [11:28:44]NVStorageDeleteData [11:28:44]Write to MH i2c: 01 00 00 01 29 2A [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 01 29 00 00 00 00 00 F8 0C 35 [11:28:44]RasterBufferAndPrint [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]written 0, free lines is 3335 [11:28:44]MH_Cut [11:28:44]Write to MH i2c: D1 01 00 08 29 01 03 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 01 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 01 00 08 29 00 02 [11:28:44]Write to MH i2c: 01 00 00 09 29 32 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:45]OFD Sender: No OFD packet to send [11:28:45]*** Cut start [11:28:45]*** Partial cut [11:28:45]*** CUTSNS_PIN = 1 [11:28:45]*** CUTSNS_PIN = 0 [11:28:45]*** Brake cut motor [11:28:46]Read from MH i2c: 01 [11:28:46]MH_I2C_Read... [11:28:46]*** Stop cut motor [11:28:46]*** Cut end [11:28:46]Read from MH i2c: 01 07 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: 01 07 00 09 29 00 00 00 00 00 FF 0F 47 [11:28:46]process_action close_receipt done [11:28:46]requested_data is exist [11:28:46]produce_requested_data [11:28:46]requested_item fm.sn is exist - process it [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 11 00 00 [11:28:46]Write to MH i2c: E2 08 00 0A 29 80 11 00 00 00 00 00 00 AD [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 17 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 17 00 0A 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 02 [11:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:28:46]wFMCommunicate OK [11:28:46]requested_item fd.num is exist - process it [11:28:46]SAM_PROTO_GetFieldsCounters [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 13 00 00 [11:28:46]Write to MH i2c: E2 08 00 0B 29 80 13 00 00 00 00 00 00 B0 [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 62 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 62 00 0B 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 31 9F 00 00 0E 04 04 00 C0 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 A8 [11:28:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 31 9F 00 00 0E 04 04 00 C0 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:28:46]wFMCommunicate OK [11:28:46]SAM_PROTO_GetFieldsCounters done [11:28:46]requested_item shift.num is exist - process it [11:28:46]requested_item shift.opened is exist - process it [11:28:46]req_shift_opened [11:28:46]FM_GetShiftState [11:28:46]SAM_PROTO_GetShiftState [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 13 01 00 [11:28:46]Write to MH i2c: E2 08 00 0C 29 80 13 01 00 00 00 00 00 B2 [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 0E 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 0E 00 0C 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 80 [11:28:46]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:28:46]wFMCommunicate OK [11:28:46]SAM_PROTO_GetShiftState done [11:28:46]FM_GetShiftState done [11:28:46]req_shift_opened done [11:28:46]requested_item shift.open_date is exist - process it [11:28:46]req_shift_open_date [11:28:46]req_shift_open_date done [11:28:46]produce_requested_data done [11:28:46]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40753,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:28:46]process_action_free close_receipt [11:28:46]json_value_free [11:28:46]json_value_free done [11:28:46]process_json_proto returns [11:28:46]Send response to host [11:28:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40753,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:28:46]free response buf [11:28:46]execute_script done [11:28:46]execute_script returns [11:28:46]free content buf [11:28:46]Sock 7.Close socket [11:28:46]Sock 7.Thread stoped [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:27]accept exits with 9 [11:29:27]New connection [11:29:27]New thread 3066887524 created [11:29:27]Thread 3067030884 joined [11:29:27]Waiting for new connection... [11:29:27] Sock 9.Parse request [11:29:27]Sock 9.Check first char [11:29:27]Sock 9.First char is OK [11:29:27]request: POST /json_proto HTTP/1.0 [11:29:27]Method: POST [11:29:27]URL: /json_proto [11:29:27]Method is POST - this is cgi request [11:29:27]url: /json_proto [11:29:27]query_string will be loaded in cgi processing [11:29:27]execute_cgi json_proto POST (null) [11:29:27]execute_cgi path=json_proto method=POST [11:29:27]POST find Content-Length [11:29:27]Host: 172.17.53.4:8080 [11:29:27]Content-Length: 674 [11:29:27]Content-Type: application/json [11:29:27] [11:29:27]POST finish read [11:29:27]Found Content-Length = 674 [11:29:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808703", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:27]execute_script... [11:29: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 : (1)808703", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:27]POST & json_proto [11:29:27]process_json_proto [11:29:27]json parsed OK: [11:29:27]protocol is kg_v1.0 [11:29:27]action value=close_receipt [11:29:27]process_action close_receipt [11:29:27]cmd_close_receipt [11:29:27]MH_GetDate [11:29:27]Write to MH i2c: F0 00 00 0D 29 25 [11:29:27]Write i2c OK [11:29:27]MH_I2C_Read... [11:29:27]Read from MH i2c: F0 [11:29:27]MH_I2C_Read... [11:29:27]Read from MH i2c: F0 09 00 [11:29:27]MH_I2C_Read... [11:29:27]Read from MH i2c: F0 09 00 0D 29 00 27 3B 16 67 05 11 DA 64 61 [11:29:27]GetLastDocTimeStamp 1729510137 [11:29:27]current date 1729510183 [11:29:27]FM_GetShiftState [11:29:27]SAM_PROTO_GetShiftState [11:29:27]wFMCommunicate request_size=4 [11:29:27]MH_SAM_APDU [11:29:27]CAPDU: 80 13 01 00 [11:29:27]Write to MH i2c: E2 08 00 0E 29 80 13 01 00 00 00 00 00 B4 [11:29:27]Write i2c OK [11:29:27]MH_I2C_Read... [11:29:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:27]Read from MH i2c: E2 [11:29:27]MH_I2C_Read... [11:29:27]Read from MH i2c: E2 0E 00 [11:29:27]MH_I2C_Read... [11:29:27]Read from MH i2c: E2 0E 00 0E 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 82 [11:29:27]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:29:27]wFMCommunicate OK [11:29:27]SAM_PROTO_GetShiftState done [11:29:27]FM_GetShiftState done [11:29:27]opened in 1729470630 [11:29:27]opened+sec_in_day 1729557030 [11:29:27]quantity*price = 60045 [11:29:27]sum+1 = 60047 [11:29:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.46 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.77 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 22 21.10.2024 11:29 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40754 ФПД: 155926559384769 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112943&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40754&fm=155926559384769&tin=02508201610067®Number=0000000000098148&sum=60000 [11:29:28]StoreToDocumentArchive [11:29:28]shift 448 fd 40754 [11:29:28]save to /storage/0448/doc_00040754 [11:29:28]save last doc name /storage/0448/doc_00040754 to /storage/kkm_last_doc_name [11:29:28]save OK [11:29:28]Clear old archive folders... [11:29:28]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:29:28]tlvbuf is 010DF6B0 [11:29:28]SAM_PROTO_ClearQueue [11:29:28]wFMCommunicate request_size=4 [11:29:28]MH_SAM_APDU [11:29:28]CAPDU: 80 09 00 00 [11:29:28]Write to MH i2c: E2 08 00 1B 29 80 09 00 00 00 00 00 00 B6 [11:29:28]Write i2c OK [11:29:28]MH_I2C_Read... [11:29:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:29:28]Read from MH i2c: E2 [11:29:28]MH_I2C_Read... [11:29:28]Read from MH i2c: E2 03 00 [11:29:28]MH_I2C_Read... [11:29:28]Read from MH i2c: E2 03 00 1B 29 00 90 00 B8 [11:29:28]RAPDU: 90 00 [11:29:28]wFMCommunicate OK [11:29:28]SAM_PROTO_ClearQueue done [11:29:28]KKMCreateOFDPacket [11:29:28]OFDProtocolAddRootSTLVToBuf [11:29:28]FM_MakeSignedData [11:29:28]FM_MakeSignedData [11:29:28]SAM_PROTO_SignData [11:29:28]wFMCommunicate request_size=4 [11:29:28]MH_SAM_APDU [11:29:28]CAPDU: 80 0D 01 02 [11:29:28]Write to MH i2c: E2 08 00 1C 29 80 0D 01 02 00 00 00 00 BE [11:29:28]Write i2c OK [11:29:28]MH_I2C_Read... [11:29:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:29:28]Read from MH i2c: E2 [11:29:28]MH_I2C_Read... [11:29:28]Read from MH i2c: E2 03 00 [11:29:28]MH_I2C_Read... [11:29:28]Read from MH i2c: E2 03 00 1C 29 00 90 00 B9 [11:29:28]RAPDU: 90 00 [11:29:28]wFMCommunicate OK [11:29:28]wFMCommunicate request_size=255 [11:29:28]MH_SAM_APDU [11:29:28]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 27 3B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 32 9F 00 00 35 04 06 00 8D D0 7B 2E [11:29:28]Write to MH i2c: E2 02 01 1D 29 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 27 3B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 32 9F 00 00 35 04 06 00 8D D0 7B 2E 00 00 95 [11:29:28]Write i2c OK [11:29:28]MH_I2C_Read... [11:29:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:29]Read from MH i2c: E2 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 03 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 03 00 1D 29 00 90 00 BA [11:29:29]RAPDU: 90 00 [11:29:29]wFMCommunicate OK [11:29:29]wFMCommunicate request_size=7 [11:29:29]MH_SAM_APDU [11:29:29]CAPDU: 80 0D 02 02 02 E4 C1 [11:29:29]Write to MH i2c: E2 0A 00 1E 29 80 0D 02 02 02 00 E4 C1 00 00 6A [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:29]Read from MH i2c: E2 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 03 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 03 00 1E 29 00 90 00 BB [11:29:29]RAPDU: 90 00 [11:29:29]wFMCommunicate OK [11:29:29]wFMCommunicate request_size=4 [11:29:29]MH_SAM_APDU [11:29:29]CAPDU: 80 0D 03 02 [11:29:29]Write to MH i2c: E2 08 00 1F 29 80 0D 03 02 00 00 00 00 C3 [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:29:29]Read from MH i2c: E2 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 0B 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 0B 00 1F 29 00 CE D3 34 6D 13 A9 C8 70 90 00 FA [11:29:29]RAPDU: CE D3 34 6D 13 A9 C8 70 90 00 [11:29:29]wFMCommunicate OK [11:29:29]SAM_PROTO_SignData done [11:29:29]FM_MakeSignedData done [11:29:29]CreateOFDProtocolMessage [11:29:29]wFMCommunicate request_size=4 [11:29:29]MH_SAM_APDU [11:29:29]CAPDU: 80 11 00 00 [11:29:29]Write to MH i2c: E2 08 00 20 29 80 11 00 00 00 00 00 00 C3 [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:29]Read from MH i2c: E2 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 17 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: E2 17 00 20 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 18 [11:29:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:29:29]wFMCommunicate OK [11:29:29]CreateOFDProtocolMessage done [11:29:29]OFDSenderStorePacket 40754 [11:29:29]StoreOFDPacket docnum=40754 [11:29:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 2E 4E 04 01 14 0F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 27 3B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 32 9F 00 00 35 04 06 00 8D D0 7B 2E E4 C1 CE D3 34 6D 13 A9 C8 70 [11:29:29]CheckFolder [11:29:29]dirname=/storage/ofd_packets [11:29:29]CheckFolder done [11:29:29]ProducePacketName [11:29:29]name=ofd_packets/00040754 [11:29:29]NVStorageSaveData ofd_packets/00040754 [11:29:29]File name is /storage/ofd_packets/00040754 [11:29:29]Write 298 bytes [11:29:29]NVStorageSaveData done [11:29:29]OFDSenderStorePacket done [11:29:29]KKMCreateOFDPacket done [11:29:29]NVStorageSaveData kkm_last_timestamp [11:29:29]File name is /storage/kkm_last_timestamp [11:29:29]Write 4 bytes [11:29:29]NVStorageSaveData done [11:29:29]ExternCall_PrintAddStr [11:29:29]wPrintStart [11:29:29]Write to MH i2c: 01 00 00 21 29 4A [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 07 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 07 00 21 29 00 00 00 00 00 FF 0F 5F [11:29:29]RasterBufferAndPrint [11:29:29]line Счет N : (1)808703 [11:29:29]line ИÐÐ: 02508201610067 [11:29:29]line Контрольно-КаÑÑовый Чек [11:29:29]line ПРОДÐЖР[11:29:29]line ТРК (МРК, ГÐК) : 41 [11:29:29]line Товар: 2710194210 [11:29:29]line ДТ-К-2 [11:29:29]line 7.880 * 76.20 [11:29:29]line = 600.46 [11:29:29]line ÐДС 12% ÐСП 1% [11:29:29]line > о реализуемом товаре [11:29:29]line ОКРУГЛЕÐИЕ: -0.46 [11:29:29]line ИТОГО: 600.00 [11:29:29]line ВнеÑено: 600.00 [11:29:29]line СДÐЧÐ: 0.00 [11:29:29]line ÐСП 1% : 5.31 [11:29:29]line ÐДС 12% : 63.77 [11:29:29]line Ðаличными: 600.00 [11:29:29]line Безнал.: 0.00 [11:29:29]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [11:29:29]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [11:29:29]line СÐО: Общий режим [11:29:29]line Чек 22 21.10.2024 11:29 [11:29:29]line Смена: 448 ФФД: 1.0 [11:29:29]line ЗÐМ: 0300000239 [11:29:29]line РÐМ: 0000000000098148 [11:29:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:29:29]line ФМ: 0000000000965374 [11:29:29]line ФД: 40754 [11:29:29]line ФПД: 155926559384769 [11:29:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T112943&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40754&fm=155926559384769&tin=02508201610067®Number=0000000000098148&sum=60000 [11:29:29]OFD Sender: Processing packet 40754 [packets to send 4, broken 3] [11:29:29]ProducePacketName [11:29:29]name=ofd_packets/00040754 [11:29:29]OFD Sender: To server: ‡•öpG, [11:29:29]CommunicateWithHost lk.salyk.kg:30040 [11:29:29]ConnectInit lk.salyk.kg [11:29:29]written 0, free lines is 4095 [11:29:29]Connected sock=10 [11:29:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 2E 4E 04 01 14 0F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 27 3B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 32 9F 00 00 35 04 06 00 8D D0 7B 2E E4 C1 CE D3 34 6D 13 A9 C8 70 [11:29:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 A1 1C 47 00 3D 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 32 9F 00 00 F4 03 04 00 07 E1 15 67 B6 04 01 00 00 D0 FD 5B 7F 25 3C 25 CE [11:29:29]CommunicateWithHost err = 0 [11:29:29]CheckOFDResponse [11:29:29]1017 (14) - 77093643461234 [11:29:29]1041 (16) - 0000000000965374 [11:29:29]1040 (4) - 40754 [11:29:29]1012 (4) - 21.10.2024 05:05 [11:29:29]1206 (1) - 0 [11:29:29]OFD Sender: Remove packet 40754 [11:29:29]ProducePacketName [11:29:29]name=ofd_packets/00040754 [11:29:29]NVStorageDeleteData [11:29:29]Write to MH i2c: 01 00 00 4C 29 75 [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 07 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: 01 07 00 4C 29 00 00 00 00 00 EE 0C 76 [11:29:29]RasterBufferAndPrint [11:29:29]line [11:29:29]line [11:29:29]line [11:29:29]line [11:29:29]line [11:29:29]written 0, free lines is 3316 [11:29:29]MH_Cut [11:29:29]Write to MH i2c: D1 01 00 53 29 01 4E [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: D1 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: D1 01 00 [11:29:29]MH_I2C_Read... [11:29:29]Read from MH i2c: D1 01 00 53 29 00 4D [11:29:29]Write to MH i2c: 01 00 00 54 29 7D [11:29:29]Write i2c OK [11:29:29]MH_I2C_Read... [11:29:30]OFD Sender: No OFD packet to send [11:29:30]*** Cut start [11:29:30]*** Partial cut [11:29:30]*** CUTSNS_PIN = 1 [11:29:30]*** CUTSNS_PIN = 0 [11:29:30]*** Brake cut motor [11:29:31]Read from MH i2c: 01 [11:29:31]MH_I2C_Read... [11:29:31]*** Stop cut motor [11:29:31]*** Cut end [11:29:31]Read from MH i2c: 01 07 00 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: 01 07 00 54 29 00 00 00 00 00 FF 0F 92 [11:29:31]process_action close_receipt done [11:29:31]requested_data is exist [11:29:31]produce_requested_data [11:29:31]requested_item fm.sn is exist - process it [11:29:31]wFMCommunicate request_size=4 [11:29:31]MH_SAM_APDU [11:29:31]CAPDU: 80 11 00 00 [11:29:31]Write to MH i2c: E2 08 00 55 29 80 11 00 00 00 00 00 00 F8 [11:29:31]Write i2c OK [11:29:31]MH_I2C_Read... [11:29:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:31]Read from MH i2c: E2 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 17 00 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 17 00 55 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 4D [11:29:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [11:29:31]wFMCommunicate OK [11:29:31]requested_item fd.num is exist - process it [11:29:31]SAM_PROTO_GetFieldsCounters [11:29:31]wFMCommunicate request_size=4 [11:29:31]MH_SAM_APDU [11:29:31]CAPDU: 80 13 00 00 [11:29:31]Write to MH i2c: E2 08 00 56 29 80 13 00 00 00 00 00 00 FB [11:29:31]Write i2c OK [11:29:31]MH_I2C_Read... [11:29:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:29:31]Read from MH i2c: E2 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 62 00 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 62 00 56 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 32 9F 00 00 0E 04 04 00 C0 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 F7 [11:29:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 32 9F 00 00 0E 04 04 00 C0 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:29:31]wFMCommunicate OK [11:29:31]SAM_PROTO_GetFieldsCounters done [11:29:31]requested_item shift.num is exist - process it [11:29:31]requested_item shift.opened is exist - process it [11:29:31]req_shift_opened [11:29:31]FM_GetShiftState [11:29:31]SAM_PROTO_GetShiftState [11:29:31]wFMCommunicate request_size=4 [11:29:31]MH_SAM_APDU [11:29:31]CAPDU: 80 13 01 00 [11:29:31]Write to MH i2c: E2 08 00 57 29 80 13 01 00 00 00 00 00 FD [11:29:31]Write i2c OK [11:29:31]MH_I2C_Read... [11:29:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:31]Read from MH i2c: E2 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 0E 00 [11:29:31]MH_I2C_Read... [11:29:31]Read from MH i2c: E2 0E 00 57 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 CB [11:29:31]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [11:29:31]wFMCommunicate OK [11:29:31]SAM_PROTO_GetShiftState done [11:29:31]FM_GetShiftState done [11:29:31]req_shift_opened done [11:29:31]requested_item shift.open_date is exist - process it [11:29:31]req_shift_open_date [11:29:31]req_shift_open_date done [11:29:31]produce_requested_data done [11:29:31]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40754,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [11:29:31]process_action_free close_receipt [11:29:31]json_value_free [11:29:31]json_value_free done [11:29:31]process_json_proto returns [11:29:31]Send response to host [11:29:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40754,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [11:29:31]free response buf [11:29:31]execute_script done [11:29:31]execute_script returns [11:29:31]free content buf [11:29:31]Sock 9.Close socket [11:29:31]Sock 9.Thread stoped [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:40]OFD Sender: No OFD packet to send [11:38:45]OFD Sender: No OFD packet to send [11:38:50]OFD Sender: No OFD packet to send [11:38:55]OFD Sender: No OFD packet to send [11:39:00]OFD Sender: No OFD packet to send [11:39:05]OFD Sender: No OFD packet to send [11:39:10]OFD Sender: No OFD packet to send [11:39:15]OFD Sender: No OFD packet to send [11:39:20]OFD Sender: No OFD packet to send [11:39:25]OFD Sender: No OFD packet to send [11:39:30]OFD Sender: No OFD packet to send [11:39:35]OFD Sender: No OFD packet to send [11:39:40]OFD Sender: No OFD packet to send [11:39:45]OFD Sender: No OFD packet to send [11:39:50]OFD Sender: No OFD packet to send [11:39:55]OFD Sender: No OFD packet to send [11:40:00]OFD Sender: No OFD packet to send [11:40:05]OFD Sender: No OFD packet to send [11:40:10]OFD Sender: No OFD packet to send [11:40:15]OFD Sender: No OFD packet to send [11:40:20]OFD Sender: No OFD packet to send [11:40:25]OFD Sender: No OFD packet to send [11:40:30]OFD Sender: No OFD packet to send [11:40:35]OFD Sender: No OFD packet to send [11:40:40]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:51]OFD Sender: No OFD packet to send [12:01:56]OFD Sender: No OFD packet to send [12:02:01]OFD Sender: No OFD packet to send [12:02:04]accept exits with 7 [12:02:04]New connection [12:02:04] Sock 7.Parse request [12:02:04]New thread 3067030884 created [12:02:04]Sock 7.Check first char [12:02:04]Thread 3066887524 joined [12:02:04]Sock 7.First char is OK [12:02:04]Waiting for new connection... [12:02:04]request: POST /json_proto HTTP/1.0 [12:02:04]Method: POST [12:02:04]URL: /json_proto [12:02:04]Method is POST - this is cgi request [12:02:04]url: /json_proto [12:02:04]query_string will be loaded in cgi processing [12:02:04]execute_cgi json_proto POST (null) [12:02:04]execute_cgi path=json_proto method=POST [12:02:04]POST find Content-Length [12:02:04]Host: 172.17.53.4:8080 [12:02:04]Content-Length: 677 [12:02:04]Content-Type: application/json [12:02:04] [12:02:04]POST finish read [12:02:04]Found Content-Length = 677 [12:02:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808725", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.040, "sum" : 270.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 270.00, "total" : 270.00, "payments": [ { "type": 0, "sum" : 270.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:02:04]execute_script... [12:02:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808725", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.040, "sum" : 270.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 270.00, "total" : 270.00, "payments": [ { "type": 0, "sum" : 270.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:02:04]POST & json_proto [12:02:04]process_json_proto [12:02:04]json parsed OK: [12:02:04]protocol is kg_v1.0 [12:02:04]action value=close_receipt [12:02:04]process_action close_receipt [12:02:04]cmd_close_receipt [12:02:04]MH_GetDate [12:02:04]Write to MH i2c: F0 00 00 58 29 70 [12:02:04]Write i2c OK [12:02:04]MH_I2C_Read... [12:02:04]Read from MH i2c: F0 [12:02:04]MH_I2C_Read... [12:02:04]Read from MH i2c: F0 09 00 [12:02:04]MH_I2C_Read... [12:02:04]Read from MH i2c: F0 09 00 58 29 00 CC 42 16 67 05 11 DA 64 58 [12:02:04]GetLastDocTimeStamp 1729510183 [12:02:04]current date 1729512140 [12:02:04]FM_GetShiftState [12:02:04]SAM_PROTO_GetShiftState [12:02:04]wFMCommunicate request_size=4 [12:02:04]MH_SAM_APDU [12:02:04]CAPDU: 80 13 01 00 [12:02:04]Write to MH i2c: E2 08 00 59 29 80 13 01 00 00 00 00 00 FF [12:02:04]Write i2c OK [12:02:04]MH_I2C_Read... [12:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:02:04]Read from MH i2c: E2 [12:02:04]MH_I2C_Read... [12:02:04]Read from MH i2c: E2 0E 00 [12:02:04]MH_I2C_Read... [12:02:04]Read from MH i2c: E2 0E 00 59 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 CD [12:02:04]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:02:04]wFMCommunicate OK [12:02:04]SAM_PROTO_GetShiftState done [12:02:04]FM_GetShiftState done [12:02:04]opened in 1729470630 [12:02:04]opened+sec_in_day 1729557030 [12:02:04]quantity*price = 27027 [12:02:04]sum+1 = 27029 [12:02:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.28 ИТОГО: 270.00 ВнеÑено: 270.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.39 ÐДС 12% : 28.70 Ðаличными: 270.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 23 21.10.2024 12:02 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40755 ФПД: 111370281247651 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120220&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40755&fm=111370281247651&tin=02508201610067®Number=0000000000098148&sum=27000 [12:02:05]StoreToDocumentArchive [12:02:05]shift 448 fd 40755 [12:02:05]save to /storage/0448/doc_00040755 [12:02:05]save last doc name /storage/0448/doc_00040755 to /storage/kkm_last_doc_name [12:02:05]save OK [12:02:05]Clear old archive folders... [12:02:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:02:05]tlvbuf is B6DBB5B0 [12:02:05]SAM_PROTO_ClearQueue [12:02:05]wFMCommunicate request_size=4 [12:02:05]MH_SAM_APDU [12:02:05]CAPDU: 80 09 00 00 [12:02:05]Write to MH i2c: E2 08 00 66 29 80 09 00 00 00 00 00 00 01 [12:02:05]Write i2c OK [12:02:05]MH_I2C_Read... [12:02:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:02:05]Read from MH i2c: E2 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 66 29 00 90 00 03 [12:02:05]RAPDU: 90 00 [12:02:05]wFMCommunicate OK [12:02:05]SAM_PROTO_ClearQueue done [12:02:05]KKMCreateOFDPacket [12:02:05]OFDProtocolAddRootSTLVToBuf [12:02:05]FM_MakeSignedData [12:02:05]FM_MakeSignedData [12:02:05]SAM_PROTO_SignData [12:02:05]wFMCommunicate request_size=4 [12:02:05]MH_SAM_APDU [12:02:05]CAPDU: 80 0D 01 02 [12:02:05]Write to MH i2c: E2 08 00 67 29 80 0D 01 02 00 00 00 00 09 [12:02:05]Write i2c OK [12:02:05]MH_I2C_Read... [12:02:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:02:05]Read from MH i2c: E2 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 67 29 00 90 00 04 [12:02:05]RAPDU: 90 00 [12:02:05]wFMCommunicate OK [12:02:05]wFMCommunicate request_size=255 [12:02:05]MH_SAM_APDU [12:02:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C8 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 CC 42 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 33 9F 00 00 35 04 06 00 65 [12:02:05]Write to MH i2c: E2 02 01 68 29 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 C8 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 CC 42 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 33 9F 00 00 35 04 06 00 65 00 00 B6 [12:02:05]Write i2c OK [12:02:05]MH_I2C_Read... [12:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:02:05]Read from MH i2c: E2 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 68 29 00 90 00 05 [12:02:05]RAPDU: 90 00 [12:02:05]wFMCommunicate OK [12:02:05]wFMCommunicate request_size=10 [12:02:05]MH_SAM_APDU [12:02:05]CAPDU: 80 0D 02 02 05 4A 6A 0D 63 A3 [12:02:05]Write to MH i2c: E2 0D 00 69 29 80 0D 02 02 05 00 4A 6A 0D 63 A3 00 00 DD [12:02:05]Write i2c OK [12:02:05]MH_I2C_Read... [12:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:02:05]Read from MH i2c: E2 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 [12:02:05]MH_I2C_Read... [12:02:05]Read from MH i2c: E2 03 00 69 29 00 90 00 06 [12:02:05]RAPDU: 90 00 [12:02:05]wFMCommunicate OK [12:02:05]wFMCommunicate request_size=4 [12:02:05]MH_SAM_APDU [12:02:05]CAPDU: 80 0D 03 02 [12:02:05]Write to MH i2c: E2 08 00 6A 29 80 0D 03 02 00 00 00 00 0E [12:02:05]Write i2c OK [12:02:05]MH_I2C_Read... [12:02:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:02:06]Read from MH i2c: E2 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: E2 0B 00 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: E2 0B 00 6A 29 00 CF 6C E8 F6 D1 E4 C1 1C 90 00 BA [12:02:06]RAPDU: CF 6C E8 F6 D1 E4 C1 1C 90 00 [12:02:06]wFMCommunicate OK [12:02:06]SAM_PROTO_SignData done [12:02:06]FM_MakeSignedData done [12:02:06]CreateOFDProtocolMessage [12:02:06]wFMCommunicate request_size=4 [12:02:06]MH_SAM_APDU [12:02:06]CAPDU: 80 11 00 00 [12:02:06]Write to MH i2c: E2 08 00 6B 29 80 11 00 00 00 00 00 00 0E [12:02:06]Write i2c OK [12:02:06]MH_I2C_Read... [12:02:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:02:06]Read from MH i2c: E2 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: E2 17 00 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: E2 17 00 6B 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 63 [12:02:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:02:06]wFMCommunicate OK [12:02:06]CreateOFDProtocolMessage done [12:02:06]OFDSenderStorePacket 40755 [12:02:06]StoreOFDPacket docnum=40755 [12:02:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 39 FA 07 01 05 F0 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 C8 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 CC 42 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 33 9F 00 00 35 04 06 00 65 4A 6A 0D 63 A3 CF 6C E8 F6 D1 E4 C1 1C [12:02:06]CheckFolder [12:02:06]dirname=/storage/ofd_packets [12:02:06]CheckFolder done [12:02:06]ProducePacketName [12:02:06]name=ofd_packets/00040755 [12:02:06]NVStorageSaveData ofd_packets/00040755 [12:02:06]File name is /storage/ofd_packets/00040755 [12:02:06]Write 301 bytes [12:02:06]NVStorageSaveData done [12:02:06]OFDSenderStorePacket done [12:02:06]KKMCreateOFDPacket done [12:02:06]NVStorageSaveData kkm_last_timestamp [12:02:06]File name is /storage/kkm_last_timestamp [12:02:06]Write 4 bytes [12:02:06]NVStorageSaveData done [12:02:06]ExternCall_PrintAddStr [12:02:06]wPrintStart [12:02:06]Write to MH i2c: 01 00 00 6C 29 95 [12:02:06]Write i2c OK [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 07 00 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 07 00 6C 29 00 00 00 00 00 FF 0F AA [12:02:06]RasterBufferAndPrint [12:02:06]line Счет N : (1)808725 [12:02:06]line ИÐÐ: 02508201610067 [12:02:06]line Контрольно-КаÑÑовый Чек [12:02:06]line ПРОДÐЖР[12:02:06]line ТРК (МРК, ГÐК) : 43 [12:02:06]line Товар: 2710124130 [12:02:06]line Ðи-92-К-5 [12:02:06]line 4.040 * 66.90 [12:02:06]line = 270.28 [12:02:06]line ÐДС 12% ÐСП 1% [12:02:06]line > о реализуемом товаре [12:02:06]line ОКРУГЛЕÐИЕ: -0.28 [12:02:06]line ИТОГО: 270.00 [12:02:06]line ВнеÑено: 270.00 [12:02:06]line СДÐЧÐ: 0.00 [12:02:06]line ÐСП 1% : 2.39 [12:02:06]line ÐДС 12% : 28.70 [12:02:06]line Ðаличными: 270.00 [12:02:06]line Безнал.: 0.00 [12:02:06]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:02:06]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:02:06]line СÐО: Общий режим [12:02:06]line Чек 23 21.10.2024 12:02 [12:02:06]line Смена: 448 ФФД: 1.0 [12:02:06]line ЗÐМ: 0300000239 [12:02:06]line РÐМ: 0000000000098148 [12:02:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:02:06]line ФМ: 0000000000965374 [12:02:06]line ФД: 40755 [12:02:06]line ФПД: 111370281247651 [12:02:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120220&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40755&fm=111370281247651&tin=02508201610067®Number=0000000000098148&sum=27000 [12:02:06]written 0, free lines is 4095 [12:02:06]OFD Sender: Processing packet 40755 [packets to send 4, broken 3] [12:02:06]ProducePacketName [12:02:06]name=ofd_packets/00040755 [12:02:06]OFD Sender: To server: ‡•öpG, [12:02:06]CommunicateWithHost lk.salyk.kg:30040 [12:02:06]ConnectInit lk.salyk.kg [12:02:06]Connected sock=11 [12:02:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 39 FA 07 01 05 F0 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 C8 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 CC 42 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 33 9F 00 00 35 04 06 00 65 4A 6A 0D 63 A3 CF 6C E8 F6 D1 E4 C1 1C [12:02:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 22 A0 47 00 C4 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 33 9F 00 00 F4 03 04 00 AC E8 15 67 B6 04 01 00 00 0D 16 EE AA CF 2F BD DA [12:02:06]CommunicateWithHost err = 0 [12:02:06]CheckOFDResponse [12:02:06]1017 (14) - 77093643461234 [12:02:06]1041 (16) - 0000000000965374 [12:02:06]1040 (4) - 40755 [12:02:06]1012 (4) - 21.10.2024 05:37 [12:02:06]1206 (1) - 0 [12:02:06]OFD Sender: Remove packet 40755 [12:02:06]ProducePacketName [12:02:06]name=ofd_packets/00040755 [12:02:06]NVStorageDeleteData [12:02:06]Write to MH i2c: 01 00 00 97 29 C0 [12:02:06]Write i2c OK [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 07 00 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: 01 07 00 97 29 00 00 00 00 00 EF 0C C2 [12:02:06]RasterBufferAndPrint [12:02:06]line [12:02:06]line [12:02:06]line [12:02:06]line [12:02:06]line [12:02:06]written 0, free lines is 3317 [12:02:06]MH_Cut [12:02:06]Write to MH i2c: D1 01 00 9E 29 01 99 [12:02:06]Write i2c OK [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: D1 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: D1 01 00 [12:02:06]MH_I2C_Read... [12:02:06]Read from MH i2c: D1 01 00 9E 29 00 98 [12:02:06]Write to MH i2c: 01 00 00 9F 29 C8 [12:02:06]Write i2c OK [12:02:06]MH_I2C_Read... [12:02:07]OFD Sender: No OFD packet to send [12:02:07]*** Cut start [12:02:07]*** Partial cut [12:02:07]*** CUTSNS_PIN = 1 [12:02:07]*** CUTSNS_PIN = 0 [12:02:07]*** Brake cut motor [12:02:08]Read from MH i2c: 01 [12:02:08]MH_I2C_Read... [12:02:08]*** Stop cut motor [12:02:08]*** Cut end [12:02:08]Read from MH i2c: 01 07 00 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: 01 07 00 9F 29 00 00 00 00 00 FF 0F DD [12:02:08]process_action close_receipt done [12:02:08]requested_data is exist [12:02:08]produce_requested_data [12:02:08]requested_item fm.sn is exist - process it [12:02:08]wFMCommunicate request_size=4 [12:02:08]MH_SAM_APDU [12:02:08]CAPDU: 80 11 00 00 [12:02:08]Write to MH i2c: E2 08 00 A0 29 80 11 00 00 00 00 00 00 43 [12:02:08]Write i2c OK [12:02:08]MH_I2C_Read... [12:02:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:02:08]Read from MH i2c: E2 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 17 00 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 17 00 A0 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 98 [12:02:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:02:08]wFMCommunicate OK [12:02:08]requested_item fd.num is exist - process it [12:02:08]SAM_PROTO_GetFieldsCounters [12:02:08]wFMCommunicate request_size=4 [12:02:08]MH_SAM_APDU [12:02:08]CAPDU: 80 13 00 00 [12:02:08]Write to MH i2c: E2 08 00 A1 29 80 13 00 00 00 00 00 00 46 [12:02:08]Write i2c OK [12:02:08]MH_I2C_Read... [12:02:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:02:08]Read from MH i2c: E2 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 62 00 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 62 00 A1 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 33 9F 00 00 0E 04 04 00 C0 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 46 [12:02:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 33 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:02:08]wFMCommunicate OK [12:02:08]SAM_PROTO_GetFieldsCounters done [12:02:08]requested_item shift.num is exist - process it [12:02:08]requested_item shift.opened is exist - process it [12:02:08]req_shift_opened [12:02:08]FM_GetShiftState [12:02:08]SAM_PROTO_GetShiftState [12:02:08]wFMCommunicate request_size=4 [12:02:08]MH_SAM_APDU [12:02:08]CAPDU: 80 13 01 00 [12:02:08]Write to MH i2c: E2 08 00 A2 29 80 13 01 00 00 00 00 00 48 [12:02:08]Write i2c OK [12:02:08]MH_I2C_Read... [12:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:02:08]Read from MH i2c: E2 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 0E 00 [12:02:08]MH_I2C_Read... [12:02:08]Read from MH i2c: E2 0E 00 A2 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 16 [12:02:08]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:02:08]wFMCommunicate OK [12:02:08]SAM_PROTO_GetShiftState done [12:02:08]FM_GetShiftState done [12:02:08]req_shift_opened done [12:02:08]requested_item shift.open_date is exist - process it [12:02:08]req_shift_open_date [12:02:08]req_shift_open_date done [12:02:08]produce_requested_data done [12:02:08]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40755,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:02:08]process_action_free close_receipt [12:02:08]json_value_free [12:02:08]json_value_free done [12:02:08]process_json_proto returns [12:02:08]Send response to host [12:02:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40755,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:02:08]free response buf [12:02:08]execute_script done [12:02:08]execute_script returns [12:02:08]free content buf [12:02:08]Sock 7.Close socket [12:02:08]Sock 7.Thread stoped [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:25]accept exits with 9 [12:08:25]New connection [12:08:25]New thread 3066887524 created [12:08:25]Thread 3067030884 joined [12:08:25]Waiting for new connection... [12:08:25] Sock 9.Parse request [12:08:25]Sock 9.Check first char [12:08:25]Sock 9.First char is OK [12:08:25]request: POST /json_proto HTTP/1.0 [12:08:25]Method: POST [12:08:25]URL: /json_proto [12:08:25]Method is POST - this is cgi request [12:08:25]url: /json_proto [12:08:25]query_string will be loaded in cgi processing [12:08:25]execute_cgi json_proto POST (null) [12:08:25]execute_cgi path=json_proto method=POST [12:08:25]POST find Content-Length [12:08:25]Host: 172.17.53.4:8080 [12:08:25]Content-Length: 816 [12:08:25]Content-Type: application/json [12:08:25] [12:08:25]POST finish read [12:08:25]Found Content-Length = 816 [12:08:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808729", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:25]execute_script... [12:08:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808729", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:25]POST & json_proto [12:08:25]process_json_proto [12:08:25]json parsed OK: [12:08:25]protocol is kg_v1.0 [12:08:25]action value=close_receipt [12:08:25]process_action close_receipt [12:08:25]cmd_close_receipt [12:08:25]MH_GetDate [12:08:25]Write to MH i2c: F0 00 00 A3 29 BB [12:08:25]Write i2c OK [12:08:25]MH_I2C_Read... [12:08:25]Read from MH i2c: F0 [12:08:25]MH_I2C_Read... [12:08:25]Read from MH i2c: F0 09 00 [12:08:25]MH_I2C_Read... [12:08:25]Read from MH i2c: F0 09 00 A3 29 00 48 44 16 67 05 11 DA 64 21 [12:08:25]GetLastDocTimeStamp 1729512140 [12:08:25]current date 1729512520 [12:08:25]FM_GetShiftState [12:08:25]SAM_PROTO_GetShiftState [12:08:25]wFMCommunicate request_size=4 [12:08:25]MH_SAM_APDU [12:08:25]CAPDU: 80 13 01 00 [12:08:25]Write to MH i2c: E2 08 00 A4 29 80 13 01 00 00 00 00 00 4A [12:08:25]Write i2c OK [12:08:25]MH_I2C_Read... [12:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:25]Read from MH i2c: E2 [12:08:25]MH_I2C_Read... [12:08:25]Read from MH i2c: E2 0E 00 [12:08:25]MH_I2C_Read... [12:08:25]Read from MH i2c: E2 0E 00 A4 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 18 [12:08:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:08:25]wFMCommunicate OK [12:08:25]SAM_PROTO_GetShiftState done [12:08:25]FM_GetShiftState done [12:08:25]opened in 1729470630 [12:08:25]opened+sec_in_day 1729557030 [12:08:25]quantity*price = 50041 [12:08:25]sum+1 = 50042 [12:08:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.41 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 0.00 Безнал.: 500.41 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 24 21.10.2024 12:08 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40756 ФПД: 15630693678531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120840&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40756&fm=15630693678531&tin=02508201610067®Number=0000000000098148&sum=50041 [12:08:26]StoreToDocumentArchive [12:08:26]shift 448 fd 40756 [12:08:26]save to /storage/0448/doc_00040756 [12:08:26]save last doc name /storage/0448/doc_00040756 to /storage/kkm_last_doc_name [12:08:26]save OK [12:08:26]Clear old archive folders... [12:08:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:08:26]tlvbuf is 0104C180 [12:08:26]SAM_PROTO_ClearQueue [12:08:26]wFMCommunicate request_size=4 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 09 00 00 [12:08:26]Write to MH i2c: E2 08 00 B1 29 80 09 00 00 00 00 00 00 4C [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 B1 29 00 90 00 4E [12:08:26]RAPDU: 90 00 [12:08:26]wFMCommunicate OK [12:08:26]SAM_PROTO_ClearQueue done [12:08:26]KKMCreateOFDPacket [12:08:26]OFDProtocolAddRootSTLVToBuf [12:08:26]FM_MakeSignedData [12:08:26]FM_MakeSignedData [12:08:26]SAM_PROTO_SignData [12:08:26]wFMCommunicate request_size=4 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 0D 01 02 [12:08:26]Write to MH i2c: E2 08 00 B2 29 80 0D 01 02 00 00 00 00 54 [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 B2 29 00 90 00 4F [12:08:26]RAPDU: 90 00 [12:08:26]wFMCommunicate OK [12:08:26]wFMCommunicate request_size=255 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 48 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 34 9F 00 00 35 04 06 00 0E [12:08:26]Write to MH i2c: E2 02 01 B3 29 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 48 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 34 9F 00 00 35 04 06 00 0E 00 00 FF [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 B3 29 00 90 00 50 [12:08:26]RAPDU: 90 00 [12:08:26]wFMCommunicate OK [12:08:26]wFMCommunicate request_size=10 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 0D 02 02 05 37 4D F1 BD C3 [12:08:26]Write to MH i2c: E2 0D 00 B4 29 80 0D 02 02 05 00 37 4D F1 BD C3 00 00 56 [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 03 00 B4 29 00 90 00 51 [12:08:26]RAPDU: 90 00 [12:08:26]wFMCommunicate OK [12:08:26]wFMCommunicate request_size=4 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 0D 03 02 [12:08:26]Write to MH i2c: E2 08 00 B5 29 80 0D 03 02 00 00 00 00 59 [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 0B 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 0B 00 B5 29 00 25 CB E5 F0 86 21 51 51 90 00 68 [12:08:26]RAPDU: 25 CB E5 F0 86 21 51 51 90 00 [12:08:26]wFMCommunicate OK [12:08:26]SAM_PROTO_SignData done [12:08:26]FM_MakeSignedData done [12:08:26]CreateOFDProtocolMessage [12:08:26]wFMCommunicate request_size=4 [12:08:26]MH_SAM_APDU [12:08:26]CAPDU: 80 11 00 00 [12:08:26]Write to MH i2c: E2 08 00 B6 29 80 11 00 00 00 00 00 00 59 [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:26]Read from MH i2c: E2 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 17 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: E2 17 00 B6 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 AE [12:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:08:26]wFMCommunicate OK [12:08:26]CreateOFDProtocolMessage done [12:08:26]OFDSenderStorePacket 40756 [12:08:26]StoreOFDPacket docnum=40756 [12:08:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5B 97 07 01 F6 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 48 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 34 9F 00 00 35 04 06 00 0E 37 4D F1 BD C3 25 CB E5 F0 86 21 51 51 [12:08:26]CheckFolder [12:08:26]dirname=/storage/ofd_packets [12:08:26]CheckFolder done [12:08:26]ProducePacketName [12:08:26]name=ofd_packets/00040756 [12:08:26]NVStorageSaveData ofd_packets/00040756 [12:08:26]File name is /storage/ofd_packets/00040756 [12:08:26]Write 301 bytes [12:08:26]NVStorageSaveData done [12:08:26]OFDSenderStorePacket done [12:08:26]KKMCreateOFDPacket done [12:08:26]NVStorageSaveData kkm_last_timestamp [12:08:26]File name is /storage/kkm_last_timestamp [12:08:26]Write 4 bytes [12:08:26]NVStorageSaveData done [12:08:26]OFD Sender: Processing packet 40756 [packets to send 4, broken 3] [12:08:26]ProducePacketName [12:08:26]name=ofd_packets/00040756 [12:08:26]OFD Sender: To server: ‡•öpG, [12:08:26]CommunicateWithHost lk.salyk.kg:30040 [12:08:26]ConnectInit lk.salyk.kg [12:08:26]ExternCall_PrintAddStr [12:08:26]wPrintStart [12:08:26]Write to MH i2c: 01 00 00 B7 29 E0 [12:08:26]Write i2c OK [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: 01 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: 01 07 00 [12:08:26]MH_I2C_Read... [12:08:26]Read from MH i2c: 01 07 00 B7 29 00 00 00 00 00 FF 0F F5 [12:08:26]RasterBufferAndPrint [12:08:26]line Счет N : (1)808729 [12:08:26]line ИÐÐ: 02508201610067 [12:08:26]line Контрольно-КаÑÑовый Чек [12:08:26]line ПРОДÐЖР[12:08:26]line ТРК (МРК, ГÐК) : 43 [12:08:26]line Товар: 2710124130 [12:08:26]line Ðи-92-К-5 [12:08:26]line 7.480 * 66.90 [12:08:26]line = 500.41 [12:08:26]line ÐДС 12% ÐСП 1% [12:08:26]line > о реализуемом товаре [12:08:26]line ИТОГО: 500.41 [12:08:26]line ÐСП 1% : 4.43 [12:08:26]line ÐДС 12% : 53.14 [12:08:26]line Ðаличными: 0.00 [12:08:26]line Безнал.: 500.41 [12:08:26]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:08:26]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:08:26]line СÐО: Общий режим [12:08:26]line Чек 24 21.10.2024 12:08 [12:08:26]line Смена: 448 ФФД: 1.0 [12:08:26]line ЗÐМ: 0300000239 [12:08:26]line РÐМ: 0000000000098148 [12:08:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:08:26]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [12:08:26]line ФМ: 0000000000965374 [12:08:26]line ФД: 40756 [12:08:26]line ФПД: 15630693678531 [12:08:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120840&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40756&fm=15630693678531&tin=02508201610067®Number=0000000000098148&sum=50041 [12:08:27]Connected sock=11 [12:08:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5B 97 07 01 F6 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 48 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 34 9F 00 00 35 04 06 00 0E 37 4D F1 BD C3 25 CB E5 F0 86 21 51 51 [12:08:27]written 0, free lines is 4095 [12:08:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 FB 07 47 00 83 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 34 9F 00 00 F4 03 04 00 29 EA 15 67 B6 04 01 00 00 82 78 01 F6 14 6C 00 BE [12:08:27]CommunicateWithHost err = 0 [12:08:27]CheckOFDResponse [12:08:27]1017 (14) - 77093643461234 [12:08:27]1041 (16) - 0000000000965374 [12:08:27]1040 (4) - 40756 [12:08:27]1012 (4) - 21.10.2024 05:44 [12:08:27]1206 (1) - 0 [12:08:27]OFD Sender: Remove packet 40756 [12:08:27]ProducePacketName [12:08:27]name=ofd_packets/00040756 [12:08:27]NVStorageDeleteData [12:08:27]Write to MH i2c: 01 00 00 E1 29 0A [12:08:27]Write i2c OK [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: 01 [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: 01 07 00 [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: 01 07 00 E1 29 00 00 00 00 00 F3 0C 10 [12:08:27]RasterBufferAndPrint [12:08:27]line [12:08:27]line [12:08:27]line [12:08:27]line [12:08:27]line [12:08:27]written 0, free lines is 3321 [12:08:27]MH_Cut [12:08:27]Write to MH i2c: D1 01 00 E8 29 01 E3 [12:08:27]Write i2c OK [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: D1 [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: D1 01 00 [12:08:27]MH_I2C_Read... [12:08:27]Read from MH i2c: D1 01 00 E8 29 00 E2 [12:08:27]Write to MH i2c: 01 00 00 E9 29 12 [12:08:27]Write i2c OK [12:08:27]MH_I2C_Read... [12:08:27]OFD Sender: No OFD packet to send [12:08:28]*** Cut start [12:08:28]*** Partial cut [12:08:28]*** CUTSNS_PIN = 1 [12:08:28]*** CUTSNS_PIN = 0 [12:08:28]*** Brake cut motor [12:08:28]Read from MH i2c: 01 [12:08:28]MH_I2C_Read... [12:08:28]*** Stop cut motor [12:08:28]*** Cut end [12:08:28]Read from MH i2c: 01 07 00 [12:08:28]MH_I2C_Read... [12:08:28]Read from MH i2c: 01 07 00 E9 29 00 00 00 00 00 FF 0F 27 [12:08:28]process_action close_receipt done [12:08:28]requested_data is exist [12:08:28]produce_requested_data [12:08:28]requested_item fm.sn is exist - process it [12:08:28]wFMCommunicate request_size=4 [12:08:28]MH_SAM_APDU [12:08:28]CAPDU: 80 11 00 00 [12:08:28]Write to MH i2c: E2 08 00 EA 29 80 11 00 00 00 00 00 00 8D [12:08:28]Write i2c OK [12:08:28]MH_I2C_Read... [12:08:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:28]Read from MH i2c: E2 [12:08:28]MH_I2C_Read... [12:08:28]Read from MH i2c: E2 17 00 [12:08:28]MH_I2C_Read... [12:08:28]Read from MH i2c: E2 17 00 EA 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E2 [12:08:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:08:28]wFMCommunicate OK [12:08:28]requested_item fd.num is exist - process it [12:08:28]SAM_PROTO_GetFieldsCounters [12:08:28]wFMCommunicate request_size=4 [12:08:28]MH_SAM_APDU [12:08:28]CAPDU: 80 13 00 00 [12:08:28]Write to MH i2c: E2 08 00 EB 29 80 13 00 00 00 00 00 00 90 [12:08:28]Write i2c OK [12:08:28]MH_I2C_Read... [12:08:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:08:29]Read from MH i2c: E2 [12:08:29]MH_I2C_Read... [12:08:29]Read from MH i2c: E2 62 00 [12:08:29]MH_I2C_Read... [12:08:29]Read from MH i2c: E2 62 00 EB 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 34 9F 00 00 0E 04 04 00 C0 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 94 [12:08:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 34 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:08:29]wFMCommunicate OK [12:08:29]SAM_PROTO_GetFieldsCounters done [12:08:29]requested_item shift.num is exist - process it [12:08:29]requested_item shift.opened is exist - process it [12:08:29]req_shift_opened [12:08:29]FM_GetShiftState [12:08:29]SAM_PROTO_GetShiftState [12:08:29]wFMCommunicate request_size=4 [12:08:29]MH_SAM_APDU [12:08:29]CAPDU: 80 13 01 00 [12:08:29]Write to MH i2c: E2 08 00 EC 29 80 13 01 00 00 00 00 00 92 [12:08:29]Write i2c OK [12:08:29]MH_I2C_Read... [12:08:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:29]Read from MH i2c: E2 [12:08:29]MH_I2C_Read... [12:08:29]Read from MH i2c: E2 0E 00 [12:08:29]MH_I2C_Read... [12:08:29]Read from MH i2c: E2 0E 00 EC 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 60 [12:08:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:08:29]wFMCommunicate OK [12:08:29]SAM_PROTO_GetShiftState done [12:08:29]FM_GetShiftState done [12:08:29]req_shift_opened done [12:08:29]requested_item shift.open_date is exist - process it [12:08:29]req_shift_open_date [12:08:29]req_shift_open_date done [12:08:29]produce_requested_data done [12:08:29]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40756,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:08:29]process_action_free close_receipt [12:08:29]json_value_free [12:08:29]json_value_free done [12:08:29]process_json_proto returns [12:08:29]Send response to host [12:08:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40756,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:08:29]free response buf [12:08:29]execute_script done [12:08:29]execute_script returns [12:08:29]free content buf [12:08:29]Sock 9.Close socket [12:08:29]Sock 9.Thread stoped [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:25]accept exits with 7 [12:10:25]New connection [12:10:25]New thread 3067030884 created [12:10:25]Thread 3066887524 joined [12:10:25]Waiting for new connection... [12:10:25] Sock 7.Parse request [12:10:25]Sock 7.Check first char [12:10:25]Sock 7.First char is OK [12:10:25]request: POST /json_proto HTTP/1.0 [12:10:25]Method: POST [12:10:25]URL: /json_proto [12:10:25]Method is POST - this is cgi request [12:10:25]url: /json_proto [12:10:25]query_string will be loaded in cgi processing [12:10:25]execute_cgi json_proto POST (null) [12:10:25]execute_cgi path=json_proto method=POST [12:10:25]POST find Content-Length [12:10:25]Host: 172.17.53.4:8080 [12:10:25]Content-Length: 670 [12:10:25]Content-Type: application/json [12:10:25] [12:10:25]POST finish read [12:10:25]Found Content-Length = 670 [12:10:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808731", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:25]execute_script... [12:10:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808731", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:25]POST & json_proto [12:10:25]process_json_proto [12:10:25]json parsed OK: [12:10:25]protocol is kg_v1.0 [12:10:25]action value=close_receipt [12:10:25]process_action close_receipt [12:10:25]cmd_close_receipt [12:10:25]MH_GetDate [12:10:25]Write to MH i2c: F0 00 00 ED 29 05 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: F0 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: F0 09 00 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: F0 09 00 ED 29 00 C1 44 16 67 05 11 DA 64 E4 [12:10:25]GetLastDocTimeStamp 1729512520 [12:10:25]current date 1729512641 [12:10:25]FM_GetShiftState [12:10:25]SAM_PROTO_GetShiftState [12:10:25]wFMCommunicate request_size=4 [12:10:25]MH_SAM_APDU [12:10:25]CAPDU: 80 13 01 00 [12:10:25]Write to MH i2c: E2 08 00 EE 29 80 13 01 00 00 00 00 00 94 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:25]Read from MH i2c: E2 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: E2 0E 00 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: E2 0E 00 EE 29 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 62 [12:10:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:10:25]wFMCommunicate OK [12:10:25]SAM_PROTO_GetShiftState done [12:10:25]FM_GetShiftState done [12:10:25]opened in 1729470630 [12:10:25]opened+sec_in_day 1729557030 [12:10:25]quantity*price = 20041 [12:10:25]sum+1 = 20042 [12:10:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.28 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 25 21.10.2024 12:10 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40757 ФПД: 161215065863756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121041&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40757&fm=161215065863756&tin=02508201610067®Number=0000000000098148&sum=20000 [12:10:27]StoreToDocumentArchive [12:10:27]shift 448 fd 40757 [12:10:27]save to /storage/0448/doc_00040757 [12:10:27]save last doc name /storage/0448/doc_00040757 to /storage/kkm_last_doc_name [12:10:27]save OK [12:10:27]Clear old archive folders... [12:10:27]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:10:27]tlvbuf is 010C0380 [12:10:27]SAM_PROTO_ClearQueue [12:10:27]wFMCommunicate request_size=4 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 09 00 00 [12:10:27]Write to MH i2c: E2 08 00 FB 29 80 09 00 00 00 00 00 00 96 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 FB 29 00 90 00 98 [12:10:27]RAPDU: 90 00 [12:10:27]wFMCommunicate OK [12:10:27]SAM_PROTO_ClearQueue done [12:10:27]KKMCreateOFDPacket [12:10:27]OFDProtocolAddRootSTLVToBuf [12:10:27]FM_MakeSignedData [12:10:27]FM_MakeSignedData [12:10:27]SAM_PROTO_SignData [12:10:27]wFMCommunicate request_size=4 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 0D 01 02 [12:10:27]Write to MH i2c: E2 08 00 FC 29 80 0D 01 02 00 00 00 00 9E [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 FC 29 00 90 00 99 [12:10:27]RAPDU: 90 00 [12:10:27]wFMCommunicate OK [12:10:27]wFMCommunicate request_size=255 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 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 50 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 19 00 00 00 F4 03 04 00 C1 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 35 9F 00 00 35 04 06 00 [12:10:27]Write to MH i2c: E2 02 01 FD 29 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 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 50 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 19 00 00 00 F4 03 04 00 C1 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 35 9F 00 00 35 04 06 00 00 00 C7 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 FD 29 00 90 00 9A [12:10:27]RAPDU: 90 00 [12:10:27]wFMCommunicate OK [12:10:27]wFMCommunicate request_size=11 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 0D 02 02 06 92 9F CE BB B6 4C [12:10:27]Write to MH i2c: E2 0E 00 FE 29 80 0D 02 02 06 00 92 9F CE BB B6 4C 00 00 69 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 03 00 FE 29 00 90 00 9B [12:10:27]RAPDU: 90 00 [12:10:27]wFMCommunicate OK [12:10:27]wFMCommunicate request_size=4 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 0D 03 02 [12:10:27]Write to MH i2c: E2 08 00 FF 29 80 0D 03 02 00 00 00 00 A3 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 0B 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 0B 00 FF 29 00 A7 20 86 61 E7 4B 88 F2 90 00 FE [12:10:27]RAPDU: A7 20 86 61 E7 4B 88 F2 90 00 [12:10:27]wFMCommunicate OK [12:10:27]SAM_PROTO_SignData done [12:10:27]FM_MakeSignedData done [12:10:27]CreateOFDProtocolMessage [12:10:27]wFMCommunicate request_size=4 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 11 00 00 [12:10:27]Write to MH i2c: E2 08 00 00 2A 80 11 00 00 00 00 00 00 A4 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 17 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 17 00 00 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F9 [12:10:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:10:27]wFMCommunicate OK [12:10:27]CreateOFDProtocolMessage done [12:10:27]OFDSenderStorePacket 40757 [12:10:27]StoreOFDPacket docnum=40757 [12:10:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 B6 D7 08 01 29 44 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 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 50 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 19 00 00 00 F4 03 04 00 C1 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 35 9F 00 00 35 04 06 00 92 9F CE BB B6 4C A7 20 86 61 E7 4B 88 F2 [12:10:27]CheckFolder [12:10:27]dirname=/storage/ofd_packets [12:10:27]CheckFolder done [12:10:27]ProducePacketName [12:10:27]name=ofd_packets/00040757 [12:10:27]NVStorageSaveData ofd_packets/00040757 [12:10:27]File name is /storage/ofd_packets/00040757 [12:10:27]Write 302 bytes [12:10:27]NVStorageSaveData done [12:10:27]OFDSenderStorePacket done [12:10:27]KKMCreateOFDPacket done [12:10:27]NVStorageSaveData kkm_last_timestamp [12:10:27]File name is /storage/kkm_last_timestamp [12:10:27]Write 4 bytes [12:10:27]NVStorageSaveData done [12:10:27]ExternCall_PrintAddStr [12:10:27]wPrintStart [12:10:27]Write to MH i2c: 01 00 00 01 2A 2B [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: 01 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: 01 07 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: 01 07 00 01 2A 00 00 00 00 00 FF 0F 40 [12:10:27]RasterBufferAndPrint [12:10:27]line Счет N : (1)808731 [12:10:27]line ИÐÐ: 02508201610067 [12:10:27]line Контрольно-КаÑÑовый Чек [12:10:27]line ПРОДÐЖР[12:10:27]line ТРК (МРК, ГÐК) : 62 [12:10:27]line Товар: 2710124130 [12:10:27]line Super 92-К-5 [12:10:27]line 2.930 * 68.40 [12:10:27]line = 200.41 [12:10:27]line ÐДС 12% ÐСП 1% [12:10:27]line > о реализуемом товаре [12:10:27]line ОКРУГЛЕÐИЕ: -0.41 [12:10:27]line ИТОГО: 200.00 [12:10:27]line ВнеÑено: 200.00 [12:10:27]line СДÐЧÐ: 0.00 [12:10:27]line ÐСП 1% : 1.77 [12:10:27]line ÐДС 12% : 21.28 [12:10:27]line Ðаличными: 200.00 [12:10:27]line Безнал.: 0.00 [12:10:27]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:10:27]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:10:27]line СÐО: Общий режим [12:10:27]line Чек 25 21.10.2024 12:10 [12:10:27]line Смена: 448 ФФД: 1.0 [12:10:27]line ЗÐМ: 0300000239 [12:10:27]line РÐМ: 0000000000098148 [12:10:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:10:27]line ФМ: 0000000000965374 [12:10:27]line ФД: 40757 [12:10:27]line ФПД: 161215065863756 [12:10:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121041&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40757&fm=161215065863756&tin=02508201610067®Number=0000000000098148&sum=20000 [12:10:27]OFD Sender: Processing packet 40757 [packets to send 4, broken 3] [12:10:27]ProducePacketName [12:10:27]name=ofd_packets/00040757 [12:10:27]OFD Sender: To server: ‡•öpG, [12:10:27]CommunicateWithHost lk.salyk.kg:30040 [12:10:27]ConnectInit lk.salyk.kg [12:10:27]written 0, free lines is 4095 [12:10:27]Connected sock=10 [12:10:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 B6 D7 08 01 29 44 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 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 50 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 19 00 00 00 F4 03 04 00 C1 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 35 9F 00 00 35 04 06 00 92 9F CE BB B6 4C A7 20 86 61 E7 4B 88 F2 [12:10:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 4F 64 47 00 32 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 35 9F 00 00 F4 03 04 00 A2 EA 15 67 B6 04 01 00 00 3A D2 9B 44 F4 9B 5B 5B [12:10:28]CommunicateWithHost err = 0 [12:10:28]CheckOFDResponse [12:10:28]1017 (14) - 77093643461234 [12:10:28]1041 (16) - 0000000000965374 [12:10:28]1040 (4) - 40757 [12:10:28]1012 (4) - 21.10.2024 05:46 [12:10:28]1206 (1) - 0 [12:10:28]OFD Sender: Remove packet 40757 [12:10:28]ProducePacketName [12:10:28]name=ofd_packets/00040757 [12:10:28]NVStorageDeleteData [12:10:28]Write to MH i2c: 01 00 00 2C 2A 56 [12:10:28]Write i2c OK [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: 01 [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: 01 07 00 [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: 01 07 00 2C 2A 00 00 00 00 00 F0 0C 59 [12:10:28]RasterBufferAndPrint [12:10:28]line [12:10:28]line [12:10:28]line [12:10:28]line [12:10:28]line [12:10:28]written 0, free lines is 3319 [12:10:28]MH_Cut [12:10:28]Write to MH i2c: D1 01 00 33 2A 01 2F [12:10:28]Write i2c OK [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: D1 [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: D1 01 00 [12:10:28]MH_I2C_Read... [12:10:28]Read from MH i2c: D1 01 00 33 2A 00 2E [12:10:28]Write to MH i2c: 01 00 00 34 2A 5E [12:10:28]Write i2c OK [12:10:28]MH_I2C_Read... [12:10:28]OFD Sender: No OFD packet to send [12:10:29]*** Cut start [12:10:29]*** Partial cut [12:10:29]*** CUTSNS_PIN = 1 [12:10:29]*** CUTSNS_PIN = 0 [12:10:29]*** Brake cut motor [12:10:29]Read from MH i2c: 01 [12:10:29]MH_I2C_Read... [12:10:29]*** Stop cut motor [12:10:29]*** Cut end [12:10:29]Read from MH i2c: 01 07 00 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: 01 07 00 34 2A 00 00 00 00 00 FF 0F 73 [12:10:29]process_action close_receipt done [12:10:29]requested_data is exist [12:10:29]produce_requested_data [12:10:29]requested_item fm.sn is exist - process it [12:10:29]wFMCommunicate request_size=4 [12:10:29]MH_SAM_APDU [12:10:29]CAPDU: 80 11 00 00 [12:10:29]Write to MH i2c: E2 08 00 35 2A 80 11 00 00 00 00 00 00 D9 [12:10:29]Write i2c OK [12:10:29]MH_I2C_Read... [12:10:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:29]Read from MH i2c: E2 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 17 00 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 17 00 35 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2E [12:10:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:10:29]wFMCommunicate OK [12:10:29]requested_item fd.num is exist - process it [12:10:29]SAM_PROTO_GetFieldsCounters [12:10:29]wFMCommunicate request_size=4 [12:10:29]MH_SAM_APDU [12:10:29]CAPDU: 80 13 00 00 [12:10:29]Write to MH i2c: E2 08 00 36 2A 80 13 00 00 00 00 00 00 DC [12:10:29]Write i2c OK [12:10:29]MH_I2C_Read... [12:10:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:29]Read from MH i2c: E2 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 62 00 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 62 00 36 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 35 9F 00 00 0E 04 04 00 C0 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 E4 [12:10:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 35 9F 00 00 0E 04 04 00 C0 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 [12:10:29]wFMCommunicate OK [12:10:29]SAM_PROTO_GetFieldsCounters done [12:10:29]requested_item shift.num is exist - process it [12:10:29]requested_item shift.opened is exist - process it [12:10:29]req_shift_opened [12:10:29]FM_GetShiftState [12:10:29]SAM_PROTO_GetShiftState [12:10:29]wFMCommunicate request_size=4 [12:10:29]MH_SAM_APDU [12:10:29]CAPDU: 80 13 01 00 [12:10:29]Write to MH i2c: E2 08 00 37 2A 80 13 01 00 00 00 00 00 DE [12:10:29]Write i2c OK [12:10:29]MH_I2C_Read... [12:10:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:29]Read from MH i2c: E2 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 0E 00 [12:10:29]MH_I2C_Read... [12:10:29]Read from MH i2c: E2 0E 00 37 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AC [12:10:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:10:29]wFMCommunicate OK [12:10:29]SAM_PROTO_GetShiftState done [12:10:29]FM_GetShiftState done [12:10:29]req_shift_opened done [12:10:29]requested_item shift.open_date is exist - process it [12:10:29]req_shift_open_date [12:10:29]req_shift_open_date done [12:10:29]produce_requested_data done [12:10:29]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40757,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:10:29]process_action_free close_receipt [12:10:29]json_value_free [12:10:29]json_value_free done [12:10:29]process_json_proto returns [12:10:29]Send response to host [12:10:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40757,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:10:29]free response buf [12:10:29]execute_script done [12:10:29]execute_script returns [12:10:29]free content buf [12:10:29]Sock 7.Close socket [12:10:29]Sock 7.Thread stoped [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:55]accept exits with 9 [12:10:55]New connection [12:10:55]New thread 3066887524 created [12:10:55]Thread 3067030884 joined [12:10:55]Waiting for new connection... [12:10:55] Sock 9.Parse request [12:10:55]Sock 9.Check first char [12:10:55]Sock 9.First char is OK [12:10:55]request: POST /json_proto HTTP/1.0 [12:10:55]Method: POST [12:10:55]URL: /json_proto [12:10:55]Method is POST - this is cgi request [12:10:55]url: /json_proto [12:10:55]query_string will be loaded in cgi processing [12:10:55]execute_cgi json_proto POST (null) [12:10:55]execute_cgi path=json_proto method=POST [12:10:55]POST find Content-Length [12:10:55]Host: 172.17.53.4:8080 [12:10:55]Content-Length: 674 [12:10:55]Content-Type: application/json [12:10:55] [12:10:55]POST finish read [12:10:55]Found Content-Length = 674 [12:10:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808732", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [12:10:55]execute_script... [12:10: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 : (1)808732", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [12:10:55]POST & json_proto [12:10:55]process_json_proto [12:10:55]json parsed OK: [12:10:55]protocol is kg_v1.0 [12:10:55]action value=close_receipt [12:10:55]process_action close_receipt [12:10:55]cmd_close_receipt [12:10:55]MH_GetDate [12:10:55]Write to MH i2c: F0 00 00 38 2A 51 [12:10:55]Write i2c OK [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: F0 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: F0 09 00 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: F0 09 00 38 2A 00 DF 44 16 67 05 11 DA 64 4E [12:10:55]GetLastDocTimeStamp 1729512641 [12:10:55]current date 1729512671 [12:10:55]FM_GetShiftState [12:10:55]SAM_PROTO_GetShiftState [12:10:55]wFMCommunicate request_size=4 [12:10:55]MH_SAM_APDU [12:10:55]CAPDU: 80 13 01 00 [12:10:55]Write to MH i2c: E2 08 00 39 2A 80 13 01 00 00 00 00 00 E0 [12:10:55]Write i2c OK [12:10:55]MH_I2C_Read... [12:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:55]Read from MH i2c: E2 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: E2 0E 00 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: E2 0E 00 39 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AE [12:10:55]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:10:55]wFMCommunicate OK [12:10:55]SAM_PROTO_GetShiftState done [12:10:55]FM_GetShiftState done [12:10:55]opened in 1729470630 [12:10:55]opened+sec_in_day 1729557030 [12:10:55]quantity*price = 50063 [12:10:55]sum+1 = 50064 [12:10:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.63 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.16 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 26 21.10.2024 12:11 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40758 ФПД: 146885132782171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121111&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40758&fm=146885132782171&tin=02508201610067®Number=0000000000098148&sum=50000 [12:10:56]StoreToDocumentArchive [12:10:56]shift 448 fd 40758 [12:10:56]save to /storage/0448/doc_00040758 [12:10:56]save last doc name /storage/0448/doc_00040758 to /storage/kkm_last_doc_name [12:10:56]save OK [12:10:56]Clear old archive folders... [12:10:56]ProcessDocumentItem done err = 0, tmpTLVsize=248 [12:10:56]tlvbuf is B6ED4F00 [12:10:56]SAM_PROTO_ClearQueue [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 09 00 00 [12:10:56]Write to MH i2c: E2 08 00 46 2A 80 09 00 00 00 00 00 00 E2 [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 46 2A 00 90 00 E4 [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]SAM_PROTO_ClearQueue done [12:10:56]KKMCreateOFDPacket [12:10:56]OFDProtocolAddRootSTLVToBuf [12:10:56]FM_MakeSignedData [12:10:56]FM_MakeSignedData [12:10:56]SAM_PROTO_SignData [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 01 02 [12:10:56]Write to MH i2c: E2 08 00 47 2A 80 0D 01 02 00 00 00 00 EA [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 47 2A 00 90 00 E5 [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]wFMCommunicate request_size=255 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 36 9F 00 00 35 04 06 00 85 97 5C 29 [12:10:56]Write to MH i2c: E2 02 01 48 2A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 36 9F 00 00 35 04 06 00 85 97 5C 29 00 00 EC [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:57]Read from MH i2c: E2 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 03 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 03 00 48 2A 00 90 00 E6 [12:10:57]RAPDU: 90 00 [12:10:57]wFMCommunicate OK [12:10:57]wFMCommunicate request_size=7 [12:10:57]MH_SAM_APDU [12:10:57]CAPDU: 80 0D 02 02 02 8A 5B [12:10:57]Write to MH i2c: E2 0A 00 49 2A 80 0D 02 02 02 00 8A 5B 00 00 D6 [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:57]Read from MH i2c: E2 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 03 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 03 00 49 2A 00 90 00 E7 [12:10:57]RAPDU: 90 00 [12:10:57]wFMCommunicate OK [12:10:57]wFMCommunicate request_size=4 [12:10:57]MH_SAM_APDU [12:10:57]CAPDU: 80 0D 03 02 [12:10:57]Write to MH i2c: E2 08 00 4A 2A 80 0D 03 02 00 00 00 00 EF [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:10:57]Read from MH i2c: E2 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 0B 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 0B 00 4A 2A 00 27 43 13 21 A1 94 4E CC 90 00 DD [12:10:57]RAPDU: 27 43 13 21 A1 94 4E CC 90 00 [12:10:57]wFMCommunicate OK [12:10:57]SAM_PROTO_SignData done [12:10:57]FM_MakeSignedData done [12:10:57]CreateOFDProtocolMessage [12:10:57]wFMCommunicate request_size=4 [12:10:57]MH_SAM_APDU [12:10:57]CAPDU: 80 11 00 00 [12:10:57]Write to MH i2c: E2 08 00 4B 2A 80 11 00 00 00 00 00 00 EF [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:57]Read from MH i2c: E2 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 17 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: E2 17 00 4B 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 44 [12:10:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:10:57]wFMCommunicate OK [12:10:57]CreateOFDProtocolMessage done [12:10:57]OFDSenderStorePacket 40758 [12:10:57]StoreOFDPacket docnum=40758 [12:10:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 4E 56 04 01 21 AA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 36 9F 00 00 35 04 06 00 85 97 5C 29 8A 5B 27 43 13 21 A1 94 4E CC [12:10:57]CheckFolder [12:10:57]dirname=/storage/ofd_packets [12:10:57]CheckFolder done [12:10:57]ProducePacketName [12:10:57]name=ofd_packets/00040758 [12:10:57]NVStorageSaveData ofd_packets/00040758 [12:10:57]File name is /storage/ofd_packets/00040758 [12:10:57]Write 298 bytes [12:10:57]NVStorageSaveData done [12:10:57]OFDSenderStorePacket done [12:10:57]KKMCreateOFDPacket done [12:10:57]NVStorageSaveData kkm_last_timestamp [12:10:57]File name is /storage/kkm_last_timestamp [12:10:57]Write 4 bytes [12:10:57]NVStorageSaveData done [12:10:57]ExternCall_PrintAddStr [12:10:57]wPrintStart [12:10:57]Write to MH i2c: 01 00 00 4C 2A 76 [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 07 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 07 00 4C 2A 00 00 00 00 00 FF 0F 8B [12:10:57]RasterBufferAndPrint [12:10:57]line Счет N : (1)808732 [12:10:57]line ИÐÐ: 02508201610067 [12:10:57]line Контрольно-КаÑÑовый Чек [12:10:57]line ПРОДÐЖР[12:10:57]line ТРК (МРК, ГÐК) : 41 [12:10:57]line Товар: 2710194210 [12:10:57]line ДТ-К-2 [12:10:57]line 6.570 * 76.20 [12:10:57]line = 500.63 [12:10:57]line ÐДС 12% ÐСП 1% [12:10:57]line > о реализуемом товаре [12:10:57]line ОКРУГЛЕÐИЕ: -0.63 [12:10:57]line ИТОГО: 500.00 [12:10:57]line ВнеÑено: 500.00 [12:10:57]line СДÐЧÐ: 0.00 [12:10:57]line ÐСП 1% : 4.43 [12:10:57]line ÐДС 12% : 53.16 [12:10:57]line Ðаличными: 500.00 [12:10:57]line Безнал.: 0.00 [12:10:57]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:10:57]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:10:57]line СÐО: Общий режим [12:10:57]line Чек 26 21.10.2024 12:11 [12:10:57]line Смена: 448 ФФД: 1.0 [12:10:57]line ЗÐМ: 0300000239 [12:10:57]line РÐМ: 0000000000098148 [12:10:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:10:57]line ФМ: 0000000000965374 [12:10:57]line ФД: 40758 [12:10:57]line ФПД: 146885132782171 [12:10:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121111&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40758&fm=146885132782171&tin=02508201610067®Number=0000000000098148&sum=50000 [12:10:57]OFD Sender: Processing packet 40758 [packets to send 4, broken 3] [12:10:57]ProducePacketName [12:10:57]name=ofd_packets/00040758 [12:10:57]OFD Sender: To server: ‡•öpG, [12:10:57]CommunicateWithHost lk.salyk.kg:30040 [12:10:57]ConnectInit lk.salyk.kg [12:10:57]written 0, free lines is 4095 [12:10:57]Connected sock=10 [12:10:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 4E 56 04 01 21 AA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 44 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 36 9F 00 00 35 04 06 00 85 97 5C 29 8A 5B 27 43 13 21 A1 94 4E CC [12:10:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 AE 45 47 00 BB 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 39 36 35 33 37 34 10 04 04 00 36 9F 00 00 F4 03 04 00 BF EA 15 67 B6 04 01 00 00 CB AA BA 95 8D 09 11 C9 [12:10:58]CommunicateWithHost err = 0 [12:10:58]CheckOFDResponse [12:10:58]1017 (14) - 77093643461234 [12:10:58]1041 (16) - 0000000000965374 [12:10:58]1040 (4) - 40758 [12:10:58]1012 (4) - 21.10.2024 05:46 [12:10:58]1206 (1) - 0 [12:10:58]OFD Sender: Remove packet 40758 [12:10:58]ProducePacketName [12:10:58]name=ofd_packets/00040758 [12:10:58]NVStorageDeleteData [12:10:58]Write to MH i2c: 01 00 00 77 2A A1 [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: 01 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: 01 07 00 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: 01 07 00 77 2A 00 00 00 00 00 E6 0C 9A [12:10:58]RasterBufferAndPrint [12:10:58]line [12:10:58]line [12:10:58]line [12:10:58]line [12:10:58]line [12:10:58]written 0, free lines is 3308 [12:10:58]MH_Cut [12:10:58]Write to MH i2c: D1 01 00 7E 2A 01 7A [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: D1 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: D1 01 00 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: D1 01 00 7E 2A 00 79 [12:10:58]Write to MH i2c: 01 00 00 7F 2A A9 [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:58]OFD Sender: No OFD packet to send [12:10:58]*** Cut start [12:10:58]*** Partial cut [12:10:58]*** CUTSNS_PIN = 1 [12:10:58]*** CUTSNS_PIN = 0 [12:10:59]*** Brake cut motor [12:10:59]Read from MH i2c: 01 [12:10:59]MH_I2C_Read... [12:10:59]*** Stop cut motor [12:10:59]*** Cut end [12:10:59]Read from MH i2c: 01 07 00 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: 01 07 00 7F 2A 00 00 00 00 00 FF 0F BE [12:10:59]process_action close_receipt done [12:10:59]requested_data is exist [12:10:59]produce_requested_data [12:10:59]requested_item fm.sn is exist - process it [12:10:59]wFMCommunicate request_size=4 [12:10:59]MH_SAM_APDU [12:10:59]CAPDU: 80 11 00 00 [12:10:59]Write to MH i2c: E2 08 00 80 2A 80 11 00 00 00 00 00 00 24 [12:10:59]Write i2c OK [12:10:59]MH_I2C_Read... [12:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:59]Read from MH i2c: E2 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 17 00 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 17 00 80 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 79 [12:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:10:59]wFMCommunicate OK [12:10:59]requested_item fd.num is exist - process it [12:10:59]SAM_PROTO_GetFieldsCounters [12:10:59]wFMCommunicate request_size=4 [12:10:59]MH_SAM_APDU [12:10:59]CAPDU: 80 13 00 00 [12:10:59]Write to MH i2c: E2 08 00 81 2A 80 13 00 00 00 00 00 00 27 [12:10:59]Write i2c OK [12:10:59]MH_I2C_Read... [12:10:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:59]Read from MH i2c: E2 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 62 00 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 62 00 81 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 36 9F 00 00 0E 04 04 00 C0 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 33 [12:10:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 36 9F 00 00 0E 04 04 00 C0 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:10:59]wFMCommunicate OK [12:10:59]SAM_PROTO_GetFieldsCounters done [12:10:59]requested_item shift.num is exist - process it [12:10:59]requested_item shift.opened is exist - process it [12:10:59]req_shift_opened [12:10:59]FM_GetShiftState [12:10:59]SAM_PROTO_GetShiftState [12:10:59]wFMCommunicate request_size=4 [12:10:59]MH_SAM_APDU [12:10:59]CAPDU: 80 13 01 00 [12:10:59]Write to MH i2c: E2 08 00 82 2A 80 13 01 00 00 00 00 00 29 [12:10:59]Write i2c OK [12:10:59]MH_I2C_Read... [12:10:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:59]Read from MH i2c: E2 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 0E 00 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 0E 00 82 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F7 [12:10:59]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:10:59]wFMCommunicate OK [12:10:59]SAM_PROTO_GetShiftState done [12:10:59]FM_GetShiftState done [12:10:59]req_shift_opened done [12:10:59]requested_item shift.open_date is exist - process it [12:10:59]req_shift_open_date [12:10:59]req_shift_open_date done [12:10:59]produce_requested_data done [12:10:59]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40758,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:10:59]process_action_free close_receipt [12:10:59]json_value_free [12:10:59]json_value_free done [12:10:59]process_json_proto returns [12:10:59]Send response to host [12:10:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40758,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:10:59]free response buf [12:10:59]execute_script done [12:10:59]execute_script returns [12:10:59]free content buf [12:10:59]Sock 9.Close socket [12:10:59]Sock 9.Thread stoped [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:44]accept exits with 7 [12:11:44]New connection [12:11:44]New thread 3067030884 created [12:11:44]Thread 3066887524 joined [12:11:44]Waiting for new connection... [12:11:44] Sock 7.Parse request [12:11:44]Sock 7.Check first char [12:11:44]Sock 7.First char is OK [12:11:44]request: POST /json_proto HTTP/1.0 [12:11:44]Method: POST [12:11:44]URL: /json_proto [12:11:44]Method is POST - this is cgi request [12:11:44]url: /json_proto [12:11:44]query_string will be loaded in cgi processing [12:11:44]execute_cgi json_proto POST (null) [12:11:44]execute_cgi path=json_proto method=POST [12:11:44]POST find Content-Length [12:11:44]Host: 172.17.53.4:8080 [12:11:44]Content-Length: 677 [12:11:44]Content-Type: application/json [12:11:44] [12:11:44]POST finish read [12:11:44]Found Content-Length = 677 [12:11:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808734", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 54", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 5.400, "sum" : 400.68, "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" ] } } [12:11:44]execute_script... [12:11: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 : (1)808734", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 54", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 5.400, "sum" : 400.68, "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" ] } } [12:11:44]POST & json_proto [12:11:44]process_json_proto [12:11:44]json parsed OK: [12:11:44]protocol is kg_v1.0 [12:11:44]action value=close_receipt [12:11:44]process_action close_receipt [12:11:44]cmd_close_receipt [12:11:44]MH_GetDate [12:11:44]Write to MH i2c: F0 00 00 83 2A 9C [12:11:44]Write i2c OK [12:11:44]MH_I2C_Read... [12:11:44]Read from MH i2c: F0 [12:11:44]MH_I2C_Read... [12:11:44]Read from MH i2c: F0 09 00 [12:11:44]MH_I2C_Read... [12:11:44]Read from MH i2c: F0 09 00 83 2A 00 10 45 16 67 05 11 DA 64 CB [12:11:44]GetLastDocTimeStamp 1729512671 [12:11:44]current date 1729512720 [12:11:44]FM_GetShiftState [12:11:44]SAM_PROTO_GetShiftState [12:11:44]wFMCommunicate request_size=4 [12:11:44]MH_SAM_APDU [12:11:44]CAPDU: 80 13 01 00 [12:11:44]Write to MH i2c: E2 08 00 84 2A 80 13 01 00 00 00 00 00 2B [12:11:44]Write i2c OK [12:11:44]MH_I2C_Read... [12:11:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:11:44]Read from MH i2c: E2 [12:11:44]MH_I2C_Read... [12:11:44]Read from MH i2c: E2 0E 00 [12:11:44]MH_I2C_Read... [12:11:44]Read from MH i2c: E2 0E 00 84 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F9 [12:11:44]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:11:44]wFMCommunicate OK [12:11:44]SAM_PROTO_GetShiftState done [12:11:44]FM_GetShiftState done [12:11:44]opened in 1729470630 [12:11:44]opened+sec_in_day 1729557030 [12:11:44]quantity*price = 40068 [12:11:44]sum+1 = 40069 [12:11:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.68 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.55 ÐДС 12% : 42.55 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 27 21.10.2024 12:12 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40759 ФПД: 59633121168156 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121200&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40759&fm=59633121168156&tin=02508201610067®Number=0000000000098148&sum=40000 [12:11:46]StoreToDocumentArchive [12:11:46]shift 448 fd 40759 [12:11:46]save to /storage/0448/doc_00040759 [12:11:46]save last doc name /storage/0448/doc_00040759 to /storage/kkm_last_doc_name [12:11:46]save OK [12:11:46]Clear old archive folders... [12:11:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:11:46]tlvbuf is 0104E730 [12:11:46]SAM_PROTO_ClearQueue [12:11:46]wFMCommunicate request_size=4 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 09 00 00 [12:11:46]Write to MH i2c: E2 08 00 91 2A 80 09 00 00 00 00 00 00 2D [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 91 2A 00 90 00 2F [12:11:46]RAPDU: 90 00 [12:11:46]wFMCommunicate OK [12:11:46]SAM_PROTO_ClearQueue done [12:11:46]KKMCreateOFDPacket [12:11:46]OFDProtocolAddRootSTLVToBuf [12:11:46]FM_MakeSignedData [12:11:46]FM_MakeSignedData [12:11:46]SAM_PROTO_SignData [12:11:46]wFMCommunicate request_size=4 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 0D 01 02 [12:11:46]Write to MH i2c: E2 08 00 92 2A 80 0D 01 02 00 00 00 00 35 [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 92 2A 00 90 00 30 [12:11:46]RAPDU: 90 00 [12:11:46]wFMCommunicate OK [12:11:46]wFMCommunicate request_size=255 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 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 1B 00 00 00 F4 03 04 00 10 45 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 37 9F 00 00 35 04 06 00 36 [12:11:46]Write to MH i2c: E2 02 01 93 2A 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 33 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 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 1B 00 00 00 F4 03 04 00 10 45 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 37 9F 00 00 35 04 06 00 36 00 00 32 [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 93 2A 00 90 00 31 [12:11:46]RAPDU: 90 00 [12:11:46]wFMCommunicate OK [12:11:46]wFMCommunicate request_size=10 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 0D 02 02 05 3C 6B 01 0B 1C [12:11:46]Write to MH i2c: E2 0D 00 94 2A 80 0D 02 02 05 00 3C 6B 01 0B 1C 00 00 11 [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 03 00 94 2A 00 90 00 32 [12:11:46]RAPDU: 90 00 [12:11:46]wFMCommunicate OK [12:11:46]wFMCommunicate request_size=4 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 0D 03 02 [12:11:46]Write to MH i2c: E2 08 00 95 2A 80 0D 03 02 00 00 00 00 3A [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 0B 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 0B 00 95 2A 00 0D 78 9D A7 F1 B0 CA EE 90 00 5D [12:11:46]RAPDU: 0D 78 9D A7 F1 B0 CA EE 90 00 [12:11:46]wFMCommunicate OK [12:11:46]SAM_PROTO_SignData done [12:11:46]FM_MakeSignedData done [12:11:46]CreateOFDProtocolMessage [12:11:46]wFMCommunicate request_size=4 [12:11:46]MH_SAM_APDU [12:11:46]CAPDU: 80 11 00 00 [12:11:46]Write to MH i2c: E2 08 00 96 2A 80 11 00 00 00 00 00 00 3A [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:11:46]Read from MH i2c: E2 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 17 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: E2 17 00 96 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8F [12:11:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:11:46]wFMCommunicate OK [12:11:46]CreateOFDProtocolMessage done [12:11:46]OFDSenderStorePacket 40759 [12:11:46]StoreOFDPacket docnum=40759 [12:11:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CD 9B 07 01 60 FD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 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 1B 00 00 00 F4 03 04 00 10 45 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 37 9F 00 00 35 04 06 00 36 3C 6B 01 0B 1C 0D 78 9D A7 F1 B0 CA EE [12:11:46]CheckFolder [12:11:46]dirname=/storage/ofd_packets [12:11:46]CheckFolder done [12:11:46]ProducePacketName [12:11:46]name=ofd_packets/00040759 [12:11:46]NVStorageSaveData ofd_packets/00040759 [12:11:46]File name is /storage/ofd_packets/00040759 [12:11:46]Write 301 bytes [12:11:46]NVStorageSaveData done [12:11:46]OFDSenderStorePacket done [12:11:46]KKMCreateOFDPacket done [12:11:46]NVStorageSaveData kkm_last_timestamp [12:11:46]File name is /storage/kkm_last_timestamp [12:11:46]Write 4 bytes [12:11:46]NVStorageSaveData done [12:11:46]ExternCall_PrintAddStr [12:11:46]wPrintStart [12:11:46]Write to MH i2c: 01 00 00 97 2A C1 [12:11:46]Write i2c OK [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: 01 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: 01 07 00 [12:11:46]MH_I2C_Read... [12:11:46]Read from MH i2c: 01 07 00 97 2A 00 00 00 00 00 FF 0F D6 [12:11:46]RasterBufferAndPrint [12:11:46]line Счет N : (1)808734 [12:11:46]line ИÐÐ: 02508201610067 [12:11:46]line Контрольно-КаÑÑовый Чек [12:11:46]line ПРОДÐЖР[12:11:46]line ТРК (МРК, ГÐК) : 54 [12:11:46]line Товар: 2710124500 [12:11:46]line Ðи-95-К-3 [12:11:46]line 5.400 * 74.20 [12:11:46]line = 400.68 [12:11:46]line ÐДС 12% ÐСП 1% [12:11:46]line > о реализуемом товаре [12:11:46]line ОКРУГЛЕÐИЕ: -0.68 [12:11:46]line ИТОГО: 400.00 [12:11:46]line ВнеÑено: 400.00 [12:11:46]line СДÐЧÐ: 0.00 [12:11:46]line ÐСП 1% : 3.55 [12:11:46]line ÐДС 12% : 42.55 [12:11:46]line Ðаличными: 400.00 [12:11:46]line Безнал.: 0.00 [12:11:46]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:11:46]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:11:46]line СÐО: Общий режим [12:11:46]line Чек 27 21.10.2024 12:12 [12:11:46]line Смена: 448 ФФД: 1.0 [12:11:46]line ЗÐМ: 0300000239 [12:11:46]line РÐМ: 0000000000098148 [12:11:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:11:46]line ФМ: 0000000000965374 [12:11:46]line ФД: 40759 [12:11:46]line ФПД: 59633121168156 [12:11:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121200&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40759&fm=59633121168156&tin=02508201610067®Number=0000000000098148&sum=40000 [12:11:46]written 0, free lines is 4095 [12:11:46]OFD Sender: Processing packet 40759 [packets to send 4, broken 3] [12:11:46]ProducePacketName [12:11:46]name=ofd_packets/00040759 [12:11:46]OFD Sender: To server: ‡•öpG, [12:11:46]CommunicateWithHost lk.salyk.kg:30040 [12:11:46]ConnectInit lk.salyk.kg [12:11:47]Connected sock=10 [12:11:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CD 9B 07 01 60 FD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 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 1B 00 00 00 F4 03 04 00 10 45 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 37 9F 00 00 35 04 06 00 36 3C 6B 01 0B 1C 0D 78 9D A7 F1 B0 CA EE [12:11:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 2E 18 47 00 28 BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 37 9F 00 00 F4 03 04 00 F1 EA 15 67 B6 04 01 00 00 7D 19 82 1B CE 48 49 E9 [12:11:47]CommunicateWithHost err = 0 [12:11:47]CheckOFDResponse [12:11:47]1017 (14) - 77093643461234 [12:11:47]1041 (16) - 0000000000965374 [12:11:47]1040 (4) - 40759 [12:11:47]1012 (4) - 21.10.2024 05:47 [12:11:47]1206 (1) - 0 [12:11:47]OFD Sender: Remove packet 40759 [12:11:47]ProducePacketName [12:11:47]name=ofd_packets/00040759 [12:11:47]NVStorageDeleteData [12:11:47]Write to MH i2c: 01 00 00 C2 2A EC [12:11:47]Write i2c OK [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: 01 [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: 01 07 00 [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: 01 07 00 C2 2A 00 00 00 00 00 F0 0C EF [12:11:47]RasterBufferAndPrint [12:11:47]line [12:11:47]line [12:11:47]line [12:11:47]line [12:11:47]line [12:11:47]written 0, free lines is 3318 [12:11:47]MH_Cut [12:11:47]Write to MH i2c: D1 01 00 C9 2A 01 C5 [12:11:47]Write i2c OK [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: D1 [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: D1 01 00 [12:11:47]MH_I2C_Read... [12:11:47]Read from MH i2c: D1 01 00 C9 2A 00 C4 [12:11:47]Write to MH i2c: 01 00 00 CA 2A F4 [12:11:47]Write i2c OK [12:11:47]MH_I2C_Read... [12:11:47]OFD Sender: No OFD packet to send [12:11:48]*** Cut start [12:11:48]*** Partial cut [12:11:48]*** CUTSNS_PIN = 1 [12:11:48]*** CUTSNS_PIN = 0 [12:11:48]*** Brake cut motor [12:11:48]Read from MH i2c: 01 [12:11:48]MH_I2C_Read... [12:11:48]*** Stop cut motor [12:11:48]*** Cut end [12:11:48]Read from MH i2c: 01 07 00 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: 01 07 00 CA 2A 00 00 00 00 00 FF 0F 09 [12:11:48]process_action close_receipt done [12:11:48]requested_data is exist [12:11:48]produce_requested_data [12:11:48]requested_item fm.sn is exist - process it [12:11:48]wFMCommunicate request_size=4 [12:11:48]MH_SAM_APDU [12:11:48]CAPDU: 80 11 00 00 [12:11:48]Write to MH i2c: E2 08 00 CB 2A 80 11 00 00 00 00 00 00 6F [12:11:48]Write i2c OK [12:11:48]MH_I2C_Read... [12:11:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:11:48]Read from MH i2c: E2 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 17 00 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 17 00 CB 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C4 [12:11:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:11:48]wFMCommunicate OK [12:11:48]requested_item fd.num is exist - process it [12:11:48]SAM_PROTO_GetFieldsCounters [12:11:48]wFMCommunicate request_size=4 [12:11:48]MH_SAM_APDU [12:11:48]CAPDU: 80 13 00 00 [12:11:48]Write to MH i2c: E2 08 00 CC 2A 80 13 00 00 00 00 00 00 72 [12:11:48]Write i2c OK [12:11:48]MH_I2C_Read... [12:11:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:11:48]Read from MH i2c: E2 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 62 00 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 62 00 CC 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 37 9F 00 00 0E 04 04 00 C0 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 82 [12:11:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 37 9F 00 00 0E 04 04 00 C0 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:11:48]wFMCommunicate OK [12:11:48]SAM_PROTO_GetFieldsCounters done [12:11:48]requested_item shift.num is exist - process it [12:11:48]requested_item shift.opened is exist - process it [12:11:48]req_shift_opened [12:11:48]FM_GetShiftState [12:11:48]SAM_PROTO_GetShiftState [12:11:48]wFMCommunicate request_size=4 [12:11:48]MH_SAM_APDU [12:11:48]CAPDU: 80 13 01 00 [12:11:48]Write to MH i2c: E2 08 00 CD 2A 80 13 01 00 00 00 00 00 74 [12:11:48]Write i2c OK [12:11:48]MH_I2C_Read... [12:11:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:11:48]Read from MH i2c: E2 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 0E 00 [12:11:48]MH_I2C_Read... [12:11:48]Read from MH i2c: E2 0E 00 CD 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 42 [12:11:48]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:11:48]wFMCommunicate OK [12:11:48]SAM_PROTO_GetShiftState done [12:11:48]FM_GetShiftState done [12:11:48]req_shift_opened done [12:11:48]requested_item shift.open_date is exist - process it [12:11:48]req_shift_open_date [12:11:48]req_shift_open_date done [12:11:48]produce_requested_data done [12:11:48]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40759,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:11:48]process_action_free close_receipt [12:11:48]json_value_free [12:11:48]json_value_free done [12:11:48]process_json_proto returns [12:11:48]Send response to host [12:11:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40759,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:11:48]free response buf [12:11:48]execute_script done [12:11:48]execute_script returns [12:11:48]free content buf [12:11:48]Sock 7.Close socket [12:11:48]Sock 7.Thread stoped [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17: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:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35: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:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:17]accept exits with 9 [12:51:17]New connection [12:51:17]New thread 3066887524 created [12:51:17]Thread 3067030884 joined [12:51:17]Waiting for new connection... [12:51:17] Sock 9.Parse request [12:51:17]Sock 9.Check first char [12:51:17]Sock 9.First char is OK [12:51:17]request: POST /json_proto HTTP/1.0 [12:51:17]Method: POST [12:51:17]URL: /json_proto [12:51:17]Method is POST - this is cgi request [12:51:17]url: /json_proto [12:51:17]query_string will be loaded in cgi processing [12:51:17]execute_cgi json_proto POST (null) [12:51:17]execute_cgi path=json_proto method=POST [12:51:17]POST find Content-Length [12:51:17]Host: 172.17.53.4:8080 [12:51:17]Content-Length: 841 [12:51:17]Content-Type: application/json [12:51:17] [12:51:17]POST finish read [12:51:17]Found Content-Length = 841 [12:51:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 122.040, "sum" : 9299.45, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 9299.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:51:17]execute_script... [12:51:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808759", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 122.040, "sum" : 9299.45, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 9299.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:51:17]POST & json_proto [12:51:17]process_json_proto [12:51:17]json parsed OK: [12:51:17]protocol is kg_v1.0 [12:51:17]action value=close_receipt [12:51:17]process_action close_receipt [12:51:17]cmd_close_receipt [12:51:17]MH_GetDate [12:51:17]Write to MH i2c: F0 00 00 CE 2A E7 [12:51:17]Write i2c OK [12:51:17]MH_I2C_Read... [12:51:17]Read from MH i2c: F0 [12:51:17]MH_I2C_Read... [12:51:17]Read from MH i2c: F0 09 00 [12:51:17]MH_I2C_Read... [12:51:17]Read from MH i2c: F0 09 00 CE 2A 00 54 4E 16 67 05 11 DA 64 63 [12:51:17]GetLastDocTimeStamp 1729512720 [12:51:17]current date 1729515092 [12:51:17]FM_GetShiftState [12:51:17]SAM_PROTO_GetShiftState [12:51:17]wFMCommunicate request_size=4 [12:51:17]MH_SAM_APDU [12:51:17]CAPDU: 80 13 01 00 [12:51:17]Write to MH i2c: E2 08 00 CF 2A 80 13 01 00 00 00 00 00 76 [12:51:17]Write i2c OK [12:51:17]MH_I2C_Read... [12:51:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:51:17]Read from MH i2c: E2 [12:51:17]MH_I2C_Read... [12:51:17]Read from MH i2c: E2 0E 00 [12:51:17]MH_I2C_Read... [12:51:17]Read from MH i2c: E2 0E 00 CF 2A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 44 [12:51:17]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:51:17]wFMCommunicate OK [12:51:17]SAM_PROTO_GetShiftState done [12:51:17]FM_GetShiftState done [12:51:17]opened in 1729470630 [12:51:17]opened+sec_in_day 1729557030 [12:51:17]quantity*price = 929944 [12:51:17]sum+1 = 929946 [12:51:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 9299.45 ÐСП 1% : 82.30 ÐДС 12% : 987.55 Ðаличными: 0.00 Безнал.: 9299.45 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 28 21.10.2024 12:51 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40760 ФПД: 225410468263535 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125133&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40760&fm=225410468263535&tin=02508201610067®Number=0000000000098148&sum=929945 [12:51:18]StoreToDocumentArchive [12:51:18]shift 448 fd 40760 [12:51:18]save to /storage/0448/doc_00040760 [12:51:18]save last doc name /storage/0448/doc_00040760 to /storage/kkm_last_doc_name [12:51:18]save OK [12:51:18]Clear old archive folders... [12:51:18]ProcessDocumentItem done err = 0, tmpTLVsize=248 [12:51:18]tlvbuf is 010621E0 [12:51:18]SAM_PROTO_ClearQueue [12:51:18]wFMCommunicate request_size=4 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 09 00 00 [12:51:18]Write to MH i2c: E2 08 00 DC 2A 80 09 00 00 00 00 00 00 78 [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 DC 2A 00 90 00 7A [12:51:18]RAPDU: 90 00 [12:51:18]wFMCommunicate OK [12:51:18]SAM_PROTO_ClearQueue done [12:51:18]KKMCreateOFDPacket [12:51:18]OFDProtocolAddRootSTLVToBuf [12:51:18]FM_MakeSignedData [12:51:18]FM_MakeSignedData [12:51:18]SAM_PROTO_SignData [12:51:18]wFMCommunicate request_size=4 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 0D 01 02 [12:51:18]Write to MH i2c: E2 08 00 DD 2A 80 0D 01 02 00 00 00 00 80 [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 DD 2A 00 90 00 7B [12:51:18]RAPDU: 90 00 [12:51:18]wFMCommunicate OK [12:51:18]wFMCommunicate request_size=255 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 B8 DC 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 99 30 0E 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 99 30 0E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 20 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 81 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 99 30 0E 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 38 9F 00 00 35 04 06 00 CD 02 76 E3 [12:51:18]Write to MH i2c: E2 02 01 DE 2A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 B8 DC 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 99 30 0E 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 99 30 0E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 20 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 81 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 99 30 0E 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 38 9F 00 00 35 04 06 00 CD 02 76 E3 00 00 63 [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 DE 2A 00 90 00 7C [12:51:18]RAPDU: 90 00 [12:51:18]wFMCommunicate OK [12:51:18]wFMCommunicate request_size=7 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 0D 02 02 02 B6 6F [12:51:18]Write to MH i2c: E2 0A 00 DF 2A 80 0D 02 02 02 00 B6 6F 00 00 AC [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 03 00 DF 2A 00 90 00 7D [12:51:18]RAPDU: 90 00 [12:51:18]wFMCommunicate OK [12:51:18]wFMCommunicate request_size=4 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 0D 03 02 [12:51:18]Write to MH i2c: E2 08 00 E0 2A 80 0D 03 02 00 00 00 00 85 [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 0B 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 0B 00 E0 2A 00 64 C8 F1 B4 4A 6E 64 97 90 00 0A [12:51:18]RAPDU: 64 C8 F1 B4 4A 6E 64 97 90 00 [12:51:18]wFMCommunicate OK [12:51:18]SAM_PROTO_SignData done [12:51:18]FM_MakeSignedData done [12:51:18]CreateOFDProtocolMessage [12:51:18]wFMCommunicate request_size=4 [12:51:18]MH_SAM_APDU [12:51:18]CAPDU: 80 11 00 00 [12:51:18]Write to MH i2c: E2 08 00 E1 2A 80 11 00 00 00 00 00 00 85 [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:51:18]Read from MH i2c: E2 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 17 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: E2 17 00 E1 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DA [12:51:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:51:18]wFMCommunicate OK [12:51:18]CreateOFDProtocolMessage done [12:51:18]OFDSenderStorePacket 40760 [12:51:18]StoreOFDPacket docnum=40760 [12:51:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 BF 31 04 01 C3 DA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 B8 DC 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 99 30 0E 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 99 30 0E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 20 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 81 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 99 30 0E 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 38 9F 00 00 35 04 06 00 CD 02 76 E3 B6 6F 64 C8 F1 B4 4A 6E 64 97 [12:51:18]CheckFolder [12:51:18]dirname=/storage/ofd_packets [12:51:18]CheckFolder done [12:51:18]ProducePacketName [12:51:18]name=ofd_packets/00040760 [12:51:18]NVStorageSaveData ofd_packets/00040760 [12:51:18]File name is /storage/ofd_packets/00040760 [12:51:18]Write 298 bytes [12:51:18]NVStorageSaveData done [12:51:18]OFDSenderStorePacket done [12:51:18]KKMCreateOFDPacket done [12:51:18]NVStorageSaveData kkm_last_timestamp [12:51:18]File name is /storage/kkm_last_timestamp [12:51:18]Write 4 bytes [12:51:18]NVStorageSaveData done [12:51:18]ExternCall_PrintAddStr [12:51:18]wPrintStart [12:51:18]Write to MH i2c: 01 00 00 E2 2A 0C [12:51:18]Write i2c OK [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: 01 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: 01 07 00 [12:51:18]MH_I2C_Read... [12:51:18]Read from MH i2c: 01 07 00 E2 2A 00 00 00 00 00 FF 0F 21 [12:51:18]RasterBufferAndPrint [12:51:18]line Счет N : (1)808759 [12:51:18]line ИÐÐ: 02508201610067 [12:51:18]line Контрольно-КаÑÑовый Чек [12:51:18]line ПРОДÐЖР[12:51:18]line ТРК (МРК, ГÐК) : 41 [12:51:18]line Товар: 2710194210 [12:51:18]line ДТ-К-2 [12:51:18]line 122.040 * 76.20 [12:51:18]line = 9299.45 [12:51:18]line ÐДС 12% ÐСП 1% [12:51:18]line > о реализуемом товаре [12:51:18]line ИТОГО: 9299.45 [12:51:18]line ÐСП 1% : 82.30 [12:51:18]line ÐДС 12% : 987.55 [12:51:18]line Ðаличными: 0.00 [12:51:18]line Безнал.: 9299.45 [12:51:18]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:51:18]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:51:18]line СÐО: Общий режим [12:51:18]line Чек 28 21.10.2024 12:51 [12:51:18]line Смена: 448 ФФД: 1.0 [12:51:18]line ЗÐМ: 0300000239 [12:51:18]line РÐМ: 0000000000098148 [12:51:18]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:51:18]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [12:51:18]line ФМ: 0000000000965374 [12:51:18]line ФД: 40760 [12:51:18]line ФПД: 225410468263535 [12:51:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125133&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40760&fm=225410468263535&tin=02508201610067®Number=0000000000098148&sum=929945 [12:51:19]OFD Sender: Processing packet 40760 [packets to send 4, broken 3] [12:51:19]ProducePacketName [12:51:19]name=ofd_packets/00040760 [12:51:19]OFD Sender: To server: ‡•öpG, [12:51:19]CommunicateWithHost lk.salyk.kg:30040 [12:51:19]ConnectInit lk.salyk.kg [12:51:19]written 0, free lines is 4095 [12:51:19]Connected sock=11 [12:51:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 BF 31 04 01 C3 DA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 B8 DC 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 99 30 0E 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 99 30 0E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 20 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 81 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 99 30 0E 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 38 9F 00 00 35 04 06 00 CD 02 76 E3 B6 6F 64 C8 F1 B4 4A 6E 64 97 [12:51:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 76 BF 47 00 40 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 38 9F 00 00 F4 03 04 00 35 F4 15 67 B6 04 01 00 00 D0 9A D7 3A BF FC A8 83 [12:51:19]CommunicateWithHost err = 0 [12:51:19]CheckOFDResponse [12:51:19]1017 (14) - 77093643461234 [12:51:19]1041 (16) - 0000000000965374 [12:51:19]1040 (4) - 40760 [12:51:19]1012 (4) - 21.10.2024 06:27 [12:51:19]1206 (1) - 0 [12:51:19]OFD Sender: Remove packet 40760 [12:51:19]ProducePacketName [12:51:19]name=ofd_packets/00040760 [12:51:19]NVStorageDeleteData [12:51:19]Write to MH i2c: 01 00 00 0C 2B 37 [12:51:19]Write i2c OK [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: 01 [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: 01 07 00 [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: 01 07 00 0C 2B 00 00 00 00 00 03 0D 4E [12:51:19]RasterBufferAndPrint [12:51:19]line [12:51:19]line [12:51:19]line [12:51:19]line [12:51:19]line [12:51:19]written 0, free lines is 3337 [12:51:19]MH_Cut [12:51:19]Write to MH i2c: D1 01 00 13 2B 01 10 [12:51:19]Write i2c OK [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: D1 [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: D1 01 00 [12:51:19]MH_I2C_Read... [12:51:19]Read from MH i2c: D1 01 00 13 2B 00 0F [12:51:19]Write to MH i2c: 01 00 00 14 2B 3F [12:51:19]Write i2c OK [12:51:19]MH_I2C_Read... [12:51:19]OFD Sender: No OFD packet to send [12:51:20]*** Cut start [12:51:20]*** Partial cut [12:51:20]*** CUTSNS_PIN = 1 [12:51:20]*** CUTSNS_PIN = 0 [12:51:20]*** Brake cut motor [12:51:20]Read from MH i2c: 01 [12:51:20]MH_I2C_Read... [12:51:20]*** Stop cut motor [12:51:20]*** Cut end [12:51:20]Read from MH i2c: 01 07 00 [12:51:20]MH_I2C_Read... [12:51:20]Read from MH i2c: 01 07 00 14 2B 00 00 00 00 00 FF 0F 54 [12:51:20]process_action close_receipt done [12:51:20]requested_data is exist [12:51:20]produce_requested_data [12:51:20]requested_item fm.sn is exist - process it [12:51:20]wFMCommunicate request_size=4 [12:51:20]MH_SAM_APDU [12:51:20]CAPDU: 80 11 00 00 [12:51:20]Write to MH i2c: E2 08 00 15 2B 80 11 00 00 00 00 00 00 BA [12:51:20]Write i2c OK [12:51:20]MH_I2C_Read... [12:51:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:51:20]Read from MH i2c: E2 [12:51:20]MH_I2C_Read... [12:51:20]Read from MH i2c: E2 17 00 [12:51:20]MH_I2C_Read... [12:51:20]Read from MH i2c: E2 17 00 15 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0F [12:51:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:51:20]wFMCommunicate OK [12:51:20]requested_item fd.num is exist - process it [12:51:20]SAM_PROTO_GetFieldsCounters [12:51:20]wFMCommunicate request_size=4 [12:51:20]MH_SAM_APDU [12:51:20]CAPDU: 80 13 00 00 [12:51:20]Write to MH i2c: E2 08 00 16 2B 80 13 00 00 00 00 00 00 BD [12:51:20]Write i2c OK [12:51:20]MH_I2C_Read... [12:51:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:51:20]Read from MH i2c: E2 [12:51:20]MH_I2C_Read... [12:51:20]Read from MH i2c: E2 62 00 [12:51:20]MH_I2C_Read... [12:51:20]Read from MH i2c: E2 62 00 16 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 38 9F 00 00 0E 04 04 00 C0 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 D1 [12:51:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 38 9F 00 00 0E 04 04 00 C0 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:51:20]wFMCommunicate OK [12:51:20]SAM_PROTO_GetFieldsCounters done [12:51:20]requested_item shift.num is exist - process it [12:51:20]requested_item shift.opened is exist - process it [12:51:20]req_shift_opened [12:51:20]FM_GetShiftState [12:51:20]SAM_PROTO_GetShiftState [12:51:20]wFMCommunicate request_size=4 [12:51:20]MH_SAM_APDU [12:51:20]CAPDU: 80 13 01 00 [12:51:20]Write to MH i2c: E2 08 00 17 2B 80 13 01 00 00 00 00 00 BF [12:51:20]Write i2c OK [12:51:20]MH_I2C_Read... [12:51:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:51:21]Read from MH i2c: E2 [12:51:21]MH_I2C_Read... [12:51:21]Read from MH i2c: E2 0E 00 [12:51:21]MH_I2C_Read... [12:51:21]Read from MH i2c: E2 0E 00 17 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8D [12:51:21]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:51:21]wFMCommunicate OK [12:51:21]SAM_PROTO_GetShiftState done [12:51:21]FM_GetShiftState done [12:51:21]req_shift_opened done [12:51:21]requested_item shift.open_date is exist - process it [12:51:21]req_shift_open_date [12:51:21]req_shift_open_date done [12:51:21]produce_requested_data done [12:51:21]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40760,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:51:21]process_action_free close_receipt [12:51:21]json_value_free [12:51:21]json_value_free done [12:51:21]process_json_proto returns [12:51:21]Send response to host [12:51:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40760,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:51:21]free response buf [12:51:21]execute_script done [12:51:21]execute_script returns [12:51:21]free content buf [12:51:21]Sock 9.Close socket [12:51:21]Sock 9.Thread stoped [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:06]accept exits with 7 [12:54:06]New connection [12:54:06]New thread 3067030884 created [12:54:06]Thread 3066887524 joined [12:54:06]Waiting for new connection... [12:54:06] Sock 7.Parse request [12:54:06]Sock 7.Check first char [12:54:06]Sock 7.First char is OK [12:54:06]request: POST /json_proto HTTP/1.0 [12:54:06]Method: POST [12:54:06]URL: /json_proto [12:54:06]Method is POST - this is cgi request [12:54:06]url: /json_proto [12:54:06]query_string will be loaded in cgi processing [12:54:06]execute_cgi json_proto POST (null) [12:54:06]execute_cgi path=json_proto method=POST [12:54:06]POST find Content-Length [12:54:06]Host: 172.17.53.4:8080 [12:54:06]Content-Length: 840 [12:54:06]Content-Type: application/json [12:54:06] [12:54:06]POST finish read [12:54:06]Found Content-Length = 840 [12:54:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808766", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 17.070, "sum" : 1300.73, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1300.73 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:54:06]execute_script... [12:54: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)808766", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 17.070, "sum" : 1300.73, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1300.73 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:54:06]POST & json_proto [12:54:06]process_json_proto [12:54:06]json parsed OK: [12:54:06]protocol is kg_v1.0 [12:54:06]action value=close_receipt [12:54:06]process_action close_receipt [12:54:06]cmd_close_receipt [12:54:06]MH_GetDate [12:54:06]Write to MH i2c: F0 00 00 18 2B 32 [12:54:06]Write i2c OK [12:54:06]MH_I2C_Read... [12:54:06]Read from MH i2c: F0 [12:54:06]MH_I2C_Read... [12:54:06]Read from MH i2c: F0 09 00 [12:54:06]MH_I2C_Read... [12:54:06]Read from MH i2c: F0 09 00 18 2B 00 FE 4E 16 67 05 11 DA 64 58 [12:54:06]GetLastDocTimeStamp 1729515093 [12:54:06]current date 1729515262 [12:54:06]FM_GetShiftState [12:54:06]SAM_PROTO_GetShiftState [12:54:06]wFMCommunicate request_size=4 [12:54:06]MH_SAM_APDU [12:54:06]CAPDU: 80 13 01 00 [12:54:06]Write to MH i2c: E2 08 00 19 2B 80 13 01 00 00 00 00 00 C1 [12:54:06]Write i2c OK [12:54:06]MH_I2C_Read... [12:54:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:54:06]Read from MH i2c: E2 [12:54:06]MH_I2C_Read... [12:54:06]Read from MH i2c: E2 0E 00 [12:54:06]MH_I2C_Read... [12:54:06]Read from MH i2c: E2 0E 00 19 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8F [12:54:06]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:54:06]wFMCommunicate OK [12:54:06]SAM_PROTO_GetShiftState done [12:54:06]FM_GetShiftState done [12:54:06]opened in 1729470630 [12:54:06]opened+sec_in_day 1729557030 [12:54:06]quantity*price = 130073 [12:54:06]sum+1 = 130074 [12:54:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1300.73 ÐСП 1% : 11.51 ÐДС 12% : 138.13 Ðаличными: 0.00 Безнал.: 1300.73 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 29 21.10.2024 12:54 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40761 ФПД: 213186992310954 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125422&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40761&fm=213186992310954&tin=02508201610067®Number=0000000000098148&sum=130073 [12:54:07]StoreToDocumentArchive [12:54:07]shift 448 fd 40761 [12:54:07]save to /storage/0448/doc_00040761 [12:54:07]save last doc name /storage/0448/doc_00040761 to /storage/kkm_last_doc_name [12:54:07]save OK [12:54:07]Clear old archive folders... [12:54:07]ProcessDocumentItem done err = 0, tmpTLVsize=248 [12:54:07]tlvbuf is B6F6BB30 [12:54:07]SAM_PROTO_ClearQueue [12:54:07]wFMCommunicate request_size=4 [12:54:07]MH_SAM_APDU [12:54:07]CAPDU: 80 09 00 00 [12:54:07]Write to MH i2c: E2 08 00 26 2B 80 09 00 00 00 00 00 00 C3 [12:54:07]Write i2c OK [12:54:07]MH_I2C_Read... [12:54:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:54:07]Read from MH i2c: E2 [12:54:07]MH_I2C_Read... [12:54:07]Read from MH i2c: E2 03 00 [12:54:07]MH_I2C_Read... [12:54:07]Read from MH i2c: E2 03 00 26 2B 00 90 00 C5 [12:54:07]RAPDU: 90 00 [12:54:07]wFMCommunicate OK [12:54:07]SAM_PROTO_ClearQueue done [12:54:07]KKMCreateOFDPacket [12:54:07]OFDProtocolAddRootSTLVToBuf [12:54:07]FM_MakeSignedData [12:54:07]FM_MakeSignedData [12:54:07]SAM_PROTO_SignData [12:54:07]wFMCommunicate request_size=4 [12:54:07]MH_SAM_APDU [12:54:07]CAPDU: 80 0D 01 02 [12:54:07]Write to MH i2c: E2 08 00 27 2B 80 0D 01 02 00 00 00 00 CB [12:54:07]Write i2c OK [12:54:07]MH_I2C_Read... [12:54:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:54:07]Read from MH i2c: E2 [12:54:07]MH_I2C_Read... [12:54:07]Read from MH i2c: E2 03 00 [12:54:07]MH_I2C_Read... [12:54:07]Read from MH i2c: E2 03 00 27 2B 00 90 00 C6 [12:54:07]RAPDU: 90 00 [12:54:07]wFMCommunicate OK [12:54:07]wFMCommunicate request_size=255 [12:54:07]MH_SAM_APDU [12:54:07]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 FC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 FC 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FE 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 39 9F 00 00 35 04 06 00 C1 E4 76 F2 [12:54:07]Write to MH i2c: E2 02 01 28 2B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 FC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 FC 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FE 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 39 9F 00 00 35 04 06 00 C1 E4 76 F2 00 00 78 [12:54:07]Write i2c OK [12:54:07]MH_I2C_Read... [12:54:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:54:08]Read from MH i2c: E2 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 03 00 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 03 00 28 2B 00 90 00 C7 [12:54:08]RAPDU: 90 00 [12:54:08]wFMCommunicate OK [12:54:08]wFMCommunicate request_size=7 [12:54:08]MH_SAM_APDU [12:54:08]CAPDU: 80 0D 02 02 02 8A AA [12:54:08]Write to MH i2c: E2 0A 00 29 2B 80 0D 02 02 02 00 8A AA 00 00 06 [12:54:08]Write i2c OK [12:54:08]MH_I2C_Read... [12:54:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:54:08]Read from MH i2c: E2 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 03 00 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 03 00 29 2B 00 90 00 C8 [12:54:08]RAPDU: 90 00 [12:54:08]wFMCommunicate OK [12:54:08]wFMCommunicate request_size=4 [12:54:08]MH_SAM_APDU [12:54:08]CAPDU: 80 0D 03 02 [12:54:08]Write to MH i2c: E2 08 00 2A 2B 80 0D 03 02 00 00 00 00 D0 [12:54:08]Write i2c OK [12:54:08]MH_I2C_Read... [12:54:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:54:08]Read from MH i2c: E2 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 0B 00 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 0B 00 2A 2B 00 99 7F E8 EE 14 8D 3B 8D 90 00 28 [12:54:08]RAPDU: 99 7F E8 EE 14 8D 3B 8D 90 00 [12:54:08]wFMCommunicate OK [12:54:08]SAM_PROTO_SignData done [12:54:08]FM_MakeSignedData done [12:54:08]CreateOFDProtocolMessage [12:54:08]wFMCommunicate request_size=4 [12:54:08]MH_SAM_APDU [12:54:08]CAPDU: 80 11 00 00 [12:54:08]Write to MH i2c: E2 08 00 2B 2B 80 11 00 00 00 00 00 00 D0 [12:54:08]Write i2c OK [12:54:08]MH_I2C_Read... [12:54:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:54:08]Read from MH i2c: E2 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 17 00 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: E2 17 00 2B 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 25 [12:54:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:54:08]wFMCommunicate OK [12:54:08]CreateOFDProtocolMessage done [12:54:08]OFDSenderStorePacket 40761 [12:54:08]StoreOFDPacket docnum=40761 [12:54:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 E2 8B 04 01 DD 26 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 FC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 FC 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FE 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 39 9F 00 00 35 04 06 00 C1 E4 76 F2 8A AA 99 7F E8 EE 14 8D 3B 8D [12:54:08]CheckFolder [12:54:08]dirname=/storage/ofd_packets [12:54:08]CheckFolder done [12:54:08]ProducePacketName [12:54:08]name=ofd_packets/00040761 [12:54:08]NVStorageSaveData ofd_packets/00040761 [12:54:08]File name is /storage/ofd_packets/00040761 [12:54:08]Write 298 bytes [12:54:08]NVStorageSaveData done [12:54:08]OFDSenderStorePacket done [12:54:08]KKMCreateOFDPacket done [12:54:08]NVStorageSaveData kkm_last_timestamp [12:54:08]File name is /storage/kkm_last_timestamp [12:54:08]Write 4 bytes [12:54:08]NVStorageSaveData done [12:54:08]ExternCall_PrintAddStr [12:54:08]wPrintStart [12:54:08]Write to MH i2c: 01 00 00 2C 2B 57 [12:54:08]Write i2c OK [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: 01 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: 01 07 00 [12:54:08]MH_I2C_Read... [12:54:08]Read from MH i2c: 01 07 00 2C 2B 00 00 00 00 00 FF 0F 6C [12:54:08]RasterBufferAndPrint [12:54:08]line Счет N : (1)808766 [12:54:08]line ИÐÐ: 02508201610067 [12:54:08]line Контрольно-КаÑÑовый Чек [12:54:08]line ПРОДÐЖР[12:54:08]line ТРК (МРК, ГÐК) : 21 [12:54:08]line Товар: 2710194210 [12:54:08]line ДТ-К-2 [12:54:08]line 17.070 * 76.20 [12:54:08]line = 1300.73 [12:54:08]line ÐДС 12% ÐСП 1% [12:54:08]line > о реализуемом товаре [12:54:08]line ИТОГО: 1300.73 [12:54:08]line ÐСП 1% : 11.51 [12:54:08]line ÐДС 12% : 138.13 [12:54:08]line Ðаличными: 0.00 [12:54:08]line Безнал.: 1300.73 [12:54:08]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [12:54:08]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [12:54:08]line СÐО: Общий режим [12:54:08]line Чек 29 21.10.2024 12:54 [12:54:08]line Смена: 448 ФФД: 1.0 [12:54:08]line ЗÐМ: 0300000239 [12:54:08]line РÐМ: 0000000000098148 [12:54:08]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:54:08]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [12:54:08]line ФМ: 0000000000965374 [12:54:08]line ФД: 40761 [12:54:08]line ФПД: 213186992310954 [12:54:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125422&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40761&fm=213186992310954&tin=02508201610067®Number=0000000000098148&sum=130073 [12:54:08]OFD Sender: Processing packet 40761 [packets to send 4, broken 3] [12:54:08]ProducePacketName [12:54:08]name=ofd_packets/00040761 [12:54:08]OFD Sender: To server: ‡•öpG, [12:54:08]CommunicateWithHost lk.salyk.kg:30040 [12:54:08]ConnectInit lk.salyk.kg [12:54:08]written 0, free lines is 4095 [12:54:08]Connected sock=10 [12:54:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 E2 8B 04 01 DD 26 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 FC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 FC 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FE 4E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 39 9F 00 00 35 04 06 00 C1 E4 76 F2 8A AA 99 7F E8 EE 14 8D 3B 8D [12:54:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 50 A5 47 00 55 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 39 9F 00 00 F4 03 04 00 DE F4 15 67 B6 04 01 00 00 5C B4 5F D5 AB B3 95 68 [12:54:08]CommunicateWithHost err = 0 [12:54:08]CheckOFDResponse [12:54:08]1017 (14) - 77093643461234 [12:54:08]1041 (16) - 0000000000965374 [12:54:08]1040 (4) - 40761 [12:54:08]1012 (4) - 21.10.2024 06:29 [12:54:08]1206 (1) - 0 [12:54:08]OFD Sender: Remove packet 40761 [12:54:08]ProducePacketName [12:54:08]name=ofd_packets/00040761 [12:54:08]NVStorageDeleteData [12:54:09]Write to MH i2c: 01 00 00 56 2B 81 [12:54:09]Write i2c OK [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: 01 [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: 01 07 00 [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: 01 07 00 56 2B 00 00 00 00 00 02 0D 97 [12:54:09]RasterBufferAndPrint [12:54:09]line [12:54:09]line [12:54:09]line [12:54:09]line [12:54:09]line [12:54:09]written 0, free lines is 3336 [12:54:09]MH_Cut [12:54:09]Write to MH i2c: D1 01 00 5D 2B 01 5A [12:54:09]Write i2c OK [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: D1 [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: D1 01 00 [12:54:09]MH_I2C_Read... [12:54:09]Read from MH i2c: D1 01 00 5D 2B 00 59 [12:54:09]Write to MH i2c: 01 00 00 5E 2B 89 [12:54:09]Write i2c OK [12:54:09]MH_I2C_Read... [12:54:09]OFD Sender: No OFD packet to send [12:54:09]*** Cut start [12:54:09]*** Partial cut [12:54:09]*** CUTSNS_PIN = 1 [12:54:09]*** CUTSNS_PIN = 0 [12:54:09]*** Brake cut motor [12:54:10]Read from MH i2c: 01 [12:54:10]MH_I2C_Read... [12:54:10]*** Stop cut motor [12:54:10]*** Cut end [12:54:10]Read from MH i2c: 01 07 00 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: 01 07 00 5E 2B 00 00 00 00 00 FF 0F 9E [12:54:10]process_action close_receipt done [12:54:10]requested_data is exist [12:54:10]produce_requested_data [12:54:10]requested_item fm.sn is exist - process it [12:54:10]wFMCommunicate request_size=4 [12:54:10]MH_SAM_APDU [12:54:10]CAPDU: 80 11 00 00 [12:54:10]Write to MH i2c: E2 08 00 5F 2B 80 11 00 00 00 00 00 00 04 [12:54:10]Write i2c OK [12:54:10]MH_I2C_Read... [12:54:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:54:10]Read from MH i2c: E2 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 17 00 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 17 00 5F 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 59 [12:54:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [12:54:10]wFMCommunicate OK [12:54:10]requested_item fd.num is exist - process it [12:54:10]SAM_PROTO_GetFieldsCounters [12:54:10]wFMCommunicate request_size=4 [12:54:10]MH_SAM_APDU [12:54:10]CAPDU: 80 13 00 00 [12:54:10]Write to MH i2c: E2 08 00 60 2B 80 13 00 00 00 00 00 00 07 [12:54:10]Write i2c OK [12:54:10]MH_I2C_Read... [12:54:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:54:10]Read from MH i2c: E2 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 62 00 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 62 00 60 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 39 9F 00 00 0E 04 04 00 C0 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 1F [12:54:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 39 9F 00 00 0E 04 04 00 C0 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:54:10]wFMCommunicate OK [12:54:10]SAM_PROTO_GetFieldsCounters done [12:54:10]requested_item shift.num is exist - process it [12:54:10]requested_item shift.opened is exist - process it [12:54:10]req_shift_opened [12:54:10]FM_GetShiftState [12:54:10]SAM_PROTO_GetShiftState [12:54:10]wFMCommunicate request_size=4 [12:54:10]MH_SAM_APDU [12:54:10]CAPDU: 80 13 01 00 [12:54:10]Write to MH i2c: E2 08 00 61 2B 80 13 01 00 00 00 00 00 09 [12:54:10]Write i2c OK [12:54:10]MH_I2C_Read... [12:54:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:54:10]Read from MH i2c: E2 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 0E 00 [12:54:10]MH_I2C_Read... [12:54:10]Read from MH i2c: E2 0E 00 61 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D7 [12:54:10]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [12:54:10]wFMCommunicate OK [12:54:10]SAM_PROTO_GetShiftState done [12:54:10]FM_GetShiftState done [12:54:10]req_shift_opened done [12:54:10]requested_item shift.open_date is exist - process it [12:54:10]req_shift_open_date [12:54:10]req_shift_open_date done [12:54:10]produce_requested_data done [12:54:10]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40761,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [12:54:10]process_action_free close_receipt [12:54:10]json_value_free [12:54:10]json_value_free done [12:54:10]process_json_proto returns [12:54:10]Send response to host [12:54:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40761,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [12:54:10]free response buf [12:54:10]execute_script done [12:54:10]execute_script returns [12:54:10]free content buf [12:54:10]Sock 7.Close socket [12:54:10]Sock 7.Thread stoped [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:32]accept exits with 9 [13:02:32]New connection [13:02:32]New thread 3066887524 created [13:02:32]Thread 3067030884 joined [13:02:32]Waiting for new connection... [13:02:32] Sock 9.Parse request [13:02:32]Sock 9.Check first char [13:02:32]Sock 9.First char is OK [13:02:32]request: POST /json_proto HTTP/1.0 [13:02:32]Method: POST [13:02:32]URL: /json_proto [13:02:32]Method is POST - this is cgi request [13:02:32]url: /json_proto [13:02:32]query_string will be loaded in cgi processing [13:02:32]execute_cgi json_proto POST (null) [13:02:32]execute_cgi path=json_proto method=POST [13:02:32]POST find Content-Length [13:02:32]Host: 172.17.53.4:8080 [13:02:32]Content-Length: 677 [13:02:32]Content-Type: application/json [13:02:32] [13:02:32]POST finish read [13:02:32]Found Content-Length = 677 [13:02:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808773", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [13:02:32]execute_script... [13:02: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 : (1)808773", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [13:02:32]POST & json_proto [13:02:32]process_json_proto [13:02:32]json parsed OK: [13:02:32]protocol is kg_v1.0 [13:02:32]action value=close_receipt [13:02:32]process_action close_receipt [13:02:32]cmd_close_receipt [13:02:32]MH_GetDate [13:02:32]Write to MH i2c: F0 00 00 62 2B 7C [13:02:32]Write i2c OK [13:02:32]MH_I2C_Read... [13:02:32]Read from MH i2c: F0 [13:02:32]MH_I2C_Read... [13:02:32]Read from MH i2c: F0 09 00 [13:02:32]MH_I2C_Read... [13:02:32]Read from MH i2c: F0 09 00 62 2B 00 F8 50 16 67 05 11 DA 64 9E [13:02:32]GetLastDocTimeStamp 1729515262 [13:02:32]current date 1729515768 [13:02:32]FM_GetShiftState [13:02:32]SAM_PROTO_GetShiftState [13:02:32]wFMCommunicate request_size=4 [13:02:32]MH_SAM_APDU [13:02:32]CAPDU: 80 13 01 00 [13:02:32]Write to MH i2c: E2 08 00 63 2B 80 13 01 00 00 00 00 00 0B [13:02:32]Write i2c OK [13:02:32]MH_I2C_Read... [13:02:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:32]Read from MH i2c: E2 [13:02:32]MH_I2C_Read... [13:02:32]Read from MH i2c: E2 0E 00 [13:02:32]MH_I2C_Read... [13:02:32]Read from MH i2c: E2 0E 00 63 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D9 [13:02:32]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:02:32]wFMCommunicate OK [13:02:32]SAM_PROTO_GetShiftState done [13:02:32]FM_GetShiftState done [13:02:32]opened in 1729470630 [13:02:32]opened+sec_in_day 1729557030 [13:02:32]quantity*price = 40006 [13:02:32]sum+1 = 40007 [13:02:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.06 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 30 21.10.2024 13:02 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40762 ФПД: 208773706323118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130248&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40762&fm=208773706323118&tin=02508201610067®Number=0000000000098148&sum=40000 [13:02:34]StoreToDocumentArchive [13:02:34]shift 448 fd 40762 [13:02:34]save to /storage/0448/doc_00040762 [13:02:34]save last doc name /storage/0448/doc_00040762 to /storage/kkm_last_doc_name [13:02:34]save OK [13:02:34]Clear old archive folders... [13:02:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:02:34]tlvbuf is 0106C3C0 [13:02:34]SAM_PROTO_ClearQueue [13:02:34]wFMCommunicate request_size=4 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 09 00 00 [13:02:34]Write to MH i2c: E2 08 00 70 2B 80 09 00 00 00 00 00 00 0D [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 70 2B 00 90 00 0F [13:02:34]RAPDU: 90 00 [13:02:34]wFMCommunicate OK [13:02:34]SAM_PROTO_ClearQueue done [13:02:34]KKMCreateOFDPacket [13:02:34]OFDProtocolAddRootSTLVToBuf [13:02:34]FM_MakeSignedData [13:02:34]FM_MakeSignedData [13:02:34]SAM_PROTO_SignData [13:02:34]wFMCommunicate request_size=4 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 0D 01 02 [13:02:34]Write to MH i2c: E2 08 00 71 2B 80 0D 01 02 00 00 00 00 15 [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 71 2B 00 90 00 10 [13:02:34]RAPDU: 90 00 [13:02:34]wFMCommunicate OK [13:02:34]wFMCommunicate request_size=255 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F8 50 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3A 9F 00 00 35 04 06 00 BD [13:02:34]Write to MH i2c: E2 02 01 72 2B 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F8 50 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3A 9F 00 00 35 04 06 00 BD 00 00 B4 [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 72 2B 00 90 00 11 [13:02:34]RAPDU: 90 00 [13:02:34]wFMCommunicate OK [13:02:34]wFMCommunicate request_size=10 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 0D 02 02 05 E0 EA 9A 94 AE [13:02:34]Write to MH i2c: E2 0D 00 73 2B 80 0D 02 02 05 00 E0 EA 9A 94 AE 00 00 C8 [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 03 00 73 2B 00 90 00 12 [13:02:34]RAPDU: 90 00 [13:02:34]wFMCommunicate OK [13:02:34]wFMCommunicate request_size=4 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 0D 03 02 [13:02:34]Write to MH i2c: E2 08 00 74 2B 80 0D 03 02 00 00 00 00 1A [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 0B 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 0B 00 74 2B 00 3A 33 26 A0 98 92 29 59 90 00 FA [13:02:34]RAPDU: 3A 33 26 A0 98 92 29 59 90 00 [13:02:34]wFMCommunicate OK [13:02:34]SAM_PROTO_SignData done [13:02:34]FM_MakeSignedData done [13:02:34]CreateOFDProtocolMessage [13:02:34]wFMCommunicate request_size=4 [13:02:34]MH_SAM_APDU [13:02:34]CAPDU: 80 11 00 00 [13:02:34]Write to MH i2c: E2 08 00 75 2B 80 11 00 00 00 00 00 00 1A [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:34]Read from MH i2c: E2 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 17 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: E2 17 00 75 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 6F [13:02:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:02:34]wFMCommunicate OK [13:02:34]CreateOFDProtocolMessage done [13:02:34]OFDSenderStorePacket 40762 [13:02:34]StoreOFDPacket docnum=40762 [13:02:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 89 D9 07 01 7E B2 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F8 50 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3A 9F 00 00 35 04 06 00 BD E0 EA 9A 94 AE 3A 33 26 A0 98 92 29 59 [13:02:34]CheckFolder [13:02:34]dirname=/storage/ofd_packets [13:02:34]CheckFolder done [13:02:34]ProducePacketName [13:02:34]name=ofd_packets/00040762 [13:02:34]NVStorageSaveData ofd_packets/00040762 [13:02:34]File name is /storage/ofd_packets/00040762 [13:02:34]Write 301 bytes [13:02:34]NVStorageSaveData done [13:02:34]OFDSenderStorePacket done [13:02:34]KKMCreateOFDPacket done [13:02:34]NVStorageSaveData kkm_last_timestamp [13:02:34]File name is /storage/kkm_last_timestamp [13:02:34]Write 4 bytes [13:02:34]NVStorageSaveData done [13:02:34]ExternCall_PrintAddStr [13:02:34]wPrintStart [13:02:34]Write to MH i2c: 01 00 00 76 2B A1 [13:02:34]Write i2c OK [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: 01 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: 01 07 00 [13:02:34]MH_I2C_Read... [13:02:34]Read from MH i2c: 01 07 00 76 2B 00 00 00 00 00 FF 0F B6 [13:02:34]RasterBufferAndPrint [13:02:34]line Счет N : (1)808773 [13:02:34]line ИÐÐ: 02508201610067 [13:02:34]line Контрольно-КаÑÑовый Чек [13:02:34]line ПРОДÐЖР[13:02:34]line ТРК (МРК, ГÐК) : 53 [13:02:34]line Товар: 2710124130 [13:02:34]line Ðи-92-К-5 [13:02:34]line 5.980 * 66.90 [13:02:34]line = 400.06 [13:02:34]line ÐДС 12% ÐСП 1% [13:02:34]line > о реализуемом товаре [13:02:34]line ОКРУГЛЕÐИЕ: -0.06 [13:02:34]line ИТОГО: 400.00 [13:02:34]line ВнеÑено: 400.00 [13:02:34]line СДÐЧÐ: 0.00 [13:02:34]line ÐСП 1% : 3.54 [13:02:34]line ÐДС 12% : 42.48 [13:02:34]line Ðаличными: 400.00 [13:02:34]line Безнал.: 0.00 [13:02:34]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:02:34]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:02:34]line СÐО: Общий режим [13:02:34]line Чек 30 21.10.2024 13:02 [13:02:34]line Смена: 448 ФФД: 1.0 [13:02:34]line ЗÐМ: 0300000239 [13:02:34]line РÐМ: 0000000000098148 [13:02:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:02:34]line ФМ: 0000000000965374 [13:02:34]line ФД: 40762 [13:02:34]line ФПД: 208773706323118 [13:02:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130248&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40762&fm=208773706323118&tin=02508201610067®Number=0000000000098148&sum=40000 [13:02:34]OFD Sender: Processing packet 40762 [packets to send 4, broken 3] [13:02:34]ProducePacketName [13:02:34]name=ofd_packets/00040762 [13:02:34]OFD Sender: To server: ‡•öpG, [13:02:34]CommunicateWithHost lk.salyk.kg:30040 [13:02:34]ConnectInit lk.salyk.kg [13:02:34]written 0, free lines is 4095 [13:02:35]Connected sock=10 [13:02:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 89 D9 07 01 7E B2 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F8 50 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3A 9F 00 00 35 04 06 00 BD E0 EA 9A 94 AE 3A 33 26 A0 98 92 29 59 [13:02:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 C1 2A 47 00 61 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3A 9F 00 00 F4 03 04 00 D9 F6 15 67 B6 04 01 00 00 EC EF 59 96 30 AF 03 FF [13:02:35]CommunicateWithHost err = 0 [13:02:35]CheckOFDResponse [13:02:35]1017 (14) - 77093643461234 [13:02:35]1041 (16) - 0000000000965374 [13:02:35]1040 (4) - 40762 [13:02:35]1012 (4) - 21.10.2024 06:38 [13:02:35]1206 (1) - 0 [13:02:35]OFD Sender: Remove packet 40762 [13:02:35]ProducePacketName [13:02:35]name=ofd_packets/00040762 [13:02:35]NVStorageDeleteData [13:02:35]Write to MH i2c: 01 00 00 A1 2B CC [13:02:35]Write i2c OK [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: 01 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: 01 07 00 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: 01 07 00 A1 2B 00 00 00 00 00 F3 0C D2 [13:02:35]RasterBufferAndPrint [13:02:35]line [13:02:35]line [13:02:35]line [13:02:35]line [13:02:35]line [13:02:35]written 0, free lines is 3322 [13:02:35]MH_Cut [13:02:35]Write to MH i2c: D1 01 00 A8 2B 01 A5 [13:02:35]Write i2c OK [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: D1 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: D1 01 00 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: D1 01 00 A8 2B 00 A4 [13:02:35]Write to MH i2c: 01 00 00 A9 2B D4 [13:02:35]Write i2c OK [13:02:35]MH_I2C_Read... [13:02:35]OFD Sender: No OFD packet to send [13:02:36]*** Cut start [13:02:36]*** Partial cut [13:02:36]*** CUTSNS_PIN = 1 [13:02:36]*** CUTSNS_PIN = 0 [13:02:36]*** Brake cut motor [13:02:36]Read from MH i2c: 01 [13:02:36]MH_I2C_Read... [13:02:36]*** Stop cut motor [13:02:36]*** Cut end [13:02:36]Read from MH i2c: 01 07 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: 01 07 00 A9 2B 00 00 00 00 00 FF 0F E9 [13:02:36]process_action close_receipt done [13:02:36]requested_data is exist [13:02:36]produce_requested_data [13:02:36]requested_item fm.sn is exist - process it [13:02:36]wFMCommunicate request_size=4 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 11 00 00 [13:02:36]Write to MH i2c: E2 08 00 AA 2B 80 11 00 00 00 00 00 00 4F [13:02:36]Write i2c OK [13:02:36]MH_I2C_Read... [13:02:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:36]Read from MH i2c: E2 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 17 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 17 00 AA 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A4 [13:02:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:02:36]wFMCommunicate OK [13:02:36]requested_item fd.num is exist - process it [13:02:36]SAM_PROTO_GetFieldsCounters [13:02:36]wFMCommunicate request_size=4 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 13 00 00 [13:02:36]Write to MH i2c: E2 08 00 AB 2B 80 13 00 00 00 00 00 00 52 [13:02:36]Write i2c OK [13:02:36]MH_I2C_Read... [13:02:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:36]Read from MH i2c: E2 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 62 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 62 00 AB 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3A 9F 00 00 0E 04 04 00 C0 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 6E [13:02:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3A 9F 00 00 0E 04 04 00 C0 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:02:36]wFMCommunicate OK [13:02:36]SAM_PROTO_GetFieldsCounters done [13:02:36]requested_item shift.num is exist - process it [13:02:36]requested_item shift.opened is exist - process it [13:02:36]req_shift_opened [13:02:36]FM_GetShiftState [13:02:36]SAM_PROTO_GetShiftState [13:02:36]wFMCommunicate request_size=4 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 13 01 00 [13:02:36]Write to MH i2c: E2 08 00 AC 2B 80 13 01 00 00 00 00 00 54 [13:02:36]Write i2c OK [13:02:36]MH_I2C_Read... [13:02:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:36]Read from MH i2c: E2 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 0E 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 0E 00 AC 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 22 [13:02:36]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:02:36]wFMCommunicate OK [13:02:36]SAM_PROTO_GetShiftState done [13:02:36]FM_GetShiftState done [13:02:36]req_shift_opened done [13:02:36]requested_item shift.open_date is exist - process it [13:02:36]req_shift_open_date [13:02:36]req_shift_open_date done [13:02:36]produce_requested_data done [13:02:36]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40762,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:02:36]process_action_free close_receipt [13:02:36]json_value_free [13:02:36]json_value_free done [13:02:36]process_json_proto returns [13:02:36]Send response to host [13:02:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40762,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:02:36]free response buf [13:02:36]execute_script done [13:02:36]execute_script returns [13:02:36]free content buf [13:02:36]Sock 9.Close socket [13:02:36]Sock 9.Thread stoped [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:48]accept exits with 7 [13:04:48]New connection [13:04:48]New thread 3067030884 created [13:04:48]Thread 3066887524 joined [13:04:48]Waiting for new connection... [13:04:48] Sock 7.Parse request [13:04:48]Sock 7.Check first char [13:04:48]Sock 7.First char is OK [13:04:48]request: POST /json_proto HTTP/1.0 [13:04:48]Method: POST [13:04:48]URL: /json_proto [13:04:48]Method is POST - this is cgi request [13:04:48]url: /json_proto [13:04:48]query_string will be loaded in cgi processing [13:04:48]execute_cgi json_proto POST (null) [13:04:48]execute_cgi path=json_proto method=POST [13:04:48]POST find Content-Length [13:04:48]Host: 172.17.53.4:8080 [13:04:48]Content-Length: 677 [13:04:48]Content-Type: application/json [13:04:48] [13:04:48]POST finish read [13:04:48]Found Content-Length = 677 [13:04:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808775", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:04:48]execute_script... [13:04:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808775", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:04:48]POST & json_proto [13:04:48]process_json_proto [13:04:48]json parsed OK: [13:04:48]protocol is kg_v1.0 [13:04:48]action value=close_receipt [13:04:48]process_action close_receipt [13:04:48]cmd_close_receipt [13:04:48]MH_GetDate [13:04:48]Write to MH i2c: F0 00 00 AD 2B C7 [13:04:48]Write i2c OK [13:04:48]MH_I2C_Read... [13:04:48]Read from MH i2c: F0 [13:04:48]MH_I2C_Read... [13:04:48]Read from MH i2c: F0 09 00 [13:04:48]MH_I2C_Read... [13:04:48]Read from MH i2c: F0 09 00 AD 2B 00 80 51 16 67 05 11 DA 64 72 [13:04:48]GetLastDocTimeStamp 1729515768 [13:04:48]current date 1729515904 [13:04:48]FM_GetShiftState [13:04:48]SAM_PROTO_GetShiftState [13:04:48]wFMCommunicate request_size=4 [13:04:48]MH_SAM_APDU [13:04:48]CAPDU: 80 13 01 00 [13:04:48]Write to MH i2c: E2 08 00 AE 2B 80 13 01 00 00 00 00 00 56 [13:04:48]Write i2c OK [13:04:48]MH_I2C_Read... [13:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:48]Read from MH i2c: E2 [13:04:48]MH_I2C_Read... [13:04:48]Read from MH i2c: E2 0E 00 [13:04:48]MH_I2C_Read... [13:04:48]Read from MH i2c: E2 0E 00 AE 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 24 [13:04:48]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:04:48]wFMCommunicate OK [13:04:48]SAM_PROTO_GetShiftState done [13:04:48]FM_GetShiftState done [13:04:48]opened in 1729470630 [13:04:48]opened+sec_in_day 1729557030 [13:04:48]quantity*price = 20003 [13:04:48]sum+1 = 20004 [13:04:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.24 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 31 21.10.2024 13:05 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40763 ФПД: 117044972777348 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130504&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40763&fm=117044972777348&tin=02508201610067®Number=0000000000098148&sum=20000 [13:04:49]StoreToDocumentArchive [13:04:49]shift 448 fd 40763 [13:04:49]save to /storage/0448/doc_00040763 [13:04:49]save last doc name /storage/0448/doc_00040763 to /storage/kkm_last_doc_name [13:04:49]save OK [13:04:49]Clear old archive folders... [13:04:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:04:49]tlvbuf is B6DBB800 [13:04:49]SAM_PROTO_ClearQueue [13:04:49]wFMCommunicate request_size=4 [13:04:49]MH_SAM_APDU [13:04:49]CAPDU: 80 09 00 00 [13:04:49]Write to MH i2c: E2 08 00 BB 2B 80 09 00 00 00 00 00 00 58 [13:04:49]Write i2c OK [13:04:49]MH_I2C_Read... [13:04:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:04:49]Read from MH i2c: E2 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 BB 2B 00 90 00 5A [13:04:49]RAPDU: 90 00 [13:04:49]wFMCommunicate OK [13:04:49]SAM_PROTO_ClearQueue done [13:04:49]KKMCreateOFDPacket [13:04:49]OFDProtocolAddRootSTLVToBuf [13:04:49]FM_MakeSignedData [13:04:49]FM_MakeSignedData [13:04:49]SAM_PROTO_SignData [13:04:49]wFMCommunicate request_size=4 [13:04:49]MH_SAM_APDU [13:04:49]CAPDU: 80 0D 01 02 [13:04:49]Write to MH i2c: E2 08 00 BC 2B 80 0D 01 02 00 00 00 00 60 [13:04:49]Write i2c OK [13:04:49]MH_I2C_Read... [13:04:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:04:49]Read from MH i2c: E2 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 BC 2B 00 90 00 5B [13:04:49]RAPDU: 90 00 [13:04:49]wFMCommunicate OK [13:04:49]wFMCommunicate request_size=255 [13:04:49]MH_SAM_APDU [13:04:49]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 1F 00 00 00 F4 03 04 00 80 51 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3B 9F 00 00 35 04 06 00 6A [13:04:49]Write to MH i2c: E2 02 01 BD 2B 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 1F 00 00 00 F4 03 04 00 80 51 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3B 9F 00 00 35 04 06 00 6A 00 00 2A [13:04:49]Write i2c OK [13:04:49]MH_I2C_Read... [13:04:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:49]Read from MH i2c: E2 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 BD 2B 00 90 00 5C [13:04:49]RAPDU: 90 00 [13:04:49]wFMCommunicate OK [13:04:49]wFMCommunicate request_size=10 [13:04:49]MH_SAM_APDU [13:04:49]CAPDU: 80 0D 02 02 05 73 A8 06 6F 84 [13:04:49]Write to MH i2c: E2 0D 00 BE 2B 80 0D 02 02 05 00 73 A8 06 6F 84 00 00 81 [13:04:49]Write i2c OK [13:04:49]MH_I2C_Read... [13:04:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:49]Read from MH i2c: E2 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 [13:04:49]MH_I2C_Read... [13:04:49]Read from MH i2c: E2 03 00 BE 2B 00 90 00 5D [13:04:49]RAPDU: 90 00 [13:04:49]wFMCommunicate OK [13:04:49]wFMCommunicate request_size=4 [13:04:49]MH_SAM_APDU [13:04:49]CAPDU: 80 0D 03 02 [13:04:49]Write to MH i2c: E2 08 00 BF 2B 80 0D 03 02 00 00 00 00 65 [13:04:49]Write i2c OK [13:04:49]MH_I2C_Read... [13:04:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:04:50]Read from MH i2c: E2 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: E2 0B 00 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: E2 0B 00 BF 2B 00 BB D0 C1 36 18 65 99 85 90 00 83 [13:04:50]RAPDU: BB D0 C1 36 18 65 99 85 90 00 [13:04:50]wFMCommunicate OK [13:04:50]SAM_PROTO_SignData done [13:04:50]FM_MakeSignedData done [13:04:50]CreateOFDProtocolMessage [13:04:50]wFMCommunicate request_size=4 [13:04:50]MH_SAM_APDU [13:04:50]CAPDU: 80 11 00 00 [13:04:50]Write to MH i2c: E2 08 00 C0 2B 80 11 00 00 00 00 00 00 65 [13:04:50]Write i2c OK [13:04:50]MH_I2C_Read... [13:04:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:50]Read from MH i2c: E2 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: E2 17 00 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: E2 17 00 C0 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 BA [13:04:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:04:50]wFMCommunicate OK [13:04:50]CreateOFDProtocolMessage done [13:04:50]OFDSenderStorePacket 40763 [13:04:50]StoreOFDPacket docnum=40763 [13:04:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4A B0 07 01 EE 59 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 1F 00 00 00 F4 03 04 00 80 51 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3B 9F 00 00 35 04 06 00 6A 73 A8 06 6F 84 BB D0 C1 36 18 65 99 85 [13:04:50]CheckFolder [13:04:50]dirname=/storage/ofd_packets [13:04:50]CheckFolder done [13:04:50]ProducePacketName [13:04:50]name=ofd_packets/00040763 [13:04:50]NVStorageSaveData ofd_packets/00040763 [13:04:50]File name is /storage/ofd_packets/00040763 [13:04:50]Write 301 bytes [13:04:50]NVStorageSaveData done [13:04:50]OFDSenderStorePacket done [13:04:50]KKMCreateOFDPacket done [13:04:50]NVStorageSaveData kkm_last_timestamp [13:04:50]File name is /storage/kkm_last_timestamp [13:04:50]Write 4 bytes [13:04:50]NVStorageSaveData done [13:04:50]ExternCall_PrintAddStr [13:04:50]wPrintStart [13:04:50]Write to MH i2c: 01 00 00 C1 2B EC [13:04:50]Write i2c OK [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 07 00 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 07 00 C1 2B 00 00 00 00 00 FF 0F 01 [13:04:50]RasterBufferAndPrint [13:04:50]line Счет N : (1)808775 [13:04:50]line ИÐÐ: 02508201610067 [13:04:50]line Контрольно-КаÑÑовый Чек [13:04:50]line ПРОДÐЖР[13:04:50]line ТРК (МРК, ГÐК) : 43 [13:04:50]line Товар: 2710124130 [13:04:50]line Ðи-92-К-5 [13:04:50]line 2.990 * 66.90 [13:04:50]line = 200.03 [13:04:50]line ÐДС 12% ÐСП 1% [13:04:50]line > о реализуемом товаре [13:04:50]line ОКРУГЛЕÐИЕ: -0.03 [13:04:50]line ИТОГО: 200.00 [13:04:50]line ВнеÑено: 200.00 [13:04:50]line СДÐЧÐ: 0.00 [13:04:50]line ÐСП 1% : 1.77 [13:04:50]line ÐДС 12% : 21.24 [13:04:50]line Ðаличными: 200.00 [13:04:50]line Безнал.: 0.00 [13:04:50]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:04:50]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:04:50]line СÐО: Общий режим [13:04:50]line Чек 31 21.10.2024 13:05 [13:04:50]line Смена: 448 ФФД: 1.0 [13:04:50]line ЗÐМ: 0300000239 [13:04:50]line РÐМ: 0000000000098148 [13:04:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:04:50]line ФМ: 0000000000965374 [13:04:50]line ФД: 40763 [13:04:50]line ФПД: 117044972777348 [13:04:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130504&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40763&fm=117044972777348&tin=02508201610067®Number=0000000000098148&sum=20000 [13:04:50]written 0, free lines is 4095 [13:04:50]OFD Sender: Processing packet 40763 [packets to send 4, broken 3] [13:04:50]ProducePacketName [13:04:50]name=ofd_packets/00040763 [13:04:50]OFD Sender: To server: ‡•öpG, [13:04:50]CommunicateWithHost lk.salyk.kg:30040 [13:04:50]ConnectInit lk.salyk.kg [13:04:50]Connected sock=10 [13:04:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4A B0 07 01 EE 59 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 1F 00 00 00 F4 03 04 00 80 51 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3B 9F 00 00 35 04 06 00 6A 73 A8 06 6F 84 BB D0 C1 36 18 65 99 85 [13:04:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 23 43 47 00 88 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3B 9F 00 00 F4 03 04 00 60 F7 15 67 B6 04 01 00 00 0C 96 47 54 C1 71 AB 21 [13:04:50]CommunicateWithHost err = 0 [13:04:50]CheckOFDResponse [13:04:50]1017 (14) - 77093643461234 [13:04:50]1041 (16) - 0000000000965374 [13:04:50]1040 (4) - 40763 [13:04:50]1012 (4) - 21.10.2024 06:40 [13:04:50]1206 (1) - 0 [13:04:50]OFD Sender: Remove packet 40763 [13:04:50]ProducePacketName [13:04:50]name=ofd_packets/00040763 [13:04:50]NVStorageDeleteData [13:04:50]Write to MH i2c: 01 00 00 EC 2B 17 [13:04:50]Write i2c OK [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 07 00 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: 01 07 00 EC 2B 00 00 00 00 00 EE 0C 18 [13:04:50]RasterBufferAndPrint [13:04:50]line [13:04:50]line [13:04:50]line [13:04:50]line [13:04:50]line [13:04:50]written 0, free lines is 3316 [13:04:50]MH_Cut [13:04:50]Write to MH i2c: D1 01 00 F3 2B 01 F0 [13:04:50]Write i2c OK [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: D1 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: D1 01 00 [13:04:50]MH_I2C_Read... [13:04:50]Read from MH i2c: D1 01 00 F3 2B 00 EF [13:04:50]Write to MH i2c: 01 00 00 F4 2B 1F [13:04:50]Write i2c OK [13:04:50]MH_I2C_Read... [13:04:51]OFD Sender: No OFD packet to send [13:04:51]*** Cut start [13:04:51]*** Partial cut [13:04:51]*** CUTSNS_PIN = 1 [13:04:51]*** CUTSNS_PIN = 0 [13:04:51]*** Brake cut motor [13:04:52]Read from MH i2c: 01 [13:04:52]MH_I2C_Read... [13:04:52]*** Stop cut motor [13:04:52]*** Cut end [13:04:52]Read from MH i2c: 01 07 00 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: 01 07 00 F4 2B 00 00 00 00 00 FF 0F 34 [13:04:52]process_action close_receipt done [13:04:52]requested_data is exist [13:04:52]produce_requested_data [13:04:52]requested_item fm.sn is exist - process it [13:04:52]wFMCommunicate request_size=4 [13:04:52]MH_SAM_APDU [13:04:52]CAPDU: 80 11 00 00 [13:04:52]Write to MH i2c: E2 08 00 F5 2B 80 11 00 00 00 00 00 00 9A [13:04:52]Write i2c OK [13:04:52]MH_I2C_Read... [13:04:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:52]Read from MH i2c: E2 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 17 00 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 17 00 F5 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EF [13:04:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:04:52]wFMCommunicate OK [13:04:52]requested_item fd.num is exist - process it [13:04:52]SAM_PROTO_GetFieldsCounters [13:04:52]wFMCommunicate request_size=4 [13:04:52]MH_SAM_APDU [13:04:52]CAPDU: 80 13 00 00 [13:04:52]Write to MH i2c: E2 08 00 F6 2B 80 13 00 00 00 00 00 00 9D [13:04:52]Write i2c OK [13:04:52]MH_I2C_Read... [13:04:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:04:52]Read from MH i2c: E2 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 62 00 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 62 00 F6 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3B 9F 00 00 0E 04 04 00 C0 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 BD [13:04:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3B 9F 00 00 0E 04 04 00 C0 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:04:52]wFMCommunicate OK [13:04:52]SAM_PROTO_GetFieldsCounters done [13:04:52]requested_item shift.num is exist - process it [13:04:52]requested_item shift.opened is exist - process it [13:04:52]req_shift_opened [13:04:52]FM_GetShiftState [13:04:52]SAM_PROTO_GetShiftState [13:04:52]wFMCommunicate request_size=4 [13:04:52]MH_SAM_APDU [13:04:52]CAPDU: 80 13 01 00 [13:04:52]Write to MH i2c: E2 08 00 F7 2B 80 13 01 00 00 00 00 00 9F [13:04:52]Write i2c OK [13:04:52]MH_I2C_Read... [13:04:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:52]Read from MH i2c: E2 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 0E 00 [13:04:52]MH_I2C_Read... [13:04:52]Read from MH i2c: E2 0E 00 F7 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6D [13:04:52]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:04:52]wFMCommunicate OK [13:04:52]SAM_PROTO_GetShiftState done [13:04:52]FM_GetShiftState done [13:04:52]req_shift_opened done [13:04:52]requested_item shift.open_date is exist - process it [13:04:52]req_shift_open_date [13:04:52]req_shift_open_date done [13:04:52]produce_requested_data done [13:04:52]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40763,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:04:52]process_action_free close_receipt [13:04:52]json_value_free [13:04:52]json_value_free done [13:04:52]process_json_proto returns [13:04:52]Send response to host [13:04:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40763,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:04:52]free response buf [13:04:52]execute_script done [13:04:52]execute_script returns [13:04:52]free content buf [13:04:52]Sock 7.Close socket [13:04:52]Sock 7.Thread stoped [13:04:56]OFD Sender: No OFD packet to send [13:05:01]OFD Sender: No OFD packet to send [13:05:06]OFD Sender: No OFD packet to send [13:05:11]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:16]OFD Sender: No OFD packet to send [13:08:21]OFD Sender: No OFD packet to send [13:08:26]OFD Sender: No OFD packet to send [13:08:31]OFD Sender: No OFD packet to send [13:08:36]OFD Sender: No OFD packet to send [13:08:41]OFD Sender: No OFD packet to send [13:08:46]OFD Sender: No OFD packet to send [13:08:51]OFD Sender: No OFD packet to send [13:08:56]OFD Sender: No OFD packet to send [13:09:01]OFD Sender: No OFD packet to send [13:09:06]OFD Sender: No OFD packet to send [13:09:11]OFD Sender: No OFD packet to send [13:09:16]OFD Sender: No OFD packet to send [13:09:21]OFD Sender: No OFD packet to send [13:09:26]OFD Sender: No OFD packet to send [13:09:31]OFD Sender: No OFD packet to send [13:09:36]OFD Sender: No OFD packet to send [13:09:41]OFD Sender: No OFD packet to send [13:09:46]OFD Sender: No OFD packet to send [13:09:51]OFD Sender: No OFD packet to send [13:09:56]OFD Sender: No OFD packet to send [13:10:01]OFD Sender: No OFD packet to send [13:10:06]OFD Sender: No OFD packet to send [13:10:11]OFD Sender: No OFD packet to send [13:10:16]OFD Sender: No OFD packet to send [13:10:21]OFD Sender: No OFD packet to send [13:10:26]OFD Sender: No OFD packet to send [13:10:31]OFD Sender: No OFD packet to send [13:10:34]accept exits with 9 [13:10:34]New connection [13:10:34]New thread 3066887524 created [13:10:34]Thread 3067030884 joined [13:10:34]Waiting for new connection... [13:10:34] Sock 9.Parse request [13:10:34]Sock 9.Check first char [13:10:34]Sock 9.First char is OK [13:10:34]request: POST /json_proto HTTP/1.0 [13:10:34]Method: POST [13:10:34]URL: /json_proto [13:10:34]Method is POST - this is cgi request [13:10:34]url: /json_proto [13:10:34]query_string will be loaded in cgi processing [13:10:34]execute_cgi json_proto POST (null) [13:10:34]execute_cgi path=json_proto method=POST [13:10:34]POST find Content-Length [13:10:34]Host: 172.17.53.4:8080 [13:10:34]Content-Length: 674 [13:10:34]Content-Type: application/json [13:10:34] [13:10:34]POST finish read [13:10:34]Found Content-Length = 674 [13:10:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808778", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [13:10:34]execute_script... [13:10:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808778", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [13:10:34]POST & json_proto [13:10:34]process_json_proto [13:10:34]json parsed OK: [13:10:34]protocol is kg_v1.0 [13:10:34]action value=close_receipt [13:10:34]process_action close_receipt [13:10:34]cmd_close_receipt [13:10:34]MH_GetDate [13:10:34]Write to MH i2c: F0 00 00 F8 2B 12 [13:10:34]Write i2c OK [13:10:34]MH_I2C_Read... [13:10:34]Read from MH i2c: F0 [13:10:34]MH_I2C_Read... [13:10:34]Read from MH i2c: F0 09 00 [13:10:34]MH_I2C_Read... [13:10:34]Read from MH i2c: F0 09 00 F8 2B 00 DA 52 16 67 05 11 DA 64 18 [13:10:34]GetLastDocTimeStamp 1729515904 [13:10:34]current date 1729516250 [13:10:34]FM_GetShiftState [13:10:34]SAM_PROTO_GetShiftState [13:10:34]wFMCommunicate request_size=4 [13:10:34]MH_SAM_APDU [13:10:34]CAPDU: 80 13 01 00 [13:10:34]Write to MH i2c: E2 08 00 F9 2B 80 13 01 00 00 00 00 00 A1 [13:10:34]Write i2c OK [13:10:34]MH_I2C_Read... [13:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:34]Read from MH i2c: E2 [13:10:34]MH_I2C_Read... [13:10:34]Read from MH i2c: E2 0E 00 [13:10:34]MH_I2C_Read... [13:10:34]Read from MH i2c: E2 0E 00 F9 2B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6F [13:10:34]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:10:34]wFMCommunicate OK [13:10:34]SAM_PROTO_GetShiftState done [13:10:34]FM_GetShiftState done [13:10:34]opened in 1729470630 [13:10:34]opened+sec_in_day 1729557030 [13:10:34]quantity*price = 50063 [13:10:34]sum+1 = 50064 [13:10:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.63 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.16 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 32 21.10.2024 13:10 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40764 ФПД: 242413239836577 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131050&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40764&fm=242413239836577&tin=02508201610067®Number=0000000000098148&sum=50000 [13:10:35]StoreToDocumentArchive [13:10:35]shift 448 fd 40764 [13:10:35]save to /storage/0448/doc_00040764 [13:10:35]save last doc name /storage/0448/doc_00040764 to /storage/kkm_last_doc_name [13:10:35]save OK [13:10:35]Clear old archive folders... [13:10:35]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:10:35]tlvbuf is 01062160 [13:10:35]SAM_PROTO_ClearQueue [13:10:35]wFMCommunicate request_size=4 [13:10:35]MH_SAM_APDU [13:10:35]CAPDU: 80 09 00 00 [13:10:35]Write to MH i2c: E2 08 00 06 2C 80 09 00 00 00 00 00 00 A4 [13:10:35]Write i2c OK [13:10:35]MH_I2C_Read... [13:10:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:35]Read from MH i2c: E2 [13:10:35]MH_I2C_Read... [13:10:35]Read from MH i2c: E2 03 00 [13:10:35]MH_I2C_Read... [13:10:35]Read from MH i2c: E2 03 00 06 2C 00 90 00 A6 [13:10:35]RAPDU: 90 00 [13:10:35]wFMCommunicate OK [13:10:35]SAM_PROTO_ClearQueue done [13:10:35]KKMCreateOFDPacket [13:10:35]OFDProtocolAddRootSTLVToBuf [13:10:35]FM_MakeSignedData [13:10:35]FM_MakeSignedData [13:10:35]SAM_PROTO_SignData [13:10:35]wFMCommunicate request_size=4 [13:10:35]MH_SAM_APDU [13:10:35]CAPDU: 80 0D 01 02 [13:10:35]Write to MH i2c: E2 08 00 07 2C 80 0D 01 02 00 00 00 00 AC [13:10:35]Write i2c OK [13:10:35]MH_I2C_Read... [13:10:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:35]Read from MH i2c: E2 [13:10:35]MH_I2C_Read... [13:10:35]Read from MH i2c: E2 03 00 [13:10:35]MH_I2C_Read... [13:10:35]Read from MH i2c: E2 03 00 07 2C 00 90 00 A7 [13:10:35]RAPDU: 90 00 [13:10:35]wFMCommunicate OK [13:10:35]wFMCommunicate request_size=255 [13:10:35]MH_SAM_APDU [13:10:35]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 DA 52 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3C 9F 00 00 35 04 06 00 DC 79 3B 0C [13:10:35]Write to MH i2c: E2 02 01 08 2C 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 DA 52 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3C 9F 00 00 35 04 06 00 DC 79 3B 0C 00 00 BE [13:10:35]Write i2c OK [13:10:35]MH_I2C_Read... [13:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:36]Read from MH i2c: E2 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 03 00 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 03 00 08 2C 00 90 00 A8 [13:10:36]RAPDU: 90 00 [13:10:36]wFMCommunicate OK [13:10:36]wFMCommunicate request_size=7 [13:10:36]MH_SAM_APDU [13:10:36]CAPDU: 80 0D 02 02 02 9F A1 [13:10:36]Write to MH i2c: E2 0A 00 09 2C 80 0D 02 02 02 00 9F A1 00 00 F3 [13:10:36]Write i2c OK [13:10:36]MH_I2C_Read... [13:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:36]Read from MH i2c: E2 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 03 00 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 03 00 09 2C 00 90 00 A9 [13:10:36]RAPDU: 90 00 [13:10:36]wFMCommunicate OK [13:10:36]wFMCommunicate request_size=4 [13:10:36]MH_SAM_APDU [13:10:36]CAPDU: 80 0D 03 02 [13:10:36]Write to MH i2c: E2 08 00 0A 2C 80 0D 03 02 00 00 00 00 B1 [13:10:36]Write i2c OK [13:10:36]MH_I2C_Read... [13:10:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:36]Read from MH i2c: E2 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 0B 00 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 0B 00 0A 2C 00 20 D6 BA E1 11 D5 BA 56 90 00 39 [13:10:36]RAPDU: 20 D6 BA E1 11 D5 BA 56 90 00 [13:10:36]wFMCommunicate OK [13:10:36]SAM_PROTO_SignData done [13:10:36]FM_MakeSignedData done [13:10:36]CreateOFDProtocolMessage [13:10:36]wFMCommunicate request_size=4 [13:10:36]MH_SAM_APDU [13:10:36]CAPDU: 80 11 00 00 [13:10:36]Write to MH i2c: E2 08 00 0B 2C 80 11 00 00 00 00 00 00 B1 [13:10:36]Write i2c OK [13:10:36]MH_I2C_Read... [13:10:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:36]Read from MH i2c: E2 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 17 00 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: E2 17 00 0B 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 06 [13:10:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:10:36]wFMCommunicate OK [13:10:36]CreateOFDProtocolMessage done [13:10:36]OFDSenderStorePacket 40764 [13:10:36]StoreOFDPacket docnum=40764 [13:10:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 9B 70 04 01 E6 6F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 DA 52 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3C 9F 00 00 35 04 06 00 DC 79 3B 0C 9F A1 20 D6 BA E1 11 D5 BA 56 [13:10:36]CheckFolder [13:10:36]dirname=/storage/ofd_packets [13:10:36]CheckFolder done [13:10:36]ProducePacketName [13:10:36]name=ofd_packets/00040764 [13:10:36]NVStorageSaveData ofd_packets/00040764 [13:10:36]File name is /storage/ofd_packets/00040764 [13:10:36]Write 298 bytes [13:10:36]NVStorageSaveData done [13:10:36]OFDSenderStorePacket done [13:10:36]KKMCreateOFDPacket done [13:10:36]NVStorageSaveData kkm_last_timestamp [13:10:36]File name is /storage/kkm_last_timestamp [13:10:36]Write 4 bytes [13:10:36]NVStorageSaveData done [13:10:36]ExternCall_PrintAddStr [13:10:36]wPrintStart [13:10:36]Write to MH i2c: 01 00 00 0C 2C 38 [13:10:36]Write i2c OK [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: 01 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: 01 07 00 [13:10:36]MH_I2C_Read... [13:10:36]Read from MH i2c: 01 07 00 0C 2C 00 00 00 00 00 FF 0F 4D [13:10:36]RasterBufferAndPrint [13:10:36]line Счет N : (1)808778 [13:10:36]line ИÐÐ: 02508201610067 [13:10:36]line Контрольно-КаÑÑовый Чек [13:10:36]line ПРОДÐЖР[13:10:36]line ТРК (МРК, ГÐК) : 31 [13:10:36]line Товар: 2710194210 [13:10:36]line ДТ-К-2 [13:10:36]line 6.570 * 76.20 [13:10:36]line = 500.63 [13:10:36]line ÐДС 12% ÐСП 1% [13:10:36]line > о реализуемом товаре [13:10:36]line ОКРУГЛЕÐИЕ: -0.63 [13:10:36]line ИТОГО: 500.00 [13:10:36]line ВнеÑено: 500.00 [13:10:36]line СДÐЧÐ: 0.00 [13:10:36]line ÐСП 1% : 4.43 [13:10:36]line ÐДС 12% : 53.16 [13:10:36]line Ðаличными: 500.00 [13:10:36]line Безнал.: 0.00 [13:10:36]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:10:36]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:10:36]line СÐО: Общий режим [13:10:36]line Чек 32 21.10.2024 13:10 [13:10:36]line Смена: 448 ФФД: 1.0 [13:10:36]line ЗÐМ: 0300000239 [13:10:36]line РÐМ: 0000000000098148 [13:10:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:10:36]line ФМ: 0000000000965374 [13:10:36]line ФД: 40764 [13:10:36]line ФПД: 242413239836577 [13:10:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131050&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40764&fm=242413239836577&tin=02508201610067®Number=0000000000098148&sum=50000 [13:10:36]OFD Sender: Processing packet 40764 [packets to send 4, broken 3] [13:10:36]ProducePacketName [13:10:36]name=ofd_packets/00040764 [13:10:36]OFD Sender: To server: ‡•öpG, [13:10:36]CommunicateWithHost lk.salyk.kg:30040 [13:10:36]ConnectInit lk.salyk.kg [13:10:36]written 0, free lines is 4095 [13:10:36]Connected sock=10 [13:10:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 9B 70 04 01 E6 6F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 DA 52 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3C 9F 00 00 35 04 06 00 DC 79 3B 0C 9F A1 20 D6 BA E1 11 D5 BA 56 [13:10:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 74 ED 47 00 94 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3C 9F 00 00 F4 03 04 00 BA F8 15 67 B6 04 01 00 00 42 00 FE 30 00 CF 8E 79 [13:10:36]CommunicateWithHost err = 0 [13:10:36]CheckOFDResponse [13:10:36]1017 (14) - 77093643461234 [13:10:36]1041 (16) - 0000000000965374 [13:10:36]1040 (4) - 40764 [13:10:36]1012 (4) - 21.10.2024 06:46 [13:10:36]1206 (1) - 0 [13:10:36]OFD Sender: Remove packet 40764 [13:10:36]ProducePacketName [13:10:36]name=ofd_packets/00040764 [13:10:36]NVStorageDeleteData [13:10:37]Write to MH i2c: 01 00 00 37 2C 63 [13:10:37]Write i2c OK [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: 01 [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: 01 07 00 [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: 01 07 00 37 2C 00 00 00 00 00 EE 0C 64 [13:10:37]RasterBufferAndPrint [13:10:37]line [13:10:37]line [13:10:37]line [13:10:37]line [13:10:37]line [13:10:37]written 0, free lines is 3316 [13:10:37]MH_Cut [13:10:37]Write to MH i2c: D1 01 00 3E 2C 01 3C [13:10:37]Write i2c OK [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: D1 [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: D1 01 00 [13:10:37]MH_I2C_Read... [13:10:37]Read from MH i2c: D1 01 00 3E 2C 00 3B [13:10:37]Write to MH i2c: 01 00 00 3F 2C 6B [13:10:37]Write i2c OK [13:10:37]MH_I2C_Read... [13:10:37]OFD Sender: No OFD packet to send [13:10:37]*** Cut start [13:10:37]*** Partial cut [13:10:37]*** CUTSNS_PIN = 1 [13:10:37]*** CUTSNS_PIN = 0 [13:10:38]*** Brake cut motor [13:10:38]Read from MH i2c: 01 [13:10:38]MH_I2C_Read... [13:10:38]*** Stop cut motor [13:10:38]*** Cut end [13:10:38]Read from MH i2c: 01 07 00 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: 01 07 00 3F 2C 00 00 00 00 00 FF 0F 80 [13:10:38]process_action close_receipt done [13:10:38]requested_data is exist [13:10:38]produce_requested_data [13:10:38]requested_item fm.sn is exist - process it [13:10:38]wFMCommunicate request_size=4 [13:10:38]MH_SAM_APDU [13:10:38]CAPDU: 80 11 00 00 [13:10:38]Write to MH i2c: E2 08 00 40 2C 80 11 00 00 00 00 00 00 E6 [13:10:38]Write i2c OK [13:10:38]MH_I2C_Read... [13:10:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:38]Read from MH i2c: E2 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 17 00 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 17 00 40 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 3B [13:10:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:10:38]wFMCommunicate OK [13:10:38]requested_item fd.num is exist - process it [13:10:38]SAM_PROTO_GetFieldsCounters [13:10:38]wFMCommunicate request_size=4 [13:10:38]MH_SAM_APDU [13:10:38]CAPDU: 80 13 00 00 [13:10:38]Write to MH i2c: E2 08 00 41 2C 80 13 00 00 00 00 00 00 E9 [13:10:38]Write i2c OK [13:10:38]MH_I2C_Read... [13:10:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:38]Read from MH i2c: E2 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 62 00 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 62 00 41 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3C 9F 00 00 0E 04 04 00 C0 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 0D [13:10:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3C 9F 00 00 0E 04 04 00 C0 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:10:38]wFMCommunicate OK [13:10:38]SAM_PROTO_GetFieldsCounters done [13:10:38]requested_item shift.num is exist - process it [13:10:38]requested_item shift.opened is exist - process it [13:10:38]req_shift_opened [13:10:38]FM_GetShiftState [13:10:38]SAM_PROTO_GetShiftState [13:10:38]wFMCommunicate request_size=4 [13:10:38]MH_SAM_APDU [13:10:38]CAPDU: 80 13 01 00 [13:10:38]Write to MH i2c: E2 08 00 42 2C 80 13 01 00 00 00 00 00 EB [13:10:38]Write i2c OK [13:10:38]MH_I2C_Read... [13:10:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:38]Read from MH i2c: E2 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 0E 00 [13:10:38]MH_I2C_Read... [13:10:38]Read from MH i2c: E2 0E 00 42 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B9 [13:10:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:10:38]wFMCommunicate OK [13:10:38]SAM_PROTO_GetShiftState done [13:10:38]FM_GetShiftState done [13:10:38]req_shift_opened done [13:10:38]requested_item shift.open_date is exist - process it [13:10:38]req_shift_open_date [13:10:38]req_shift_open_date done [13:10:38]produce_requested_data done [13:10:38]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40764,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:10:38]process_action_free close_receipt [13:10:38]json_value_free [13:10:38]json_value_free done [13:10:38]process_json_proto returns [13:10:38]Send response to host [13:10:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40764,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:10:38]free response buf [13:10:38]execute_script done [13:10:38]execute_script returns [13:10:38]free content buf [13:10:38]Sock 9.Close socket [13:10:38]Sock 9.Thread stoped [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]accept exits with 7 [13:16:42]New connection [13:16:42]New thread 3067030884 created [13:16:42]Thread 3066887524 joined [13:16:42]Waiting for new connection... [13:16:42] Sock 7.Parse request [13:16:42]Sock 7.Check first char [13:16:42]Sock 7.First char is OK [13:16:42]request: POST /json_proto HTTP/1.0 [13:16:42]Method: POST [13:16:42]URL: /json_proto [13:16:42]Method is POST - this is cgi request [13:16:42]url: /json_proto [13:16:42]query_string will be loaded in cgi processing [13:16:42]execute_cgi json_proto POST (null) [13:16:42]execute_cgi path=json_proto method=POST [13:16:42]POST find Content-Length [13:16:42]Host: 172.17.53.4:8080 [13:16:42]Content-Length: 678 [13:16:42]Content-Type: application/json [13:16:42] [13:16:42]POST finish read [13:16:42]Found Content-Length = 678 [13:16:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808782", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:42]execute_script... [13:16:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808782", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:42]POST & json_proto [13:16:42]process_json_proto [13:16:42]json parsed OK: [13:16:42]protocol is kg_v1.0 [13:16:42]action value=close_receipt [13:16:42]process_action close_receipt [13:16:42]cmd_close_receipt [13:16:42]MH_GetDate [13:16:42]Write to MH i2c: F0 00 00 43 2C 5E [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: F0 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: F0 09 00 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: F0 09 00 43 2C 00 4A 54 16 67 05 11 DA 64 D6 [13:16:42]GetLastDocTimeStamp 1729516250 [13:16:42]current date 1729516618 [13:16:42]FM_GetShiftState [13:16:42]SAM_PROTO_GetShiftState [13:16:42]wFMCommunicate request_size=4 [13:16:42]MH_SAM_APDU [13:16:42]CAPDU: 80 13 01 00 [13:16:42]Write to MH i2c: E2 08 00 44 2C 80 13 01 00 00 00 00 00 ED [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:42]Read from MH i2c: E2 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 0E 00 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 0E 00 44 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 BB [13:16:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:16:42]wFMCommunicate OK [13:16:42]SAM_PROTO_GetShiftState done [13:16:42]FM_GetShiftState done [13:16:42]opened in 1729470630 [13:16:42]opened+sec_in_day 1729557030 [13:16:42]quantity*price = 70044 [13:16:42]sum+1 = 70045 [13:16:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.44 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 33 21.10.2024 13:16 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40765 ФПД: 73074057158412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131658&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40765&fm=73074057158412&tin=02508201610067®Number=0000000000098148&sum=70000 [13:16:43]StoreToDocumentArchive [13:16:43]shift 448 fd 40765 [13:16:43]save to /storage/0448/doc_00040765 [13:16:43]save last doc name /storage/0448/doc_00040765 to /storage/kkm_last_doc_name [13:16:43]save OK [13:16:43]Clear old archive folders... [13:16:43]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:16:43]tlvbuf is 010DEF20 [13:16:43]SAM_PROTO_ClearQueue [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 09 00 00 [13:16:43]Write to MH i2c: E2 08 00 51 2C 80 09 00 00 00 00 00 00 EF [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 51 2C 00 90 00 F1 [13:16:43]RAPDU: 90 00 [13:16:43]wFMCommunicate OK [13:16:43]SAM_PROTO_ClearQueue done [13:16:43]KKMCreateOFDPacket [13:16:43]OFDProtocolAddRootSTLVToBuf [13:16:43]FM_MakeSignedData [13:16:43]FM_MakeSignedData [13:16:43]SAM_PROTO_SignData [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 0D 01 02 [13:16:43]Write to MH i2c: E2 08 00 52 2C 80 0D 01 02 00 00 00 00 F7 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 52 2C 00 90 00 F2 [13:16:43]RAPDU: 90 00 [13:16:43]wFMCommunicate OK [13:16:43]wFMCommunicate request_size=255 [13:16:43]MH_SAM_APDU [13:16:43]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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4A 54 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3D 9F 00 00 35 04 06 00 42 [13:16:43]Write to MH i2c: E2 02 01 53 2C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4A 54 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3D 9F 00 00 35 04 06 00 42 00 00 B8 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 53 2C 00 90 00 F3 [13:16:43]RAPDU: 90 00 [13:16:43]wFMCommunicate OK [13:16:43]wFMCommunicate request_size=10 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 0D 02 02 05 75 E1 38 1F 0C [13:16:43]Write to MH i2c: E2 0D 00 54 2C 80 0D 02 02 05 00 75 E1 38 1F 0C 00 00 BD [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 54 2C 00 90 00 F4 [13:16:43]RAPDU: 90 00 [13:16:43]wFMCommunicate OK [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 0D 03 02 [13:16:43]Write to MH i2c: E2 08 00 55 2C 80 0D 03 02 00 00 00 00 FC [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 0B 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 0B 00 55 2C 00 24 6D BF 89 65 A7 FB B8 90 00 95 [13:16:43]RAPDU: 24 6D BF 89 65 A7 FB B8 90 00 [13:16:43]wFMCommunicate OK [13:16:43]SAM_PROTO_SignData done [13:16:43]FM_MakeSignedData done [13:16:43]CreateOFDProtocolMessage [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 11 00 00 [13:16:43]Write to MH i2c: E2 08 00 56 2C 80 11 00 00 00 00 00 00 FC [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 17 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 17 00 56 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 51 [13:16:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:16:43]wFMCommunicate OK [13:16:43]CreateOFDProtocolMessage done [13:16:43]OFDSenderStorePacket 40765 [13:16:43]StoreOFDPacket docnum=40765 [13:16:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BA 5E 07 01 2E 62 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4A 54 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3D 9F 00 00 35 04 06 00 42 75 E1 38 1F 0C 24 6D BF 89 65 A7 FB B8 [13:16:43]CheckFolder [13:16:43]dirname=/storage/ofd_packets [13:16:43]CheckFolder done [13:16:43]ProducePacketName [13:16:43]name=ofd_packets/00040765 [13:16:43]NVStorageSaveData ofd_packets/00040765 [13:16:43]File name is /storage/ofd_packets/00040765 [13:16:43]Write 301 bytes [13:16:43]NVStorageSaveData done [13:16:43]OFDSenderStorePacket done [13:16:43]KKMCreateOFDPacket done [13:16:43]NVStorageSaveData kkm_last_timestamp [13:16:43]File name is /storage/kkm_last_timestamp [13:16:43]Write 4 bytes [13:16:43]NVStorageSaveData done [13:16:43]ExternCall_PrintAddStr [13:16:43]wPrintStart [13:16:43]Write to MH i2c: 01 00 00 57 2C 83 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 57 2C 00 00 00 00 00 FF 0F 98 [13:16:43]RasterBufferAndPrint [13:16:43]line Счет N : (1)808782 [13:16:43]line ИÐÐ: 02508201610067 [13:16:43]line Контрольно-КаÑÑовый Чек [13:16:43]line ПРОДÐЖР[13:16:43]line ТРК (МРК, ГÐК) : 53 [13:16:43]line Товар: 2710124130 [13:16:43]line Ðи-92-К-5 [13:16:43]line 10.470 * 66.90 [13:16:43]line = 700.44 [13:16:43]line ÐДС 12% ÐСП 1% [13:16:43]line > о реализуемом товаре [13:16:43]line ОКРУГЛЕÐИЕ: -0.44 [13:16:43]line ИТОГО: 700.00 [13:16:43]line ВнеÑено: 700.00 [13:16:43]line СДÐЧÐ: 0.00 [13:16:43]line ÐСП 1% : 6.20 [13:16:43]line ÐДС 12% : 74.38 [13:16:43]line Ðаличными: 700.00 [13:16:43]line Безнал.: 0.00 [13:16:43]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:16:43]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:16:43]line СÐО: Общий режим [13:16:43]line Чек 33 21.10.2024 13:16 [13:16:43]line Смена: 448 ФФД: 1.0 [13:16:43]line ЗÐМ: 0300000239 [13:16:43]line РÐМ: 0000000000098148 [13:16:43]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:16:43]line ФМ: 0000000000965374 [13:16:43]line ФД: 40765 [13:16:43]line ФПД: 73074057158412 [13:16:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131658&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40765&fm=73074057158412&tin=02508201610067®Number=0000000000098148&sum=70000 [13:16:44]written 0, free lines is 4095 [13:16:44]OFD Sender: Processing packet 40765 [packets to send 4, broken 3] [13:16:44]ProducePacketName [13:16:44]name=ofd_packets/00040765 [13:16:44]OFD Sender: To server: ‡•öpG, [13:16:44]CommunicateWithHost lk.salyk.kg:30040 [13:16:44]ConnectInit lk.salyk.kg [13:16:44]Connected sock=10 [13:16:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BA 5E 07 01 2E 62 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4A 54 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3D 9F 00 00 35 04 06 00 42 75 E1 38 1F 0C 24 6D BF 89 65 A7 FB B8 [13:16:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 87 88 47 00 97 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3D 9F 00 00 F4 03 04 00 2A FA 15 67 B6 04 01 00 00 DB FC 07 BF 2B 97 F7 E0 [13:16:44]CommunicateWithHost err = 0 [13:16:44]CheckOFDResponse [13:16:44]1017 (14) - 77093643461234 [13:16:44]1041 (16) - 0000000000965374 [13:16:44]1040 (4) - 40765 [13:16:44]1012 (4) - 21.10.2024 06:52 [13:16:44]1206 (1) - 0 [13:16:44]OFD Sender: Remove packet 40765 [13:16:44]ProducePacketName [13:16:44]name=ofd_packets/00040765 [13:16:44]NVStorageDeleteData [13:16:44]Write to MH i2c: 01 00 00 82 2C AE [13:16:44]Write i2c OK [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: 01 [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: 01 07 00 [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: 01 07 00 82 2C 00 00 00 00 00 ED 0C AE [13:16:44]RasterBufferAndPrint [13:16:44]line [13:16:44]line [13:16:44]line [13:16:44]line [13:16:44]line [13:16:44]written 0, free lines is 3315 [13:16:44]MH_Cut [13:16:44]Write to MH i2c: D1 01 00 89 2C 01 87 [13:16:44]Write i2c OK [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: D1 [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: D1 01 00 [13:16:44]MH_I2C_Read... [13:16:44]Read from MH i2c: D1 01 00 89 2C 00 86 [13:16:44]Write to MH i2c: 01 00 00 8A 2C B6 [13:16:44]Write i2c OK [13:16:44]MH_I2C_Read... [13:16:44]OFD Sender: No OFD packet to send [13:16:45]*** Cut start [13:16:45]*** Partial cut [13:16:45]*** CUTSNS_PIN = 1 [13:16:45]*** CUTSNS_PIN = 0 [13:16:45]*** Brake cut motor [13:16:45]Read from MH i2c: 01 [13:16:45]MH_I2C_Read... [13:16:45]*** Stop cut motor [13:16:45]*** Cut end [13:16:45]Read from MH i2c: 01 07 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: 01 07 00 8A 2C 00 00 00 00 00 FF 0F CB [13:16:45]process_action close_receipt done [13:16:45]requested_data is exist [13:16:45]produce_requested_data [13:16:45]requested_item fm.sn is exist - process it [13:16:45]wFMCommunicate request_size=4 [13:16:45]MH_SAM_APDU [13:16:45]CAPDU: 80 11 00 00 [13:16:45]Write to MH i2c: E2 08 00 8B 2C 80 11 00 00 00 00 00 00 31 [13:16:45]Write i2c OK [13:16:45]MH_I2C_Read... [13:16:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:45]Read from MH i2c: E2 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 17 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 17 00 8B 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 86 [13:16:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:16:45]wFMCommunicate OK [13:16:45]requested_item fd.num is exist - process it [13:16:45]SAM_PROTO_GetFieldsCounters [13:16:45]wFMCommunicate request_size=4 [13:16:45]MH_SAM_APDU [13:16:45]CAPDU: 80 13 00 00 [13:16:45]Write to MH i2c: E2 08 00 8C 2C 80 13 00 00 00 00 00 00 34 [13:16:45]Write i2c OK [13:16:45]MH_I2C_Read... [13:16:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:16:45]Read from MH i2c: E2 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 62 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 62 00 8C 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3D 9F 00 00 0E 04 04 00 C0 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 5C [13:16:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3D 9F 00 00 0E 04 04 00 C0 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 [13:16:46]wFMCommunicate OK [13:16:46]SAM_PROTO_GetFieldsCounters done [13:16:46]requested_item shift.num is exist - process it [13:16:46]requested_item shift.opened is exist - process it [13:16:46]req_shift_opened [13:16:46]FM_GetShiftState [13:16:46]SAM_PROTO_GetShiftState [13:16:46]wFMCommunicate request_size=4 [13:16:46]MH_SAM_APDU [13:16:46]CAPDU: 80 13 01 00 [13:16:46]Write to MH i2c: E2 08 00 8D 2C 80 13 01 00 00 00 00 00 36 [13:16:46]Write i2c OK [13:16:46]MH_I2C_Read... [13:16:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:46]Read from MH i2c: E2 [13:16:46]MH_I2C_Read... [13:16:46]Read from MH i2c: E2 0E 00 [13:16:46]MH_I2C_Read... [13:16:46]Read from MH i2c: E2 0E 00 8D 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 04 [13:16:46]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:16:46]wFMCommunicate OK [13:16:46]SAM_PROTO_GetShiftState done [13:16:46]FM_GetShiftState done [13:16:46]req_shift_opened done [13:16:46]requested_item shift.open_date is exist - process it [13:16:46]req_shift_open_date [13:16:46]req_shift_open_date done [13:16:46]produce_requested_data done [13:16:46]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40765,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:16:46]process_action_free close_receipt [13:16:46]json_value_free [13:16:46]json_value_free done [13:16:46]process_json_proto returns [13:16:46]Send response to host [13:16:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40765,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:16:46]free response buf [13:16:46]execute_script done [13:16:46]execute_script returns [13:16:46]free content buf [13:16:46]Sock 7.Close socket [13:16:46]Sock 7.Thread stoped [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:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]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:09]accept exits with 9 [13:25:09]New connection [13:25:09]New thread 3066887524 created [13:25:09]Thread 3067030884 joined [13:25:09]Waiting for new connection... [13:25:09] Sock 9.Parse request [13:25:09]Sock 9.Check first char [13:25:09]Sock 9.First char is OK [13:25:09]request: POST /json_proto HTTP/1.0 [13:25:09]Method: POST [13:25:09]URL: /json_proto [13:25:09]Method is POST - this is cgi request [13:25:09]url: /json_proto [13:25:09]query_string will be loaded in cgi processing [13:25:09]execute_cgi json_proto POST (null) [13:25:09]execute_cgi path=json_proto method=POST [13:25:09]POST find Content-Length [13:25:09]Host: 172.17.53.4:8080 [13:25:09]Content-Length: 677 [13:25:09]Content-Type: application/json [13:25:09] [13:25:09]POST finish read [13:25:09]Found Content-Length = 677 [13:25:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808788", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:09]execute_script... [13:25:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808788", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:09]POST & json_proto [13:25:09]process_json_proto [13:25:09]json parsed OK: [13:25:09]protocol is kg_v1.0 [13:25:09]action value=close_receipt [13:25:09]process_action close_receipt [13:25:09]cmd_close_receipt [13:25:09]MH_GetDate [13:25:09]Write to MH i2c: F0 00 00 8E 2C A9 [13:25:09]Write i2c OK [13:25:09]MH_I2C_Read... [13:25:09]Read from MH i2c: F0 [13:25:09]MH_I2C_Read... [13:25:09]Read from MH i2c: F0 09 00 [13:25:09]MH_I2C_Read... [13:25:09]Read from MH i2c: F0 09 00 8E 2C 00 45 56 16 67 05 11 DA 64 1E [13:25:09]GetLastDocTimeStamp 1729516618 [13:25:09]current date 1729517125 [13:25:09]FM_GetShiftState [13:25:09]SAM_PROTO_GetShiftState [13:25:09]wFMCommunicate request_size=4 [13:25:09]MH_SAM_APDU [13:25:09]CAPDU: 80 13 01 00 [13:25:09]Write to MH i2c: E2 08 00 8F 2C 80 13 01 00 00 00 00 00 38 [13:25:09]Write i2c OK [13:25:09]MH_I2C_Read... [13:25:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:09]Read from MH i2c: E2 [13:25:09]MH_I2C_Read... [13:25:09]Read from MH i2c: E2 0E 00 [13:25:09]MH_I2C_Read... [13:25:09]Read from MH i2c: E2 0E 00 8F 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 06 [13:25:09]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:25:09]wFMCommunicate OK [13:25:09]SAM_PROTO_GetShiftState done [13:25:09]FM_GetShiftState done [13:25:09]opened in 1729470630 [13:25:09]opened+sec_in_day 1729557030 [13:25:09]quantity*price = 30038 [13:25:09]sum+1 = 30039 [13:25:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 34 21.10.2024 13:25 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40766 ФПД: 223507732905491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T132525&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40766&fm=223507732905491&tin=02508201610067®Number=0000000000098148&sum=30000 [13:25:10]StoreToDocumentArchive [13:25:10]shift 448 fd 40766 [13:25:10]save to /storage/0448/doc_00040766 [13:25:10]save last doc name /storage/0448/doc_00040766 to /storage/kkm_last_doc_name [13:25:10]save OK [13:25:10]Clear old archive folders... [13:25:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:25:10]tlvbuf is B6DBB7E0 [13:25:10]SAM_PROTO_ClearQueue [13:25:10]wFMCommunicate request_size=4 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 09 00 00 [13:25:10]Write to MH i2c: E2 08 00 9C 2C 80 09 00 00 00 00 00 00 3A [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 9C 2C 00 90 00 3C [13:25:10]RAPDU: 90 00 [13:25:10]wFMCommunicate OK [13:25:10]SAM_PROTO_ClearQueue done [13:25:10]KKMCreateOFDPacket [13:25:10]OFDProtocolAddRootSTLVToBuf [13:25:10]FM_MakeSignedData [13:25:10]FM_MakeSignedData [13:25:10]SAM_PROTO_SignData [13:25:10]wFMCommunicate request_size=4 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 0D 01 02 [13:25:10]Write to MH i2c: E2 08 00 9D 2C 80 0D 01 02 00 00 00 00 42 [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 9D 2C 00 90 00 3D [13:25:10]RAPDU: 90 00 [13:25:10]wFMCommunicate OK [13:25:10]wFMCommunicate request_size=255 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 45 56 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3E 9F 00 00 35 04 06 00 CB [13:25:10]Write to MH i2c: E2 02 01 9E 2C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 45 56 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3E 9F 00 00 35 04 06 00 CB 00 00 6F [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 9E 2C 00 90 00 3E [13:25:10]RAPDU: 90 00 [13:25:10]wFMCommunicate OK [13:25:10]wFMCommunicate request_size=10 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 0D 02 02 05 47 73 06 3E 13 [13:25:10]Write to MH i2c: E2 0D 00 9F 2C 80 0D 02 02 05 00 47 73 06 3E 13 00 00 60 [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 03 00 9F 2C 00 90 00 3F [13:25:10]RAPDU: 90 00 [13:25:10]wFMCommunicate OK [13:25:10]wFMCommunicate request_size=4 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 0D 03 02 [13:25:10]Write to MH i2c: E2 08 00 A0 2C 80 0D 03 02 00 00 00 00 47 [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 0B 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 0B 00 A0 2C 00 49 B7 25 23 CD 86 25 FA 90 00 02 [13:25:10]RAPDU: 49 B7 25 23 CD 86 25 FA 90 00 [13:25:10]wFMCommunicate OK [13:25:10]SAM_PROTO_SignData done [13:25:10]FM_MakeSignedData done [13:25:10]CreateOFDProtocolMessage [13:25:10]wFMCommunicate request_size=4 [13:25:10]MH_SAM_APDU [13:25:10]CAPDU: 80 11 00 00 [13:25:10]Write to MH i2c: E2 08 00 A1 2C 80 11 00 00 00 00 00 00 47 [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:10]Read from MH i2c: E2 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 17 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: E2 17 00 A1 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 9C [13:25:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:25:10]wFMCommunicate OK [13:25:10]CreateOFDProtocolMessage done [13:25:10]OFDSenderStorePacket 40766 [13:25:10]StoreOFDPacket docnum=40766 [13:25:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3C 66 07 01 DD 53 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 45 56 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3E 9F 00 00 35 04 06 00 CB 47 73 06 3E 13 49 B7 25 23 CD 86 25 FA [13:25:10]CheckFolder [13:25:10]dirname=/storage/ofd_packets [13:25:10]CheckFolder done [13:25:10]ProducePacketName [13:25:10]name=ofd_packets/00040766 [13:25:10]NVStorageSaveData ofd_packets/00040766 [13:25:10]File name is /storage/ofd_packets/00040766 [13:25:10]Write 301 bytes [13:25:10]NVStorageSaveData done [13:25:10]OFDSenderStorePacket done [13:25:10]KKMCreateOFDPacket done [13:25:10]NVStorageSaveData kkm_last_timestamp [13:25:10]File name is /storage/kkm_last_timestamp [13:25:10]Write 4 bytes [13:25:10]NVStorageSaveData done [13:25:10]ExternCall_PrintAddStr [13:25:10]wPrintStart [13:25:10]Write to MH i2c: 01 00 00 A2 2C CE [13:25:10]Write i2c OK [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: 01 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: 01 07 00 [13:25:10]MH_I2C_Read... [13:25:10]Read from MH i2c: 01 07 00 A2 2C 00 00 00 00 00 FF 0F E3 [13:25:10]RasterBufferAndPrint [13:25:10]line Счет N : (1)808788 [13:25:10]line ИÐÐ: 02508201610067 [13:25:10]line Контрольно-КаÑÑовый Чек [13:25:10]line ПРОДÐЖР[13:25:10]line ТРК (МРК, ГÐК) : 43 [13:25:10]line Товар: 2710124130 [13:25:10]line Ðи-92-К-5 [13:25:10]line 4.490 * 66.90 [13:25:10]line = 300.38 [13:25:10]line ÐДС 12% ÐСП 1% [13:25:10]line > о реализуемом товаре [13:25:10]line ОКРУГЛЕÐИЕ: -0.38 [13:25:10]line ИТОГО: 300.00 [13:25:10]line ВнеÑено: 300.00 [13:25:10]line СДÐЧÐ: 0.00 [13:25:10]line ÐСП 1% : 2.66 [13:25:10]line ÐДС 12% : 31.90 [13:25:10]line Ðаличными: 300.00 [13:25:10]line Безнал.: 0.00 [13:25:10]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:25:10]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:25:10]line СÐО: Общий режим [13:25:10]line Чек 34 21.10.2024 13:25 [13:25:10]line Смена: 448 ФФД: 1.0 [13:25:10]line ЗÐМ: 0300000239 [13:25:10]line РÐМ: 0000000000098148 [13:25:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:25:10]line ФМ: 0000000000965374 [13:25:10]line ФД: 40766 [13:25:10]line ФПД: 223507732905491 [13:25:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T132525&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40766&fm=223507732905491&tin=02508201610067®Number=0000000000098148&sum=30000 [13:25:11]written 0, free lines is 4095 [13:25:11]OFD Sender: Processing packet 40766 [packets to send 4, broken 3] [13:25:11]ProducePacketName [13:25:11]name=ofd_packets/00040766 [13:25:11]OFD Sender: To server: ‡•öpG, [13:25:11]CommunicateWithHost lk.salyk.kg:30040 [13:25:11]ConnectInit lk.salyk.kg [13:25:11]Connected sock=10 [13:25:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3C 66 07 01 DD 53 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 45 56 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3E 9F 00 00 35 04 06 00 CB 47 73 06 3E 13 49 B7 25 23 CD 86 25 FA [13:25:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 56 7D 47 00 FE F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3E 9F 00 00 F4 03 04 00 25 FC 15 67 B6 04 01 00 00 07 3A 5B 7C 50 89 AC 2E [13:25:11]CommunicateWithHost err = 0 [13:25:11]CheckOFDResponse [13:25:11]1017 (14) - 77093643461234 [13:25:11]1041 (16) - 0000000000965374 [13:25:11]1040 (4) - 40766 [13:25:11]1012 (4) - 21.10.2024 07:00 [13:25:11]1206 (1) - 0 [13:25:11]OFD Sender: Remove packet 40766 [13:25:11]ProducePacketName [13:25:11]name=ofd_packets/00040766 [13:25:11]NVStorageDeleteData [13:25:11]Write to MH i2c: 01 00 00 CD 2C F9 [13:25:11]Write i2c OK [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: 01 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: 01 07 00 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: 01 07 00 CD 2C 00 00 00 00 00 FC 0C 08 [13:25:11]RasterBufferAndPrint [13:25:11]line [13:25:11]line [13:25:11]line [13:25:11]line [13:25:11]line [13:25:11]written 0, free lines is 3330 [13:25:11]MH_Cut [13:25:11]Write to MH i2c: D1 01 00 D4 2C 01 D2 [13:25:11]Write i2c OK [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: D1 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: D1 01 00 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: D1 01 00 D4 2C 00 D1 [13:25:11]Write to MH i2c: 01 00 00 D5 2C 01 [13:25:11]Write i2c OK [13:25:11]MH_I2C_Read... [13:25:12]OFD Sender: No OFD packet to send [13:25:12]*** Cut start [13:25:12]*** Partial cut [13:25:12]*** CUTSNS_PIN = 1 [13:25:12]*** CUTSNS_PIN = 0 [13:25:12]*** Brake cut motor [13:25:13]Read from MH i2c: 01 [13:25:13]MH_I2C_Read... [13:25:13]*** Stop cut motor [13:25:13]*** Cut end [13:25:13]Read from MH i2c: 01 07 00 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: 01 07 00 D5 2C 00 00 00 00 00 FF 0F 16 [13:25:13]process_action close_receipt done [13:25:13]requested_data is exist [13:25:13]produce_requested_data [13:25:13]requested_item fm.sn is exist - process it [13:25:13]wFMCommunicate request_size=4 [13:25:13]MH_SAM_APDU [13:25:13]CAPDU: 80 11 00 00 [13:25:13]Write to MH i2c: E2 08 00 D6 2C 80 11 00 00 00 00 00 00 7C [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:13]Read from MH i2c: E2 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 17 00 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 17 00 D6 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D1 [13:25:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:25:13]wFMCommunicate OK [13:25:13]requested_item fd.num is exist - process it [13:25:13]SAM_PROTO_GetFieldsCounters [13:25:13]wFMCommunicate request_size=4 [13:25:13]MH_SAM_APDU [13:25:13]CAPDU: 80 13 00 00 [13:25:13]Write to MH i2c: E2 08 00 D7 2C 80 13 00 00 00 00 00 00 7F [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:13]Read from MH i2c: E2 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 62 00 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 62 00 D7 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3E 9F 00 00 0E 04 04 00 C0 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 AB [13:25:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3E 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:25:13]wFMCommunicate OK [13:25:13]SAM_PROTO_GetFieldsCounters done [13:25:13]requested_item shift.num is exist - process it [13:25:13]requested_item shift.opened is exist - process it [13:25:13]req_shift_opened [13:25:13]FM_GetShiftState [13:25:13]SAM_PROTO_GetShiftState [13:25:13]wFMCommunicate request_size=4 [13:25:13]MH_SAM_APDU [13:25:13]CAPDU: 80 13 01 00 [13:25:13]Write to MH i2c: E2 08 00 D8 2C 80 13 01 00 00 00 00 00 81 [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:13]Read from MH i2c: E2 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 0E 00 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: E2 0E 00 D8 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 4F [13:25:13]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:25:13]wFMCommunicate OK [13:25:13]SAM_PROTO_GetShiftState done [13:25:13]FM_GetShiftState done [13:25:13]req_shift_opened done [13:25:13]requested_item shift.open_date is exist - process it [13:25:13]req_shift_open_date [13:25:13]req_shift_open_date done [13:25:13]produce_requested_data done [13:25:13]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40766,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:25:13]process_action_free close_receipt [13:25:13]json_value_free [13:25:13]json_value_free done [13:25:13]process_json_proto returns [13:25:13]Send response to host [13:25:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40766,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:25:13]free response buf [13:25:13]execute_script done [13:25:13]execute_script returns [13:25:13]free content buf [13:25:13]Sock 9.Close socket [13:25:13]Sock 9.Thread stoped [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]OFD Sender: No OFD packet to send [13:30:37]OFD Sender: No OFD packet to send [13:30:42]OFD Sender: No OFD packet to send [13:30:47]OFD Sender: No OFD packet to send [13:30:52]OFD Sender: No OFD packet to send [13:30:57]OFD Sender: No OFD packet to send [13:31:02]OFD Sender: No OFD packet to send [13:31:07]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:32]OFD Sender: No OFD packet to send [13:32:37]OFD Sender: No OFD packet to send [13:32:42]OFD Sender: No OFD packet to send [13:32:47]OFD Sender: No OFD packet to send [13:32:52]OFD Sender: No OFD packet to send [13:32:57]OFD Sender: No OFD packet to send [13:33:02]OFD Sender: No OFD packet to send [13:33:07]OFD Sender: No OFD packet to send [13:33:12]OFD Sender: No OFD packet to send [13:33:17]OFD Sender: No OFD packet to send [13:33:22]OFD Sender: No OFD packet to send [13:33:27]OFD Sender: No OFD packet to send [13:33:32]OFD Sender: No OFD packet to send [13:33:37]OFD Sender: No OFD packet to send [13:33:42]OFD Sender: No OFD packet to send [13:33:47]OFD Sender: No OFD packet to send [13:33:52]OFD Sender: No OFD packet to send [13:33:57]OFD Sender: No OFD packet to send [13:34:02]OFD Sender: No OFD packet to send [13:34:07]OFD Sender: No OFD packet to send [13:34:12]OFD Sender: No OFD packet to send [13:34:17]OFD Sender: No OFD packet to send [13:34:22]OFD Sender: No OFD packet to send [13:34:27]OFD Sender: No OFD packet to send [13:34:32]OFD Sender: No OFD packet to send [13:34:37]OFD Sender: No OFD packet to send [13:34:42]OFD Sender: No OFD packet to send [13:34:47]OFD Sender: No OFD packet to send [13:34:52]OFD Sender: No OFD packet to send [13:34:57]OFD Sender: No OFD packet to send [13:35:02]OFD Sender: No OFD packet to send [13:35:07]OFD Sender: No OFD packet to send [13:35:12]OFD Sender: No OFD packet to send [13:35:13]accept exits with 7 [13:35:13]New connection [13:35:13]New thread 3067030884 created [13:35:13]Thread 3066887524 joined [13:35:13]Waiting for new connection... [13:35:13] Sock 7.Parse request [13:35:13]Sock 7.Check first char [13:35:13]Sock 7.First char is OK [13:35:13]request: POST /json_proto HTTP/1.0 [13:35:13]Method: POST [13:35:13]URL: /json_proto [13:35:13]Method is POST - this is cgi request [13:35:13]url: /json_proto [13:35:13]query_string will be loaded in cgi processing [13:35:13]execute_cgi json_proto POST (null) [13:35:13]execute_cgi path=json_proto method=POST [13:35:13]POST find Content-Length [13:35:13]Host: 172.17.53.4:8080 [13:35:13]Content-Length: 677 [13:35:13]Content-Type: application/json [13:35:13] [13:35:13]POST finish read [13:35:13]Found Content-Length = 677 [13:35:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808792", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.250, "sum" : 150.53, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 150.00, "total" : 150.00, "payments": [ { "type": 0, "sum" : 150.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:13]execute_script... [13:35:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808792", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.250, "sum" : 150.53, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 150.00, "total" : 150.00, "payments": [ { "type": 0, "sum" : 150.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:13]POST & json_proto [13:35:13]process_json_proto [13:35:13]json parsed OK: [13:35:13]protocol is kg_v1.0 [13:35:13]action value=close_receipt [13:35:13]process_action close_receipt [13:35:13]cmd_close_receipt [13:35:13]MH_GetDate [13:35:13]Write to MH i2c: F0 00 00 D9 2C F4 [13:35:13]Write i2c OK [13:35:13]MH_I2C_Read... [13:35:13]Read from MH i2c: F0 [13:35:13]MH_I2C_Read... [13:35:13]Read from MH i2c: F0 09 00 [13:35:13]MH_I2C_Read... [13:35:13]Read from MH i2c: F0 09 00 D9 2C 00 A1 58 16 67 05 11 DA 64 C7 [13:35:13]GetLastDocTimeStamp 1729517125 [13:35:13]current date 1729517729 [13:35:13]FM_GetShiftState [13:35:13]SAM_PROTO_GetShiftState [13:35:13]wFMCommunicate request_size=4 [13:35:13]MH_SAM_APDU [13:35:13]CAPDU: 80 13 01 00 [13:35:13]Write to MH i2c: E2 08 00 DA 2C 80 13 01 00 00 00 00 00 83 [13:35:13]Write i2c OK [13:35:13]MH_I2C_Read... [13:35:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:13]Read from MH i2c: E2 [13:35:13]MH_I2C_Read... [13:35:13]Read from MH i2c: E2 0E 00 [13:35:13]MH_I2C_Read... [13:35:13]Read from MH i2c: E2 0E 00 DA 2C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 51 [13:35:13]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:35:13]wFMCommunicate OK [13:35:13]SAM_PROTO_GetShiftState done [13:35:13]FM_GetShiftState done [13:35:13]opened in 1729470630 [13:35:13]opened+sec_in_day 1729557030 [13:35:13]quantity*price = 15052 [13:35:13]sum+1 = 15054 [13:35:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.53 ИТОГО: 150.00 ВнеÑено: 150.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.33 ÐДС 12% : 15.98 Ðаличными: 150.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 35 21.10.2024 13:35 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40767 ФПД: 47766948560210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133529&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40767&fm=47766948560210&tin=02508201610067®Number=0000000000098148&sum=15000 [13:35:14]StoreToDocumentArchive [13:35:14]shift 448 fd 40767 [13:35:14]save to /storage/0448/doc_00040767 [13:35:14]save last doc name /storage/0448/doc_00040767 to /storage/kkm_last_doc_name [13:35:14]save OK [13:35:14]Clear old archive folders... [13:35:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:35:14]tlvbuf is 010C0290 [13:35:14]SAM_PROTO_ClearQueue [13:35:14]wFMCommunicate request_size=4 [13:35:14]MH_SAM_APDU [13:35:14]CAPDU: 80 09 00 00 [13:35:14]Write to MH i2c: E2 08 00 E7 2C 80 09 00 00 00 00 00 00 85 [13:35:14]Write i2c OK [13:35:14]MH_I2C_Read... [13:35:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:35:14]Read from MH i2c: E2 [13:35:14]MH_I2C_Read... [13:35:14]Read from MH i2c: E2 03 00 [13:35:14]MH_I2C_Read... [13:35:14]Read from MH i2c: E2 03 00 E7 2C 00 90 00 87 [13:35:14]RAPDU: 90 00 [13:35:14]wFMCommunicate OK [13:35:14]SAM_PROTO_ClearQueue done [13:35:14]KKMCreateOFDPacket [13:35:14]OFDProtocolAddRootSTLVToBuf [13:35:14]FM_MakeSignedData [13:35:14]FM_MakeSignedData [13:35:14]SAM_PROTO_SignData [13:35:14]wFMCommunicate request_size=4 [13:35:14]MH_SAM_APDU [13:35:14]CAPDU: 80 0D 01 02 [13:35:14]Write to MH i2c: E2 08 00 E8 2C 80 0D 01 02 00 00 00 00 8D [13:35:14]Write i2c OK [13:35:14]MH_I2C_Read... [13:35:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:35:14]Read from MH i2c: E2 [13:35:14]MH_I2C_Read... [13:35:14]Read from MH i2c: E2 03 00 [13:35:14]MH_I2C_Read... [13:35:14]Read from MH i2c: E2 03 00 E8 2C 00 90 00 88 [13:35:14]RAPDU: 90 00 [13:35:14]wFMCommunicate OK [13:35:14]wFMCommunicate request_size=255 [13:35:14]MH_SAM_APDU [13:35:14]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CA 08 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CD 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 A1 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3F 9F 00 00 35 04 06 00 2B [13:35:14]Write to MH i2c: E2 02 01 E9 2C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CA 08 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CD 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 A1 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3F 9F 00 00 35 04 06 00 2B 00 00 83 [13:35:14]Write i2c OK [13:35:14]MH_I2C_Read... [13:35:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:15]Read from MH i2c: E2 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 03 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 03 00 E9 2C 00 90 00 89 [13:35:15]RAPDU: 90 00 [13:35:15]wFMCommunicate OK [13:35:15]wFMCommunicate request_size=10 [13:35:15]MH_SAM_APDU [13:35:15]CAPDU: 80 0D 02 02 05 71 9C 00 3D 52 [13:35:15]Write to MH i2c: E2 0D 00 EA 2C 80 0D 02 02 05 00 71 9C 00 3D 52 00 00 36 [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:15]Read from MH i2c: E2 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 03 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 03 00 EA 2C 00 90 00 8A [13:35:15]RAPDU: 90 00 [13:35:15]wFMCommunicate OK [13:35:15]wFMCommunicate request_size=4 [13:35:15]MH_SAM_APDU [13:35:15]CAPDU: 80 0D 03 02 [13:35:15]Write to MH i2c: E2 08 00 EB 2C 80 0D 03 02 00 00 00 00 92 [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:35:15]Read from MH i2c: E2 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 0B 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 0B 00 EB 2C 00 FB 8A 84 02 1A 7B 7A 77 90 00 24 [13:35:15]RAPDU: FB 8A 84 02 1A 7B 7A 77 90 00 [13:35:15]wFMCommunicate OK [13:35:15]SAM_PROTO_SignData done [13:35:15]FM_MakeSignedData done [13:35:15]CreateOFDProtocolMessage [13:35:15]wFMCommunicate request_size=4 [13:35:15]MH_SAM_APDU [13:35:15]CAPDU: 80 11 00 00 [13:35:15]Write to MH i2c: E2 08 00 EC 2C 80 11 00 00 00 00 00 00 92 [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:15]Read from MH i2c: E2 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 17 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: E2 17 00 EC 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E7 [13:35:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:35:15]wFMCommunicate OK [13:35:15]CreateOFDProtocolMessage done [13:35:15]OFDSenderStorePacket 40767 [13:35:15]StoreOFDPacket docnum=40767 [13:35:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 09 CC 07 01 0A 44 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 CA 08 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CD 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 A1 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3F 9F 00 00 35 04 06 00 2B 71 9C 00 3D 52 FB 8A 84 02 1A 7B 7A 77 [13:35:15]CheckFolder [13:35:15]dirname=/storage/ofd_packets [13:35:15]CheckFolder done [13:35:15]ProducePacketName [13:35:15]name=ofd_packets/00040767 [13:35:15]NVStorageSaveData ofd_packets/00040767 [13:35:15]File name is /storage/ofd_packets/00040767 [13:35:15]Write 301 bytes [13:35:15]NVStorageSaveData done [13:35:15]OFDSenderStorePacket done [13:35:15]KKMCreateOFDPacket done [13:35:15]NVStorageSaveData kkm_last_timestamp [13:35:15]File name is /storage/kkm_last_timestamp [13:35:15]Write 4 bytes [13:35:15]NVStorageSaveData done [13:35:15]ExternCall_PrintAddStr [13:35:15]wPrintStart [13:35:15]Write to MH i2c: 01 00 00 ED 2C 19 [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 07 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 07 00 ED 2C 00 00 00 00 00 FF 0F 2E [13:35:15]RasterBufferAndPrint [13:35:15]line Счет N : (1)808792 [13:35:15]line ИÐÐ: 02508201610067 [13:35:15]line Контрольно-КаÑÑовый Чек [13:35:15]line ПРОДÐЖР[13:35:15]line ТРК (МРК, ГÐК) : 63 [13:35:15]line Товар: 2710124130 [13:35:15]line Ðи-92-К-5 [13:35:15]line 2.250 * 66.90 [13:35:15]line = 150.53 [13:35:15]line ÐДС 12% ÐСП 1% [13:35:15]line > о реализуемом товаре [13:35:15]line ОКРУГЛЕÐИЕ: -0.53 [13:35:15]line ИТОГО: 150.00 [13:35:15]line ВнеÑено: 150.00 [13:35:15]line СДÐЧÐ: 0.00 [13:35:15]line ÐСП 1% : 1.33 [13:35:15]line ÐДС 12% : 15.98 [13:35:15]line Ðаличными: 150.00 [13:35:15]line Безнал.: 0.00 [13:35:15]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:35:15]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:35:15]line СÐО: Общий режим [13:35:15]line Чек 35 21.10.2024 13:35 [13:35:15]line Смена: 448 ФФД: 1.0 [13:35:15]line ЗÐМ: 0300000239 [13:35:15]line РÐМ: 0000000000098148 [13:35:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:35:15]line ФМ: 0000000000965374 [13:35:15]line ФД: 40767 [13:35:15]line ФПД: 47766948560210 [13:35:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133529&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40767&fm=47766948560210&tin=02508201610067®Number=0000000000098148&sum=15000 [13:35:15]written 0, free lines is 4095 [13:35:15]OFD Sender: Processing packet 40767 [packets to send 4, broken 3] [13:35:15]ProducePacketName [13:35:15]name=ofd_packets/00040767 [13:35:15]OFD Sender: To server: ‡•öpG, [13:35:15]CommunicateWithHost lk.salyk.kg:30040 [13:35:15]ConnectInit lk.salyk.kg [13:35:15]Connected sock=10 [13:35:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 09 CC 07 01 0A 44 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 CA 08 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CD 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 A1 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3F 9F 00 00 35 04 06 00 2B 71 9C 00 3D 52 FB 8A 84 02 1A 7B 7A 77 [13:35:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 57 23 47 00 D3 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 3F 9F 00 00 F4 03 04 00 81 FE 15 67 B6 04 01 00 00 EF 8F 95 DB 58 86 B5 51 [13:35:15]CommunicateWithHost err = 0 [13:35:15]CheckOFDResponse [13:35:15]1017 (14) - 77093643461234 [13:35:15]1041 (16) - 0000000000965374 [13:35:15]1040 (4) - 40767 [13:35:15]1012 (4) - 21.10.2024 07:10 [13:35:15]1206 (1) - 0 [13:35:15]OFD Sender: Remove packet 40767 [13:35:15]ProducePacketName [13:35:15]name=ofd_packets/00040767 [13:35:15]NVStorageDeleteData [13:35:15]Write to MH i2c: 01 00 00 18 2D 45 [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 07 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: 01 07 00 18 2D 00 00 00 00 00 05 0D 5E [13:35:15]RasterBufferAndPrint [13:35:15]line [13:35:15]line [13:35:15]line [13:35:15]line [13:35:15]line [13:35:15]written 0, free lines is 3340 [13:35:15]MH_Cut [13:35:15]Write to MH i2c: D1 01 00 1F 2D 01 1E [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: D1 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: D1 01 00 [13:35:15]MH_I2C_Read... [13:35:15]Read from MH i2c: D1 01 00 1F 2D 00 1D [13:35:15]Write to MH i2c: 01 00 00 20 2D 4D [13:35:15]Write i2c OK [13:35:15]MH_I2C_Read... [13:35:16]OFD Sender: No OFD packet to send [13:35:16]*** Cut start [13:35:16]*** Partial cut [13:35:16]*** CUTSNS_PIN = 1 [13:35:16]*** CUTSNS_PIN = 0 [13:35:16]*** Brake cut motor [13:35:17]Read from MH i2c: 01 [13:35:17]MH_I2C_Read... [13:35:17]*** Stop cut motor [13:35:17]*** Cut end [13:35:17]Read from MH i2c: 01 07 00 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: 01 07 00 20 2D 00 00 00 00 00 FF 0F 62 [13:35:17]process_action close_receipt done [13:35:17]requested_data is exist [13:35:17]produce_requested_data [13:35:17]requested_item fm.sn is exist - process it [13:35:17]wFMCommunicate request_size=4 [13:35:17]MH_SAM_APDU [13:35:17]CAPDU: 80 11 00 00 [13:35:17]Write to MH i2c: E2 08 00 21 2D 80 11 00 00 00 00 00 00 C8 [13:35:17]Write i2c OK [13:35:17]MH_I2C_Read... [13:35:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:17]Read from MH i2c: E2 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 17 00 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 17 00 21 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 1D [13:35:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:35:17]wFMCommunicate OK [13:35:17]requested_item fd.num is exist - process it [13:35:17]SAM_PROTO_GetFieldsCounters [13:35:17]wFMCommunicate request_size=4 [13:35:17]MH_SAM_APDU [13:35:17]CAPDU: 80 13 00 00 [13:35:17]Write to MH i2c: E2 08 00 22 2D 80 13 00 00 00 00 00 00 CB [13:35:17]Write i2c OK [13:35:17]MH_I2C_Read... [13:35:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:35:17]Read from MH i2c: E2 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 62 00 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 62 00 22 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3F 9F 00 00 0E 04 04 00 C0 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 FB [13:35:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 3F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:35:17]wFMCommunicate OK [13:35:17]SAM_PROTO_GetFieldsCounters done [13:35:17]requested_item shift.num is exist - process it [13:35:17]requested_item shift.opened is exist - process it [13:35:17]req_shift_opened [13:35:17]FM_GetShiftState [13:35:17]SAM_PROTO_GetShiftState [13:35:17]wFMCommunicate request_size=4 [13:35:17]MH_SAM_APDU [13:35:17]CAPDU: 80 13 01 00 [13:35:17]Write to MH i2c: E2 08 00 23 2D 80 13 01 00 00 00 00 00 CD [13:35:17]Write i2c OK [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 [13:35:17]MH_I2C_Read... [13:35:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:17]Read from MH i2c: E2 0E 00 [13:35:17]MH_I2C_Read... [13:35:17]Read from MH i2c: E2 0E 00 23 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9B [13:35:17]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:35:17]wFMCommunicate OK [13:35:17]SAM_PROTO_GetShiftState done [13:35:17]FM_GetShiftState done [13:35:17]req_shift_opened done [13:35:17]requested_item shift.open_date is exist - process it [13:35:17]req_shift_open_date [13:35:17]req_shift_open_date done [13:35:17]produce_requested_data done [13:35:17]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40767,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:35:17]process_action_free close_receipt [13:35:17]json_value_free [13:35:17]json_value_free done [13:35:17]process_json_proto returns [13:35:17]Send response to host [13:35:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40767,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:35:17]free response buf [13:35:17]execute_script done [13:35:17]execute_script returns [13:35:17]free content buf [13:35:17]Sock 7.Close socket [13:35:17]Sock 7.Thread stoped [13:35:21]OFD Sender: No OFD packet to send [13:35:22]accept exits with 9 [13:35:22]New connection [13:35:22]New thread 3066887524 created [13:35:22]Thread 3067030884 joined [13:35:22]Waiting for new connection... [13:35:22] Sock 9.Parse request [13:35:22]Sock 9.Check first char [13:35:22]Sock 9.First char is OK [13:35:22]request: POST /json_proto HTTP/1.0 [13:35:22]Method: POST [13:35:22]URL: /json_proto [13:35:22]Method is POST - this is cgi request [13:35:22]url: /json_proto [13:35:22]query_string will be loaded in cgi processing [13:35:22]execute_cgi json_proto POST (null) [13:35:22]execute_cgi path=json_proto method=POST [13:35:22]POST find Content-Length [13:35:22]Host: 172.17.53.4:8080 [13:35:22]Content-Length: 816 [13:35:22]Content-Type: application/json [13:35:22] [13:35:22]POST finish read [13:35:22]Found Content-Length = 816 [13:35:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808793", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:22]execute_script... [13:35: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 : (1)808793", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:22]POST & json_proto [13:35:22]process_json_proto [13:35:22]json parsed OK: [13:35:22]protocol is kg_v1.0 [13:35:22]action value=close_receipt [13:35:22]process_action close_receipt [13:35:22]cmd_close_receipt [13:35:22]MH_GetDate [13:35:22]Write to MH i2c: F0 00 00 24 2D 40 [13:35:22]Write i2c OK [13:35:22]MH_I2C_Read... [13:35:22]Read from MH i2c: F0 [13:35:22]MH_I2C_Read... [13:35:22]Read from MH i2c: F0 09 00 [13:35:22]MH_I2C_Read... [13:35:22]Read from MH i2c: F0 09 00 24 2D 00 AB 58 16 67 05 11 DA 64 1D [13:35:22]GetLastDocTimeStamp 1729517729 [13:35:22]current date 1729517739 [13:35:22]FM_GetShiftState [13:35:22]SAM_PROTO_GetShiftState [13:35:22]wFMCommunicate request_size=4 [13:35:22]MH_SAM_APDU [13:35:22]CAPDU: 80 13 01 00 [13:35:22]Write to MH i2c: E2 08 00 25 2D 80 13 01 00 00 00 00 00 CF [13:35:22]Write i2c OK [13:35:22]MH_I2C_Read... [13:35:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:23]Read from MH i2c: E2 [13:35:23]MH_I2C_Read... [13:35:23]Read from MH i2c: E2 0E 00 [13:35:23]MH_I2C_Read... [13:35:23]Read from MH i2c: E2 0E 00 25 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9D [13:35:23]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:35:23]wFMCommunicate OK [13:35:23]SAM_PROTO_GetShiftState done [13:35:23]FM_GetShiftState done [13:35:23]opened in 1729470630 [13:35:23]opened+sec_in_day 1729557030 [13:35:23]quantity*price = 30038 [13:35:23]sum+1 = 30039 [13:35:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.38 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 0.00 Безнал.: 300.38 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 36 21.10.2024 13:35 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40768 ФПД: 235889587711647 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133539&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40768&fm=235889587711647&tin=02508201610067®Number=0000000000098148&sum=30038 [13:35:24]StoreToDocumentArchive [13:35:24]shift 448 fd 40768 [13:35:24]save to /storage/0448/doc_00040768 [13:35:24]save last doc name /storage/0448/doc_00040768 to /storage/kkm_last_doc_name [13:35:24]save OK [13:35:24]Clear old archive folders... [13:35:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:35:24]tlvbuf is B6F68950 [13:35:24]SAM_PROTO_ClearQueue [13:35:24]wFMCommunicate request_size=4 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 09 00 00 [13:35:24]Write to MH i2c: E2 08 00 32 2D 80 09 00 00 00 00 00 00 D1 [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 32 2D 00 90 00 D3 [13:35:24]RAPDU: 90 00 [13:35:24]wFMCommunicate OK [13:35:24]SAM_PROTO_ClearQueue done [13:35:24]KKMCreateOFDPacket [13:35:24]OFDProtocolAddRootSTLVToBuf [13:35:24]FM_MakeSignedData [13:35:24]FM_MakeSignedData [13:35:24]SAM_PROTO_SignData [13:35:24]wFMCommunicate request_size=4 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 0D 01 02 [13:35:24]Write to MH i2c: E2 08 00 33 2D 80 0D 01 02 00 00 00 00 D9 [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 33 2D 00 90 00 D4 [13:35:24]RAPDU: 90 00 [13:35:24]wFMCommunicate OK [13:35:24]wFMCommunicate request_size=255 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 AB 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 40 9F 00 00 35 04 06 00 D6 [13:35:24]Write to MH i2c: E2 02 01 34 2D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 AB 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 40 9F 00 00 35 04 06 00 D6 00 00 C9 [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 34 2D 00 90 00 D5 [13:35:24]RAPDU: 90 00 [13:35:24]wFMCommunicate OK [13:35:24]wFMCommunicate request_size=10 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 0D 02 02 05 8A 53 14 EE 9F [13:35:24]Write to MH i2c: E2 0D 00 35 2D 80 0D 02 02 05 00 8A 53 14 EE 9F 00 00 64 [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 03 00 35 2D 00 90 00 D6 [13:35:24]RAPDU: 90 00 [13:35:24]wFMCommunicate OK [13:35:24]wFMCommunicate request_size=4 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 0D 03 02 [13:35:24]Write to MH i2c: E2 08 00 36 2D 80 0D 03 02 00 00 00 00 DE [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 0B 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 0B 00 36 2D 00 BC 22 B6 0D 34 4E 23 61 90 00 86 [13:35:24]RAPDU: BC 22 B6 0D 34 4E 23 61 90 00 [13:35:24]wFMCommunicate OK [13:35:24]SAM_PROTO_SignData done [13:35:24]FM_MakeSignedData done [13:35:24]CreateOFDProtocolMessage [13:35:24]wFMCommunicate request_size=4 [13:35:24]MH_SAM_APDU [13:35:24]CAPDU: 80 11 00 00 [13:35:24]Write to MH i2c: E2 08 00 37 2D 80 11 00 00 00 00 00 00 DE [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:24]Read from MH i2c: E2 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 17 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: E2 17 00 37 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 33 [13:35:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:35:24]wFMCommunicate OK [13:35:24]CreateOFDProtocolMessage done [13:35:24]OFDSenderStorePacket 40768 [13:35:24]StoreOFDPacket docnum=40768 [13:35:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 1B ED 07 01 D5 2E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 AB 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 40 9F 00 00 35 04 06 00 D6 8A 53 14 EE 9F BC 22 B6 0D 34 4E 23 61 [13:35:24]CheckFolder [13:35:24]dirname=/storage/ofd_packets [13:35:24]CheckFolder done [13:35:24]ProducePacketName [13:35:24]name=ofd_packets/00040768 [13:35:24]NVStorageSaveData ofd_packets/00040768 [13:35:24]File name is /storage/ofd_packets/00040768 [13:35:24]Write 301 bytes [13:35:24]NVStorageSaveData done [13:35:24]OFDSenderStorePacket done [13:35:24]KKMCreateOFDPacket done [13:35:24]NVStorageSaveData kkm_last_timestamp [13:35:24]File name is /storage/kkm_last_timestamp [13:35:24]Write 4 bytes [13:35:24]NVStorageSaveData done [13:35:24]ExternCall_PrintAddStr [13:35:24]wPrintStart [13:35:24]Write to MH i2c: 01 00 00 38 2D 65 [13:35:24]Write i2c OK [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: 01 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: 01 07 00 [13:35:24]MH_I2C_Read... [13:35:24]Read from MH i2c: 01 07 00 38 2D 00 00 00 00 00 FF 0F 7A [13:35:24]RasterBufferAndPrint [13:35:24]line Счет N : (1)808793 [13:35:24]line ИÐÐ: 02508201610067 [13:35:24]line Контрольно-КаÑÑовый Чек [13:35:24]line ПРОДÐЖР[13:35:24]line ТРК (МРК, ГÐК) : 33 [13:35:24]line Товар: 2710124130 [13:35:24]line Ðи-92-К-5 [13:35:24]line 4.490 * 66.90 [13:35:24]line = 300.38 [13:35:24]line ÐДС 12% ÐСП 1% [13:35:24]line > о реализуемом товаре [13:35:24]line ИТОГО: 300.38 [13:35:24]line ÐСП 1% : 2.66 [13:35:24]line ÐДС 12% : 31.90 [13:35:24]line Ðаличными: 0.00 [13:35:24]line Безнал.: 300.38 [13:35:24]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:35:24]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:35:24]line СÐО: Общий режим [13:35:24]line Чек 36 21.10.2024 13:35 [13:35:24]line Смена: 448 ФФД: 1.0 [13:35:24]line ЗÐМ: 0300000239 [13:35:24]line РÐМ: 0000000000098148 [13:35:24]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:35:24]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [13:35:24]line ФМ: 0000000000965374 [13:35:24]line ФД: 40768 [13:35:24]line ФПД: 235889587711647 [13:35:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133539&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40768&fm=235889587711647&tin=02508201610067®Number=0000000000098148&sum=30038 [13:35:24]written 0, free lines is 4095 [13:35:24]OFD Sender: Processing packet 40768 [packets to send 4, broken 3] [13:35:24]ProducePacketName [13:35:24]name=ofd_packets/00040768 [13:35:24]OFD Sender: To server: ‡•öpG, [13:35:24]CommunicateWithHost lk.salyk.kg:30040 [13:35:24]ConnectInit lk.salyk.kg [13:35:24]Connected sock=10 [13:35:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 1B ED 07 01 D5 2E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 AB 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 40 9F 00 00 35 04 06 00 D6 8A 53 14 EE 9F BC 22 B6 0D 34 4E 23 61 [13:35:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 05 AF 47 00 EF FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 40 9F 00 00 F4 03 04 00 8B FE 15 67 B6 04 01 00 00 51 50 CC 78 FF 9C 5C 9E [13:35:25]CommunicateWithHost err = 0 [13:35:25]CheckOFDResponse [13:35:25]1017 (14) - 77093643461234 [13:35:25]1041 (16) - 0000000000965374 [13:35:25]1040 (4) - 40768 [13:35:25]1012 (4) - 21.10.2024 07:11 [13:35:25]1206 (1) - 0 [13:35:25]OFD Sender: Remove packet 40768 [13:35:25]ProducePacketName [13:35:25]name=ofd_packets/00040768 [13:35:25]NVStorageDeleteData [13:35:25]Write to MH i2c: 01 00 00 62 2D 8F [13:35:25]Write i2c OK [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: 01 [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: 01 07 00 [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: 01 07 00 62 2D 00 00 00 00 00 21 0D C4 [13:35:25]RasterBufferAndPrint [13:35:25]line [13:35:25]line [13:35:25]line [13:35:25]line [13:35:25]line [13:35:25]written 0, free lines is 3373 [13:35:25]MH_Cut [13:35:25]Write to MH i2c: D1 01 00 69 2D 01 68 [13:35:25]Write i2c OK [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: D1 [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: D1 01 00 [13:35:25]MH_I2C_Read... [13:35:25]Read from MH i2c: D1 01 00 69 2D 00 67 [13:35:25]Write to MH i2c: 01 00 00 6A 2D 97 [13:35:25]Write i2c OK [13:35:25]MH_I2C_Read... [13:35:25]OFD Sender: No OFD packet to send [13:35:25]*** Cut start [13:35:25]*** Partial cut [13:35:25]*** CUTSNS_PIN = 1 [13:35:25]*** CUTSNS_PIN = 0 [13:35:26]*** Brake cut motor [13:35:26]Read from MH i2c: 01 [13:35:26]MH_I2C_Read... [13:35:26]*** Stop cut motor [13:35:26]*** Cut end [13:35:26]Read from MH i2c: 01 07 00 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: 01 07 00 6A 2D 00 00 00 00 00 FF 0F AC [13:35:26]process_action close_receipt done [13:35:26]requested_data is exist [13:35:26]produce_requested_data [13:35:26]requested_item fm.sn is exist - process it [13:35:26]wFMCommunicate request_size=4 [13:35:26]MH_SAM_APDU [13:35:26]CAPDU: 80 11 00 00 [13:35:26]Write to MH i2c: E2 08 00 6B 2D 80 11 00 00 00 00 00 00 12 [13:35:26]Write i2c OK [13:35:26]MH_I2C_Read... [13:35:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:26]Read from MH i2c: E2 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 17 00 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 17 00 6B 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 67 [13:35:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:35:26]wFMCommunicate OK [13:35:26]requested_item fd.num is exist - process it [13:35:26]SAM_PROTO_GetFieldsCounters [13:35:26]wFMCommunicate request_size=4 [13:35:26]MH_SAM_APDU [13:35:26]CAPDU: 80 13 00 00 [13:35:26]Write to MH i2c: E2 08 00 6C 2D 80 13 00 00 00 00 00 00 15 [13:35:26]Write i2c OK [13:35:26]MH_I2C_Read... [13:35:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:35:26]Read from MH i2c: E2 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 62 00 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 62 00 6C 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 40 9F 00 00 0E 04 04 00 C0 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 49 [13:35:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 40 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:35:26]wFMCommunicate OK [13:35:26]SAM_PROTO_GetFieldsCounters done [13:35:26]requested_item shift.num is exist - process it [13:35:26]requested_item shift.opened is exist - process it [13:35:26]req_shift_opened [13:35:26]FM_GetShiftState [13:35:26]SAM_PROTO_GetShiftState [13:35:26]wFMCommunicate request_size=4 [13:35:26]MH_SAM_APDU [13:35:26]CAPDU: 80 13 01 00 [13:35:26]Write to MH i2c: E2 08 00 6D 2D 80 13 01 00 00 00 00 00 17 [13:35:26]Write i2c OK [13:35:26]MH_I2C_Read... [13:35:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:26]Read from MH i2c: E2 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 0E 00 [13:35:26]MH_I2C_Read... [13:35:26]Read from MH i2c: E2 0E 00 6D 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E5 [13:35:26]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:35:26]wFMCommunicate OK [13:35:26]SAM_PROTO_GetShiftState done [13:35:26]FM_GetShiftState done [13:35:26]req_shift_opened done [13:35:26]requested_item shift.open_date is exist - process it [13:35:26]req_shift_open_date [13:35:26]req_shift_open_date done [13:35:26]produce_requested_data done [13:35:26]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40768,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:35:26]process_action_free close_receipt [13:35:26]json_value_free [13:35:26]json_value_free done [13:35:26]process_json_proto returns [13:35:26]Send response to host [13:35:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40768,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:35:26]free response buf [13:35:26]execute_script done [13:35:26]execute_script returns [13:35:26]free content buf [13:35:26]Sock 9.Close socket [13:35:26]Sock 9.Thread stoped [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:35:59]accept exits with 7 [13:35:59]New connection [13:35:59]New thread 3067030884 created [13:35:59]Thread 3066887524 joined [13:35:59]Waiting for new connection... [13:35:59] Sock 7.Parse request [13:35:59]Sock 7.Check first char [13:35:59]Sock 7.First char is OK [13:35:59]request: POST /json_proto HTTP/1.0 [13:35:59]Method: POST [13:35:59]URL: /json_proto [13:35:59]Method is POST - this is cgi request [13:35:59]url: /json_proto [13:35:59]query_string will be loaded in cgi processing [13:35:59]execute_cgi json_proto POST (null) [13:35:59]execute_cgi path=json_proto method=POST [13:35:59]POST find Content-Length [13:35:59]Host: 172.17.53.4:8080 [13:35:59]Content-Length: 677 [13:35:59]Content-Type: application/json [13:35:59] [13:35:59]POST finish read [13:35:59]Found Content-Length = 677 [13:35:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808794", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:59]execute_script... [13:35:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808794", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:59]POST & json_proto [13:35:59]process_json_proto [13:35:59]json parsed OK: [13:35:59]protocol is kg_v1.0 [13:35:59]action value=close_receipt [13:35:59]process_action close_receipt [13:35:59]cmd_close_receipt [13:35:59]MH_GetDate [13:35:59]Write to MH i2c: F0 00 00 6E 2D 8A [13:35:59]Write i2c OK [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: F0 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: F0 09 00 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: F0 09 00 6E 2D 00 CF 58 16 67 05 11 DA 64 8B [13:35:59]GetLastDocTimeStamp 1729517739 [13:35:59]current date 1729517775 [13:35:59]FM_GetShiftState [13:35:59]SAM_PROTO_GetShiftState [13:35:59]wFMCommunicate request_size=4 [13:35:59]MH_SAM_APDU [13:35:59]CAPDU: 80 13 01 00 [13:35:59]Write to MH i2c: E2 08 00 6F 2D 80 13 01 00 00 00 00 00 19 [13:35:59]Write i2c OK [13:35:59]MH_I2C_Read... [13:35:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:59]Read from MH i2c: E2 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 0E 00 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 0E 00 6F 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E7 [13:35:59]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:35:59]wFMCommunicate OK [13:35:59]SAM_PROTO_GetShiftState done [13:35:59]FM_GetShiftState done [13:35:59]opened in 1729470630 [13:35:59]opened+sec_in_day 1729557030 [13:35:59]quantity*price = 50010 [13:35:59]sum+1 = 50012 [13:35:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.11 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 37 21.10.2024 13:36 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40769 ФПД: 87069823590633 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133615&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40769&fm=87069823590633&tin=02508201610067®Number=0000000000098148&sum=50000 [13:36:00]StoreToDocumentArchive [13:36:00]shift 448 fd 40769 [13:36:00]save to /storage/0448/doc_00040769 [13:36:00]save last doc name /storage/0448/doc_00040769 to /storage/kkm_last_doc_name [13:36:00]save OK [13:36:00]Clear old archive folders... [13:36:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:36:00]tlvbuf is 010A8B80 [13:36:00]SAM_PROTO_ClearQueue [13:36:00]wFMCommunicate request_size=4 [13:36:00]MH_SAM_APDU [13:36:00]CAPDU: 80 09 00 00 [13:36:00]Write to MH i2c: E2 08 00 7C 2D 80 09 00 00 00 00 00 00 1B [13:36:00]Write i2c OK [13:36:00]MH_I2C_Read... [13:36:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:36:00]Read from MH i2c: E2 [13:36:00]MH_I2C_Read... [13:36:00]Read from MH i2c: E2 03 00 [13:36:00]MH_I2C_Read... [13:36:00]Read from MH i2c: E2 03 00 7C 2D 00 90 00 1D [13:36:00]RAPDU: 90 00 [13:36:00]wFMCommunicate OK [13:36:00]SAM_PROTO_ClearQueue done [13:36:00]KKMCreateOFDPacket [13:36:00]OFDProtocolAddRootSTLVToBuf [13:36:00]FM_MakeSignedData [13:36:00]FM_MakeSignedData [13:36:00]SAM_PROTO_SignData [13:36:00]wFMCommunicate request_size=4 [13:36:00]MH_SAM_APDU [13:36:00]CAPDU: 80 0D 01 02 [13:36:00]Write to MH i2c: E2 08 00 7D 2D 80 0D 01 02 00 00 00 00 23 [13:36:00]Write i2c OK [13:36:00]MH_I2C_Read... [13:36:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:36:00]Read from MH i2c: E2 [13:36:00]MH_I2C_Read... [13:36:00]Read from MH i2c: E2 03 00 [13:36:00]MH_I2C_Read... [13:36:00]Read from MH i2c: E2 03 00 7D 2D 00 90 00 1E [13:36:00]RAPDU: 90 00 [13:36:00]wFMCommunicate OK [13:36:00]wFMCommunicate request_size=255 [13:36:00]MH_SAM_APDU [13:36:00]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 CF 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 41 9F 00 00 35 04 06 00 4F [13:36:00]Write to MH i2c: E2 02 01 7E 2D 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 CF 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 41 9F 00 00 35 04 06 00 4F 00 00 48 [13:36:01]Write i2c OK [13:36:01]MH_I2C_Read... [13:36:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:01]Read from MH i2c: E2 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 03 00 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 03 00 7E 2D 00 90 00 1F [13:36:01]RAPDU: 90 00 [13:36:01]wFMCommunicate OK [13:36:01]wFMCommunicate request_size=10 [13:36:01]MH_SAM_APDU [13:36:01]CAPDU: 80 0D 02 02 05 30 85 E7 E0 E9 [13:36:01]Write to MH i2c: E2 0D 00 7F 2D 80 0D 02 02 05 00 30 85 E7 E0 E9 00 00 95 [13:36:01]Write i2c OK [13:36:01]MH_I2C_Read... [13:36:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:01]Read from MH i2c: E2 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 03 00 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 03 00 7F 2D 00 90 00 20 [13:36:01]RAPDU: 90 00 [13:36:01]wFMCommunicate OK [13:36:01]wFMCommunicate request_size=4 [13:36:01]MH_SAM_APDU [13:36:01]CAPDU: 80 0D 03 02 [13:36:01]Write to MH i2c: E2 08 00 80 2D 80 0D 03 02 00 00 00 00 28 [13:36:01]Write i2c OK [13:36:01]MH_I2C_Read... [13:36:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:36:01]Read from MH i2c: E2 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 0B 00 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 0B 00 80 2D 00 87 0B 66 12 BC A1 D0 3E 90 00 9E [13:36:01]RAPDU: 87 0B 66 12 BC A1 D0 3E 90 00 [13:36:01]wFMCommunicate OK [13:36:01]SAM_PROTO_SignData done [13:36:01]FM_MakeSignedData done [13:36:01]CreateOFDProtocolMessage [13:36:01]wFMCommunicate request_size=4 [13:36:01]MH_SAM_APDU [13:36:01]CAPDU: 80 11 00 00 [13:36:01]Write to MH i2c: E2 08 00 81 2D 80 11 00 00 00 00 00 00 28 [13:36:01]Write i2c OK [13:36:01]MH_I2C_Read... [13:36:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:01]Read from MH i2c: E2 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 17 00 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: E2 17 00 81 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 7D [13:36:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:36:01]wFMCommunicate OK [13:36:01]CreateOFDProtocolMessage done [13:36:01]OFDSenderStorePacket 40769 [13:36:01]StoreOFDPacket docnum=40769 [13:36:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 C8 9E 07 01 41 6C 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 CF 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 41 9F 00 00 35 04 06 00 4F 30 85 E7 E0 E9 87 0B 66 12 BC A1 D0 3E [13:36:01]CheckFolder [13:36:01]dirname=/storage/ofd_packets [13:36:01]CheckFolder done [13:36:01]ProducePacketName [13:36:01]name=ofd_packets/00040769 [13:36:01]NVStorageSaveData ofd_packets/00040769 [13:36:01]File name is /storage/ofd_packets/00040769 [13:36:01]Write 301 bytes [13:36:01]NVStorageSaveData done [13:36:01]OFDSenderStorePacket done [13:36:01]KKMCreateOFDPacket done [13:36:01]NVStorageSaveData kkm_last_timestamp [13:36:01]File name is /storage/kkm_last_timestamp [13:36:01]Write 4 bytes [13:36:01]NVStorageSaveData done [13:36:01]ExternCall_PrintAddStr [13:36:01]wPrintStart [13:36:01]Write to MH i2c: 01 00 00 82 2D AF [13:36:01]Write i2c OK [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: 01 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: 01 07 00 [13:36:01]MH_I2C_Read... [13:36:01]Read from MH i2c: 01 07 00 82 2D 00 00 00 00 00 FF 0F C4 [13:36:01]RasterBufferAndPrint [13:36:01]line Счет N : (1)808794 [13:36:01]line ИÐÐ: 02508201610067 [13:36:01]line Контрольно-КаÑÑовый Чек [13:36:01]line ПРОДÐЖР[13:36:01]line ТРК (МРК, ГÐК) : 44 [13:36:01]line Товар: 2710124500 [13:36:01]line Ðи-95-К-3 [13:36:01]line 6.740 * 74.20 [13:36:01]line = 500.11 [13:36:01]line ÐДС 12% ÐСП 1% [13:36:01]line > о реализуемом товаре [13:36:01]line ОКРУГЛЕÐИЕ: -0.11 [13:36:01]line ИТОГО: 500.00 [13:36:01]line ВнеÑено: 500.00 [13:36:01]line СДÐЧÐ: 0.00 [13:36:01]line ÐСП 1% : 4.43 [13:36:01]line ÐДС 12% : 53.11 [13:36:01]line Ðаличными: 500.00 [13:36:01]line Безнал.: 0.00 [13:36:01]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [13:36:01]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [13:36:01]line СÐО: Общий режим [13:36:01]line Чек 37 21.10.2024 13:36 [13:36:01]line Смена: 448 ФФД: 1.0 [13:36:01]line ЗÐМ: 0300000239 [13:36:01]line РÐМ: 0000000000098148 [13:36:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:36:01]line ФМ: 0000000000965374 [13:36:01]line ФД: 40769 [13:36:01]line ФПД: 87069823590633 [13:36:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133615&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40769&fm=87069823590633&tin=02508201610067®Number=0000000000098148&sum=50000 [13:36:01]OFD Sender: Processing packet 40769 [packets to send 4, broken 3] [13:36:01]ProducePacketName [13:36:01]name=ofd_packets/00040769 [13:36:01]OFD Sender: To server: ‡•öpG, [13:36:01]CommunicateWithHost lk.salyk.kg:30040 [13:36:01]ConnectInit lk.salyk.kg [13:36:01]written 0, free lines is 4095 [13:36:01]Connected sock=10 [13:36:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 C8 9E 07 01 41 6C 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 CF 58 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 41 9F 00 00 35 04 06 00 4F 30 85 E7 E0 E9 87 0B 66 12 BC A1 D0 3E [13:36:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 95 41 47 00 56 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 41 9F 00 00 F4 03 04 00 B0 FE 15 67 B6 04 01 00 00 9D 4D F6 C9 79 A0 04 0A [13:36:02]CommunicateWithHost err = 0 [13:36:02]CheckOFDResponse [13:36:02]1017 (14) - 77093643461234 [13:36:02]1041 (16) - 0000000000965374 [13:36:02]1040 (4) - 40769 [13:36:02]1012 (4) - 21.10.2024 07:11 [13:36:02]1206 (1) - 0 [13:36:02]OFD Sender: Remove packet 40769 [13:36:02]ProducePacketName [13:36:02]name=ofd_packets/00040769 [13:36:02]NVStorageDeleteData [13:36:02]Write to MH i2c: 01 00 00 AD 2D DA [13:36:02]Write i2c OK [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: 01 [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: 01 07 00 [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: 01 07 00 AD 2D 00 00 00 00 00 F1 0C DE [13:36:02]RasterBufferAndPrint [13:36:02]line [13:36:02]line [13:36:02]line [13:36:02]line [13:36:02]line [13:36:02]written 0, free lines is 3319 [13:36:02]MH_Cut [13:36:02]Write to MH i2c: D1 01 00 B4 2D 01 B3 [13:36:02]Write i2c OK [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: D1 [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: D1 01 00 [13:36:02]MH_I2C_Read... [13:36:02]Read from MH i2c: D1 01 00 B4 2D 00 B2 [13:36:02]Write to MH i2c: 01 00 00 B5 2D E2 [13:36:02]Write i2c OK [13:36:02]MH_I2C_Read... [13:36:02]OFD Sender: No OFD packet to send [13:36:02]*** Cut start [13:36:02]*** Partial cut [13:36:02]*** CUTSNS_PIN = 1 [13:36:02]*** CUTSNS_PIN = 0 [13:36:03]*** Brake cut motor [13:36:03]Read from MH i2c: 01 [13:36:03]MH_I2C_Read... [13:36:03]*** Stop cut motor [13:36:03]*** Cut end [13:36:03]Read from MH i2c: 01 07 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: 01 07 00 B5 2D 00 00 00 00 00 FF 0F F7 [13:36:03]process_action close_receipt done [13:36:03]requested_data is exist [13:36:03]produce_requested_data [13:36:03]requested_item fm.sn is exist - process it [13:36:03]wFMCommunicate request_size=4 [13:36:03]MH_SAM_APDU [13:36:03]CAPDU: 80 11 00 00 [13:36:03]Write to MH i2c: E2 08 00 B6 2D 80 11 00 00 00 00 00 00 5D [13:36:03]Write i2c OK [13:36:03]MH_I2C_Read... [13:36:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:03]Read from MH i2c: E2 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 17 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 17 00 B6 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B2 [13:36:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [13:36:03]wFMCommunicate OK [13:36:03]requested_item fd.num is exist - process it [13:36:03]SAM_PROTO_GetFieldsCounters [13:36:03]wFMCommunicate request_size=4 [13:36:03]MH_SAM_APDU [13:36:03]CAPDU: 80 13 00 00 [13:36:03]Write to MH i2c: E2 08 00 B7 2D 80 13 00 00 00 00 00 00 60 [13:36:03]Write i2c OK [13:36:03]MH_I2C_Read... [13:36:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:36:03]Read from MH i2c: E2 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 62 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 62 00 B7 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 41 9F 00 00 0E 04 04 00 C0 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 [13:36:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 41 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:36:03]wFMCommunicate OK [13:36:03]SAM_PROTO_GetFieldsCounters done [13:36:03]requested_item shift.num is exist - process it [13:36:03]requested_item shift.opened is exist - process it [13:36:03]req_shift_opened [13:36:03]FM_GetShiftState [13:36:03]SAM_PROTO_GetShiftState [13:36:03]wFMCommunicate request_size=4 [13:36:03]MH_SAM_APDU [13:36:03]CAPDU: 80 13 01 00 [13:36:03]Write to MH i2c: E2 08 00 B8 2D 80 13 01 00 00 00 00 00 62 [13:36:03]Write i2c OK [13:36:03]MH_I2C_Read... [13:36:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:03]Read from MH i2c: E2 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 0E 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 0E 00 B8 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 30 [13:36:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [13:36:03]wFMCommunicate OK [13:36:03]SAM_PROTO_GetShiftState done [13:36:03]FM_GetShiftState done [13:36:03]req_shift_opened done [13:36:03]requested_item shift.open_date is exist - process it [13:36:03]req_shift_open_date [13:36:03]req_shift_open_date done [13:36:03]produce_requested_data done [13:36:03]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40769,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [13:36:03]process_action_free close_receipt [13:36:03]json_value_free [13:36:03]json_value_free done [13:36:03]process_json_proto returns [13:36:03]Send response to host [13:36:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40769,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [13:36:03]free response buf [13:36:03]execute_script done [13:36:03]execute_script returns [13:36:03]free content buf [13:36:03]Sock 7.Close socket [13:36:03]Sock 7.Thread stoped [13:36:07]OFD Sender: No OFD packet to send [13:36:12]OFD Sender: No OFD packet to send [13:36:17]OFD Sender: No OFD packet to send [13:36:22]OFD Sender: No OFD packet to send [13:36:27]OFD Sender: No OFD packet to send [13:36:32]OFD Sender: No OFD packet to send [13:36:37]OFD Sender: No OFD packet to send [13:36:42]OFD Sender: No OFD packet to send [13:36:47]OFD Sender: No OFD packet to send [13:36:52]OFD Sender: No OFD packet to send [13:36:57]OFD Sender: No OFD packet to send [13:37:02]OFD Sender: No OFD packet to send [13:37:07]OFD Sender: No OFD packet to send [13:37:12]OFD Sender: No OFD packet to send [13:37:17]OFD Sender: No OFD packet to send [13:37:22]OFD Sender: No OFD packet to send [13:37:27]OFD Sender: No OFD packet to send [13:37:32]OFD Sender: No OFD packet to send [13:37:37]OFD Sender: No OFD packet to send [13:37:42]OFD Sender: No OFD packet to send [13:37:47]OFD Sender: No OFD packet to send [13:37:52]OFD Sender: No OFD packet to send [13:37:57]OFD Sender: No OFD packet to send [13:38:02]OFD Sender: No OFD packet to send [13:38:07]OFD Sender: No OFD packet to send [13:38:12]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:48]OFD Sender: No OFD packet to send [13:45:53]OFD Sender: No OFD packet to send [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [13:53:18]OFD Sender: No OFD packet to send [13:53:23]OFD Sender: No OFD packet to send [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]OFD Sender: No OFD packet to send [13:54:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:37]accept exits with 9 [14:04:37]New connection [14:04:37]New thread 3066887524 created [14:04:37]Thread 3067030884 joined [14:04:37]Waiting for new connection... [14:04:37] Sock 9.Parse request [14:04:37]Sock 9.Check first char [14:04:37]Sock 9.First char is OK [14:04:37]request: POST /json_proto HTTP/1.0 [14:04:37]Method: POST [14:04:37]URL: /json_proto [14:04:37]Method is POST - this is cgi request [14:04:37]url: /json_proto [14:04:37]query_string will be loaded in cgi processing [14:04:37]execute_cgi json_proto POST (null) [14:04:37]execute_cgi path=json_proto method=POST [14:04:37]POST find Content-Length [14:04:37]Host: 172.17.53.4:8080 [14:04:37]Content-Length: 670 [14:04:37]Content-Type: application/json [14:04:37] [14:04:37]POST finish read [14:04:37]Found Content-Length = 670 [14:04:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.120, "sum" : 350.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:37]execute_script... [14:04:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.120, "sum" : 350.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:37]POST & json_proto [14:04:37]process_json_proto [14:04:37]json parsed OK: [14:04:37]protocol is kg_v1.0 [14:04:37]action value=close_receipt [14:04:37]process_action close_receipt [14:04:37]cmd_close_receipt [14:04:37]MH_GetDate [14:04:37]Write to MH i2c: F0 00 00 B9 2D D5 [14:04:37]Write i2c OK [14:04:37]MH_I2C_Read... [14:04:37]Read from MH i2c: F0 [14:04:37]MH_I2C_Read... [14:04:37]Read from MH i2c: F0 09 00 [14:04:37]MH_I2C_Read... [14:04:37]Read from MH i2c: F0 09 00 B9 2D 00 85 5F 16 67 05 11 DA 64 93 [14:04:37]GetLastDocTimeStamp 1729517775 [14:04:37]current date 1729519493 [14:04:37]FM_GetShiftState [14:04:37]SAM_PROTO_GetShiftState [14:04:37]wFMCommunicate request_size=4 [14:04:37]MH_SAM_APDU [14:04:37]CAPDU: 80 13 01 00 [14:04:37]Write to MH i2c: E2 08 00 BA 2D 80 13 01 00 00 00 00 00 64 [14:04:37]Write i2c OK [14:04:37]MH_I2C_Read... [14:04:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:37]Read from MH i2c: E2 [14:04:37]MH_I2C_Read... [14:04:37]Read from MH i2c: E2 0E 00 [14:04:37]MH_I2C_Read... [14:04:37]Read from MH i2c: E2 0E 00 BA 2D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 32 [14:04:37]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:04:37]wFMCommunicate OK [14:04:37]SAM_PROTO_GetShiftState done [14:04:37]FM_GetShiftState done [14:04:37]opened in 1729470630 [14:04:37]opened+sec_in_day 1729557030 [14:04:37]quantity*price = 35020 [14:04:37]sum+1 = 35022 [14:04:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.21 ИТОГО: 350.00 ВнеÑено: 350.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.10 ÐДС 12% : 37.19 Ðаличными: 350.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 38 21.10.2024 14:04 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40770 ФПД: 64892048684657 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T140453&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40770&fm=64892048684657&tin=02508201610067®Number=0000000000098148&sum=35000 [14:04:38]StoreToDocumentArchive [14:04:38]shift 448 fd 40770 [14:04:38]save to /storage/0448/doc_00040770 [14:04:38]save last doc name /storage/0448/doc_00040770 to /storage/kkm_last_doc_name [14:04:38]save OK [14:04:38]Clear old archive folders... [14:04:38]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:04:38]tlvbuf is B6EBB910 [14:04:38]SAM_PROTO_ClearQueue [14:04:38]wFMCommunicate request_size=4 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 09 00 00 [14:04:38]Write to MH i2c: E2 08 00 C7 2D 80 09 00 00 00 00 00 00 66 [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:38]Read from MH i2c: E2 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 C7 2D 00 90 00 68 [14:04:38]RAPDU: 90 00 [14:04:38]wFMCommunicate OK [14:04:38]SAM_PROTO_ClearQueue done [14:04:38]KKMCreateOFDPacket [14:04:38]OFDProtocolAddRootSTLVToBuf [14:04:38]FM_MakeSignedData [14:04:38]FM_MakeSignedData [14:04:38]SAM_PROTO_SignData [14:04:38]wFMCommunicate request_size=4 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 0D 01 02 [14:04:38]Write to MH i2c: E2 08 00 C8 2D 80 0D 01 02 00 00 00 00 6E [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:38]Read from MH i2c: E2 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 C8 2D 00 90 00 69 [14:04:38]RAPDU: 90 00 [14:04:38]wFMCommunicate OK [14:04:38]wFMCommunicate request_size=255 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 5F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 42 9F 00 00 35 04 06 00 [14:04:38]Write to MH i2c: E2 02 01 C9 2D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 5F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 42 9F 00 00 35 04 06 00 00 00 4C [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:38]Read from MH i2c: E2 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 C9 2D 00 90 00 6A [14:04:38]RAPDU: 90 00 [14:04:38]wFMCommunicate OK [14:04:38]wFMCommunicate request_size=11 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 0D 02 02 06 3B 04 DB 82 B6 71 [14:04:38]Write to MH i2c: E2 0E 00 CA 2D 80 0D 02 02 06 00 3B 04 DB 82 B6 71 00 00 40 [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:38]OFD Sender: No OFD packet to send [14:04:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:38]Read from MH i2c: E2 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 03 00 CA 2D 00 90 00 6B [14:04:38]RAPDU: 90 00 [14:04:38]wFMCommunicate OK [14:04:38]wFMCommunicate request_size=4 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 0D 03 02 [14:04:38]Write to MH i2c: E2 08 00 CB 2D 80 0D 03 02 00 00 00 00 73 [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:38]Read from MH i2c: E2 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 0B 00 [14:04:38]MH_I2C_Read... [14:04:38]Read from MH i2c: E2 0B 00 CB 2D 00 B0 4B 00 DB F7 F3 AE F0 90 00 D2 [14:04:38]RAPDU: B0 4B 00 DB F7 F3 AE F0 90 00 [14:04:38]wFMCommunicate OK [14:04:38]SAM_PROTO_SignData done [14:04:38]FM_MakeSignedData done [14:04:38]CreateOFDProtocolMessage [14:04:38]wFMCommunicate request_size=4 [14:04:38]MH_SAM_APDU [14:04:38]CAPDU: 80 11 00 00 [14:04:38]Write to MH i2c: E2 08 00 CC 2D 80 11 00 00 00 00 00 00 73 [14:04:38]Write i2c OK [14:04:38]MH_I2C_Read... [14:04:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:39]Read from MH i2c: E2 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: E2 17 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: E2 17 00 CC 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C8 [14:04:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:04:39]wFMCommunicate OK [14:04:39]CreateOFDProtocolMessage done [14:04:39]OFDSenderStorePacket 40770 [14:04:39]StoreOFDPacket docnum=40770 [14:04:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 B0 EB 08 01 D8 BD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 5F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 42 9F 00 00 35 04 06 00 3B 04 DB 82 B6 71 B0 4B 00 DB F7 F3 AE F0 [14:04:39]CheckFolder [14:04:39]dirname=/storage/ofd_packets [14:04:39]CheckFolder done [14:04:39]ProducePacketName [14:04:39]name=ofd_packets/00040770 [14:04:39]NVStorageSaveData ofd_packets/00040770 [14:04:39]File name is /storage/ofd_packets/00040770 [14:04:39]Write 302 bytes [14:04:39]NVStorageSaveData done [14:04:39]OFDSenderStorePacket done [14:04:39]KKMCreateOFDPacket done [14:04:39]NVStorageSaveData kkm_last_timestamp [14:04:39]File name is /storage/kkm_last_timestamp [14:04:39]Write 4 bytes [14:04:39]NVStorageSaveData done [14:04:39]ExternCall_PrintAddStr [14:04:39]wPrintStart [14:04:39]Write to MH i2c: 01 00 00 CD 2D FA [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 07 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 07 00 CD 2D 00 00 00 00 00 FF 0F 0F [14:04:39]RasterBufferAndPrint [14:04:39]line Счет N : (1)808812 [14:04:39]line ИÐÐ: 02508201610067 [14:04:39]line Контрольно-КаÑÑовый Чек [14:04:39]line ПРОДÐЖР[14:04:39]line ТРК (МРК, ГÐК) : 42 [14:04:39]line Товар: 2710124130 [14:04:39]line Super 92-К-5 [14:04:39]line 5.120 * 68.40 [14:04:39]line = 350.21 [14:04:39]line ÐДС 12% ÐСП 1% [14:04:39]line > о реализуемом товаре [14:04:39]line ОКРУГЛЕÐИЕ: -0.21 [14:04:39]line ИТОГО: 350.00 [14:04:39]line ВнеÑено: 350.00 [14:04:39]line СДÐЧÐ: 0.00 [14:04:39]line ÐСП 1% : 3.10 [14:04:39]line ÐДС 12% : 37.19 [14:04:39]line Ðаличными: 350.00 [14:04:39]line Безнал.: 0.00 [14:04:39]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:04:39]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:04:39]line СÐО: Общий режим [14:04:39]line Чек 38 21.10.2024 14:04 [14:04:39]line Смена: 448 ФФД: 1.0 [14:04:39]line ЗÐМ: 0300000239 [14:04:39]line РÐМ: 0000000000098148 [14:04:39]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:04:39]line ФМ: 0000000000965374 [14:04:39]line ФД: 40770 [14:04:39]line ФПД: 64892048684657 [14:04:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T140453&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40770&fm=64892048684657&tin=02508201610067®Number=0000000000098148&sum=35000 [14:04:39]OFD Sender: Processing packet 40770 [packets to send 4, broken 3] [14:04:39]ProducePacketName [14:04:39]name=ofd_packets/00040770 [14:04:39]OFD Sender: To server: ‡•öpG, [14:04:39]CommunicateWithHost lk.salyk.kg:30040 [14:04:39]ConnectInit lk.salyk.kg [14:04:39]written 0, free lines is 4095 [14:04:39]Connected sock=10 [14:04:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 B0 EB 08 01 D8 BD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 5F 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 42 9F 00 00 35 04 06 00 3B 04 DB 82 B6 71 B0 4B 00 DB F7 F3 AE F0 [14:04:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 34 31 47 00 2C 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 42 9F 00 00 F4 03 04 00 65 05 16 67 B6 04 01 00 00 90 AE F0 FA 1F E6 2E DF [14:04:39]CommunicateWithHost err = 0 [14:04:39]CheckOFDResponse [14:04:39]1017 (14) - 77093643461234 [14:04:39]1041 (16) - 0000000000965374 [14:04:39]1040 (4) - 40770 [14:04:39]1012 (4) - 21.10.2024 07:40 [14:04:39]1206 (1) - 0 [14:04:39]OFD Sender: Remove packet 40770 [14:04:39]ProducePacketName [14:04:39]name=ofd_packets/00040770 [14:04:39]NVStorageDeleteData [14:04:39]Write to MH i2c: 01 00 00 F8 2D 25 [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 07 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: 01 07 00 F8 2D 00 00 00 00 00 F8 0C 30 [14:04:39]RasterBufferAndPrint [14:04:39]line [14:04:39]line [14:04:39]line [14:04:39]line [14:04:39]line [14:04:39]written 0, free lines is 3326 [14:04:39]MH_Cut [14:04:39]Write to MH i2c: D1 01 00 FF 2D 01 FE [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: D1 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: D1 01 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: D1 01 00 FF 2D 00 FD [14:04:39]Write to MH i2c: 01 00 00 00 2E 2E [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:40]OFD Sender: No OFD packet to send [14:04:40]*** Cut start [14:04:40]*** Partial cut [14:04:40]*** CUTSNS_PIN = 1 [14:04:40]*** CUTSNS_PIN = 0 [14:04:40]*** Brake cut motor [14:04:41]Read from MH i2c: 01 [14:04:41]MH_I2C_Read... [14:04:41]*** Stop cut motor [14:04:41]*** Cut end [14:04:41]Read from MH i2c: 01 07 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: 01 07 00 00 2E 00 00 00 00 00 FF 0F 43 [14:04:41]process_action close_receipt done [14:04:41]requested_data is exist [14:04:41]produce_requested_data [14:04:41]requested_item fm.sn is exist - process it [14:04:41]wFMCommunicate request_size=4 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 11 00 00 [14:04:41]Write to MH i2c: E2 08 00 01 2E 80 11 00 00 00 00 00 00 A9 [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 17 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 17 00 01 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 FE [14:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:04:41]wFMCommunicate OK [14:04:41]requested_item fd.num is exist - process it [14:04:41]SAM_PROTO_GetFieldsCounters [14:04:41]wFMCommunicate request_size=4 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 13 00 00 [14:04:41]Write to MH i2c: E2 08 00 02 2E 80 13 00 00 00 00 00 00 AC [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 62 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 62 00 02 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 42 9F 00 00 0E 04 04 00 C0 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 E8 [14:04:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 42 9F 00 00 0E 04 04 00 C0 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:04:41]wFMCommunicate OK [14:04:41]SAM_PROTO_GetFieldsCounters done [14:04:41]requested_item shift.num is exist - process it [14:04:41]requested_item shift.opened is exist - process it [14:04:41]req_shift_opened [14:04:41]FM_GetShiftState [14:04:41]SAM_PROTO_GetShiftState [14:04:41]wFMCommunicate request_size=4 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 13 01 00 [14:04:41]Write to MH i2c: E2 08 00 03 2E 80 13 01 00 00 00 00 00 AE [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 0E 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 0E 00 03 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 7C [14:04:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:04:41]wFMCommunicate OK [14:04:41]SAM_PROTO_GetShiftState done [14:04:41]FM_GetShiftState done [14:04:41]req_shift_opened done [14:04:41]requested_item shift.open_date is exist - process it [14:04:41]req_shift_open_date [14:04:41]req_shift_open_date done [14:04:41]produce_requested_data done [14:04:41]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40770,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:04:41]process_action_free close_receipt [14:04:41]json_value_free [14:04:41]json_value_free done [14:04:41]process_json_proto returns [14:04:41]Send response to host [14:04:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40770,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:04:41]free response buf [14:04:41]execute_script done [14:04:41]execute_script returns [14:04:41]free content buf [14:04:41]Sock 9.Close socket [14:04:41]Sock 9.Thread stoped [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:09]accept exits with 7 [14:14:09]New connection [14:14:09]New thread 3067030884 created [14:14:09]Thread 3066887524 joined [14:14:09]Waiting for new connection... [14:14:09] Sock 7.Parse request [14:14:09]Sock 7.Check first char [14:14:09]Sock 7.First char is OK [14:14:09]request: POST /json_proto HTTP/1.0 [14:14:09]Method: POST [14:14:09]URL: /json_proto [14:14:09]Method is POST - this is cgi request [14:14:09]url: /json_proto [14:14:09]query_string will be loaded in cgi processing [14:14:09]execute_cgi json_proto POST (null) [14:14:09]execute_cgi path=json_proto method=POST [14:14:09]POST find Content-Length [14:14:09]Host: 172.17.53.4:8080 [14:14:09]Content-Length: 843 [14:14:09]Content-Type: application/json [14:14:09] [14:14:09]POST finish read [14:14:09]Found Content-Length = 843 [14:14:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808822", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 25.420, "sum" : 1700.60, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1700.60 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:09]execute_script... [14:14:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808822", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 25.420, "sum" : 1700.60, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1700.60 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:09]POST & json_proto [14:14:09]process_json_proto [14:14:09]json parsed OK: [14:14:09]protocol is kg_v1.0 [14:14:09]action value=close_receipt [14:14:09]process_action close_receipt [14:14:09]cmd_close_receipt [14:14:09]MH_GetDate [14:14:09]Write to MH i2c: F0 00 00 04 2E 21 [14:14:09]Write i2c OK [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 09 00 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: F0 09 00 04 2E 00 C1 61 16 67 05 11 DA 64 1D [14:14:09]GetLastDocTimeStamp 1729519493 [14:14:09]current date 1729520065 [14:14:09]FM_GetShiftState [14:14:09]SAM_PROTO_GetShiftState [14:14:09]wFMCommunicate request_size=4 [14:14:09]MH_SAM_APDU [14:14:09]CAPDU: 80 13 01 00 [14:14:09]Write to MH i2c: E2 08 00 05 2E 80 13 01 00 00 00 00 00 B0 [14:14:09]Write i2c OK [14:14:09]MH_I2C_Read... [14:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:09]Read from MH i2c: E2 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: E2 0E 00 [14:14:09]MH_I2C_Read... [14:14:09]Read from MH i2c: E2 0E 00 05 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 7E [14:14:09]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:14:09]wFMCommunicate OK [14:14:09]SAM_PROTO_GetShiftState done [14:14:09]FM_GetShiftState done [14:14:09]opened in 1729470630 [14:14:09]opened+sec_in_day 1729557030 [14:14:09]quantity*price = 170059 [14:14:09]sum+1 = 170061 [14:14:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1700.60 ÐСП 1% : 15.05 ÐДС 12% : 180.59 Ðаличными: 0.00 Безнал.: 1700.60 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 39 21.10.2024 14:14 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40771 ФПД: 30268523379704 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141425&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40771&fm=30268523379704&tin=02508201610067®Number=0000000000098148&sum=170060 [14:14:10]StoreToDocumentArchive [14:14:10]shift 448 fd 40771 [14:14:10]save to /storage/0448/doc_00040771 [14:14:10]save last doc name /storage/0448/doc_00040771 to /storage/kkm_last_doc_name [14:14:10]save OK [14:14:10]Clear old archive folders... [14:14:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:14:10]tlvbuf is B6EBB4D0 [14:14:10]SAM_PROTO_ClearQueue [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 09 00 00 [14:14:10]Write to MH i2c: E2 08 00 12 2E 80 09 00 00 00 00 00 00 B2 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 12 2E 00 90 00 B4 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]SAM_PROTO_ClearQueue done [14:14:10]KKMCreateOFDPacket [14:14:10]OFDProtocolAddRootSTLVToBuf [14:14:10]FM_MakeSignedData [14:14:10]FM_MakeSignedData [14:14:10]SAM_PROTO_SignData [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 01 02 [14:14:10]Write to MH i2c: E2 08 00 13 2E 80 0D 01 02 00 00 00 00 BA [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 13 2E 00 90 00 B5 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=255 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 63 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 4C 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 98 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 61 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 43 9F 00 00 35 04 06 00 1B [14:14:10]Write to MH i2c: E2 02 01 14 2E 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 4C 63 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 4C 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 98 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 61 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 43 9F 00 00 35 04 06 00 1B 00 00 A3 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 14 2E 00 90 00 B6 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=10 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 02 02 05 87 70 95 7B F8 [14:14:10]Write to MH i2c: E2 0D 00 15 2E 80 0D 02 02 05 00 87 70 95 7B F8 00 00 C6 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 03 00 15 2E 00 90 00 B7 [14:14:10]RAPDU: 90 00 [14:14:10]wFMCommunicate OK [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 0D 03 02 [14:14:10]Write to MH i2c: E2 08 00 16 2E 80 0D 03 02 00 00 00 00 BF [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]OFD Sender: No OFD packet to send [14:14:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 0B 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 0B 00 16 2E 00 75 E6 DD B7 E6 06 9A 1B 90 00 50 [14:14:10]RAPDU: 75 E6 DD B7 E6 06 9A 1B 90 00 [14:14:10]wFMCommunicate OK [14:14:10]SAM_PROTO_SignData done [14:14:10]FM_MakeSignedData done [14:14:10]CreateOFDProtocolMessage [14:14:10]wFMCommunicate request_size=4 [14:14:10]MH_SAM_APDU [14:14:10]CAPDU: 80 11 00 00 [14:14:10]Write to MH i2c: E2 08 00 17 2E 80 11 00 00 00 00 00 00 BF [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:10]Read from MH i2c: E2 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 17 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: E2 17 00 17 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 14 [14:14:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:14:10]wFMCommunicate OK [14:14:10]CreateOFDProtocolMessage done [14:14:10]OFDSenderStorePacket 40771 [14:14:10]StoreOFDPacket docnum=40771 [14:14:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 FC 99 07 01 05 EC 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 4C 63 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 4C 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 98 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 61 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 43 9F 00 00 35 04 06 00 1B 87 70 95 7B F8 75 E6 DD B7 E6 06 9A 1B [14:14:10]CheckFolder [14:14:10]dirname=/storage/ofd_packets [14:14:10]CheckFolder done [14:14:10]ProducePacketName [14:14:10]name=ofd_packets/00040771 [14:14:10]NVStorageSaveData ofd_packets/00040771 [14:14:10]File name is /storage/ofd_packets/00040771 [14:14:10]Write 301 bytes [14:14:10]NVStorageSaveData done [14:14:10]OFDSenderStorePacket done [14:14:10]KKMCreateOFDPacket done [14:14:10]NVStorageSaveData kkm_last_timestamp [14:14:10]File name is /storage/kkm_last_timestamp [14:14:10]Write 4 bytes [14:14:10]NVStorageSaveData done [14:14:10]ExternCall_PrintAddStr [14:14:10]wPrintStart [14:14:10]Write to MH i2c: 01 00 00 18 2E 46 [14:14:10]Write i2c OK [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 07 00 [14:14:10]MH_I2C_Read... [14:14:10]Read from MH i2c: 01 07 00 18 2E 00 00 00 00 00 FF 0F 5B [14:14:10]RasterBufferAndPrint [14:14:10]line Счет N : (1)808822 [14:14:10]line ИÐÐ: 02508201610067 [14:14:10]line Контрольно-КаÑÑовый Чек [14:14:10]line ПРОДÐЖР[14:14:10]line ТРК (МРК, ГÐК) : 33 [14:14:10]line Товар: 2710124130 [14:14:10]line Ðи-92-К-5 [14:14:10]line 25.420 * 66.90 [14:14:10]line = 1700.60 [14:14:10]line ÐДС 12% ÐСП 1% [14:14:10]line > о реализуемом товаре [14:14:10]line ИТОГО: 1700.60 [14:14:10]line ÐСП 1% : 15.05 [14:14:10]line ÐДС 12% : 180.59 [14:14:10]line Ðаличными: 0.00 [14:14:10]line Безнал.: 1700.60 [14:14:10]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:14:10]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:14:10]line СÐО: Общий режим [14:14:10]line Чек 39 21.10.2024 14:14 [14:14:10]line Смена: 448 ФФД: 1.0 [14:14:10]line ЗÐМ: 0300000239 [14:14:10]line РÐМ: 0000000000098148 [14:14:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:14:10]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [14:14:10]line ФМ: 0000000000965374 [14:14:10]line ФД: 40771 [14:14:10]line ФПД: 30268523379704 [14:14:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141425&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40771&fm=30268523379704&tin=02508201610067®Number=0000000000098148&sum=170060 [14:14:11]OFD Sender: Processing packet 40771 [packets to send 4, broken 3] [14:14:11]ProducePacketName [14:14:11]name=ofd_packets/00040771 [14:14:11]OFD Sender: To server: ‡•öpG, [14:14:11]CommunicateWithHost lk.salyk.kg:30040 [14:14:11]ConnectInit lk.salyk.kg [14:14:11]written 0, free lines is 4095 [14:14:11]Connected sock=10 [14:14:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 FC 99 07 01 05 EC 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 4C 63 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 4C 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 98 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 61 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 43 9F 00 00 35 04 06 00 1B 87 70 95 7B F8 75 E6 DD B7 E6 06 9A 1B [14:14:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 21 56 47 00 12 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 43 9F 00 00 F4 03 04 00 A1 07 16 67 B6 04 01 00 00 9F 78 89 63 1C 0B CB E1 [14:14:11]CommunicateWithHost err = 0 [14:14:11]CheckOFDResponse [14:14:11]1017 (14) - 77093643461234 [14:14:11]1041 (16) - 0000000000965374 [14:14:11]1040 (4) - 40771 [14:14:11]1012 (4) - 21.10.2024 07:49 [14:14:11]1206 (1) - 0 [14:14:11]OFD Sender: Remove packet 40771 [14:14:11]ProducePacketName [14:14:11]name=ofd_packets/00040771 [14:14:11]NVStorageDeleteData [14:14:11]Write to MH i2c: 01 00 00 42 2E 70 [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 07 00 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: 01 07 00 42 2E 00 00 00 00 00 25 0D A9 [14:14:11]RasterBufferAndPrint [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]line [14:14:11]written 0, free lines is 3372 [14:14:11]MH_Cut [14:14:11]Write to MH i2c: D1 01 00 49 2E 01 49 [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 01 00 [14:14:11]MH_I2C_Read... [14:14:11]Read from MH i2c: D1 01 00 49 2E 00 48 [14:14:11]Write to MH i2c: 01 00 00 4A 2E 78 [14:14:11]Write i2c OK [14:14:11]MH_I2C_Read... [14:14:11]OFD Sender: No OFD packet to send [14:14:12]*** Cut start [14:14:12]*** Partial cut [14:14:12]*** CUTSNS_PIN = 1 [14:14:12]*** CUTSNS_PIN = 0 [14:14:12]*** Brake cut motor [14:14:12]Read from MH i2c: 01 [14:14:12]MH_I2C_Read... [14:14:12]*** Stop cut motor [14:14:12]*** Cut end [14:14:12]Read from MH i2c: 01 07 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: 01 07 00 4A 2E 00 00 00 00 00 FF 0F 8D [14:14:12]process_action close_receipt done [14:14:12]requested_data is exist [14:14:12]produce_requested_data [14:14:12]requested_item fm.sn is exist - process it [14:14:12]wFMCommunicate request_size=4 [14:14:12]MH_SAM_APDU [14:14:12]CAPDU: 80 11 00 00 [14:14:12]Write to MH i2c: E2 08 00 4B 2E 80 11 00 00 00 00 00 00 F3 [14:14:12]Write i2c OK [14:14:12]MH_I2C_Read... [14:14:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:12]Read from MH i2c: E2 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 17 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 17 00 4B 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 48 [14:14:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:14:12]wFMCommunicate OK [14:14:12]requested_item fd.num is exist - process it [14:14:12]SAM_PROTO_GetFieldsCounters [14:14:12]wFMCommunicate request_size=4 [14:14:12]MH_SAM_APDU [14:14:12]CAPDU: 80 13 00 00 [14:14:12]Write to MH i2c: E2 08 00 4C 2E 80 13 00 00 00 00 00 00 F6 [14:14:12]Write i2c OK [14:14:12]MH_I2C_Read... [14:14:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:12]Read from MH i2c: E2 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 62 00 [14:14:12]MH_I2C_Read... [14:14:12]Read from MH i2c: E2 62 00 4C 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 43 9F 00 00 0E 04 04 00 C0 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 36 [14:14:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 43 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:14:13]wFMCommunicate OK [14:14:13]SAM_PROTO_GetFieldsCounters done [14:14:13]requested_item shift.num is exist - process it [14:14:13]requested_item shift.opened is exist - process it [14:14:13]req_shift_opened [14:14:13]FM_GetShiftState [14:14:13]SAM_PROTO_GetShiftState [14:14:13]wFMCommunicate request_size=4 [14:14:13]MH_SAM_APDU [14:14:13]CAPDU: 80 13 01 00 [14:14:13]Write to MH i2c: E2 08 00 4D 2E 80 13 01 00 00 00 00 00 F8 [14:14:13]Write i2c OK [14:14:13]MH_I2C_Read... [14:14:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:13]Read from MH i2c: E2 [14:14:13]MH_I2C_Read... [14:14:13]Read from MH i2c: E2 0E 00 [14:14:13]MH_I2C_Read... [14:14:13]Read from MH i2c: E2 0E 00 4D 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C6 [14:14:13]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:14:13]wFMCommunicate OK [14:14:13]SAM_PROTO_GetShiftState done [14:14:13]FM_GetShiftState done [14:14:13]req_shift_opened done [14:14:13]requested_item shift.open_date is exist - process it [14:14:13]req_shift_open_date [14:14:13]req_shift_open_date done [14:14:13]produce_requested_data done [14:14:13]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40771,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:14:13]process_action_free close_receipt [14:14:13]json_value_free [14:14:13]json_value_free done [14:14:13]process_json_proto returns [14:14:13]Send response to host [14:14:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40771,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:14:13]free response buf [14:14:13]execute_script done [14:14:13]execute_script returns [14:14:13]free content buf [14:14:13]Sock 7.Close socket [14:14:13]Sock 7.Thread stoped [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:50]accept exits with 9 [14:16:50]New connection [14:16:50]New thread 3066887524 created [14:16:50]Thread 3067030884 joined [14:16:50]Waiting for new connection... [14:16:50] Sock 9.Parse request [14:16:50]Sock 9.Check first char [14:16:50]Sock 9.First char is OK [14:16:50]request: POST /json_proto HTTP/1.0 [14:16:50]Method: POST [14:16:50]URL: /json_proto [14:16:50]Method is POST - this is cgi request [14:16:50]url: /json_proto [14:16:50]query_string will be loaded in cgi processing [14:16:50]execute_cgi json_proto POST (null) [14:16:50]execute_cgi path=json_proto method=POST [14:16:50]POST find Content-Length [14:16:50]Host: 172.17.53.4:8080 [14:16:50]Content-Length: 674 [14:16:50]Content-Type: application/json [14:16:50] [14:16:50]POST finish read [14:16:50]Found Content-Length = 674 [14:16:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808823", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:16:50]execute_script... [14:16:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808823", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:16:50]POST & json_proto [14:16:50]process_json_proto [14:16:50]json parsed OK: [14:16:50]protocol is kg_v1.0 [14:16:50]action value=close_receipt [14:16:50]process_action close_receipt [14:16:50]cmd_close_receipt [14:16:50]MH_GetDate [14:16:50]Write to MH i2c: F0 00 00 4E 2E 6B [14:16:50]Write i2c OK [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 09 00 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 09 00 4E 2E 00 63 62 16 67 05 11 DA 64 0A [14:16:50]GetLastDocTimeStamp 1729520065 [14:16:50]current date 1729520227 [14:16:50]FM_GetShiftState [14:16:50]SAM_PROTO_GetShiftState [14:16:50]wFMCommunicate request_size=4 [14:16:50]MH_SAM_APDU [14:16:50]CAPDU: 80 13 01 00 [14:16:50]Write to MH i2c: E2 08 00 4F 2E 80 13 01 00 00 00 00 00 FA [14:16:50]Write i2c OK [14:16:50]MH_I2C_Read... [14:16:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:51]Read from MH i2c: E2 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 0E 00 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 0E 00 4F 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C8 [14:16:51]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:16:51]wFMCommunicate OK [14:16:51]SAM_PROTO_GetShiftState done [14:16:51]FM_GetShiftState done [14:16:51]opened in 1729470630 [14:16:51]opened+sec_in_day 1729557030 [14:16:51]quantity*price = 30022 [14:16:51]sum+1 = 30024 [14:16:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.88 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 40 21.10.2024 14:17 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40772 ФПД: 69429804180620 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141707&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40772&fm=69429804180620&tin=02508201610067®Number=0000000000098148&sum=30000 [14:16:52]StoreToDocumentArchive [14:16:52]shift 448 fd 40772 [14:16:52]save to /storage/0448/doc_00040772 [14:16:52]save last doc name /storage/0448/doc_00040772 to /storage/kkm_last_doc_name [14:16:52]save OK [14:16:52]Clear old archive folders... [14:16:52]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:16:52]tlvbuf is 010AE140 [14:16:52]SAM_PROTO_ClearQueue [14:16:52]wFMCommunicate request_size=4 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 09 00 00 [14:16:52]Write to MH i2c: E2 08 00 5C 2E 80 09 00 00 00 00 00 00 FC [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 5C 2E 00 90 00 FE [14:16:52]RAPDU: 90 00 [14:16:52]wFMCommunicate OK [14:16:52]SAM_PROTO_ClearQueue done [14:16:52]KKMCreateOFDPacket [14:16:52]OFDProtocolAddRootSTLVToBuf [14:16:52]FM_MakeSignedData [14:16:52]FM_MakeSignedData [14:16:52]SAM_PROTO_SignData [14:16:52]wFMCommunicate request_size=4 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 0D 01 02 [14:16:52]Write to MH i2c: E2 08 00 5D 2E 80 0D 01 02 00 00 00 00 04 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 5D 2E 00 90 00 FF [14:16:52]RAPDU: 90 00 [14:16:52]wFMCommunicate OK [14:16:52]wFMCommunicate request_size=255 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 28 00 00 00 F4 03 04 00 63 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 44 9F 00 00 35 04 06 00 3F 25 62 D0 [14:16:52]Write to MH i2c: E2 02 01 5E 2E 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 28 00 00 00 F4 03 04 00 63 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 44 9F 00 00 35 04 06 00 3F 25 62 D0 00 00 EE [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 5E 2E 00 90 00 00 [14:16:52]RAPDU: 90 00 [14:16:52]wFMCommunicate OK [14:16:52]wFMCommunicate request_size=7 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 0D 02 02 02 A4 8C [14:16:52]Write to MH i2c: E2 0A 00 5F 2E 80 0D 02 02 02 00 A4 8C 00 00 3B [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 03 00 5F 2E 00 90 00 01 [14:16:52]RAPDU: 90 00 [14:16:52]wFMCommunicate OK [14:16:52]wFMCommunicate request_size=4 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 0D 03 02 [14:16:52]Write to MH i2c: E2 08 00 60 2E 80 0D 03 02 00 00 00 00 09 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 0B 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 0B 00 60 2E 00 68 4A 46 E5 66 66 EA 4A 90 00 E7 [14:16:52]RAPDU: 68 4A 46 E5 66 66 EA 4A 90 00 [14:16:52]wFMCommunicate OK [14:16:52]SAM_PROTO_SignData done [14:16:52]FM_MakeSignedData done [14:16:52]CreateOFDProtocolMessage [14:16:52]wFMCommunicate request_size=4 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 11 00 00 [14:16:52]Write to MH i2c: E2 08 00 61 2E 80 11 00 00 00 00 00 00 09 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 17 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 17 00 61 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 5E [14:16:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:16:52]wFMCommunicate OK [14:16:52]CreateOFDProtocolMessage done [14:16:52]OFDSenderStorePacket 40772 [14:16:52]StoreOFDPacket docnum=40772 [14:16:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 FA 3F 04 01 12 A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 28 00 00 00 F4 03 04 00 63 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 44 9F 00 00 35 04 06 00 3F 25 62 D0 A4 8C 68 4A 46 E5 66 66 EA 4A [14:16:52]CheckFolder [14:16:52]dirname=/storage/ofd_packets [14:16:52]CheckFolder done [14:16:52]ProducePacketName [14:16:52]name=ofd_packets/00040772 [14:16:52]NVStorageSaveData ofd_packets/00040772 [14:16:52]File name is /storage/ofd_packets/00040772 [14:16:52]Write 298 bytes [14:16:52]NVStorageSaveData done [14:16:52]OFDSenderStorePacket done [14:16:52]KKMCreateOFDPacket done [14:16:52]NVStorageSaveData kkm_last_timestamp [14:16:52]File name is /storage/kkm_last_timestamp [14:16:52]Write 4 bytes [14:16:52]NVStorageSaveData done [14:16:52]ExternCall_PrintAddStr [14:16:52]wPrintStart [14:16:52]Write to MH i2c: 01 00 00 62 2E 90 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 62 2E 00 00 00 00 00 FF 0F A5 [14:16:52]RasterBufferAndPrint [14:16:52]line Счет N : (1)808823 [14:16:52]line ИÐÐ: 02508201610067 [14:16:52]line Контрольно-КаÑÑовый Чек [14:16:52]line ПРОДÐЖР[14:16:52]line ТРК (МРК, ГÐК) : 21 [14:16:52]line Товар: 2710194210 [14:16:52]line ДТ-К-2 [14:16:52]line 3.940 * 76.20 [14:16:52]line = 300.23 [14:16:52]line ÐДС 12% ÐСП 1% [14:16:52]line > о реализуемом товаре [14:16:52]line ОКРУГЛЕÐИЕ: -0.23 [14:16:52]line ИТОГО: 300.00 [14:16:52]line ВнеÑено: 300.00 [14:16:52]line СДÐЧÐ: 0.00 [14:16:52]line ÐСП 1% : 2.66 [14:16:52]line ÐДС 12% : 31.88 [14:16:52]line Ðаличными: 300.00 [14:16:52]line Безнал.: 0.00 [14:16:52]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:16:52]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:16:52]line СÐО: Общий режим [14:16:52]line Чек 40 21.10.2024 14:17 [14:16:52]line Смена: 448 ФФД: 1.0 [14:16:52]line ЗÐМ: 0300000239 [14:16:52]line РÐМ: 0000000000098148 [14:16:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:16:52]line ФМ: 0000000000965374 [14:16:52]line ФД: 40772 [14:16:52]line ФПД: 69429804180620 [14:16:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141707&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40772&fm=69429804180620&tin=02508201610067®Number=0000000000098148&sum=30000 [14:16:53]OFD Sender: Processing packet 40772 [packets to send 4, broken 3] [14:16:53]ProducePacketName [14:16:53]name=ofd_packets/00040772 [14:16:53]OFD Sender: To server: ‡•öpG, [14:16:53]CommunicateWithHost lk.salyk.kg:30040 [14:16:53]ConnectInit lk.salyk.kg [14:16:53]written 0, free lines is 4095 [14:16:53]Connected sock=7 [14:16:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 FA 3F 04 01 12 A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 28 00 00 00 F4 03 04 00 63 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 44 9F 00 00 35 04 06 00 3F 25 62 D0 A4 8C 68 4A 46 E5 66 66 EA 4A [14:16:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 CD 43 47 00 2F 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 44 9F 00 00 F4 03 04 00 43 08 16 67 B6 04 01 00 00 DD 94 0D A2 16 66 FF B2 [14:16:53]CommunicateWithHost err = 0 [14:16:53]CheckOFDResponse [14:16:53]1017 (14) - 77093643461234 [14:16:53]1041 (16) - 0000000000965374 [14:16:53]1040 (4) - 40772 [14:16:53]1012 (4) - 21.10.2024 07:52 [14:16:53]1206 (1) - 0 [14:16:53]OFD Sender: Remove packet 40772 [14:16:53]ProducePacketName [14:16:53]name=ofd_packets/00040772 [14:16:53]NVStorageDeleteData [14:16:53]Write to MH i2c: 01 00 00 8D 2E BB [14:16:53]Write i2c OK [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: 01 [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: 01 07 00 [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: 01 07 00 8D 2E 00 00 00 00 00 F9 0C C7 [14:16:53]RasterBufferAndPrint [14:16:53]line [14:16:53]line [14:16:53]line [14:16:53]line [14:16:53]line [14:16:53]written 0, free lines is 3328 [14:16:53]MH_Cut [14:16:53]Write to MH i2c: D1 01 00 94 2E 01 94 [14:16:53]Write i2c OK [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: D1 [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: D1 01 00 [14:16:53]MH_I2C_Read... [14:16:53]Read from MH i2c: D1 01 00 94 2E 00 93 [14:16:53]Write to MH i2c: 01 00 00 95 2E C3 [14:16:53]Write i2c OK [14:16:53]MH_I2C_Read... [14:16:53]OFD Sender: No OFD packet to send [14:16:54]*** Cut start [14:16:54]*** Partial cut [14:16:54]*** CUTSNS_PIN = 1 [14:16:54]*** CUTSNS_PIN = 0 [14:16:54]*** Brake cut motor [14:16:54]Read from MH i2c: 01 [14:16:54]MH_I2C_Read... [14:16:54]*** Stop cut motor [14:16:54]*** Cut end [14:16:54]Read from MH i2c: 01 07 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: 01 07 00 95 2E 00 00 00 00 00 FF 0F D8 [14:16:54]process_action close_receipt done [14:16:54]requested_data is exist [14:16:54]produce_requested_data [14:16:54]requested_item fm.sn is exist - process it [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 11 00 00 [14:16:54]Write to MH i2c: E2 08 00 96 2E 80 11 00 00 00 00 00 00 3E [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 17 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 17 00 96 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 93 [14:16:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:16:54]wFMCommunicate OK [14:16:54]requested_item fd.num is exist - process it [14:16:54]SAM_PROTO_GetFieldsCounters [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 13 00 00 [14:16:54]Write to MH i2c: E2 08 00 97 2E 80 13 00 00 00 00 00 00 41 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 62 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 62 00 97 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 44 9F 00 00 0E 04 04 00 C0 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 85 [14:16:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 44 9F 00 00 0E 04 04 00 C0 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:16:54]wFMCommunicate OK [14:16:54]SAM_PROTO_GetFieldsCounters done [14:16:54]requested_item shift.num is exist - process it [14:16:54]requested_item shift.opened is exist - process it [14:16:54]req_shift_opened [14:16:54]FM_GetShiftState [14:16:54]SAM_PROTO_GetShiftState [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 13 01 00 [14:16:54]Write to MH i2c: E2 08 00 98 2E 80 13 01 00 00 00 00 00 43 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 98 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 11 [14:16:54]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:16:54]wFMCommunicate OK [14:16:54]SAM_PROTO_GetShiftState done [14:16:54]FM_GetShiftState done [14:16:54]req_shift_opened done [14:16:54]requested_item shift.open_date is exist - process it [14:16:54]req_shift_open_date [14:16:54]req_shift_open_date done [14:16:54]produce_requested_data done [14:16:54]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40772,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:16:54]process_action_free close_receipt [14:16:54]json_value_free [14:16:54]json_value_free done [14:16:54]process_json_proto returns [14:16:54]Send response to host [14:16:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40772,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:16:54]free response buf [14:16:54]execute_script done [14:16:54]execute_script returns [14:16:54]free content buf [14:16:54]Sock 9.Close socket [14:16:54]Sock 9.Thread stoped [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:27]accept exits with 10 [14:19:27]New connection [14:19:27]New thread 3067030884 created [14:19:27]Thread 3066887524 joined [14:19:27]Waiting for new connection... [14:19:27] Sock 10.Parse request [14:19:27]Sock 10.Check first char [14:19:27]Sock 10.First char is OK [14:19:27]request: POST /json_proto HTTP/1.0 [14:19:27]Method: POST [14:19:27]URL: /json_proto [14:19:27]Method is POST - this is cgi request [14:19:27]url: /json_proto [14:19:27]query_string will be loaded in cgi processing [14:19:27]execute_cgi json_proto POST (null) [14:19:27]execute_cgi path=json_proto method=POST [14:19:27]POST find Content-Length [14:19:27]Host: 172.17.53.4:8080 [14:19:27]Content-Length: 679 [14:19:27]Content-Type: application/json [14:19:27] [14:19:27]POST finish read [14:19:27]Found Content-Length = 679 [14:19:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808824", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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:19:27]execute_script... [14:19: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 : (1)808824", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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:19:27]POST & json_proto [14:19:27]process_json_proto [14:19:27]json parsed OK: [14:19:27]protocol is kg_v1.0 [14:19:27]action value=close_receipt [14:19:27]process_action close_receipt [14:19:27]cmd_close_receipt [14:19:27]MH_GetDate [14:19:27]Write to MH i2c: F0 00 00 99 2E B6 [14:19:27]Write i2c OK [14:19:27]MH_I2C_Read... [14:19:27]Read from MH i2c: F0 [14:19:27]MH_I2C_Read... [14:19:27]Read from MH i2c: F0 09 00 [14:19:27]MH_I2C_Read... [14:19:27]Read from MH i2c: F0 09 00 99 2E 00 FF 62 16 67 05 11 DA 64 F1 [14:19:27]GetLastDocTimeStamp 1729520227 [14:19:27]current date 1729520383 [14:19:27]FM_GetShiftState [14:19:27]SAM_PROTO_GetShiftState [14:19:27]wFMCommunicate request_size=4 [14:19:27]MH_SAM_APDU [14:19:27]CAPDU: 80 13 01 00 [14:19:27]Write to MH i2c: E2 08 00 9A 2E 80 13 01 00 00 00 00 00 45 [14:19:27]Write i2c OK [14:19:27]MH_I2C_Read... [14:19:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:19:27]Read from MH i2c: E2 [14:19:27]MH_I2C_Read... [14:19:27]Read from MH i2c: E2 0E 00 [14:19:27]MH_I2C_Read... [14:19:27]Read from MH i2c: E2 0E 00 9A 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 13 [14:19:27]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:19:27]wFMCommunicate OK [14:19:27]SAM_PROTO_GetShiftState done [14:19:27]FM_GetShiftState done [14:19:27]opened in 1729470630 [14:19:27]opened+sec_in_day 1729557030 [14:19:27]quantity*price = 100050 [14:19:27]sum+1 = 100052 [14:19:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.51 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.25 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 41 21.10.2024 14:19 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40773 ФПД: 244499125570983 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141943&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40773&fm=244499125570983&tin=02508201610067®Number=0000000000098148&sum=100000 [14:19:28]StoreToDocumentArchive [14:19:28]shift 448 fd 40773 [14:19:28]save to /storage/0448/doc_00040773 [14:19:28]save last doc name /storage/0448/doc_00040773 to /storage/kkm_last_doc_name [14:19:28]save OK [14:19:28]Clear old archive folders... [14:19:28]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:19:28]tlvbuf is 0106CC50 [14:19:28]SAM_PROTO_ClearQueue [14:19:28]wFMCommunicate request_size=4 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 09 00 00 [14:19:28]Write to MH i2c: E2 08 00 A7 2E 80 09 00 00 00 00 00 00 47 [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 A7 2E 00 90 00 49 [14:19:28]RAPDU: 90 00 [14:19:28]wFMCommunicate OK [14:19:28]SAM_PROTO_ClearQueue done [14:19:28]KKMCreateOFDPacket [14:19:28]OFDProtocolAddRootSTLVToBuf [14:19:28]FM_MakeSignedData [14:19:28]FM_MakeSignedData [14:19:28]SAM_PROTO_SignData [14:19:28]wFMCommunicate request_size=4 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 0D 01 02 [14:19:28]Write to MH i2c: E2 08 00 A8 2E 80 0D 01 02 00 00 00 00 4F [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 A8 2E 00 90 00 4A [14:19:28]RAPDU: 90 00 [14:19:28]wFMCommunicate OK [14:19:28]wFMCommunicate request_size=255 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FF 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 45 9F 00 00 35 04 06 00 DE 5E E3 87 [14:19:28]Write to MH i2c: E2 02 01 A9 2E 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FF 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 45 9F 00 00 35 04 06 00 DE 5E E3 87 00 00 2A [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 A9 2E 00 90 00 4B [14:19:28]RAPDU: 90 00 [14:19:28]wFMCommunicate OK [14:19:28]wFMCommunicate request_size=7 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 0D 02 02 02 0D A7 [14:19:28]Write to MH i2c: E2 0A 00 AA 2E 80 0D 02 02 02 00 0D A7 00 00 0A [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 03 00 AA 2E 00 90 00 4C [14:19:28]RAPDU: 90 00 [14:19:28]wFMCommunicate OK [14:19:28]wFMCommunicate request_size=4 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 0D 03 02 [14:19:28]Write to MH i2c: E2 08 00 AB 2E 80 0D 03 02 00 00 00 00 54 [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 0B 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 0B 00 AB 2E 00 44 91 96 61 8B ED B5 1F 90 00 6D [14:19:28]RAPDU: 44 91 96 61 8B ED B5 1F 90 00 [14:19:28]wFMCommunicate OK [14:19:28]SAM_PROTO_SignData done [14:19:28]FM_MakeSignedData done [14:19:28]CreateOFDProtocolMessage [14:19:28]wFMCommunicate request_size=4 [14:19:28]MH_SAM_APDU [14:19:28]CAPDU: 80 11 00 00 [14:19:28]Write to MH i2c: E2 08 00 AC 2E 80 11 00 00 00 00 00 00 54 [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:19:28]Read from MH i2c: E2 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 17 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: E2 17 00 AC 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A9 [14:19:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:19:28]wFMCommunicate OK [14:19:28]CreateOFDProtocolMessage done [14:19:28]OFDSenderStorePacket 40773 [14:19:28]StoreOFDPacket docnum=40773 [14:19:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 A4 08 04 01 FB DC 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FF 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 45 9F 00 00 35 04 06 00 DE 5E E3 87 0D A7 44 91 96 61 8B ED B5 1F [14:19:28]CheckFolder [14:19:28]dirname=/storage/ofd_packets [14:19:28]CheckFolder done [14:19:28]ProducePacketName [14:19:28]name=ofd_packets/00040773 [14:19:28]NVStorageSaveData ofd_packets/00040773 [14:19:28]File name is /storage/ofd_packets/00040773 [14:19:28]Write 298 bytes [14:19:28]NVStorageSaveData done [14:19:28]OFDSenderStorePacket done [14:19:28]KKMCreateOFDPacket done [14:19:28]NVStorageSaveData kkm_last_timestamp [14:19:28]File name is /storage/kkm_last_timestamp [14:19:28]Write 4 bytes [14:19:28]NVStorageSaveData done [14:19:28]ExternCall_PrintAddStr [14:19:28]wPrintStart [14:19:28]Write to MH i2c: 01 00 00 AD 2E DB [14:19:28]Write i2c OK [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: 01 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: 01 07 00 [14:19:28]MH_I2C_Read... [14:19:28]Read from MH i2c: 01 07 00 AD 2E 00 00 00 00 00 FF 0F F0 [14:19:28]RasterBufferAndPrint [14:19:28]line Счет N : (1)808824 [14:19:28]line ИÐÐ: 02508201610067 [14:19:28]line Контрольно-КаÑÑовый Чек [14:19:28]line ПРОДÐЖР[14:19:28]line ТРК (МРК, ГÐК) : 41 [14:19:28]line Товар: 2710194210 [14:19:28]line ДТ-К-2 [14:19:28]line 13.130 * 76.20 [14:19:28]line = 1000.51 [14:19:28]line ÐДС 12% ÐСП 1% [14:19:28]line > о реализуемом товаре [14:19:28]line ОКРУГЛЕÐИЕ: -0.51 [14:19:28]line ИТОГО: 1000.00 [14:19:28]line ВнеÑено: 1000.00 [14:19:28]line СДÐЧÐ: 0.00 [14:19:28]line ÐСП 1% : 8.85 [14:19:28]line ÐДС 12% : 106.25 [14:19:28]line Ðаличными: 1000.00 [14:19:28]line Безнал.: 0.00 [14:19:28]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:19:28]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:19:28]line СÐО: Общий режим [14:19:28]line Чек 41 21.10.2024 14:19 [14:19:28]line Смена: 448 ФФД: 1.0 [14:19:28]line ЗÐМ: 0300000239 [14:19:28]line РÐМ: 0000000000098148 [14:19:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:19:28]line ФМ: 0000000000965374 [14:19:28]line ФД: 40773 [14:19:28]line ФПД: 244499125570983 [14:19:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T141943&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40773&fm=244499125570983&tin=02508201610067®Number=0000000000098148&sum=100000 [14:19:29]OFD Sender: Processing packet 40773 [packets to send 4, broken 3] [14:19:29]ProducePacketName [14:19:29]name=ofd_packets/00040773 [14:19:29]OFD Sender: To server: ‡•öpG, [14:19:29]CommunicateWithHost lk.salyk.kg:30040 [14:19:29]ConnectInit lk.salyk.kg [14:19:29]written 0, free lines is 4095 [14:19:29]Connected sock=11 [14:19:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 A4 08 04 01 FB DC 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FF 62 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 45 9F 00 00 35 04 06 00 DE 5E E3 87 0D A7 44 91 96 61 8B ED B5 1F [14:19:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 72 12 47 00 8A 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 45 9F 00 00 F4 03 04 00 DF 08 16 67 B6 04 01 00 00 F8 4C FB 07 B1 8C F7 66 [14:19:29]CommunicateWithHost err = 0 [14:19:29]CheckOFDResponse [14:19:29]1017 (14) - 77093643461234 [14:19:29]1041 (16) - 0000000000965374 [14:19:29]1040 (4) - 40773 [14:19:29]1012 (4) - 21.10.2024 07:55 [14:19:29]1206 (1) - 0 [14:19:29]OFD Sender: Remove packet 40773 [14:19:29]ProducePacketName [14:19:29]name=ofd_packets/00040773 [14:19:29]NVStorageDeleteData [14:19:29]Write to MH i2c: 01 00 00 D8 2E 06 [14:19:29]Write i2c OK [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: 01 [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: 01 07 00 [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: 01 07 00 D8 2E 00 00 00 00 00 EE 0C 07 [14:19:29]RasterBufferAndPrint [14:19:29]line [14:19:29]line [14:19:29]line [14:19:29]line [14:19:29]line [14:19:29]written 0, free lines is 3316 [14:19:29]MH_Cut [14:19:29]Write to MH i2c: D1 01 00 DF 2E 01 DF [14:19:29]Write i2c OK [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: D1 [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: D1 01 00 [14:19:29]MH_I2C_Read... [14:19:29]Read from MH i2c: D1 01 00 DF 2E 00 DE [14:19:29]Write to MH i2c: 01 00 00 E0 2E 0E [14:19:29]Write i2c OK [14:19:29]MH_I2C_Read... [14:19:30]OFD Sender: No OFD packet to send [14:19:30]*** Cut start [14:19:30]*** Partial cut [14:19:30]*** CUTSNS_PIN = 1 [14:19:30]*** CUTSNS_PIN = 0 [14:19:30]*** Brake cut motor [14:19:30]Read from MH i2c: 01 [14:19:31]MH_I2C_Read... [14:19:31]*** Stop cut motor [14:19:31]*** Cut end [14:19:31]Read from MH i2c: 01 07 00 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: 01 07 00 E0 2E 00 00 00 00 00 FF 0F 23 [14:19:31]process_action close_receipt done [14:19:31]requested_data is exist [14:19:31]produce_requested_data [14:19:31]requested_item fm.sn is exist - process it [14:19:31]wFMCommunicate request_size=4 [14:19:31]MH_SAM_APDU [14:19:31]CAPDU: 80 11 00 00 [14:19:31]Write to MH i2c: E2 08 00 E1 2E 80 11 00 00 00 00 00 00 89 [14:19:31]Write i2c OK [14:19:31]MH_I2C_Read... [14:19:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:19:31]Read from MH i2c: E2 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 17 00 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 17 00 E1 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DE [14:19:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:19:31]wFMCommunicate OK [14:19:31]requested_item fd.num is exist - process it [14:19:31]SAM_PROTO_GetFieldsCounters [14:19:31]wFMCommunicate request_size=4 [14:19:31]MH_SAM_APDU [14:19:31]CAPDU: 80 13 00 00 [14:19:31]Write to MH i2c: E2 08 00 E2 2E 80 13 00 00 00 00 00 00 8C [14:19:31]Write i2c OK [14:19:31]MH_I2C_Read... [14:19:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:19:31]Read from MH i2c: E2 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 62 00 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 62 00 E2 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 45 9F 00 00 0E 04 04 00 C0 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 D4 [14:19:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 45 9F 00 00 0E 04 04 00 C0 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:19:31]wFMCommunicate OK [14:19:31]SAM_PROTO_GetFieldsCounters done [14:19:31]requested_item shift.num is exist - process it [14:19:31]requested_item shift.opened is exist - process it [14:19:31]req_shift_opened [14:19:31]FM_GetShiftState [14:19:31]SAM_PROTO_GetShiftState [14:19:31]wFMCommunicate request_size=4 [14:19:31]MH_SAM_APDU [14:19:31]CAPDU: 80 13 01 00 [14:19:31]Write to MH i2c: E2 08 00 E3 2E 80 13 01 00 00 00 00 00 8E [14:19:31]Write i2c OK [14:19:31]MH_I2C_Read... [14:19:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:19:31]Read from MH i2c: E2 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 0E 00 [14:19:31]MH_I2C_Read... [14:19:31]Read from MH i2c: E2 0E 00 E3 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5C [14:19:31]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:19:31]wFMCommunicate OK [14:19:31]SAM_PROTO_GetShiftState done [14:19:31]FM_GetShiftState done [14:19:31]req_shift_opened done [14:19:31]requested_item shift.open_date is exist - process it [14:19:31]req_shift_open_date [14:19:31]req_shift_open_date done [14:19:31]produce_requested_data done [14:19:31]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40773,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:19:31]process_action_free close_receipt [14:19:31]json_value_free [14:19:31]json_value_free done [14:19:31]process_json_proto returns [14:19:31]Send response to host [14:19:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40773,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:19:31]free response buf [14:19:31]execute_script done [14:19:31]execute_script returns [14:19:31]free content buf [14:19:31]Sock 10.Close socket [14:19:31]Sock 10.Thread stoped [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:05]OFD Sender: No OFD packet to send [14:21:10]OFD Sender: No OFD packet to send [14:21:15]OFD Sender: No OFD packet to send [14:21:20]OFD Sender: No OFD packet to send [14:21:25]OFD Sender: No OFD packet to send [14:21:30]OFD Sender: No OFD packet to send [14:21:35]OFD Sender: No OFD packet to send [14:21:40]OFD Sender: No OFD packet to send [14:21:45]OFD Sender: No OFD packet to send [14:21:50]OFD Sender: No OFD packet to send [14:21:55]OFD Sender: No OFD packet to send [14:22:00]OFD Sender: No OFD packet to send [14:22:05]OFD Sender: No OFD packet to send [14:22:10]OFD Sender: No OFD packet to send [14:22:15]OFD Sender: No OFD packet to send [14:22:20]OFD Sender: No OFD packet to send [14:22:25]OFD Sender: No OFD packet to send [14:22:30]OFD Sender: No OFD packet to send [14:22:35]OFD Sender: No OFD packet to send [14:22:40]OFD Sender: No OFD packet to send [14:22:45]OFD Sender: No OFD packet to send [14:22:50]OFD Sender: No OFD packet to send [14:22:55]OFD Sender: No OFD packet to send [14:23:00]OFD Sender: No OFD packet to send [14:23:05]OFD Sender: No OFD packet to send [14:23:10]OFD Sender: No OFD packet to send [14:23:15]OFD Sender: No OFD packet to send [14:23:20]OFD Sender: No OFD packet to send [14:23:25]OFD Sender: No OFD packet to send [14:23:30]OFD Sender: No OFD packet to send [14:23:35]OFD Sender: No OFD packet to send [14:23:40]OFD Sender: No OFD packet to send [14:23:45]OFD Sender: No OFD packet to send [14:23:50]OFD Sender: No OFD packet to send [14:23:55]OFD Sender: No OFD packet to send [14:24:00]OFD Sender: No OFD packet to send [14:24:05]OFD Sender: No OFD packet to send [14:24:10]OFD Sender: No OFD packet to send [14:24:15]OFD Sender: No OFD packet to send [14:24:20]OFD Sender: No OFD packet to send [14:24:25]OFD Sender: No OFD packet to send [14:24:30]OFD Sender: No OFD packet to send [14:24:35]OFD Sender: No OFD packet to send [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:39]accept exits with 7 [14:27:39]New connection [14:27:39]New thread 3066887524 created [14:27:39]Thread 3067030884 joined [14:27:39]Waiting for new connection... [14:27:39] Sock 7.Parse request [14:27:39]Sock 7.Check first char [14:27:39]Sock 7.First char is OK [14:27:39]request: POST /json_proto HTTP/1.0 [14:27:39]Method: POST [14:27:39]URL: /json_proto [14:27:39]Method is POST - this is cgi request [14:27:39]url: /json_proto [14:27:39]query_string will be loaded in cgi processing [14:27:39]execute_cgi json_proto POST (null) [14:27:39]execute_cgi path=json_proto method=POST [14:27:39]POST find Content-Length [14:27:39]Host: 172.17.53.4:8080 [14:27:39]Content-Length: 674 [14:27:39]Content-Type: application/json [14:27:39] [14:27:39]POST finish read [14:27:39]Found Content-Length = 674 [14:27:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808836", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 5.250, "sum" : 400.05, "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:27:39]execute_script... [14:27:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808836", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 5.250, "sum" : 400.05, "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:27:39]POST & json_proto [14:27:39]process_json_proto [14:27:39]json parsed OK: [14:27:39]protocol is kg_v1.0 [14:27:39]action value=close_receipt [14:27:39]process_action close_receipt [14:27:39]cmd_close_receipt [14:27:39]MH_GetDate [14:27:39]Write to MH i2c: F0 00 00 E4 2E 01 [14:27:39]Write i2c OK [14:27:39]MH_I2C_Read... [14:27:39]Read from MH i2c: F0 [14:27:39]MH_I2C_Read... [14:27:39]Read from MH i2c: F0 09 00 [14:27:39]MH_I2C_Read... [14:27:39]Read from MH i2c: F0 09 00 E4 2E 00 EB 64 16 67 05 11 DA 64 2A [14:27:39]GetLastDocTimeStamp 1729520383 [14:27:39]current date 1729520875 [14:27:39]FM_GetShiftState [14:27:39]SAM_PROTO_GetShiftState [14:27:39]wFMCommunicate request_size=4 [14:27:39]MH_SAM_APDU [14:27:39]CAPDU: 80 13 01 00 [14:27:39]Write to MH i2c: E2 08 00 E5 2E 80 13 01 00 00 00 00 00 90 [14:27:39]Write i2c OK [14:27:39]MH_I2C_Read... [14:27:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:39]Read from MH i2c: E2 [14:27:39]MH_I2C_Read... [14:27:39]Read from MH i2c: E2 0E 00 [14:27:39]MH_I2C_Read... [14:27:39]Read from MH i2c: E2 0E 00 E5 2E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5E [14:27:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:27:39]wFMCommunicate OK [14:27:39]SAM_PROTO_GetShiftState done [14:27:39]FM_GetShiftState done [14:27:39]opened in 1729470630 [14:27:39]opened+sec_in_day 1729557030 [14:27:39]quantity*price = 40005 [14:27:39]sum+1 = 40006 [14:27:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.05 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 42 21.10.2024 14:27 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40774 ФПД: 208690503507677 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T142755&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40774&fm=208690503507677&tin=02508201610067®Number=0000000000098148&sum=40000 [14:27:40]StoreToDocumentArchive [14:27:40]shift 448 fd 40774 [14:27:40]save to /storage/0448/doc_00040774 [14:27:40]save last doc name /storage/0448/doc_00040774 to /storage/kkm_last_doc_name [14:27:40]save OK [14:27:40]Clear old archive folders... [14:27:40]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:27:40]tlvbuf is 010C0380 [14:27:40]SAM_PROTO_ClearQueue [14:27:40]wFMCommunicate request_size=4 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 09 00 00 [14:27:40]Write to MH i2c: E2 08 00 F2 2E 80 09 00 00 00 00 00 00 92 [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 F2 2E 00 90 00 94 [14:27:40]RAPDU: 90 00 [14:27:40]wFMCommunicate OK [14:27:40]SAM_PROTO_ClearQueue done [14:27:40]KKMCreateOFDPacket [14:27:40]OFDProtocolAddRootSTLVToBuf [14:27:40]FM_MakeSignedData [14:27:40]FM_MakeSignedData [14:27:40]SAM_PROTO_SignData [14:27:40]wFMCommunicate request_size=4 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 0D 01 02 [14:27:40]Write to MH i2c: E2 08 00 F3 2E 80 0D 01 02 00 00 00 00 9A [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:27:40]OFD Sender: No OFD packet to send [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 F3 2E 00 90 00 95 [14:27:40]RAPDU: 90 00 [14:27:40]wFMCommunicate OK [14:27:40]wFMCommunicate request_size=255 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 82 14 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 EB 64 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 46 9F 00 00 35 04 06 00 BD CD 8B 54 [14:27:40]Write to MH i2c: E2 02 01 F4 2E 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 82 14 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 EB 64 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 46 9F 00 00 35 04 06 00 BD CD 8B 54 00 00 1B [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 F4 2E 00 90 00 96 [14:27:40]RAPDU: 90 00 [14:27:40]wFMCommunicate OK [14:27:40]wFMCommunicate request_size=7 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 0D 02 02 02 5E DD [14:27:40]Write to MH i2c: E2 0A 00 F5 2E 80 0D 02 02 02 00 5E DD 00 00 DC [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 03 00 F5 2E 00 90 00 97 [14:27:40]RAPDU: 90 00 [14:27:40]wFMCommunicate OK [14:27:40]wFMCommunicate request_size=4 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 0D 03 02 [14:27:40]Write to MH i2c: E2 08 00 F6 2E 80 0D 03 02 00 00 00 00 9F [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 0B 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 0B 00 F6 2E 00 E3 C1 C4 8A 44 69 ED F4 90 00 20 [14:27:40]RAPDU: E3 C1 C4 8A 44 69 ED F4 90 00 [14:27:40]wFMCommunicate OK [14:27:40]SAM_PROTO_SignData done [14:27:40]FM_MakeSignedData done [14:27:40]CreateOFDProtocolMessage [14:27:40]wFMCommunicate request_size=4 [14:27:40]MH_SAM_APDU [14:27:40]CAPDU: 80 11 00 00 [14:27:40]Write to MH i2c: E2 08 00 F7 2E 80 11 00 00 00 00 00 00 9F [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:40]Read from MH i2c: E2 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 17 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: E2 17 00 F7 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F4 [14:27:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:27:40]wFMCommunicate OK [14:27:40]CreateOFDProtocolMessage done [14:27:40]OFDSenderStorePacket 40774 [14:27:40]StoreOFDPacket docnum=40774 [14:27:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 2B 78 04 01 E6 F0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 82 14 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 EB 64 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 46 9F 00 00 35 04 06 00 BD CD 8B 54 5E DD E3 C1 C4 8A 44 69 ED F4 [14:27:40]CheckFolder [14:27:40]dirname=/storage/ofd_packets [14:27:40]CheckFolder done [14:27:40]ProducePacketName [14:27:40]name=ofd_packets/00040774 [14:27:40]NVStorageSaveData ofd_packets/00040774 [14:27:40]File name is /storage/ofd_packets/00040774 [14:27:40]Write 298 bytes [14:27:40]NVStorageSaveData done [14:27:40]OFDSenderStorePacket done [14:27:40]KKMCreateOFDPacket done [14:27:40]NVStorageSaveData kkm_last_timestamp [14:27:40]File name is /storage/kkm_last_timestamp [14:27:40]Write 4 bytes [14:27:40]NVStorageSaveData done [14:27:40]ExternCall_PrintAddStr [14:27:40]wPrintStart [14:27:40]Write to MH i2c: 01 00 00 F8 2E 26 [14:27:40]Write i2c OK [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: 01 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: 01 07 00 [14:27:40]MH_I2C_Read... [14:27:40]Read from MH i2c: 01 07 00 F8 2E 00 00 00 00 00 FF 0F 3B [14:27:40]RasterBufferAndPrint [14:27:40]line Счет N : (1)808836 [14:27:40]line ИÐÐ: 02508201610067 [14:27:40]line Контрольно-КаÑÑовый Чек [14:27:40]line ПРОДÐЖР[14:27:40]line ТРК (МРК, ГÐК) : 31 [14:27:40]line Товар: 2710194210 [14:27:40]line ДТ-К-2 [14:27:40]line 5.250 * 76.20 [14:27:40]line = 400.05 [14:27:40]line ÐДС 12% ÐСП 1% [14:27:40]line > о реализуемом товаре [14:27:40]line ОКРУГЛЕÐИЕ: -0.05 [14:27:40]line ИТОГО: 400.00 [14:27:40]line ВнеÑено: 400.00 [14:27:40]line СДÐЧÐ: 0.00 [14:27:40]line ÐСП 1% : 3.54 [14:27:40]line ÐДС 12% : 42.48 [14:27:40]line Ðаличными: 400.00 [14:27:40]line Безнал.: 0.00 [14:27:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:27:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:27:40]line СÐО: Общий режим [14:27:40]line Чек 42 21.10.2024 14:27 [14:27:40]line Смена: 448 ФФД: 1.0 [14:27:40]line ЗÐМ: 0300000239 [14:27:40]line РÐМ: 0000000000098148 [14:27:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:27:40]line ФМ: 0000000000965374 [14:27:40]line ФД: 40774 [14:27:40]line ФПД: 208690503507677 [14:27:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T142755&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40774&fm=208690503507677&tin=02508201610067®Number=0000000000098148&sum=40000 [14:27:41]OFD Sender: Processing packet 40774 [packets to send 4, broken 3] [14:27:41]ProducePacketName [14:27:41]name=ofd_packets/00040774 [14:27:41]OFD Sender: To server: ‡•öpG, [14:27:41]CommunicateWithHost lk.salyk.kg:30040 [14:27:41]ConnectInit lk.salyk.kg [14:27:41]written 0, free lines is 4095 [14:27:41]Connected sock=11 [14:27:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 2B 78 04 01 E6 F0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 82 14 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 EB 64 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 46 9F 00 00 35 04 06 00 BD CD 8B 54 5E DD E3 C1 C4 8A 44 69 ED F4 [14:27:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 48 BD 47 00 A9 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 46 9F 00 00 F4 03 04 00 CB 0A 16 67 B6 04 01 00 00 DA A5 7C 8C 3F 52 C2 AD [14:27:41]CommunicateWithHost err = 0 [14:27:41]CheckOFDResponse [14:27:41]1017 (14) - 77093643461234 [14:27:41]1041 (16) - 0000000000965374 [14:27:41]1040 (4) - 40774 [14:27:41]1012 (4) - 21.10.2024 08:03 [14:27:41]1206 (1) - 0 [14:27:41]OFD Sender: Remove packet 40774 [14:27:41]ProducePacketName [14:27:41]name=ofd_packets/00040774 [14:27:41]NVStorageDeleteData [14:27:41]Write to MH i2c: 01 00 00 23 2F 52 [14:27:41]Write i2c OK [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: 01 [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: 01 07 00 [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: 01 07 00 23 2F 00 00 00 00 00 FA 0C 5F [14:27:41]RasterBufferAndPrint [14:27:41]line [14:27:41]line [14:27:41]line [14:27:41]line [14:27:41]line [14:27:41]written 0, free lines is 3328 [14:27:41]MH_Cut [14:27:41]Write to MH i2c: D1 01 00 2A 2F 01 2B [14:27:41]Write i2c OK [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: D1 [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: D1 01 00 [14:27:41]MH_I2C_Read... [14:27:41]Read from MH i2c: D1 01 00 2A 2F 00 2A [14:27:41]Write to MH i2c: 01 00 00 2B 2F 5A [14:27:41]Write i2c OK [14:27:41]MH_I2C_Read... [14:27:42]OFD Sender: No OFD packet to send [14:27:42]*** Cut start [14:27:42]*** Partial cut [14:27:42]*** CUTSNS_PIN = 1 [14:27:42]*** CUTSNS_PIN = 0 [14:27:42]*** Brake cut motor [14:27:42]Read from MH i2c: 01 [14:27:42]MH_I2C_Read... [14:27:42]*** Stop cut motor [14:27:42]*** Cut end [14:27:42]Read from MH i2c: 01 07 00 [14:27:42]MH_I2C_Read... [14:27:42]Read from MH i2c: 01 07 00 2B 2F 00 00 00 00 00 FF 0F 6F [14:27:42]process_action close_receipt done [14:27:42]requested_data is exist [14:27:42]produce_requested_data [14:27:42]requested_item fm.sn is exist - process it [14:27:42]wFMCommunicate request_size=4 [14:27:42]MH_SAM_APDU [14:27:42]CAPDU: 80 11 00 00 [14:27:42]Write to MH i2c: E2 08 00 2C 2F 80 11 00 00 00 00 00 00 D5 [14:27:42]Write i2c OK [14:27:42]MH_I2C_Read... [14:27:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:43]Read from MH i2c: E2 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 17 00 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 17 00 2C 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2A [14:27:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:27:43]wFMCommunicate OK [14:27:43]requested_item fd.num is exist - process it [14:27:43]SAM_PROTO_GetFieldsCounters [14:27:43]wFMCommunicate request_size=4 [14:27:43]MH_SAM_APDU [14:27:43]CAPDU: 80 13 00 00 [14:27:43]Write to MH i2c: E2 08 00 2D 2F 80 13 00 00 00 00 00 00 D8 [14:27:43]Write i2c OK [14:27:43]MH_I2C_Read... [14:27:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:27:43]Read from MH i2c: E2 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 62 00 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 62 00 2D 2F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 46 9F 00 00 0E 04 04 00 C0 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 24 [14:27:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 46 9F 00 00 0E 04 04 00 C0 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 [14:27:43]wFMCommunicate OK [14:27:43]SAM_PROTO_GetFieldsCounters done [14:27:43]requested_item shift.num is exist - process it [14:27:43]requested_item shift.opened is exist - process it [14:27:43]req_shift_opened [14:27:43]FM_GetShiftState [14:27:43]SAM_PROTO_GetShiftState [14:27:43]wFMCommunicate request_size=4 [14:27:43]MH_SAM_APDU [14:27:43]CAPDU: 80 13 01 00 [14:27:43]Write to MH i2c: E2 08 00 2E 2F 80 13 01 00 00 00 00 00 DA [14:27:43]Write i2c OK [14:27:43]MH_I2C_Read... [14:27:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:43]Read from MH i2c: E2 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 0E 00 [14:27:43]MH_I2C_Read... [14:27:43]Read from MH i2c: E2 0E 00 2E 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A8 [14:27:43]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:27:43]wFMCommunicate OK [14:27:43]SAM_PROTO_GetShiftState done [14:27:43]FM_GetShiftState done [14:27:43]req_shift_opened done [14:27:43]requested_item shift.open_date is exist - process it [14:27:43]req_shift_open_date [14:27:43]req_shift_open_date done [14:27:43]produce_requested_data done [14:27:43]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40774,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:27:43]process_action_free close_receipt [14:27:43]json_value_free [14:27:43]json_value_free done [14:27:43]process_json_proto returns [14:27:43]Send response to host [14:27:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40774,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:27:43]free response buf [14:27:43]execute_script done [14:27:43]execute_script returns [14:27:43]free content buf [14:27:43]Sock 7.Close socket [14:27:43]Sock 7.Thread stoped [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:00]accept exits with 9 [14:45:00]New connection [14:45:00]New thread 3067030884 created [14:45:00]Thread 3066887524 joined [14:45:00]Waiting for new connection... [14:45:00] Sock 9.Parse request [14:45:00]Sock 9.Check first char [14:45:00]Sock 9.First char is OK [14:45:00]request: POST /json_proto HTTP/1.0 [14:45:00]Method: POST [14:45:00]URL: /json_proto [14:45:00]Method is POST - this is cgi request [14:45:00]url: /json_proto [14:45:00]query_string will be loaded in cgi processing [14:45:00]execute_cgi json_proto POST (null) [14:45:00]execute_cgi path=json_proto method=POST [14:45:00]POST find Content-Length [14:45:00]Host: 172.17.53.4:8080 [14:45:00]Content-Length: 792 [14:45:00]Content-Type: application/json [14:45:00] [14:45:00]POST finish read [14:45:00]Found Content-Length = 792 [14:45:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808854", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 30.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A72746", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:00]execute_script... [14:45: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)808854", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 30.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A72746", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:00]POST & json_proto [14:45:00]process_json_proto [14:45:00]json parsed OK: [14:45:00]protocol is kg_v1.0 [14:45:00]action value=close_receipt [14:45:00]process_action close_receipt [14:45:00]cmd_close_receipt [14:45:00]MH_GetDate [14:45:00]Write to MH i2c: F0 00 00 2F 2F 4D [14:45:00]Write i2c OK [14:45:00]MH_I2C_Read... [14:45:00]Read from MH i2c: F0 [14:45:00]MH_I2C_Read... [14:45:00]Read from MH i2c: F0 09 00 [14:45:00]MH_I2C_Read... [14:45:00]Read from MH i2c: F0 09 00 2F 2F 00 FC 68 16 67 05 11 DA 64 8B [14:45:00]GetLastDocTimeStamp 1729520875 [14:45:00]current date 1729521916 [14:45:00]FM_GetShiftState [14:45:00]SAM_PROTO_GetShiftState [14:45:00]wFMCommunicate request_size=4 [14:45:00]MH_SAM_APDU [14:45:00]CAPDU: 80 13 01 00 [14:45:00]Write to MH i2c: E2 08 00 30 2F 80 13 01 00 00 00 00 00 DC [14:45:00]Write i2c OK [14:45:00]MH_I2C_Read... [14:45:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:00]Read from MH i2c: E2 [14:45:00]MH_I2C_Read... [14:45:00]Read from MH i2c: E2 0E 00 [14:45:00]MH_I2C_Read... [14:45:00]Read from MH i2c: E2 0E 00 30 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AA [14:45:00]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:45:00]wFMCommunicate OK [14:45:00]SAM_PROTO_GetShiftState done [14:45:00]FM_GetShiftState done [14:45:00]opened in 1729470630 [14:45:00]opened+sec_in_day 1729557030 [14:45:00]quantity*price = 0 [14:45:00]sum+1 = 1 [14:45:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 43 21.10.2024 14:45 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 Талоны: Ð¢Ð¾Ð¿Ð»Ð¸Ð²Ð½Ð°Ñ ÐšÐ°Ñ€Ñ‚Ð° 72746 ФМ: 0000000000965374 ФД: 40775 ФПД: 179326186310928 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T144516&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40775&fm=179326186310928&tin=02508201610067®Number=0000000000098148&sum=0 [14:45:01]StoreToDocumentArchive [14:45:01]shift 448 fd 40775 [14:45:01]save to /storage/0448/doc_00040775 [14:45:01]save last doc name /storage/0448/doc_00040775 to /storage/kkm_last_doc_name [14:45:01]save OK [14:45:01]Clear old archive folders... [14:45:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:45:01]tlvbuf is 01062500 [14:45:01]SAM_PROTO_ClearQueue [14:45:01]wFMCommunicate request_size=4 [14:45:01]MH_SAM_APDU [14:45:01]CAPDU: 80 09 00 00 [14:45:01]Write to MH i2c: E2 08 00 3D 2F 80 09 00 00 00 00 00 00 DE [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 3D 2F 00 90 00 E0 [14:45:01]RAPDU: 90 00 [14:45:01]wFMCommunicate OK [14:45:01]SAM_PROTO_ClearQueue done [14:45:01]KKMCreateOFDPacket [14:45:01]OFDProtocolAddRootSTLVToBuf [14:45:01]FM_MakeSignedData [14:45:01]FM_MakeSignedData [14:45:01]SAM_PROTO_SignData [14:45:01]wFMCommunicate request_size=4 [14:45:01]MH_SAM_APDU [14:45:01]CAPDU: 80 0D 01 02 [14:45:01]Write to MH i2c: E2 08 00 3E 2F 80 0D 01 02 00 00 00 00 E6 [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 3E 2F 00 90 00 E1 [14:45:01]RAPDU: 90 00 [14:45:01]wFMCommunicate OK [14:45:01]wFMCommunicate request_size=255 [14:45:01]MH_SAM_APDU [14:45: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 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FC 68 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 47 9F 00 00 35 04 06 00 A3 [14:45:01]Write to MH i2c: E2 02 01 3F 2F 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 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FC 68 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 47 9F 00 00 35 04 06 00 A3 00 00 F2 [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 3F 2F 00 90 00 E2 [14:45:01]RAPDU: 90 00 [14:45:01]wFMCommunicate OK [14:45:01]wFMCommunicate request_size=10 [14:45:01]MH_SAM_APDU [14:45:01]CAPDU: 80 0D 02 02 05 18 A1 A2 4D 10 [14:45:01]Write to MH i2c: E2 0D 00 40 2F 80 0D 02 02 05 00 18 A1 A2 4D 10 00 00 AB [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 03 00 40 2F 00 90 00 E3 [14:45:01]RAPDU: 90 00 [14:45:01]wFMCommunicate OK [14:45:01]wFMCommunicate request_size=4 [14:45:01]MH_SAM_APDU [14:45:01]CAPDU: 80 0D 03 02 [14:45:01]Write to MH i2c: E2 08 00 41 2F 80 0D 03 02 00 00 00 00 EB [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 0B 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 0B 00 41 2F 00 15 3A 4D DA F1 E9 91 3B 90 00 08 [14:45:01]RAPDU: 15 3A 4D DA F1 E9 91 3B 90 00 [14:45:01]wFMCommunicate OK [14:45:01]SAM_PROTO_SignData done [14:45:01]FM_MakeSignedData done [14:45:01]CreateOFDProtocolMessage [14:45:01]wFMCommunicate request_size=4 [14:45:01]MH_SAM_APDU [14:45:01]CAPDU: 80 11 00 00 [14:45:01]Write to MH i2c: E2 08 00 42 2F 80 11 00 00 00 00 00 00 EB [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:01]Read from MH i2c: E2 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 17 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: E2 17 00 42 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 40 [14:45:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:45:01]wFMCommunicate OK [14:45:01]CreateOFDProtocolMessage done [14:45:01]OFDSenderStorePacket 40775 [14:45:01]StoreOFDPacket docnum=40775 [14:45:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 91 5B 07 01 C3 F0 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 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FC 68 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 47 9F 00 00 35 04 06 00 A3 18 A1 A2 4D 10 15 3A 4D DA F1 E9 91 3B [14:45:01]CheckFolder [14:45:01]dirname=/storage/ofd_packets [14:45:01]CheckFolder done [14:45:01]ProducePacketName [14:45:01]name=ofd_packets/00040775 [14:45:01]NVStorageSaveData ofd_packets/00040775 [14:45:01]File name is /storage/ofd_packets/00040775 [14:45:01]Write 301 bytes [14:45:01]NVStorageSaveData done [14:45:01]OFDSenderStorePacket done [14:45:01]KKMCreateOFDPacket done [14:45:01]NVStorageSaveData kkm_last_timestamp [14:45:01]File name is /storage/kkm_last_timestamp [14:45:01]Write 4 bytes [14:45:01]NVStorageSaveData done [14:45:01]ExternCall_PrintAddStr [14:45:01]wPrintStart [14:45:01]Write to MH i2c: 01 00 00 43 2F 72 [14:45:01]Write i2c OK [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: 01 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: 01 07 00 [14:45:01]MH_I2C_Read... [14:45:01]Read from MH i2c: 01 07 00 43 2F 00 00 00 00 00 FF 0F 87 [14:45:01]RasterBufferAndPrint [14:45:01]line Счет N : (1)808854 [14:45:01]line ИÐÐ: 02508201610067 [14:45:01]line Контрольно-КаÑÑовый Чек [14:45:01]line ПРОДÐЖР[14:45:01]line ТРК (МРК, ГÐК) : 63 [14:45:01]line Товар: 2710124130 [14:45:01]line Ðи-92-К-5 [14:45:01]line 30.000 * 0.00 [14:45:01]line = 0.00 [14:45:01]line ÐДС 12% ÐСП 1% [14:45:01]line > о реализуемом товаре [14:45:01]line ИТОГО: 0.00 [14:45:01]line ÐСП 1% : 0.00 [14:45:01]line ÐДС 12% : 0.00 [14:45:01]line Ðаличными: 0.00 [14:45:01]line Безнал.: 0.00 [14:45:01]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [14:45:01]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [14:45:01]line СÐО: Общий режим [14:45:01]line Чек 43 21.10.2024 14:45 [14:45:01]line Смена: 448 ФФД: 1.0 [14:45:01]line ЗÐМ: 0300000239 [14:45:01]line РÐМ: 0000000000098148 [14:45:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:45:01]line Талоны: Ð¢Ð¾Ð¿Ð»Ð¸Ð²Ð½Ð°Ñ ÐšÐ°Ñ€Ñ‚Ð° [14:45:01]line 72746 [14:45:01]line ФМ: 0000000000965374 [14:45:01]line ФД: 40775 [14:45:01]line ФПД: 179326186310928 [14:45:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T144516&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40775&fm=179326186310928&tin=02508201610067®Number=0000000000098148&sum=0 [14:45:01]written 0, free lines is 4095 [14:45:02]OFD Sender: Processing packet 40775 [packets to send 4, broken 3] [14:45:02]ProducePacketName [14:45:02]name=ofd_packets/00040775 [14:45:02]OFD Sender: To server: ‡•öpG, [14:45:02]CommunicateWithHost lk.salyk.kg:30040 [14:45:02]ConnectInit lk.salyk.kg [14:45:02]Connected sock=11 [14:45:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 91 5B 07 01 C3 F0 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 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FC 68 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 47 9F 00 00 35 04 06 00 A3 18 A1 A2 4D 10 15 3A 4D DA F1 E9 91 3B [14:45:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 BB 41 47 00 8A A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 47 9F 00 00 F4 03 04 00 DC 0E 16 67 B6 04 01 00 00 21 34 55 85 26 BB EA 63 [14:45:02]CommunicateWithHost err = 0 [14:45:02]CheckOFDResponse [14:45:02]1017 (14) - 77093643461234 [14:45:02]1041 (16) - 0000000000965374 [14:45:02]1040 (4) - 40775 [14:45:02]1012 (4) - 21.10.2024 08:20 [14:45:02]1206 (1) - 0 [14:45:02]OFD Sender: Remove packet 40775 [14:45:02]ProducePacketName [14:45:02]name=ofd_packets/00040775 [14:45:02]NVStorageDeleteData [14:45:02]Write to MH i2c: 01 00 00 6D 2F 9C [14:45:02]Write i2c OK [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: 01 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: 01 07 00 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: 01 07 00 6D 2F 00 00 00 00 00 13 0D C3 [14:45:02]RasterBufferAndPrint [14:45:02]line [14:45:02]line [14:45:02]line [14:45:02]line [14:45:02]line [14:45:02]written 0, free lines is 3353 [14:45:02]MH_Cut [14:45:02]Write to MH i2c: D1 01 00 74 2F 01 75 [14:45:02]Write i2c OK [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: D1 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: D1 01 00 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: D1 01 00 74 2F 00 74 [14:45:02]Write to MH i2c: 01 00 00 75 2F A4 [14:45:02]Write i2c OK [14:45:02]MH_I2C_Read... [14:45:02]OFD Sender: No OFD packet to send [14:45:03]*** Cut start [14:45:03]*** Partial cut [14:45:03]*** CUTSNS_PIN = 1 [14:45:03]*** CUTSNS_PIN = 0 [14:45:03]*** Brake cut motor [14:45:03]Read from MH i2c: 01 [14:45:03]MH_I2C_Read... [14:45:03]*** Stop cut motor [14:45:03]*** Cut end [14:45:03]Read from MH i2c: 01 07 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: 01 07 00 75 2F 00 00 00 00 00 FF 0F B9 [14:45:03]process_action close_receipt done [14:45:03]requested_data is exist [14:45:03]produce_requested_data [14:45:03]requested_item fm.sn is exist - process it [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 11 00 00 [14:45:03]Write to MH i2c: E2 08 00 76 2F 80 11 00 00 00 00 00 00 1F [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 17 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 17 00 76 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 74 [14:45:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [14:45:03]wFMCommunicate OK [14:45:03]requested_item fd.num is exist - process it [14:45:03]SAM_PROTO_GetFieldsCounters [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 13 00 00 [14:45:03]Write to MH i2c: E2 08 00 77 2F 80 13 00 00 00 00 00 00 22 [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 62 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 62 00 77 2F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 47 9F 00 00 0E 04 04 00 C0 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 72 [14:45:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 47 9F 00 00 0E 04 04 00 C0 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 [14:45:03]wFMCommunicate OK [14:45:03]SAM_PROTO_GetFieldsCounters done [14:45:03]requested_item shift.num is exist - process it [14:45:03]requested_item shift.opened is exist - process it [14:45:03]req_shift_opened [14:45:03]FM_GetShiftState [14:45:03]SAM_PROTO_GetShiftState [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 13 01 00 [14:45:03]Write to MH i2c: E2 08 00 78 2F 80 13 01 00 00 00 00 00 24 [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 0E 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 0E 00 78 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F2 [14:45:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [14:45:03]wFMCommunicate OK [14:45:03]SAM_PROTO_GetShiftState done [14:45:03]FM_GetShiftState done [14:45:03]req_shift_opened done [14:45:03]requested_item shift.open_date is exist - process it [14:45:03]req_shift_open_date [14:45:03]req_shift_open_date done [14:45:03]produce_requested_data done [14:45:03]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40775,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [14:45:03]process_action_free close_receipt [14:45:03]json_value_free [14:45:03]json_value_free done [14:45:03]process_json_proto returns [14:45:03]Send response to host [14:45:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40775,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [14:45:03]free response buf [14:45:03]execute_script done [14:45:03]execute_script returns [14:45:03]free content buf [14:45:03]Sock 9.Close socket [14:45:03]Sock 9.Thread stoped [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:42]OFD Sender: No OFD packet to send [14:45:47]OFD Sender: No OFD packet to send [14:45:52]OFD Sender: No OFD packet to send [14:45:57]OFD Sender: No OFD packet to send [14:46:02]OFD Sender: No OFD packet to send [14:46:07]OFD Sender: No OFD packet to send [14:46:12]OFD Sender: No OFD packet to send [14:46:17]OFD Sender: No OFD packet to send [14:46:22]OFD Sender: No OFD packet to send [14:46:27]OFD Sender: No OFD packet to send [14:46:32]OFD Sender: No OFD packet to send [14:46:37]OFD Sender: No OFD packet to send [14:46:42]OFD Sender: No OFD packet to send [14:46:47]OFD Sender: No OFD packet to send [14:46:52]OFD Sender: No OFD packet to send [14:46:57]OFD Sender: No OFD packet to send [14:47:02]OFD Sender: No OFD packet to send [14:47:07]OFD Sender: No OFD packet to send [14:47:12]OFD Sender: No OFD packet to send [14:47:17]OFD Sender: No OFD packet to send [14:47:22]OFD Sender: No OFD packet to send [14:47:27]OFD Sender: No OFD packet to send [14:47:32]OFD Sender: No OFD packet to send [14:47:37]OFD Sender: No OFD packet to send [14:47:42]OFD Sender: No OFD packet to send [14:47:47]OFD Sender: No OFD packet to send [14:47:52]OFD Sender: No OFD packet to send [14:47:57]OFD Sender: No OFD packet to send [14:48:02]OFD Sender: No OFD packet to send [14:48:07]OFD Sender: No OFD packet to send [14:48:12]OFD Sender: No OFD packet to send [14:48:17]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:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:58]OFD Sender: No OFD packet to send [14:58:03]OFD Sender: No OFD packet to send [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06: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:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:53]OFD Sender: No OFD packet to send [15:08:58]OFD Sender: No OFD packet to send [15:09:03]OFD Sender: No OFD packet to send [15:09:08]OFD Sender: No OFD packet to send [15:09:13]OFD Sender: No OFD packet to send [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]accept exits with 7 [15:42:55]New connection [15:42:55]New thread 3066887524 created [15:42:55]Thread 3067030884 joined [15:42:55]Waiting for new connection... [15:42:55] Sock 7.Parse request [15:42:55]Sock 7.Check first char [15:42:55]Sock 7.First char is OK [15:42:55]request: POST /json_proto HTTP/1.0 [15:42:55]Method: POST [15:42:55]URL: /json_proto [15:42:55]Method is POST - this is cgi request [15:42:55]url: /json_proto [15:42:55]query_string will be loaded in cgi processing [15:42:55]execute_cgi json_proto POST (null) [15:42:55]execute_cgi path=json_proto method=POST [15:42:55]POST find Content-Length [15:42:55]Host: 172.17.53.4:8080 [15:42:55]Content-Length: 837 [15:42:55]Content-Type: application/json [15:42:55] [15:42:55]POST finish read [15:42:55]Found Content-Length = 837 [15:42:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808890", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 300.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:42:55]execute_script... [15:42: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 : (1)808890", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 300.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:42:55]POST & json_proto [15:42:55]process_json_proto [15:42:55]json parsed OK: [15:42:55]protocol is kg_v1.0 [15:42:55]action value=close_receipt [15:42:55]process_action close_receipt [15:42:55]cmd_close_receipt [15:42:55]MH_GetDate [15:42:55]Write to MH i2c: F0 00 00 79 2F 97 [15:42:55]Write i2c OK [15:42:55]MH_I2C_Read... [15:42:55]Read from MH i2c: F0 [15:42:55]MH_I2C_Read... [15:42:55]Read from MH i2c: F0 09 00 [15:42:55]MH_I2C_Read... [15:42:55]Read from MH i2c: F0 09 00 79 2F 00 8F 76 16 67 05 11 DA 64 76 [15:42:55]GetLastDocTimeStamp 1729521916 [15:42:55]current date 1729525391 [15:42:55]FM_GetShiftState [15:42:55]SAM_PROTO_GetShiftState [15:42:55]wFMCommunicate request_size=4 [15:42:55]MH_SAM_APDU [15:42:55]CAPDU: 80 13 01 00 [15:42:55]Write to MH i2c: E2 08 00 7A 2F 80 13 01 00 00 00 00 00 26 [15:42:55]Write i2c OK [15:42:55]MH_I2C_Read... [15:42:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:55]Read from MH i2c: E2 [15:42:55]MH_I2C_Read... [15:42:55]Read from MH i2c: E2 0E 00 [15:42:55]MH_I2C_Read... [15:42:55]Read from MH i2c: E2 0E 00 7A 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F4 [15:42:55]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:42:55]wFMCommunicate OK [15:42:55]SAM_PROTO_GetShiftState done [15:42:55]FM_GetShiftState done [15:42:55]opened in 1729470630 [15:42:55]opened+sec_in_day 1729557030 [15:42:55]quantity*price = 30022 [15:42:55]sum+1 = 30024 [15:42:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.23 ÐСП 1% : 2.66 ÐДС 12% : 31.88 Ðаличными: 0.00 Безнал.: 300.23 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 44 21.10.2024 15:43 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40776 ФПД: 149607357020018 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154311&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40776&fm=149607357020018&tin=02508201610067®Number=0000000000098148&sum=30023 [15:42:56]StoreToDocumentArchive [15:42:56]shift 448 fd 40776 [15:42:56]save to /storage/0448/doc_00040776 [15:42:56]save last doc name /storage/0448/doc_00040776 to /storage/kkm_last_doc_name [15:42:56]save OK [15:42:56]Clear old archive folders... [15:42:56]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:42:56]tlvbuf is B6F6B540 [15:42:56]SAM_PROTO_ClearQueue [15:42:56]wFMCommunicate request_size=4 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 09 00 00 [15:42:56]Write to MH i2c: E2 08 00 87 2F 80 09 00 00 00 00 00 00 28 [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 87 2F 00 90 00 2A [15:42:56]RAPDU: 90 00 [15:42:56]wFMCommunicate OK [15:42:56]SAM_PROTO_ClearQueue done [15:42:56]KKMCreateOFDPacket [15:42:56]OFDProtocolAddRootSTLVToBuf [15:42:56]FM_MakeSignedData [15:42:56]FM_MakeSignedData [15:42:56]SAM_PROTO_SignData [15:42:56]wFMCommunicate request_size=4 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 0D 01 02 [15:42:56]Write to MH i2c: E2 08 00 88 2F 80 0D 01 02 00 00 00 00 30 [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 88 2F 00 90 00 2B [15:42:56]RAPDU: 90 00 [15:42:56]wFMCommunicate OK [15:42:56]wFMCommunicate request_size=255 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 47 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 47 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8F 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 48 9F 00 00 35 04 06 00 88 11 2D 5E [15:42:56]Write to MH i2c: E2 02 01 89 2F 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 47 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 47 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8F 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 48 9F 00 00 35 04 06 00 88 11 2D 5E 00 00 1E [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 89 2F 00 90 00 2C [15:42:56]RAPDU: 90 00 [15:42:56]wFMCommunicate OK [15:42:56]wFMCommunicate request_size=7 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 0D 02 02 02 F7 72 [15:42:56]Write to MH i2c: E2 0A 00 8A 2F 80 0D 02 02 02 00 F7 72 00 00 A0 [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 03 00 8A 2F 00 90 00 2D [15:42:56]RAPDU: 90 00 [15:42:56]wFMCommunicate OK [15:42:56]wFMCommunicate request_size=4 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 0D 03 02 [15:42:56]Write to MH i2c: E2 08 00 8B 2F 80 0D 03 02 00 00 00 00 35 [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 0B 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 0B 00 8B 2F 00 CF 6F 6E 76 99 73 B3 63 90 00 7A [15:42:56]RAPDU: CF 6F 6E 76 99 73 B3 63 90 00 [15:42:56]wFMCommunicate OK [15:42:56]SAM_PROTO_SignData done [15:42:56]FM_MakeSignedData done [15:42:56]CreateOFDProtocolMessage [15:42:56]wFMCommunicate request_size=4 [15:42:56]MH_SAM_APDU [15:42:56]CAPDU: 80 11 00 00 [15:42:56]Write to MH i2c: E2 08 00 8C 2F 80 11 00 00 00 00 00 00 35 [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:56]Read from MH i2c: E2 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 17 00 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: E2 17 00 8C 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8A [15:42:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:42:56]wFMCommunicate OK [15:42:56]CreateOFDProtocolMessage done [15:42:56]OFDSenderStorePacket 40776 [15:42:56]StoreOFDPacket docnum=40776 [15:42:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 3D C4 04 01 B5 B4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 47 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 47 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8F 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 48 9F 00 00 35 04 06 00 88 11 2D 5E F7 72 CF 6F 6E 76 99 73 B3 63 [15:42:56]CheckFolder [15:42:56]dirname=/storage/ofd_packets [15:42:56]CheckFolder done [15:42:56]ProducePacketName [15:42:56]name=ofd_packets/00040776 [15:42:56]NVStorageSaveData ofd_packets/00040776 [15:42:56]File name is /storage/ofd_packets/00040776 [15:42:56]Write 298 bytes [15:42:56]NVStorageSaveData done [15:42:56]OFDSenderStorePacket done [15:42:56]KKMCreateOFDPacket done [15:42:56]NVStorageSaveData kkm_last_timestamp [15:42:56]File name is /storage/kkm_last_timestamp [15:42:56]Write 4 bytes [15:42:56]NVStorageSaveData done [15:42:56]ExternCall_PrintAddStr [15:42:56]wPrintStart [15:42:56]Write to MH i2c: 01 00 00 8D 2F BC [15:42:56]Write i2c OK [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: 01 [15:42:56]MH_I2C_Read... [15:42:56]Read from MH i2c: 01 07 00 [15:42:56]MH_I2C_Read... [15:42:57]Read from MH i2c: 01 07 00 8D 2F 00 00 00 00 00 FF 0F D1 [15:42:57]RasterBufferAndPrint [15:42:57]line Счет N : (1)808890 [15:42:57]line ИÐÐ: 02508201610067 [15:42:57]line Контрольно-КаÑÑовый Чек [15:42:57]line ПРОДÐЖР[15:42:57]line ТРК (МРК, ГÐК) : 11 [15:42:57]line Товар: 2710194210 [15:42:57]line ДТ-К-2 [15:42:57]line 3.940 * 76.20 [15:42:57]line = 300.23 [15:42:57]line ÐДС 12% ÐСП 1% [15:42:57]line > о реализуемом товаре [15:42:57]line ИТОГО: 300.23 [15:42:57]line ÐСП 1% : 2.66 [15:42:57]line ÐДС 12% : 31.88 [15:42:57]line Ðаличными: 0.00 [15:42:57]line Безнал.: 300.23 [15:42:57]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:42:57]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:42:57]line СÐО: Общий режим [15:42:57]line Чек 44 21.10.2024 15:43 [15:42:57]line Смена: 448 ФФД: 1.0 [15:42:57]line ЗÐМ: 0300000239 [15:42:57]line РÐМ: 0000000000098148 [15:42:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:42:57]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [15:42:57]line ФМ: 0000000000965374 [15:42:57]line ФД: 40776 [15:42:57]line ФПД: 149607357020018 [15:42:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154311&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40776&fm=149607357020018&tin=02508201610067®Number=0000000000098148&sum=30023 [15:42:57]OFD Sender: Processing packet 40776 [packets to send 4, broken 3] [15:42:57]ProducePacketName [15:42:57]name=ofd_packets/00040776 [15:42:57]OFD Sender: To server: ‡•öpG, [15:42:57]CommunicateWithHost lk.salyk.kg:30040 [15:42:57]ConnectInit lk.salyk.kg [15:42:57]written 0, free lines is 4095 [15:42:57]Write to MH i2c: 01 00 00 B7 2F E6 [15:42:57]Write i2c OK [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: 01 [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: 01 07 00 [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: 01 07 00 B7 2F 00 00 00 00 00 08 0D 02 [15:42:57]RasterBufferAndPrint [15:42:57]line [15:42:57]line [15:42:57]line [15:42:57]line [15:42:57]line [15:42:57]written 0, free lines is 3339 [15:42:57]MH_Cut [15:42:57]Write to MH i2c: D1 01 00 BE 2F 01 BF [15:42:57]Write i2c OK [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: D1 [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: D1 01 00 [15:42:57]MH_I2C_Read... [15:42:57]Read from MH i2c: D1 01 00 BE 2F 00 BE [15:42:57]Write to MH i2c: 01 00 00 BF 2F EE [15:42:57]Write i2c OK [15:42:57]MH_I2C_Read... [15:42:58]*** Cut start [15:42:58]*** Partial cut [15:42:58]*** CUTSNS_PIN = 1 [15:42:58]*** CUTSNS_PIN = 0 [15:42:58]*** Brake cut motor [15:42:59]Read from MH i2c: 01 [15:42:59]MH_I2C_Read... [15:42:59]*** Stop cut motor [15:42:59]*** Cut end [15:42:59]Read from MH i2c: 01 07 00 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: 01 07 00 BF 2F 00 00 00 00 00 FF 0F 03 [15:42:59]process_action close_receipt done [15:42:59]requested_data is exist [15:42:59]produce_requested_data [15:42:59]requested_item fm.sn is exist - process it [15:42:59]wFMCommunicate request_size=4 [15:42:59]MH_SAM_APDU [15:42:59]CAPDU: 80 11 00 00 [15:42:59]Write to MH i2c: E2 08 00 C0 2F 80 11 00 00 00 00 00 00 69 [15:42:59]Write i2c OK [15:42:59]MH_I2C_Read... [15:42:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:59]Read from MH i2c: E2 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 17 00 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 17 00 C0 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 BE [15:42:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:42:59]wFMCommunicate OK [15:42:59]requested_item fd.num is exist - process it [15:42:59]SAM_PROTO_GetFieldsCounters [15:42:59]wFMCommunicate request_size=4 [15:42:59]MH_SAM_APDU [15:42:59]CAPDU: 80 13 00 00 [15:42:59]Write to MH i2c: E2 08 00 C1 2F 80 13 00 00 00 00 00 00 6C [15:42:59]Write i2c OK [15:42:59]MH_I2C_Read... [15:42:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:42:59]Read from MH i2c: E2 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 62 00 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 62 00 C1 2F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 48 9F 00 00 0E 04 04 00 C0 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 C0 [15:42:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 48 9F 00 00 0E 04 04 00 C0 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:42:59]wFMCommunicate OK [15:42:59]SAM_PROTO_GetFieldsCounters done [15:42:59]requested_item shift.num is exist - process it [15:42:59]requested_item shift.opened is exist - process it [15:42:59]req_shift_opened [15:42:59]FM_GetShiftState [15:42:59]SAM_PROTO_GetShiftState [15:42:59]wFMCommunicate request_size=4 [15:42:59]MH_SAM_APDU [15:42:59]CAPDU: 80 13 01 00 [15:42:59]Write to MH i2c: E2 08 00 C2 2F 80 13 01 00 00 00 00 00 6E [15:42:59]Write i2c OK [15:42:59]MH_I2C_Read... [15:42:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:59]Read from MH i2c: E2 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 0E 00 [15:42:59]MH_I2C_Read... [15:42:59]Read from MH i2c: E2 0E 00 C2 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 3C [15:42:59]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:42:59]wFMCommunicate OK [15:42:59]SAM_PROTO_GetShiftState done [15:42:59]FM_GetShiftState done [15:42:59]req_shift_opened done [15:42:59]requested_item shift.open_date is exist - process it [15:42:59]req_shift_open_date [15:42:59]req_shift_open_date done [15:42:59]produce_requested_data done [15:42:59]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40776,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:42:59]process_action_free close_receipt [15:42:59]json_value_free [15:42:59]json_value_free done [15:42:59]process_json_proto returns [15:42:59]Send response to host [15:42:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40776,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:42:59]free response buf [15:42:59]execute_script done [15:42:59]execute_script returns [15:42:59]free content buf [15:42:59]Sock 7.Close socket [15:42:59]Sock 7.Thread stoped [15:43:22]accept exits with 9 [15:43:22]New connection [15:43:22]New thread 3067030884 created [15:43:22]Thread 3066887524 joined [15:43:22]Waiting for new connection... [15:43:22] Sock 9.Parse request [15:43:22]Sock 9.Check first char [15:43:22]Sock 9.First char is OK [15:43:22]request: POST /json_proto HTTP/1.0 [15:43:22]Method: POST [15:43:22]URL: /json_proto [15:43:22]Method is POST - this is cgi request [15:43:22]url: /json_proto [15:43:22]query_string will be loaded in cgi processing [15:43:22]execute_cgi json_proto POST (null) [15:43:22]execute_cgi path=json_proto method=POST [15:43:22]POST find Content-Length [15:43:22]Host: 172.17.53.4:8080 [15:43:22]Content-Length: 677 [15:43:22]Content-Type: application/json [15:43:22] [15:43:22]POST finish read [15:43:22]Found Content-Length = 677 [15:43:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808892", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:22]execute_script... [15:43: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 : (1)808892", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:22]POST & json_proto [15:43:22]process_json_proto [15:43:22]json parsed OK: [15:43:22]protocol is kg_v1.0 [15:43:22]action value=close_receipt [15:43:22]process_action close_receipt [15:43:22]cmd_close_receipt [15:43:22]MH_GetDate [15:43:22]Write to MH i2c: F0 00 00 C3 2F E1 [15:43:22]Write i2c OK [15:43:22]MH_I2C_Read... [15:43:22]Read from MH i2c: F0 [15:43:22]MH_I2C_Read... [15:43:22]Read from MH i2c: F0 09 00 [15:43:22]MH_I2C_Read... [15:43:22]Read from MH i2c: F0 09 00 C3 2F 00 AA 76 16 67 05 11 DA 64 DB [15:43:22]GetLastDocTimeStamp 1729525391 [15:43:22]current date 1729525418 [15:43:22]FM_GetShiftState [15:43:22]SAM_PROTO_GetShiftState [15:43:22]wFMCommunicate request_size=4 [15:43:22]MH_SAM_APDU [15:43:22]CAPDU: 80 13 01 00 [15:43:22]Write to MH i2c: E2 08 00 C4 2F 80 13 01 00 00 00 00 00 70 [15:43:22]Write i2c OK [15:43:22]MH_I2C_Read... [15:43:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:22]Read from MH i2c: E2 [15:43:22]MH_I2C_Read... [15:43:22]Read from MH i2c: E2 0E 00 [15:43:22]MH_I2C_Read... [15:43:22]Read from MH i2c: E2 0E 00 C4 2F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 3E [15:43:22]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:43:22]wFMCommunicate OK [15:43:22]SAM_PROTO_GetShiftState done [15:43:22]FM_GetShiftState done [15:43:22]opened in 1729470630 [15:43:22]opened+sec_in_day 1729557030 [15:43:22]quantity*price = 50041 [15:43:22]sum+1 = 50042 [15:43:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 45 21.10.2024 15:43 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40777 ФПД: 268620210947729 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154338&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40777&fm=268620210947729&tin=02508201610067®Number=0000000000098148&sum=50000 [15:43:23]StoreToDocumentArchive [15:43:23]shift 448 fd 40777 [15:43:23]save to /storage/0448/doc_00040777 [15:43:23]save last doc name /storage/0448/doc_00040777 to /storage/kkm_last_doc_name [15:43:23]save OK [15:43:23]Clear old archive folders... [15:43:23]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:43:23]tlvbuf is B6F6BEB0 [15:43:23]SAM_PROTO_ClearQueue [15:43:23]wFMCommunicate request_size=4 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 09 00 00 [15:43:23]Write to MH i2c: E2 08 00 D1 2F 80 09 00 00 00 00 00 00 72 [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:23]Read from MH i2c: E2 03 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 D1 2F 00 90 00 74 [15:43:23]RAPDU: 90 00 [15:43:23]wFMCommunicate OK [15:43:23]SAM_PROTO_ClearQueue done [15:43:23]KKMCreateOFDPacket [15:43:23]OFDProtocolAddRootSTLVToBuf [15:43:23]FM_MakeSignedData [15:43:23]FM_MakeSignedData [15:43:23]SAM_PROTO_SignData [15:43:23]wFMCommunicate request_size=4 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 0D 01 02 [15:43:23]Write to MH i2c: E2 08 00 D2 2F 80 0D 01 02 00 00 00 00 7A [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 D2 2F 00 90 00 75 [15:43:23]RAPDU: 90 00 [15:43:23]wFMCommunicate OK [15:43:23]wFMCommunicate request_size=255 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AA 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 49 9F 00 00 35 04 06 00 F4 [15:43:23]Write to MH i2c: E2 02 01 D3 2F 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AA 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 49 9F 00 00 35 04 06 00 F4 00 00 77 [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 D3 2F 00 90 00 76 [15:43:23]RAPDU: 90 00 [15:43:23]wFMCommunicate OK [15:43:23]wFMCommunicate request_size=10 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 0D 02 02 05 4F 04 40 C6 91 [15:43:23]Write to MH i2c: E2 0D 00 D4 2F 80 0D 02 02 05 00 4F 04 40 C6 91 00 00 71 [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 03 00 D4 2F 00 90 00 77 [15:43:23]RAPDU: 90 00 [15:43:23]wFMCommunicate OK [15:43:23]wFMCommunicate request_size=4 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 0D 03 02 [15:43:23]Write to MH i2c: E2 08 00 D5 2F 80 0D 03 02 00 00 00 00 7F [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 0B 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 0B 00 D5 2F 00 D7 0C 1F D9 56 62 43 EE 90 00 44 [15:43:23]RAPDU: D7 0C 1F D9 56 62 43 EE 90 00 [15:43:23]wFMCommunicate OK [15:43:23]SAM_PROTO_SignData done [15:43:23]FM_MakeSignedData done [15:43:23]CreateOFDProtocolMessage [15:43:23]wFMCommunicate request_size=4 [15:43:23]MH_SAM_APDU [15:43:23]CAPDU: 80 11 00 00 [15:43:23]Write to MH i2c: E2 08 00 D6 2F 80 11 00 00 00 00 00 00 7F [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:23]Read from MH i2c: E2 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 17 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: E2 17 00 D6 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D4 [15:43:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:43:23]wFMCommunicate OK [15:43:23]CreateOFDProtocolMessage done [15:43:23]OFDSenderStorePacket 40777 [15:43:23]StoreOFDPacket docnum=40777 [15:43:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5A 4B 07 01 73 F3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AA 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 49 9F 00 00 35 04 06 00 F4 4F 04 40 C6 91 D7 0C 1F D9 56 62 43 EE [15:43:23]CheckFolder [15:43:23]dirname=/storage/ofd_packets [15:43:23]CheckFolder done [15:43:23]ProducePacketName [15:43:23]name=ofd_packets/00040777 [15:43:23]NVStorageSaveData ofd_packets/00040777 [15:43:23]File name is /storage/ofd_packets/00040777 [15:43:23]Write 301 bytes [15:43:23]NVStorageSaveData done [15:43:23]OFDSenderStorePacket done [15:43:23]KKMCreateOFDPacket done [15:43:23]NVStorageSaveData kkm_last_timestamp [15:43:23]File name is /storage/kkm_last_timestamp [15:43:23]Write 4 bytes [15:43:23]NVStorageSaveData done [15:43:23]ExternCall_PrintAddStr [15:43:23]wPrintStart [15:43:23]Write to MH i2c: 01 00 00 D7 2F 06 [15:43:23]Write i2c OK [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: 01 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: 01 07 00 [15:43:23]MH_I2C_Read... [15:43:23]Read from MH i2c: 01 07 00 D7 2F 00 00 00 00 00 FF 0F 1B [15:43:23]RasterBufferAndPrint [15:43:23]line Счет N : (1)808892 [15:43:23]line ИÐÐ: 02508201610067 [15:43:23]line Контрольно-КаÑÑовый Чек [15:43:23]line ПРОДÐЖР[15:43:23]line ТРК (МРК, ГÐК) : 53 [15:43:23]line Товар: 2710124130 [15:43:23]line Ðи-92-К-5 [15:43:23]line 7.480 * 66.90 [15:43:23]line = 500.41 [15:43:23]line ÐДС 12% ÐСП 1% [15:43:23]line > о реализуемом товаре [15:43:23]line ОКРУГЛЕÐИЕ: -0.41 [15:43:23]line ИТОГО: 500.00 [15:43:23]line ВнеÑено: 500.00 [15:43:23]line СДÐЧÐ: 0.00 [15:43:23]line ÐСП 1% : 4.43 [15:43:23]line ÐДС 12% : 53.14 [15:43:23]line Ðаличными: 500.00 [15:43:23]line Безнал.: 0.00 [15:43:23]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:43:23]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:43:23]line СÐО: Общий режим [15:43:23]line Чек 45 21.10.2024 15:43 [15:43:23]line Смена: 448 ФФД: 1.0 [15:43:23]line ЗÐМ: 0300000239 [15:43:23]line РÐМ: 0000000000098148 [15:43:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:43:23]line ФМ: 0000000000965374 [15:43:23]line ФД: 40777 [15:43:23]line ФПД: 268620210947729 [15:43:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154338&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40777&fm=268620210947729&tin=02508201610067®Number=0000000000098148&sum=50000 [15:43:24]written 0, free lines is 4095 [15:43:24]Write to MH i2c: 01 00 00 02 30 32 [15:43:24]Write i2c OK [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: 01 [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: 01 07 00 [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: 01 07 00 02 30 00 00 00 00 00 E9 0C 2E [15:43:24]RasterBufferAndPrint [15:43:24]line [15:43:24]line [15:43:24]line [15:43:24]line [15:43:24]line [15:43:24]written 0, free lines is 3311 [15:43:24]MH_Cut [15:43:24]Write to MH i2c: D1 01 00 09 30 01 0B [15:43:24]Write i2c OK [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: D1 [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: D1 01 00 [15:43:24]MH_I2C_Read... [15:43:24]Read from MH i2c: D1 01 00 09 30 00 0A [15:43:24]Write to MH i2c: 01 00 00 0A 30 3A [15:43:24]Write i2c OK [15:43:24]MH_I2C_Read... [15:43:25]*** Cut start [15:43:25]*** Partial cut [15:43:25]*** CUTSNS_PIN = 1 [15:43:25]*** CUTSNS_PIN = 0 [15:43:25]*** Brake cut motor [15:43:25]Read from MH i2c: 01 [15:43:25]MH_I2C_Read... [15:43:25]*** Stop cut motor [15:43:25]Read from MH i2c: 01 07 00 [15:43:25]MH_I2C_Read... [15:43:25]*** Cut end [15:43:25]Read from MH i2c: 01 07 00 0A 30 00 00 00 00 00 FF 0F 4F [15:43:25]process_action close_receipt done [15:43:25]requested_data is exist [15:43:25]produce_requested_data [15:43:25]requested_item fm.sn is exist - process it [15:43:25]wFMCommunicate request_size=4 [15:43:25]MH_SAM_APDU [15:43:25]CAPDU: 80 11 00 00 [15:43:25]Write to MH i2c: E2 08 00 0B 30 80 11 00 00 00 00 00 00 B5 [15:43:25]Write i2c OK [15:43:25]MH_I2C_Read... [15:43:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:25]Read from MH i2c: E2 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 17 00 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 17 00 0B 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0A [15:43:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:43:25]wFMCommunicate OK [15:43:25]requested_item fd.num is exist - process it [15:43:25]SAM_PROTO_GetFieldsCounters [15:43:25]wFMCommunicate request_size=4 [15:43:25]MH_SAM_APDU [15:43:25]CAPDU: 80 13 00 00 [15:43:25]Write to MH i2c: E2 08 00 0C 30 80 13 00 00 00 00 00 00 B8 [15:43:25]Write i2c OK [15:43:25]MH_I2C_Read... [15:43:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:43:25]Read from MH i2c: E2 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 62 00 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 62 00 0C 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 49 9F 00 00 0E 04 04 00 C0 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 10 [15:43:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 49 9F 00 00 0E 04 04 00 C0 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:43:25]wFMCommunicate OK [15:43:25]SAM_PROTO_GetFieldsCounters done [15:43:25]requested_item shift.num is exist - process it [15:43:25]requested_item shift.opened is exist - process it [15:43:25]req_shift_opened [15:43:25]FM_GetShiftState [15:43:25]SAM_PROTO_GetShiftState [15:43:25]wFMCommunicate request_size=4 [15:43:25]MH_SAM_APDU [15:43:25]CAPDU: 80 13 01 00 [15:43:25]Write to MH i2c: E2 08 00 0D 30 80 13 01 00 00 00 00 00 BA [15:43:25]Write i2c OK [15:43:25]MH_I2C_Read... [15:43:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:25]Read from MH i2c: E2 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 0E 00 [15:43:25]MH_I2C_Read... [15:43:25]Read from MH i2c: E2 0E 00 0D 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 88 [15:43:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:43:25]wFMCommunicate OK [15:43:25]SAM_PROTO_GetShiftState done [15:43:25]FM_GetShiftState done [15:43:25]req_shift_opened done [15:43:25]requested_item shift.open_date is exist - process it [15:43:25]req_shift_open_date [15:43:25]req_shift_open_date done [15:43:25]produce_requested_data done [15:43:25]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40777,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:43:25]process_action_free close_receipt [15:43:25]json_value_free [15:43:25]json_value_free done [15:43:25]process_json_proto returns [15:43:25]Send response to host [15:43:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40777,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:43:25]free response buf [15:43:25]execute_script done [15:43:25]execute_script returns [15:43:25]free content buf [15:43:25]Sock 9.Close socket [15:43:25]Sock 9.Thread stoped [15:44:15]accept exits with 7 [15:44:15]New connection [15:44:15]New thread 3066887524 created [15:44:15]Thread 3067030884 joined [15:44:15]Waiting for new connection... [15:44:15] Sock 7.Parse request [15:44:15]Sock 7.Check first char [15:44:15]Sock 7.First char is OK [15:44:15]request: POST /json_proto HTTP/1.0 [15:44:15]Method: POST [15:44:15]URL: /json_proto [15:44:15]Method is POST - this is cgi request [15:44:15]url: /json_proto [15:44:15]query_string will be loaded in cgi processing [15:44:15]execute_cgi json_proto POST (null) [15:44:15]execute_cgi path=json_proto method=POST [15:44:15]POST find Content-Length [15:44:15]Host: 172.17.53.4:8080 [15:44:15]Content-Length: 677 [15:44:15]Content-Type: application/json [15:44:15] [15:44:15]POST finish read [15:44:15]Found Content-Length = 677 [15:44:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808893", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:44:15]execute_script... [15: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 : (1)808893", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:44:15]POST & json_proto [15:44:15]process_json_proto [15:44:15]json parsed OK: [15:44:15]protocol is kg_v1.0 [15:44:15]action value=close_receipt [15:44:15]process_action close_receipt [15:44:15]cmd_close_receipt [15:44:15]MH_GetDate [15:44:15]Write to MH i2c: F0 00 00 0E 30 2D [15:44:15]Write i2c OK [15:44:15]MH_I2C_Read... [15:44:15]Read from MH i2c: F0 [15:44:15]MH_I2C_Read... [15:44:15]Read from MH i2c: F0 09 00 [15:44:15]MH_I2C_Read... [15:44:15]Read from MH i2c: F0 09 00 0E 30 00 E0 76 16 67 05 11 DA 64 5D [15:44:15]GetLastDocTimeStamp 1729525418 [15:44:15]current date 1729525472 [15:44:15]FM_GetShiftState [15:44:15]SAM_PROTO_GetShiftState [15:44:15]wFMCommunicate request_size=4 [15:44:15]MH_SAM_APDU [15:44:15]CAPDU: 80 13 01 00 [15:44:15]Write to MH i2c: E2 08 00 0F 30 80 13 01 00 00 00 00 00 BC [15:44:15]Write i2c OK [15:44:15]MH_I2C_Read... [15:44:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:15]Read from MH i2c: E2 [15:44:15]MH_I2C_Read... [15:44:15]Read from MH i2c: E2 0E 00 [15:44:15]MH_I2C_Read... [15:44:15]Read from MH i2c: E2 0E 00 0F 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8A [15:44:15]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:44:15]wFMCommunicate OK [15:44:15]SAM_PROTO_GetShiftState done [15:44:15]FM_GetShiftState done [15:44:15]opened in 1729470630 [15:44:15]opened+sec_in_day 1729557030 [15:44:15]quantity*price = 50041 [15:44:15]sum+1 = 50042 [15:44:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 46 21.10.2024 15:44 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40778 ФПД: 38570539574655 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154432&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40778&fm=38570539574655&tin=02508201610067®Number=0000000000098148&sum=50000 [15:44:16]StoreToDocumentArchive [15:44:16]shift 448 fd 40778 [15:44:16]save to /storage/0448/doc_00040778 [15:44:16]save last doc name /storage/0448/doc_00040778 to /storage/kkm_last_doc_name [15:44:16]save OK [15:44:16]Clear old archive folders... [15:44:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:44:16]tlvbuf is 0104C1C0 [15:44:16]SAM_PROTO_ClearQueue [15:44:16]wFMCommunicate request_size=4 [15:44:16]MH_SAM_APDU [15:44:16]CAPDU: 80 09 00 00 [15:44:16]Write to MH i2c: E2 08 00 1C 30 80 09 00 00 00 00 00 00 BE [15:44:16]Write i2c OK [15:44:16]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 1C 30 00 90 00 C0 [15:44:17]RAPDU: 90 00 [15:44:17]wFMCommunicate OK [15:44:17]SAM_PROTO_ClearQueue done [15:44:17]KKMCreateOFDPacket [15:44:17]OFDProtocolAddRootSTLVToBuf [15:44:17]FM_MakeSignedData [15:44:17]FM_MakeSignedData [15:44:17]SAM_PROTO_SignData [15:44:17]wFMCommunicate request_size=4 [15:44:17]MH_SAM_APDU [15:44:17]CAPDU: 80 0D 01 02 [15:44:17]Write to MH i2c: E2 08 00 1D 30 80 0D 01 02 00 00 00 00 C6 [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 1D 30 00 90 00 C1 [15:44:17]RAPDU: 90 00 [15:44:17]wFMCommunicate OK [15:44:17]wFMCommunicate request_size=255 [15:44:17]MH_SAM_APDU [15:44:17]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 E0 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4A 9F 00 00 35 04 06 00 23 [15:44:17]Write to MH i2c: E2 02 01 1E 30 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 E0 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4A 9F 00 00 35 04 06 00 23 00 00 2A [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 1E 30 00 90 00 C2 [15:44:17]RAPDU: 90 00 [15:44:17]wFMCommunicate OK [15:44:17]wFMCommunicate request_size=10 [15:44:17]MH_SAM_APDU [15:44:17]CAPDU: 80 0D 02 02 05 14 67 4F 65 7F [15:44:17]Write to MH i2c: E2 0D 00 1F 30 80 0D 02 02 05 00 14 67 4F 65 7F 00 00 81 [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 03 00 1F 30 00 90 00 C3 [15:44:17]RAPDU: 90 00 [15:44:17]wFMCommunicate OK [15:44:17]wFMCommunicate request_size=4 [15:44:17]MH_SAM_APDU [15:44:17]CAPDU: 80 0D 03 02 [15:44:17]Write to MH i2c: E2 08 00 20 30 80 0D 03 02 00 00 00 00 CB [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 0B 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 0B 00 20 30 00 34 75 AE 71 CF C0 21 6A 90 00 AE [15:44:17]RAPDU: 34 75 AE 71 CF C0 21 6A 90 00 [15:44:17]wFMCommunicate OK [15:44:17]SAM_PROTO_SignData done [15:44:17]FM_MakeSignedData done [15:44:17]CreateOFDProtocolMessage [15:44:17]wFMCommunicate request_size=4 [15:44:17]MH_SAM_APDU [15:44:17]CAPDU: 80 11 00 00 [15:44:17]Write to MH i2c: E2 08 00 21 30 80 11 00 00 00 00 00 00 CB [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:17]Read from MH i2c: E2 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 17 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: E2 17 00 21 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 20 [15:44:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:44:17]wFMCommunicate OK [15:44:17]CreateOFDProtocolMessage done [15:44:17]OFDSenderStorePacket 40778 [15:44:17]StoreOFDPacket docnum=40778 [15:44:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5F E2 07 01 7C 37 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 E0 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4A 9F 00 00 35 04 06 00 23 14 67 4F 65 7F 34 75 AE 71 CF C0 21 6A [15:44:17]CheckFolder [15:44:17]dirname=/storage/ofd_packets [15:44:17]CheckFolder done [15:44:17]ProducePacketName [15:44:17]name=ofd_packets/00040778 [15:44:17]NVStorageSaveData ofd_packets/00040778 [15:44:17]File name is /storage/ofd_packets/00040778 [15:44:17]Write 301 bytes [15:44:17]NVStorageSaveData done [15:44:17]OFDSenderStorePacket done [15:44:17]KKMCreateOFDPacket done [15:44:17]NVStorageSaveData kkm_last_timestamp [15:44:17]File name is /storage/kkm_last_timestamp [15:44:17]Write 4 bytes [15:44:17]NVStorageSaveData done [15:44:17]ExternCall_PrintAddStr [15:44:17]wPrintStart [15:44:17]Write to MH i2c: 01 00 00 22 30 52 [15:44:17]Write i2c OK [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: 01 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: 01 07 00 [15:44:17]MH_I2C_Read... [15:44:17]Read from MH i2c: 01 07 00 22 30 00 00 00 00 00 FF 0F 67 [15:44:17]RasterBufferAndPrint [15:44:17]line Счет N : (1)808893 [15:44:17]line ИÐÐ: 02508201610067 [15:44:17]line Контрольно-КаÑÑовый Чек [15:44:17]line ПРОДÐЖР[15:44:17]line ТРК (МРК, ГÐК) : 33 [15:44:17]line Товар: 2710124130 [15:44:17]line Ðи-92-К-5 [15:44:17]line 7.480 * 66.90 [15:44:17]line = 500.41 [15:44:17]line ÐДС 12% ÐСП 1% [15:44:17]line > о реализуемом товаре [15:44:17]line ОКРУГЛЕÐИЕ: -0.41 [15:44:17]line ИТОГО: 500.00 [15:44:17]line ВнеÑено: 500.00 [15:44:17]line СДÐЧÐ: 0.00 [15:44:17]line ÐСП 1% : 4.43 [15:44:17]line ÐДС 12% : 53.14 [15:44:17]line Ðаличными: 500.00 [15:44:17]line Безнал.: 0.00 [15:44:17]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:44:17]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:44:17]line СÐО: Общий режим [15:44:17]line Чек 46 21.10.2024 15:44 [15:44:17]line Смена: 448 ФФД: 1.0 [15:44:17]line ЗÐМ: 0300000239 [15:44:17]line РÐМ: 0000000000098148 [15:44:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:44:17]line ФМ: 0000000000965374 [15:44:17]line ФД: 40778 [15:44:17]line ФПД: 38570539574655 [15:44:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154432&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40778&fm=38570539574655&tin=02508201610067®Number=0000000000098148&sum=50000 [15:44:17]written 0, free lines is 4095 [15:44:18]Write to MH i2c: 01 00 00 4D 30 7D [15:44:18]Write i2c OK [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: 01 [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: 01 07 00 [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: 01 07 00 4D 30 00 00 00 00 00 E7 0C 77 [15:44:18]RasterBufferAndPrint [15:44:18]line [15:44:18]line [15:44:18]line [15:44:18]line [15:44:18]line [15:44:18]written 0, free lines is 3309 [15:44:18]MH_Cut [15:44:18]Write to MH i2c: D1 01 00 54 30 01 56 [15:44:18]Write i2c OK [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: D1 [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: D1 01 00 [15:44:18]MH_I2C_Read... [15:44:18]Read from MH i2c: D1 01 00 54 30 00 55 [15:44:18]Write to MH i2c: 01 00 00 55 30 85 [15:44:18]Write i2c OK [15:44:18]MH_I2C_Read... [15:44:18]*** Cut start [15:44:18]*** Partial cut [15:44:18]*** CUTSNS_PIN = 1 [15:44:19]*** CUTSNS_PIN = 0 [15:44:19]*** Brake cut motor [15:44:19]Read from MH i2c: 01 [15:44:19]MH_I2C_Read... [15:44:19]*** Stop cut motor [15:44:19]*** Cut end [15:44:19]Read from MH i2c: 01 07 00 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: 01 07 00 55 30 00 00 00 00 00 FF 0F 9A [15:44:19]process_action close_receipt done [15:44:19]requested_data is exist [15:44:19]produce_requested_data [15:44:19]requested_item fm.sn is exist - process it [15:44:19]wFMCommunicate request_size=4 [15:44:19]MH_SAM_APDU [15:44:19]CAPDU: 80 11 00 00 [15:44:19]Write to MH i2c: E2 08 00 56 30 80 11 00 00 00 00 00 00 00 [15:44:19]Write i2c OK [15:44:19]MH_I2C_Read... [15:44:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:19]Read from MH i2c: E2 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 17 00 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 17 00 56 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 55 [15:44:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:44:19]wFMCommunicate OK [15:44:19]requested_item fd.num is exist - process it [15:44:19]SAM_PROTO_GetFieldsCounters [15:44:19]wFMCommunicate request_size=4 [15:44:19]MH_SAM_APDU [15:44:19]CAPDU: 80 13 00 00 [15:44:19]Write to MH i2c: E2 08 00 57 30 80 13 00 00 00 00 00 00 03 [15:44:19]Write i2c OK [15:44:19]MH_I2C_Read... [15:44:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:19]Read from MH i2c: E2 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 62 00 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 62 00 57 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4A 9F 00 00 0E 04 04 00 C0 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 5F [15:44:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4A 9F 00 00 0E 04 04 00 C0 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:44:19]wFMCommunicate OK [15:44:19]SAM_PROTO_GetFieldsCounters done [15:44:19]requested_item shift.num is exist - process it [15:44:19]requested_item shift.opened is exist - process it [15:44:19]req_shift_opened [15:44:19]FM_GetShiftState [15:44:19]SAM_PROTO_GetShiftState [15:44:19]wFMCommunicate request_size=4 [15:44:19]MH_SAM_APDU [15:44:19]CAPDU: 80 13 01 00 [15:44:19]Write to MH i2c: E2 08 00 58 30 80 13 01 00 00 00 00 00 05 [15:44:19]Write i2c OK [15:44:19]MH_I2C_Read... [15:44:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:19]Read from MH i2c: E2 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 0E 00 [15:44:19]MH_I2C_Read... [15:44:19]Read from MH i2c: E2 0E 00 58 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D3 [15:44:19]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:44:19]wFMCommunicate OK [15:44:19]SAM_PROTO_GetShiftState done [15:44:19]FM_GetShiftState done [15:44:19]req_shift_opened done [15:44:19]requested_item shift.open_date is exist - process it [15:44:19]req_shift_open_date [15:44:19]req_shift_open_date done [15:44:19]produce_requested_data done [15:44:19]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40778,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:44:19]process_action_free close_receipt [15:44:19]json_value_free [15:44:19]json_value_free done [15:44:19]process_json_proto returns [15:44:19]Send response to host [15:44:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40778,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:44:19]free response buf [15:44:19]execute_script done [15:44:19]execute_script returns [15:44:19]free content buf [15:44:19]Sock 7.Close socket [15:44:19]Sock 7.Thread stoped [15:44:52]accept exits with 9 [15:44:52]New connection [15:44:52]New thread 3067030884 created [15:44:52]Thread 3066887524 joined [15:44:52]Waiting for new connection... [15:44:52] Sock 9.Parse request [15:44:52]Sock 9.Check first char [15:44:52]Sock 9.First char is OK [15:44:52]request: POST /json_proto HTTP/1.0 [15:44:52]Method: POST [15:44:52]URL: /json_proto [15:44:52]Method is POST - this is cgi request [15:44:52]url: /json_proto [15:44:52]query_string will be loaded in cgi processing [15:44:52]execute_cgi json_proto POST (null) [15:44:52]execute_cgi path=json_proto method=POST [15:44:52]POST find Content-Length [15:44:52]Host: 172.17.53.4:8080 [15:44:52]Content-Length: 675 [15:44:52]Content-Type: application/json [15:44:52] [15:44:52]POST finish read [15:44:52]Found Content-Length = 675 [15:44:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808894", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [15:44:52]execute_script... [15:44: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 : (1)808894", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [15:44:52]POST & json_proto [15:44:52]process_json_proto [15:44:52]json parsed OK: [15:44:52]protocol is kg_v1.0 [15:44:52]action value=close_receipt [15:44:52]process_action close_receipt [15:44:52]cmd_close_receipt [15:44:52]MH_GetDate [15:44:52]Write to MH i2c: F0 00 00 59 30 78 [15:44:52]Write i2c OK [15:44:52]MH_I2C_Read... [15:44:52]Read from MH i2c: F0 [15:44:52]MH_I2C_Read... [15:44:52]Read from MH i2c: F0 09 00 [15:44:52]MH_I2C_Read... [15:44:52]Read from MH i2c: F0 09 00 59 30 00 04 77 16 67 05 11 DA 64 CD [15:44:52]GetLastDocTimeStamp 1729525472 [15:44:52]current date 1729525508 [15:44:52]FM_GetShiftState [15:44:52]SAM_PROTO_GetShiftState [15:44:52]wFMCommunicate request_size=4 [15:44:52]MH_SAM_APDU [15:44:52]CAPDU: 80 13 01 00 [15:44:52]Write to MH i2c: E2 08 00 5A 30 80 13 01 00 00 00 00 00 07 [15:44:52]Write i2c OK [15:44:52]MH_I2C_Read... [15:44:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:52]Read from MH i2c: E2 [15:44:52]MH_I2C_Read... [15:44:52]Read from MH i2c: E2 0E 00 [15:44:52]MH_I2C_Read... [15:44:52]Read from MH i2c: E2 0E 00 5A 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D5 [15:44:52]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:44:52]wFMCommunicate OK [15:44:52]SAM_PROTO_GetShiftState done [15:44:52]FM_GetShiftState done [15:44:52]opened in 1729470630 [15:44:52]opened+sec_in_day 1729557030 [15:44:52]quantity*price = 100000 [15:44:52]sum+1 = 100002 [15:44:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.01 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 47 21.10.2024 15:45 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40779 ФПД: 984552981989 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154509&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40779&fm=984552981989&tin=02508201610067®Number=0000000000098148&sum=100000 [15:44:53]StoreToDocumentArchive [15:44:53]shift 448 fd 40779 [15:44:53]save to /storage/0448/doc_00040779 [15:44:53]save last doc name /storage/0448/doc_00040779 to /storage/kkm_last_doc_name [15:44:53]save OK [15:44:53]Clear old archive folders... [15:44:53]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:44:53]tlvbuf is B6F687F0 [15:44:53]SAM_PROTO_ClearQueue [15:44:53]wFMCommunicate request_size=4 [15:44:53]MH_SAM_APDU [15:44:53]CAPDU: 80 09 00 00 [15:44:53]Write to MH i2c: E2 08 00 67 30 80 09 00 00 00 00 00 00 09 [15:44:53]Write i2c OK [15:44:53]MH_I2C_Read... [15:44:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:44:53]Read from MH i2c: E2 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 67 30 00 90 00 0B [15:44:53]RAPDU: 90 00 [15:44:53]wFMCommunicate OK [15:44:53]SAM_PROTO_ClearQueue done [15:44:53]KKMCreateOFDPacket [15:44:53]OFDProtocolAddRootSTLVToBuf [15:44:53]FM_MakeSignedData [15:44:53]FM_MakeSignedData [15:44:53]SAM_PROTO_SignData [15:44:53]wFMCommunicate request_size=4 [15:44:53]MH_SAM_APDU [15:44:53]CAPDU: 80 0D 01 02 [15:44:53]Write to MH i2c: E2 08 00 68 30 80 0D 01 02 00 00 00 00 11 [15:44:53]Write i2c OK [15:44:53]MH_I2C_Read... [15:44:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:44:53]Read from MH i2c: E2 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 68 30 00 90 00 0C [15:44:53]RAPDU: 90 00 [15:44:53]wFMCommunicate OK [15:44:53]wFMCommunicate request_size=255 [15:44:53]MH_SAM_APDU [15:44:53]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 05 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4B 9F 00 00 35 04 06 00 [15:44:53]Write to MH i2c: E2 02 01 69 30 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 05 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4B 9F 00 00 35 04 06 00 00 00 CC [15:44:53]Write i2c OK [15:44:53]MH_I2C_Read... [15:44:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:53]Read from MH i2c: E2 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 69 30 00 90 00 0D [15:44:53]RAPDU: 90 00 [15:44:53]wFMCommunicate OK [15:44:53]wFMCommunicate request_size=11 [15:44:53]MH_SAM_APDU [15:44:53]CAPDU: 80 0D 02 02 06 00 E5 3B EE 45 E5 [15:44:53]Write to MH i2c: E2 0E 00 6A 30 80 0D 02 02 06 00 00 E5 3B EE 45 E5 00 00 58 [15:44:53]Write i2c OK [15:44:53]MH_I2C_Read... [15:44:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:53]Read from MH i2c: E2 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 [15:44:53]MH_I2C_Read... [15:44:53]Read from MH i2c: E2 03 00 6A 30 00 90 00 0E [15:44:53]RAPDU: 90 00 [15:44:53]wFMCommunicate OK [15:44:53]wFMCommunicate request_size=4 [15:44:53]MH_SAM_APDU [15:44:53]CAPDU: 80 0D 03 02 [15:44:53]Write to MH i2c: E2 08 00 6B 30 80 0D 03 02 00 00 00 00 16 [15:44:53]Write i2c OK [15:44:53]MH_I2C_Read... [15:44:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:44:54]Read from MH i2c: E2 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: E2 0B 00 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: E2 0B 00 6B 30 00 57 3E 87 6B 20 FD C0 2B 90 00 A6 [15:44:54]RAPDU: 57 3E 87 6B 20 FD C0 2B 90 00 [15:44:54]wFMCommunicate OK [15:44:54]SAM_PROTO_SignData done [15:44:54]FM_MakeSignedData done [15:44:54]CreateOFDProtocolMessage [15:44:54]wFMCommunicate request_size=4 [15:44:54]MH_SAM_APDU [15:44:54]CAPDU: 80 11 00 00 [15:44:54]Write to MH i2c: E2 08 00 6C 30 80 11 00 00 00 00 00 00 16 [15:44:54]Write i2c OK [15:44:54]MH_I2C_Read... [15:44:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:54]Read from MH i2c: E2 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: E2 17 00 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: E2 17 00 6C 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 6B [15:44:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:44:54]wFMCommunicate OK [15:44:54]CreateOFDProtocolMessage done [15:44:54]OFDSenderStorePacket 40779 [15:44:54]StoreOFDPacket docnum=40779 [15:44:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 F7 12 08 01 ED 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 05 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4B 9F 00 00 35 04 06 00 00 E5 3B EE 45 E5 57 3E 87 6B 20 FD C0 2B [15:44:54]CheckFolder [15:44:54]dirname=/storage/ofd_packets [15:44:54]CheckFolder done [15:44:54]ProducePacketName [15:44:54]name=ofd_packets/00040779 [15:44:54]NVStorageSaveData ofd_packets/00040779 [15:44:54]File name is /storage/ofd_packets/00040779 [15:44:54]Write 302 bytes [15:44:54]NVStorageSaveData done [15:44:54]OFDSenderStorePacket done [15:44:54]KKMCreateOFDPacket done [15:44:54]NVStorageSaveData kkm_last_timestamp [15:44:54]File name is /storage/kkm_last_timestamp [15:44:54]Write 4 bytes [15:44:54]NVStorageSaveData done [15:44:54]ExternCall_PrintAddStr [15:44:54]wPrintStart [15:44:54]Write to MH i2c: 01 00 00 6D 30 9D [15:44:54]Write i2c OK [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 07 00 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 07 00 6D 30 00 00 00 00 00 FF 0F B2 [15:44:54]RasterBufferAndPrint [15:44:54]line Счет N : (1)808894 [15:44:54]line ИÐÐ: 02508201610067 [15:44:54]line Контрольно-КаÑÑовый Чек [15:44:54]line ПРОДÐЖР[15:44:54]line ТРК (МРК, ГÐК) : 42 [15:44:54]line Товар: 2710124130 [15:44:54]line Super 92-К-5 [15:44:54]line 14.620 * 68.40 [15:44:54]line = 1000.01 [15:44:54]line ÐДС 12% ÐСП 1% [15:44:54]line > о реализуемом товаре [15:44:54]line ОКРУГЛЕÐИЕ: -0.01 [15:44:54]line ИТОГО: 1000.00 [15:44:54]line ВнеÑено: 1000.00 [15:44:54]line СДÐЧÐ: 0.00 [15:44:54]line ÐСП 1% : 8.85 [15:44:54]line ÐДС 12% : 106.20 [15:44:54]line Ðаличными: 1000.00 [15:44:54]line Безнал.: 0.00 [15:44:54]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:44:54]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:44:54]line СÐО: Общий режим [15:44:54]line Чек 47 21.10.2024 15:45 [15:44:54]line Смена: 448 ФФД: 1.0 [15:44:54]line ЗÐМ: 0300000239 [15:44:54]line РÐМ: 0000000000098148 [15:44:54]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:44:54]line ФМ: 0000000000965374 [15:44:54]line ФД: 40779 [15:44:54]line ФПД: 984552981989 [15:44:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154509&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40779&fm=984552981989&tin=02508201610067®Number=0000000000098148&sum=100000 [15:44:54]written 0, free lines is 4095 [15:44:54]Write to MH i2c: 01 00 00 98 30 C8 [15:44:54]Write i2c OK [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 07 00 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: 01 07 00 98 30 00 00 00 00 00 F2 0C CD [15:44:54]RasterBufferAndPrint [15:44:54]line [15:44:54]line [15:44:54]line [15:44:54]line [15:44:54]line [15:44:54]written 0, free lines is 3320 [15:44:54]MH_Cut [15:44:54]Write to MH i2c: D1 01 00 9F 30 01 A1 [15:44:54]Write i2c OK [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: D1 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: D1 01 00 [15:44:54]MH_I2C_Read... [15:44:54]Read from MH i2c: D1 01 00 9F 30 00 A0 [15:44:54]Write to MH i2c: 01 00 00 A0 30 D0 [15:44:54]Write i2c OK [15:44:54]MH_I2C_Read... [15:44:55]*** Cut start [15:44:55]*** Partial cut [15:44:55]*** CUTSNS_PIN = 1 [15:44:55]*** CUTSNS_PIN = 0 [15:44:55]*** Brake cut motor [15:44:56]Read from MH i2c: 01 [15:44:56]MH_I2C_Read... [15:44:56]*** Stop cut motor [15:44:56]*** Cut end [15:44:56]Read from MH i2c: 01 07 00 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: 01 07 00 A0 30 00 00 00 00 00 FF 0F E5 [15:44:56]process_action close_receipt done [15:44:56]requested_data is exist [15:44:56]produce_requested_data [15:44:56]requested_item fm.sn is exist - process it [15:44:56]wFMCommunicate request_size=4 [15:44:56]MH_SAM_APDU [15:44:56]CAPDU: 80 11 00 00 [15:44:56]Write to MH i2c: E2 08 00 A1 30 80 11 00 00 00 00 00 00 4B [15:44:56]Write i2c OK [15:44:56]MH_I2C_Read... [15:44:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:56]Read from MH i2c: E2 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 17 00 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 17 00 A1 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A0 [15:44:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:44:56]wFMCommunicate OK [15:44:56]requested_item fd.num is exist - process it [15:44:56]SAM_PROTO_GetFieldsCounters [15:44:56]wFMCommunicate request_size=4 [15:44:56]MH_SAM_APDU [15:44:56]CAPDU: 80 13 00 00 [15:44:56]Write to MH i2c: E2 08 00 A2 30 80 13 00 00 00 00 00 00 4E [15:44:56]Write i2c OK [15:44:56]MH_I2C_Read... [15:44:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:56]Read from MH i2c: E2 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 62 00 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 62 00 A2 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4B 9F 00 00 0E 04 04 00 C0 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 AE [15:44:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4B 9F 00 00 0E 04 04 00 C0 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:44:56]wFMCommunicate OK [15:44:56]SAM_PROTO_GetFieldsCounters done [15:44:56]requested_item shift.num is exist - process it [15:44:56]requested_item shift.opened is exist - process it [15:44:56]req_shift_opened [15:44:56]FM_GetShiftState [15:44:56]SAM_PROTO_GetShiftState [15:44:56]wFMCommunicate request_size=4 [15:44:56]MH_SAM_APDU [15:44:56]CAPDU: 80 13 01 00 [15:44:56]Write to MH i2c: E2 08 00 A3 30 80 13 01 00 00 00 00 00 50 [15:44:56]Write i2c OK [15:44:56]MH_I2C_Read... [15:44:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:56]Read from MH i2c: E2 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 0E 00 [15:44:56]MH_I2C_Read... [15:44:56]Read from MH i2c: E2 0E 00 A3 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 1E [15:44:56]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:44:56]wFMCommunicate OK [15:44:56]SAM_PROTO_GetShiftState done [15:44:56]FM_GetShiftState done [15:44:56]req_shift_opened done [15:44:56]requested_item shift.open_date is exist - process it [15:44:56]req_shift_open_date [15:44:56]req_shift_open_date done [15:44:56]produce_requested_data done [15:44:56]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40779,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:44:56]process_action_free close_receipt [15:44:56]json_value_free [15:44:56]json_value_free done [15:44:56]process_json_proto returns [15:44:56]Send response to host [15:44:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40779,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:44:56]free response buf [15:44:56]execute_script done [15:44:56]execute_script returns [15:44:56]free content buf [15:44:56]Sock 9.Close socket [15:44:56]Sock 9.Thread stoped [15:45:11]ConnectInit Can't connect to host [15:45:11]CommunicateWithHost connect error [15:45:11]CommunicateWithHost err = -1 [15:45:11]OFD Sender: Server communicate error [15:45:11]OFD Sender: Processing packet 40776 [packets to send 7, broken 3] [15:45:11]ProducePacketName [15:45:11]name=ofd_packets/00040776 [15:45:11]OFD Sender: To server: ‡•öpG, [15:45:11]CommunicateWithHost lk.salyk.kg:30040 [15:45:11]ConnectInit lk.salyk.kg [15:45:11]Connected sock=9 [15:45:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 3D C4 04 01 B5 B4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 47 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 47 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8F 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 48 9F 00 00 35 04 06 00 88 11 2D 5E F7 72 CF 6F 6E 76 99 73 B3 63 [15:45:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 94 64 47 00 61 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 48 9F 00 00 F4 03 04 00 F5 1C 16 67 B6 04 01 00 00 F7 4E 66 4F E3 45 59 41 [15:45:11]CommunicateWithHost err = 0 [15:45:11]CheckOFDResponse [15:45:11]1017 (14) - 77093643461234 [15:45:11]1041 (16) - 0000000000965374 [15:45:11]1040 (4) - 40776 [15:45:11]1012 (4) - 21.10.2024 09:20 [15:45:11]1206 (1) - 0 [15:45:11]OFD Sender: Remove packet 40776 [15:45:11]ProducePacketName [15:45:11]name=ofd_packets/00040776 [15:45:11]NVStorageDeleteData [15:45:12]OFD Sender: Processing packet 40777 [packets to send 6, broken 3] [15:45:12]ProducePacketName [15:45:12]name=ofd_packets/00040777 [15:45:12]OFD Sender: To server: ‡•öpG, [15:45:12]CommunicateWithHost lk.salyk.kg:30040 [15:45:12]ConnectInit lk.salyk.kg [15:45:12]Connected sock=9 [15:45:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5A 4B 07 01 73 F3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AA 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 49 9F 00 00 35 04 06 00 F4 4F 04 40 C6 91 D7 0C 1F D9 56 62 43 EE [15:45:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 3B 89 47 00 47 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 49 9F 00 00 F4 03 04 00 F6 1C 16 67 B6 04 01 00 00 86 E9 93 7D FF 83 52 85 [15:45:12]CommunicateWithHost err = 0 [15:45:12]CheckOFDResponse [15:45:12]1017 (14) - 77093643461234 [15:45:12]1041 (16) - 0000000000965374 [15:45:12]1040 (4) - 40777 [15:45:12]1012 (4) - 21.10.2024 09:20 [15:45:12]1206 (1) - 0 [15:45:12]OFD Sender: Remove packet 40777 [15:45:12]ProducePacketName [15:45:12]name=ofd_packets/00040777 [15:45:12]NVStorageDeleteData [15:45:12]OFD Sender: Processing packet 40778 [packets to send 5, broken 3] [15:45:12]ProducePacketName [15:45:12]name=ofd_packets/00040778 [15:45:12]OFD Sender: To server: ‡•öpG, [15:45:12]CommunicateWithHost lk.salyk.kg:30040 [15:45:12]ConnectInit lk.salyk.kg [15:45:13]Connected sock=9 [15:45:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 5F E2 07 01 7C 37 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 E0 76 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4A 9F 00 00 35 04 06 00 23 14 67 4F 65 7F 34 75 AE 71 CF C0 21 6A [15:45:13]accept exits with 7 [15:45:13]New connection [15:45:13]New thread 3066887524 created [15:45:13]Thread 3067030884 joined [15:45:13]Waiting for new connection... [15:45:13] Sock 7.Parse request [15:45:13]Sock 7.Check first char [15:45:13]Sock 7.First char is OK [15:45:13]request: POST /json_proto HTTP/1.0 [15:45:13]Method: POST [15:45:13]URL: /json_proto [15:45:13]Method is POST - this is cgi request [15:45:13]url: /json_proto [15:45:13]query_string will be loaded in cgi processing [15:45:13]execute_cgi json_proto POST (null) [15:45:13]execute_cgi path=json_proto method=POST [15:45:13]POST find Content-Length [15:45:13]Host: 172.17.53.4:8080 [15:45:13]Content-Length: 670 [15:45:13]Content-Type: application/json [15:45:13] [15:45:13]POST finish read [15:45:13]Found Content-Length = 670 [15:45:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808895", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.850, "sum" : 400.14, "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:45:13]execute_script... [15:45:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808895", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.850, "sum" : 400.14, "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:45:13]POST & json_proto [15:45:13]process_json_proto [15:45:13]json parsed OK: [15:45:13]protocol is kg_v1.0 [15:45:13]action value=close_receipt [15:45:13]process_action close_receipt [15:45:13]cmd_close_receipt [15:45:13]MH_GetDate [15:45:13]Write to MH i2c: F0 00 00 A4 30 C3 [15:45:13]Write i2c OK [15:45:13]MH_I2C_Read... [15:45:13]Read from MH i2c: F0 [15:45:13]MH_I2C_Read... [15:45:13]Read from MH i2c: F0 09 00 [15:45:13]MH_I2C_Read... [15:45:13]Read from MH i2c: F0 09 00 A4 30 00 19 77 16 67 05 11 DA 64 2D [15:45:13]GetLastDocTimeStamp 1729525509 [15:45:13]current date 1729525529 [15:45:13]FM_GetShiftState [15:45:13]SAM_PROTO_GetShiftState [15:45:13]wFMCommunicate request_size=4 [15:45:13]MH_SAM_APDU [15:45:13]CAPDU: 80 13 01 00 [15:45:13]Write to MH i2c: E2 08 00 A5 30 80 13 01 00 00 00 00 00 52 [15:45:13]Write i2c OK [15:45:13]MH_I2C_Read... [15:45:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:13]Read from MH i2c: E2 [15:45:13]MH_I2C_Read... [15:45:13]Read from MH i2c: E2 0E 00 [15:45:13]MH_I2C_Read... [15:45:13]Read from MH i2c: E2 0E 00 A5 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 20 [15:45:13]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:45:13]wFMCommunicate OK [15:45:13]SAM_PROTO_GetShiftState done [15:45:13]FM_GetShiftState done [15:45:13]opened in 1729470630 [15:45:13]opened+sec_in_day 1729557030 [15:45:13]quantity*price = 40014 [15:45:13]sum+1 = 40015 [15:45:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.14 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.49 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 48 21.10.2024 15:45 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40780 ФПД: 158855133336918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154529&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40780&fm=158855133336918&tin=02508201610067®Number=0000000000098148&sum=40000 [15:45:14]StoreToDocumentArchive [15:45:14]shift 448 fd 40780 [15:45:14]save to /storage/0448/doc_00040780 [15:45:14]save last doc name /storage/0448/doc_00040780 to /storage/kkm_last_doc_name [15:45:14]save OK [15:45:14]Clear old archive folders... [15:45:14]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:45:14]tlvbuf is 0104C1B0 [15:45:14]SAM_PROTO_ClearQueue [15:45:14]wFMCommunicate request_size=4 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 09 00 00 [15:45:14]Write to MH i2c: E2 08 00 B2 30 80 09 00 00 00 00 00 00 54 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 06 CC 47 00 21 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4B 9F 00 00 F4 03 04 00 F8 1C 16 67 B6 04 01 00 00 31 DE 05 F8 CE DE 36 B6 [15:45:14]CommunicateWithHost err = 0 [15:45:14]CheckOFDResponse [15:45:14]1017 (14) - 77093643461234 [15:45:14]1041 (16) - 0000000000965374 [15:45:14]1040 (4) - 40779 [15:45:14]1012 (4) - 21.10.2024 09:20 [15:45:14]1206 (1) - 0 [15:45:14]OFD Sender: Remove packet 40779 [15:45:14]ProducePacketName [15:45:14]name=ofd_packets/00040779 [15:45:14]NVStorageDeleteData [15:45:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:45:14]Read from MH i2c: E2 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 B2 30 00 90 00 56 [15:45:14]RAPDU: 90 00 [15:45:14]wFMCommunicate OK [15:45:14]SAM_PROTO_ClearQueue done [15:45:14]KKMCreateOFDPacket [15:45:14]OFDProtocolAddRootSTLVToBuf [15:45:14]FM_MakeSignedData [15:45:14]FM_MakeSignedData [15:45:14]SAM_PROTO_SignData [15:45:14]wFMCommunicate request_size=4 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 0D 01 02 [15:45:14]Write to MH i2c: E2 08 00 B3 30 80 0D 01 02 00 00 00 00 5C [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 [15:45:14]MH_I2C_Read... [15:45:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:45:14]Read from MH i2c: E2 03 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 B3 30 00 90 00 57 [15:45:14]RAPDU: 90 00 [15:45:14]wFMCommunicate OK [15:45:14]wFMCommunicate request_size=255 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 30 00 00 00 F4 03 04 00 19 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4C 9F 00 00 35 04 06 00 [15:45:14]Write to MH i2c: E2 02 01 B4 30 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 30 00 00 00 F4 03 04 00 19 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4C 9F 00 00 35 04 06 00 00 00 E3 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:14]Read from MH i2c: E2 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 B4 30 00 90 00 58 [15:45:14]RAPDU: 90 00 [15:45:14]wFMCommunicate OK [15:45:14]wFMCommunicate request_size=11 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 0D 02 02 06 90 7A 57 CB 15 56 [15:45:14]Write to MH i2c: E2 0E 00 B5 30 80 0D 02 02 06 00 90 7A 57 CB 15 56 00 00 02 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:14]Read from MH i2c: E2 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 03 00 B5 30 00 90 00 59 [15:45:14]RAPDU: 90 00 [15:45:14]wFMCommunicate OK [15:45:14]wFMCommunicate request_size=4 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 0D 03 02 [15:45:14]Write to MH i2c: E2 08 00 B6 30 80 0D 03 02 00 00 00 00 61 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:45:14]Read from MH i2c: E2 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 0B 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 0B 00 B6 30 00 1B D3 91 A0 E9 49 96 46 90 00 8F [15:45:14]RAPDU: 1B D3 91 A0 E9 49 96 46 90 00 [15:45:14]wFMCommunicate OK [15:45:14]SAM_PROTO_SignData done [15:45:14]FM_MakeSignedData done [15:45:14]CreateOFDProtocolMessage [15:45:14]wFMCommunicate request_size=4 [15:45:14]MH_SAM_APDU [15:45:14]CAPDU: 80 11 00 00 [15:45:14]Write to MH i2c: E2 08 00 B7 30 80 11 00 00 00 00 00 00 61 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 OFD Sender: No OFD packet to send [15:45:14] [15:45:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 17 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: E2 17 00 B7 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B6 [15:45:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:45:14]wFMCommunicate OK [15:45:14]CreateOFDProtocolMessage done [15:45:14]OFDSenderStorePacket 40780 [15:45:14]StoreOFDPacket docnum=40780 [15:45:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 AC 20 08 01 0A 08 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 30 00 00 00 F4 03 04 00 19 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4C 9F 00 00 35 04 06 00 90 7A 57 CB 15 56 1B D3 91 A0 E9 49 96 46 [15:45:14]CheckFolder [15:45:14]dirname=/storage/ofd_packets [15:45:14]CheckFolder done [15:45:14]ProducePacketName [15:45:14]name=ofd_packets/00040780 [15:45:14]NVStorageSaveData ofd_packets/00040780 [15:45:14]File name is /storage/ofd_packets/00040780 [15:45:14]Write 302 bytes [15:45:14]NVStorageSaveData done [15:45:14]OFDSenderStorePacket done [15:45:14]KKMCreateOFDPacket done [15:45:14]NVStorageSaveData kkm_last_timestamp [15:45:14]File name is /storage/kkm_last_timestamp [15:45:14]Write 4 bytes [15:45:14]NVStorageSaveData done [15:45:14]ExternCall_PrintAddStr [15:45:14]wPrintStart [15:45:14]Write to MH i2c: 01 00 00 B8 30 E8 [15:45:14]Write i2c OK [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: 01 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: 01 07 00 [15:45:14]MH_I2C_Read... [15:45:14]Read from MH i2c: 01 07 00 B8 30 00 00 00 00 00 FF 0F FD [15:45:14]RasterBufferAndPrint [15:45:14]line Счет N : (1)808895 [15:45:14]line ИÐÐ: 02508201610067 [15:45:14]line Контрольно-КаÑÑовый Чек [15:45:14]line ПРОДÐЖР[15:45:14]line ТРК (МРК, ГÐК) : 52 [15:45:14]line Товар: 2710124130 [15:45:14]line Super 92-К-5 [15:45:14]line 5.850 * 68.40 [15:45:14]line = 400.14 [15:45:14]line ÐДС 12% ÐСП 1% [15:45:14]line > о реализуемом товаре [15:45:14]line ОКРУГЛЕÐИЕ: -0.14 [15:45:14]line ИТОГО: 400.00 [15:45:15]line ВнеÑено: 400.00 [15:45:15]line СДÐЧÐ: 0.00 [15:45:15]line ÐСП 1% : 3.54 [15:45:15]line ÐДС 12% : 42.49 [15:45:15]line Ðаличными: 400.00 [15:45:15]line Безнал.: 0.00 [15:45:15]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:45:15]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:45:15]line СÐО: Общий режим [15:45:15]line Чек 48 21.10.2024 15:45 [15:45:15]line Смена: 448 ФФД: 1.0 [15:45:15]line ЗÐМ: 0300000239 [15:45:15]line РÐМ: 0000000000098148 [15:45:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:45:15]line ФМ: 0000000000965374 [15:45:15]line ФД: 40780 [15:45:15]line ФПД: 158855133336918 [15:45:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154529&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40780&fm=158855133336918&tin=02508201610067®Number=0000000000098148&sum=40000 [15:45:15]OFD Sender: Processing packet 40780 [packets to send 4, broken 3] [15:45:15]ProducePacketName [15:45:15]name=ofd_packets/00040780 [15:45:15]OFD Sender: To server: ‡•öpG, [15:45:15]CommunicateWithHost lk.salyk.kg:30040 [15:45:15]ConnectInit lk.salyk.kg [15:45:15]written 0, free lines is 4095 [15:45:15]Connected sock=9 [15:45:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 AC 20 08 01 0A 08 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 16 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4E 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 99 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 30 00 00 00 F4 03 04 00 19 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4C 9F 00 00 35 04 06 00 90 7A 57 CB 15 56 1B D3 91 A0 E9 49 96 46 [15:45:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 E7 3F 47 00 FE 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4C 9F 00 00 F4 03 04 00 F9 1C 16 67 B6 04 01 00 00 D0 24 19 C8 B7 1E 18 26 [15:45:15]CommunicateWithHost err = 0 [15:45:15]CheckOFDResponse [15:45:15]1017 (14) - 77093643461234 [15:45:15]1041 (16) - 0000000000965374 [15:45:15]1040 (4) - 40780 [15:45:15]1012 (4) - 21.10.2024 09:20 [15:45:15]1206 (1) - 0 [15:45:15]OFD Sender: Remove packet 40780 [15:45:15]ProducePacketName [15:45:15]name=ofd_packets/00040780 [15:45:15]NVStorageDeleteData [15:45:15]Write to MH i2c: 01 00 00 E3 30 13 [15:45:15]Write i2c OK [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: 01 [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: 01 07 00 [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: 01 07 00 E3 30 00 00 00 00 00 FE 0C 24 [15:45:15]RasterBufferAndPrint [15:45:15]line [15:45:15]line [15:45:15]line [15:45:15]line [15:45:15]line [15:45:15]written 0, free lines is 3334 [15:45:15]MH_Cut [15:45:15]Write to MH i2c: D1 01 00 EA 30 01 EC [15:45:15]Write i2c OK [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: D1 [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: D1 01 00 [15:45:15]MH_I2C_Read... [15:45:15]Read from MH i2c: D1 01 00 EA 30 00 EB [15:45:15]Write to MH i2c: 01 00 00 EB 30 1B [15:45:15]Write i2c OK [15:45:15]MH_I2C_Read... [15:45:16]OFD Sender: No OFD packet to send [15:45:16]*** Cut start [15:45:16]*** Partial cut [15:45:16]*** CUTSNS_PIN = 1 [15:45:16]*** CUTSNS_PIN = 0 [15:45:16]*** Brake cut motor [15:45:16]Read from MH i2c: 01 [15:45:16]MH_I2C_Read... [15:45:16]*** Stop cut motor [15:45:16]*** Cut end [15:45:16]Read from MH i2c: 01 07 00 [15:45:16]MH_I2C_Read... [15:45:16]Read from MH i2c: 01 07 00 EB 30 00 00 00 00 00 FF 0F 30 [15:45:16]process_action close_receipt done [15:45:16]requested_data is exist [15:45:16]produce_requested_data [15:45:16]requested_item fm.sn is exist - process it [15:45:16]wFMCommunicate request_size=4 [15:45:16]MH_SAM_APDU [15:45:16]CAPDU: 80 11 00 00 [15:45:16]Write to MH i2c: E2 08 00 EC 30 80 11 00 00 00 00 00 00 96 [15:45:16]Write i2c OK [15:45:16]MH_I2C_Read... [15:45:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:17]Read from MH i2c: E2 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 17 00 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 17 00 EC 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EB [15:45:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:45:17]wFMCommunicate OK [15:45:17]requested_item fd.num is exist - process it [15:45:17]SAM_PROTO_GetFieldsCounters [15:45:17]wFMCommunicate request_size=4 [15:45:17]MH_SAM_APDU [15:45:17]CAPDU: 80 13 00 00 [15:45:17]Write to MH i2c: E2 08 00 ED 30 80 13 00 00 00 00 00 00 99 [15:45:17]Write i2c OK [15:45:17]MH_I2C_Read... [15:45:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:45:17]Read from MH i2c: E2 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 62 00 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 62 00 ED 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4C 9F 00 00 0E 04 04 00 C0 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 FD [15:45:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4C 9F 00 00 0E 04 04 00 C0 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:45:17]wFMCommunicate OK [15:45:17]SAM_PROTO_GetFieldsCounters done [15:45:17]requested_item shift.num is exist - process it [15:45:17]requested_item shift.opened is exist - process it [15:45:17]req_shift_opened [15:45:17]FM_GetShiftState [15:45:17]SAM_PROTO_GetShiftState [15:45:17]wFMCommunicate request_size=4 [15:45:17]MH_SAM_APDU [15:45:17]CAPDU: 80 13 01 00 [15:45:17]Write to MH i2c: E2 08 00 EE 30 80 13 01 00 00 00 00 00 9B [15:45:17]Write i2c OK [15:45:17]MH_I2C_Read... [15:45:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:17]Read from MH i2c: E2 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 0E 00 [15:45:17]MH_I2C_Read... [15:45:17]Read from MH i2c: E2 0E 00 EE 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 69 [15:45:17]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:45:17]wFMCommunicate OK [15:45:17]SAM_PROTO_GetShiftState done [15:45:17]FM_GetShiftState done [15:45:17]req_shift_opened done [15:45:17]requested_item shift.open_date is exist - process it [15:45:17]req_shift_open_date [15:45:17]req_shift_open_date done [15:45:17]produce_requested_data done [15:45:17]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40780,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:45:17]process_action_free close_receipt [15:45:17]json_value_free [15:45:17]json_value_free done [15:45:17]process_json_proto returns [15:45:17]Send response to host [15:45:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40780,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:45:17]free response buf [15:45:17]execute_script done [15:45:17]execute_script returns [15:45:17]free content buf [15:45:17]Sock 7.Close socket [15:45:17]Sock 7.Thread stoped [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:37]accept exits with 10 [15:47:37]New connection [15:47:37]New thread 3067030884 created [15:47:37]Thread 3066887524 joined [15:47:37]Waiting for new connection... [15:47:37] Sock 10.Parse request [15:47:37]Sock 10.Check first char [15:47:37]Sock 10.First char is OK [15:47:37]request: POST /json_proto HTTP/1.0 [15:47:37]Method: POST [15:47:37]URL: /json_proto [15:47:37]Method is POST - this is cgi request [15:47:37]url: /json_proto [15:47:37]query_string will be loaded in cgi processing [15:47:37]execute_cgi json_proto POST (null) [15:47:37]execute_cgi path=json_proto method=POST [15:47:37]POST find Content-Length [15:47:37]Host: 172.17.53.4:8080 [15:47:37]Content-Length: 677 [15:47:37]Content-Type: application/json [15:47:37] [15:47:37]POST finish read [15:47:37]Found Content-Length = 677 [15:47:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808896", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 9.440, "sum" : 700.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:47:37]execute_script... [15:47:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808896", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 9.440, "sum" : 700.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:47:37]POST & json_proto [15:47:37]process_json_proto [15:47:37]json parsed OK: [15:47:37]protocol is kg_v1.0 [15:47:37]action value=close_receipt [15:47:37]process_action close_receipt [15:47:37]cmd_close_receipt [15:47:37]MH_GetDate [15:47:37]Write to MH i2c: F0 00 00 EF 30 0E [15:47:37]Write i2c OK [15:47:37]MH_I2C_Read... [15:47:37]Read from MH i2c: F0 [15:47:37]MH_I2C_Read... [15:47:37]Read from MH i2c: F0 09 00 [15:47:37]MH_I2C_Read... [15:47:37]Read from MH i2c: F0 09 00 EF 30 00 A9 77 16 67 05 11 DA 64 08 [15:47:37]GetLastDocTimeStamp 1729525529 [15:47:37]current date 1729525673 [15:47:37]FM_GetShiftState [15:47:37]SAM_PROTO_GetShiftState [15:47:37]wFMCommunicate request_size=4 [15:47:37]MH_SAM_APDU [15:47:37]CAPDU: 80 13 01 00 [15:47:37]Write to MH i2c: E2 08 00 F0 30 80 13 01 00 00 00 00 00 9D [15:47:37]Write i2c OK [15:47:37]MH_I2C_Read... [15:47:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:47:37]Read from MH i2c: E2 [15:47:37]MH_I2C_Read... [15:47:37]Read from MH i2c: E2 0E 00 [15:47:37]MH_I2C_Read... [15:47:37]Read from MH i2c: E2 0E 00 F0 30 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6B [15:47:37]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:47:37]wFMCommunicate OK [15:47:37]SAM_PROTO_GetShiftState done [15:47:37]FM_GetShiftState done [15:47:37]opened in 1729470630 [15:47:37]opened+sec_in_day 1729557030 [15:47:37]quantity*price = 70044 [15:47:37]sum+1 = 70046 [15:47:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 49 21.10.2024 15:47 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40781 ФПД: 23498046642078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154753&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40781&fm=23498046642078&tin=02508201610067®Number=0000000000098148&sum=70000 [15:47:38]StoreToDocumentArchive [15:47:38]shift 448 fd 40781 [15:47:38]save to /storage/0448/doc_00040781 [15:47:38]save last doc name /storage/0448/doc_00040781 to /storage/kkm_last_doc_name [15:47:38]save OK [15:47:38]Clear old archive folders... [15:47:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:47:38]tlvbuf is 0105E2F0 [15:47:38]SAM_PROTO_ClearQueue [15:47:38]wFMCommunicate request_size=4 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 09 00 00 [15:47:38]Write to MH i2c: E2 08 00 FD 30 80 09 00 00 00 00 00 00 9F [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 FD 30 00 90 00 A1 [15:47:38]RAPDU: 90 00 [15:47:38]wFMCommunicate OK [15:47:38]SAM_PROTO_ClearQueue done [15:47:38]KKMCreateOFDPacket [15:47:38]OFDProtocolAddRootSTLVToBuf [15:47:38]FM_MakeSignedData [15:47:38]FM_MakeSignedData [15:47:38]SAM_PROTO_SignData [15:47:38]wFMCommunicate request_size=4 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 0D 01 02 [15:47:38]Write to MH i2c: E2 08 00 FE 30 80 0D 01 02 00 00 00 00 A7 [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 FE 30 00 90 00 A2 [15:47:38]RAPDU: 90 00 [15:47:38]wFMCommunicate OK [15:47:38]wFMCommunicate request_size=255 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A9 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4D 9F 00 00 35 04 06 00 15 [15:47:38]Write to MH i2c: E2 02 01 FF 30 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 33 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A9 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4D 9F 00 00 35 04 06 00 15 00 00 B2 [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 FF 30 00 90 00 A3 [15:47:38]RAPDU: 90 00 [15:47:38]wFMCommunicate OK [15:47:38]wFMCommunicate request_size=10 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 0D 02 02 05 5F 10 B9 17 9E [15:47:38]Write to MH i2c: E2 0D 00 00 31 80 0D 02 02 05 00 5F 10 B9 17 9E 00 00 92 [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 03 00 00 31 00 90 00 A5 [15:47:38]RAPDU: 90 00 [15:47:38]wFMCommunicate OK [15:47:38]wFMCommunicate request_size=4 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 0D 03 02 [15:47:38]Write to MH i2c: E2 08 00 01 31 80 0D 03 02 00 00 00 00 AD [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 0B 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 0B 00 01 31 00 13 5F E1 AE C7 7E E0 C4 90 00 98 [15:47:38]RAPDU: 13 5F E1 AE C7 7E E0 C4 90 00 [15:47:38]wFMCommunicate OK [15:47:38]SAM_PROTO_SignData done [15:47:38]FM_MakeSignedData done [15:47:38]CreateOFDProtocolMessage [15:47:38]wFMCommunicate request_size=4 [15:47:38]MH_SAM_APDU [15:47:38]CAPDU: 80 11 00 00 [15:47:38]Write to MH i2c: E2 08 00 02 31 80 11 00 00 00 00 00 00 AD [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:47:38]Read from MH i2c: E2 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 17 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: E2 17 00 02 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 02 [15:47:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:47:38]wFMCommunicate OK [15:47:38]CreateOFDProtocolMessage done [15:47:38]OFDSenderStorePacket 40781 [15:47:38]StoreOFDPacket docnum=40781 [15:47:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A1 F1 07 01 17 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 33 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A9 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4D 9F 00 00 35 04 06 00 15 5F 10 B9 17 9E 13 5F E1 AE C7 7E E0 C4 [15:47:38]CheckFolder [15:47:38]dirname=/storage/ofd_packets [15:47:38]CheckFolder done [15:47:38]ProducePacketName [15:47:38]name=ofd_packets/00040781 [15:47:38]NVStorageSaveData ofd_packets/00040781 [15:47:38]File name is /storage/ofd_packets/00040781 [15:47:38]Write 301 bytes [15:47:38]NVStorageSaveData done [15:47:38]OFDSenderStorePacket done [15:47:38]KKMCreateOFDPacket done [15:47:38]NVStorageSaveData kkm_last_timestamp [15:47:38]File name is /storage/kkm_last_timestamp [15:47:38]Write 4 bytes [15:47:38]NVStorageSaveData done [15:47:38]ExternCall_PrintAddStr [15:47:38]wPrintStart [15:47:38]Write to MH i2c: 01 00 00 03 31 34 [15:47:38]Write i2c OK [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: 01 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: 01 07 00 [15:47:38]MH_I2C_Read... [15:47:38]Read from MH i2c: 01 07 00 03 31 00 00 00 00 00 FF 0F 49 [15:47:38]RasterBufferAndPrint [15:47:38]line Счет N : (1)808896 [15:47:38]line ИÐÐ: 02508201610067 [15:47:38]line Контрольно-КаÑÑовый Чек [15:47:38]line ПРОДÐЖР[15:47:38]line ТРК (МРК, ГÐК) : 64 [15:47:38]line Товар: 2710124500 [15:47:38]line Ðи-95-К-3 [15:47:38]line 9.440 * 74.20 [15:47:38]line = 700.45 [15:47:38]line ÐДС 12% ÐСП 1% [15:47:38]line > о реализуемом товаре [15:47:38]line ОКРУГЛЕÐИЕ: -0.45 [15:47:38]line ИТОГО: 700.00 [15:47:38]line ВнеÑено: 700.00 [15:47:38]line СДÐЧÐ: 0.00 [15:47:38]line ÐСП 1% : 6.20 [15:47:38]line ÐДС 12% : 74.38 [15:47:38]line Ðаличными: 700.00 [15:47:38]line Безнал.: 0.00 [15:47:38]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:47:38]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:47:38]line СÐО: Общий режим [15:47:38]line Чек 49 21.10.2024 15:47 [15:47:38]line Смена: 448 ФФД: 1.0 [15:47:38]line ЗÐМ: 0300000239 [15:47:38]line РÐМ: 0000000000098148 [15:47:38]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:47:38]line ФМ: 0000000000965374 [15:47:38]line ФД: 40781 [15:47:39]line ФПД: 23498046642078 [15:47:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154753&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40781&fm=23498046642078&tin=02508201610067®Number=0000000000098148&sum=70000 [15:47:39]OFD Sender: Processing packet 40781 [packets to send 4, broken 3] [15:47:39]ProducePacketName [15:47:39]name=ofd_packets/00040781 [15:47:39]OFD Sender: To server: ‡•öpG, [15:47:39]CommunicateWithHost lk.salyk.kg:30040 [15:47:39]ConnectInit lk.salyk.kg [15:47:39]written 0, free lines is 4095 [15:47:39]Connected sock=9 [15:47:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A1 F1 07 01 17 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 33 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A9 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4D 9F 00 00 35 04 06 00 15 5F 10 B9 17 9E 13 5F E1 AE C7 7E E0 C4 [15:47:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 54 A1 47 00 D3 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4D 9F 00 00 F4 03 04 00 89 1D 16 67 B6 04 01 00 00 5D 94 09 61 67 67 B6 F7 [15:47:39]CommunicateWithHost err = 0 [15:47:39]CheckOFDResponse [15:47:39]1017 (14) - 77093643461234 [15:47:39]1041 (16) - 0000000000965374 [15:47:39]1040 (4) - 40781 [15:47:39]1012 (4) - 21.10.2024 09:23 [15:47:39]1206 (1) - 0 [15:47:39]OFD Sender: Remove packet 40781 [15:47:39]ProducePacketName [15:47:39]name=ofd_packets/00040781 [15:47:39]NVStorageDeleteData [15:47:39]Write to MH i2c: 01 00 00 2E 31 5F [15:47:39]Write i2c OK [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: 01 [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: 01 07 00 [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: 01 07 00 2E 31 00 00 00 00 00 02 0D 75 [15:47:39]RasterBufferAndPrint [15:47:39]line [15:47:39]line [15:47:39]line [15:47:39]line [15:47:39]line [15:47:39]written 0, free lines is 3336 [15:47:39]MH_Cut [15:47:39]Write to MH i2c: D1 01 00 35 31 01 38 [15:47:39]Write i2c OK [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: D1 [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: D1 01 00 [15:47:39]MH_I2C_Read... [15:47:39]Read from MH i2c: D1 01 00 35 31 00 37 [15:47:39]Write to MH i2c: 01 00 00 36 31 67 [15:47:39]Write i2c OK [15:47:39]MH_I2C_Read... [15:47:40]OFD Sender: No OFD packet to send [15:47:40]*** Cut start [15:47:40]*** Partial cut [15:47:40]*** CUTSNS_PIN = 1 [15:47:40]*** CUTSNS_PIN = 0 [15:47:40]*** Brake cut motor [15:47:40]Read from MH i2c: 01 [15:47:40]MH_I2C_Read... [15:47:40]*** Stop cut motor [15:47:40]*** Cut end [15:47:40]Read from MH i2c: 01 07 00 [15:47:40]MH_I2C_Read... [15:47:40]Read from MH i2c: 01 07 00 36 31 00 00 00 00 00 FF 0F 7C [15:47:40]process_action close_receipt done [15:47:40]requested_data is exist [15:47:40]produce_requested_data [15:47:40]requested_item fm.sn is exist - process it [15:47:40]wFMCommunicate request_size=4 [15:47:40]MH_SAM_APDU [15:47:40]CAPDU: 80 11 00 00 [15:47:40]Write to MH i2c: E2 08 00 37 31 80 11 00 00 00 00 00 00 E2 [15:47:40]Write i2c OK [15:47:40]MH_I2C_Read... [15:47:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:47:41]Read from MH i2c: E2 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 17 00 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 17 00 37 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 37 [15:47:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:47:41]wFMCommunicate OK [15:47:41]requested_item fd.num is exist - process it [15:47:41]SAM_PROTO_GetFieldsCounters [15:47:41]wFMCommunicate request_size=4 [15:47:41]MH_SAM_APDU [15:47:41]CAPDU: 80 13 00 00 [15:47:41]Write to MH i2c: E2 08 00 38 31 80 13 00 00 00 00 00 00 E5 [15:47:41]Write i2c OK [15:47:41]MH_I2C_Read... [15:47:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:47:41]Read from MH i2c: E2 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 62 00 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 62 00 38 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4D 9F 00 00 0E 04 04 00 C0 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 4D [15:47:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4D 9F 00 00 0E 04 04 00 C0 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:47:41]wFMCommunicate OK [15:47:41]SAM_PROTO_GetFieldsCounters done [15:47:41]requested_item shift.num is exist - process it [15:47:41]requested_item shift.opened is exist - process it [15:47:41]req_shift_opened [15:47:41]FM_GetShiftState [15:47:41]SAM_PROTO_GetShiftState [15:47:41]wFMCommunicate request_size=4 [15:47:41]MH_SAM_APDU [15:47:41]CAPDU: 80 13 01 00 [15:47:41]Write to MH i2c: E2 08 00 39 31 80 13 01 00 00 00 00 00 E7 [15:47:41]Write i2c OK [15:47:41]MH_I2C_Read... [15:47:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:47:41]Read from MH i2c: E2 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 0E 00 [15:47:41]MH_I2C_Read... [15:47:41]Read from MH i2c: E2 0E 00 39 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B5 [15:47:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:47:41]wFMCommunicate OK [15:47:41]SAM_PROTO_GetShiftState done [15:47:41]FM_GetShiftState done [15:47:41]req_shift_opened done [15:47:41]requested_item shift.open_date is exist - process it [15:47:41]req_shift_open_date [15:47:41]req_shift_open_date done [15:47:41]produce_requested_data done [15:47:41]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40781,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:47:41]process_action_free close_receipt [15:47:41]json_value_free [15:47:41]json_value_free done [15:47:41]process_json_proto returns [15:47:41]Send response to host [15:47:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40781,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:47:41]free response buf [15:47:41]execute_script done [15:47:41]execute_script returns [15:47:41]free content buf [15:47:41]Sock 10.Close socket [15:47:41]Sock 10.Thread stoped [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:03]accept exits with 7 [15:48:03]New connection [15:48:03]New thread 3066887524 created [15:48:03]Thread 3067030884 joined [15:48:03]Waiting for new connection... [15:48:03] Sock 7.Parse request [15:48:03]Sock 7.Check first char [15:48:03]Sock 7.First char is OK [15:48:03]request: POST /json_proto HTTP/1.0 [15:48:03]Method: POST [15:48:03]URL: /json_proto [15:48:03]Method is POST - this is cgi request [15:48:03]url: /json_proto [15:48:03]query_string will be loaded in cgi processing [15:48:03]execute_cgi json_proto POST (null) [15:48:03]execute_cgi path=json_proto method=POST [15:48:03]POST find Content-Length [15:48:03]Host: 172.17.53.4:8080 [15:48:03]Content-Length: 678 [15:48:03]Content-Type: application/json [15:48:03] [15:48:03]POST finish read [15:48:03]Found Content-Length = 678 [15:48:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808897", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:03]execute_script... [15:48:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808897", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:03]POST & json_proto [15:48:03]process_json_proto [15:48:03]json parsed OK: [15:48:03]protocol is kg_v1.0 [15:48:03]action value=close_receipt [15:48:03]process_action close_receipt [15:48:03]cmd_close_receipt [15:48:03]MH_GetDate [15:48:03]Write to MH i2c: F0 00 00 3A 31 5A [15:48:03]Write i2c OK [15:48:03]MH_I2C_Read... [15:48:03]Read from MH i2c: F0 [15:48:03]MH_I2C_Read... [15:48:03]Read from MH i2c: F0 09 00 [15:48:03]MH_I2C_Read... [15:48:03]Read from MH i2c: F0 09 00 3A 31 00 C3 77 16 67 05 11 DA 64 6E [15:48:03]GetLastDocTimeStamp 1729525673 [15:48:03]current date 1729525699 [15:48:03]FM_GetShiftState [15:48:03]SAM_PROTO_GetShiftState [15:48:03]wFMCommunicate request_size=4 [15:48:03]MH_SAM_APDU [15:48:03]CAPDU: 80 13 01 00 [15:48:03]Write to MH i2c: E2 08 00 3B 31 80 13 01 00 00 00 00 00 E9 [15:48:03]Write i2c OK [15:48:03]MH_I2C_Read... [15:48:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:03]Read from MH i2c: E2 [15:48:03]MH_I2C_Read... [15:48:03]Read from MH i2c: E2 0E 00 [15:48:03]MH_I2C_Read... [15:48:03]Read from MH i2c: E2 0E 00 3B 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B7 [15:48:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:48:03]wFMCommunicate OK [15:48:03]SAM_PROTO_GetShiftState done [15:48:03]FM_GetShiftState done [15:48:03]opened in 1729470630 [15:48:03]opened+sec_in_day 1729557030 [15:48:03]quantity*price = 70044 [15:48:03]sum+1 = 70045 [15:48:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.44 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 50 21.10.2024 15:48 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40782 ФПД: 18931758567226 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154819&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40782&fm=18931758567226&tin=02508201610067®Number=0000000000098148&sum=70000 [15:48:04]StoreToDocumentArchive [15:48:04]shift 448 fd 40782 [15:48:04]save to /storage/0448/doc_00040782 [15:48:04]save last doc name /storage/0448/doc_00040782 to /storage/kkm_last_doc_name [15:48:04]save OK [15:48:04]Clear old archive folders... [15:48:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:48:04]tlvbuf is 010DF370 [15:48:04]SAM_PROTO_ClearQueue [15:48:04]wFMCommunicate request_size=4 [15:48:04]MH_SAM_APDU [15:48:04]CAPDU: 80 09 00 00 [15:48:04]Write to MH i2c: E2 08 00 48 31 80 09 00 00 00 00 00 00 EB [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 48 31 00 90 00 ED [15:48:04]RAPDU: 90 00 [15:48:04]wFMCommunicate OK [15:48:04]SAM_PROTO_ClearQueue done [15:48:04]KKMCreateOFDPacket [15:48:04]OFDProtocolAddRootSTLVToBuf [15:48:04]FM_MakeSignedData [15:48:04]FM_MakeSignedData [15:48:04]SAM_PROTO_SignData [15:48:04]wFMCommunicate request_size=4 [15:48:04]MH_SAM_APDU [15:48:04]CAPDU: 80 0D 01 02 [15:48:04]Write to MH i2c: E2 08 00 49 31 80 0D 01 02 00 00 00 00 F3 [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 49 31 00 90 00 EE [15:48:04]RAPDU: 90 00 [15:48:04]wFMCommunicate OK [15:48:04]wFMCommunicate request_size=255 [15:48:04]MH_SAM_APDU [15:48:04]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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C3 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4E 9F 00 00 35 04 06 00 11 [15:48:04]Write to MH i2c: E2 02 01 4A 31 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C3 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4E 9F 00 00 35 04 06 00 11 00 00 41 [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 4A 31 00 90 00 EF [15:48:04]RAPDU: 90 00 [15:48:04]wFMCommunicate OK [15:48:04]wFMCommunicate request_size=10 [15:48:04]MH_SAM_APDU [15:48:04]CAPDU: 80 0D 02 02 05 37 E4 BE 8F 3A [15:48:04]Write to MH i2c: E2 0D 00 4B 31 80 0D 02 02 05 00 37 E4 BE 8F 3A 00 00 A2 [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 03 00 4B 31 00 90 00 F0 [15:48:04]RAPDU: 90 00 [15:48:04]wFMCommunicate OK [15:48:04]wFMCommunicate request_size=4 [15:48:04]MH_SAM_APDU [15:48:04]CAPDU: 80 0D 03 02 [15:48:04]Write to MH i2c: E2 08 00 4C 31 80 0D 03 02 00 00 00 00 F8 [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 0B 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 0B 00 4C 31 00 E1 E3 45 AA 92 2F DA F4 90 00 3B [15:48:04]RAPDU: E1 E3 45 AA 92 2F DA F4 90 00 [15:48:04]wFMCommunicate OK [15:48:04]SAM_PROTO_SignData done [15:48:04]FM_MakeSignedData done [15:48:04]CreateOFDProtocolMessage [15:48:04]wFMCommunicate request_size=4 [15:48:04]MH_SAM_APDU [15:48:04]CAPDU: 80 11 00 00 [15:48:04]Write to MH i2c: E2 08 00 4D 31 80 11 00 00 00 00 00 00 F8 [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:04]Read from MH i2c: E2 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 17 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: E2 17 00 4D 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 4D [15:48:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:48:04]wFMCommunicate OK [15:48:04]CreateOFDProtocolMessage done [15:48:04]OFDSenderStorePacket 40782 [15:48:04]StoreOFDPacket docnum=40782 [15:48:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A 84 07 01 25 24 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C3 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4E 9F 00 00 35 04 06 00 11 37 E4 BE 8F 3A E1 E3 45 AA 92 2F DA F4 [15:48:04]CheckFolder [15:48:04]dirname=/storage/ofd_packets [15:48:04]CheckFolder done [15:48:04]ProducePacketName [15:48:04]name=ofd_packets/00040782 [15:48:04]NVStorageSaveData ofd_packets/00040782 [15:48:04]File name is /storage/ofd_packets/00040782 [15:48:04]Write 301 bytes [15:48:04]NVStorageSaveData done [15:48:04]OFDSenderStorePacket done [15:48:04]KKMCreateOFDPacket done [15:48:04]NVStorageSaveData kkm_last_timestamp [15:48:04]File name is /storage/kkm_last_timestamp [15:48:04]Write 4 bytes [15:48:04]NVStorageSaveData done [15:48:04]ExternCall_PrintAddStr [15:48:04]wPrintStart [15:48:04]Write to MH i2c: 01 00 00 4E 31 7F [15:48:04]Write i2c OK [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: 01 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: 01 07 00 [15:48:04]MH_I2C_Read... [15:48:04]Read from MH i2c: 01 07 00 4E 31 00 00 00 00 00 FF 0F 94 [15:48:04]RasterBufferAndPrint [15:48:04]line Счет N : (1)808897 [15:48:04]line ИÐÐ: 02508201610067 [15:48:04]line Контрольно-КаÑÑовый Чек [15:48:04]line ПРОДÐЖР[15:48:04]line ТРК (МРК, ГÐК) : 43 [15:48:04]line Товар: 2710124130 [15:48:04]line Ðи-92-К-5 [15:48:04]line 10.470 * 66.90 [15:48:04]line = 700.44 [15:48:04]line ÐДС 12% ÐСП 1% [15:48:04]line > о реализуемом товаре [15:48:04]line ОКРУГЛЕÐИЕ: -0.44 [15:48:04]line ИТОГО: 700.00 [15:48:04]line ВнеÑено: 700.00 [15:48:04]line СДÐЧÐ: 0.00 [15:48:04]line ÐСП 1% : 6.20 [15:48:04]line ÐДС 12% : 74.38 [15:48:04]line Ðаличными: 700.00 [15:48:04]line Безнал.: 0.00 [15:48:04]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:48:04]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:48:04]line СÐО: Общий режим [15:48:04]line Чек 50 21.10.2024 15:48 [15:48:04]line Смена: 448 ФФД: 1.0 [15:48:04]line ЗÐМ: 0300000239 [15:48:04]line РÐМ: 0000000000098148 [15:48:04]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:48:04]line ФМ: 0000000000965374 [15:48:04]line ФД: 40782 [15:48:04]line ФПД: 18931758567226 [15:48:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154819&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40782&fm=18931758567226&tin=02508201610067®Number=0000000000098148&sum=70000 [15:48:05]OFD Sender: Processing packet 40782 [packets to send 4, broken 3] [15:48:05]ProducePacketName [15:48:05]name=ofd_packets/00040782 [15:48:05]OFD Sender: To server: ‡•öpG, [15:48:05]CommunicateWithHost lk.salyk.kg:30040 [15:48:05]ConnectInit lk.salyk.kg [15:48:05]written 0, free lines is 4095 [15:48:05]Connected sock=10 [15:48:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A 84 07 01 25 24 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 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 C3 77 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4E 9F 00 00 35 04 06 00 11 37 E4 BE 8F 3A E1 E3 45 AA 92 2F DA F4 [15:48:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 92 80 47 00 9E 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 39 36 35 33 37 34 10 04 04 00 4E 9F 00 00 F4 03 04 00 A3 1D 16 67 B6 04 01 00 00 B3 E9 84 24 0C 6C A9 FE [15:48:05]CommunicateWithHost err = 0 [15:48:05]CheckOFDResponse [15:48:05]1017 (14) - 77093643461234 [15:48:05]1041 (16) - 0000000000965374 [15:48:05]1040 (4) - 40782 [15:48:05]1012 (4) - 21.10.2024 09:23 [15:48:05]1206 (1) - 0 [15:48:05]OFD Sender: Remove packet 40782 [15:48:05]ProducePacketName [15:48:05]name=ofd_packets/00040782 [15:48:05]NVStorageDeleteData [15:48:05]Write to MH i2c: 01 00 00 79 31 AA [15:48:05]Write i2c OK [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: 01 [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: 01 07 00 [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: 01 07 00 79 31 00 00 00 00 00 F8 0C B5 [15:48:05]RasterBufferAndPrint [15:48:05]line [15:48:05]line [15:48:05]line [15:48:05]line [15:48:05]line [15:48:05]written 0, free lines is 3327 [15:48:05]MH_Cut [15:48:05]Write to MH i2c: D1 01 00 80 31 01 83 [15:48:05]Write i2c OK [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: D1 [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: D1 01 00 [15:48:05]MH_I2C_Read... [15:48:05]Read from MH i2c: D1 01 00 80 31 00 82 [15:48:05]Write to MH i2c: 01 00 00 81 31 B2 [15:48:05]Write i2c OK [15:48:05]MH_I2C_Read... [15:48:05]OFD Sender: No OFD packet to send [15:48:06]*** Cut start [15:48:06]*** Partial cut [15:48:06]*** CUTSNS_PIN = 1 [15:48:06]*** CUTSNS_PIN = 0 [15:48:06]*** Brake cut motor [15:48:06]Read from MH i2c: 01 [15:48:06]MH_I2C_Read... [15:48:06]*** Stop cut motor [15:48:06]*** Cut end [15:48:06]Read from MH i2c: 01 07 00 [15:48:06]MH_I2C_Read... [15:48:06]Read from MH i2c: 01 07 00 81 31 00 00 00 00 00 FF 0F C7 [15:48:06]process_action close_receipt done [15:48:06]requested_data is exist [15:48:06]produce_requested_data [15:48:06]requested_item fm.sn is exist - process it [15:48:06]wFMCommunicate request_size=4 [15:48:06]MH_SAM_APDU [15:48:06]CAPDU: 80 11 00 00 [15:48:06]Write to MH i2c: E2 08 00 82 31 80 11 00 00 00 00 00 00 2D [15:48:06]Write i2c OK [15:48:06]MH_I2C_Read... [15:48:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:06]Read from MH i2c: E2 [15:48:06]MH_I2C_Read... [15:48:06]Read from MH i2c: E2 17 00 [15:48:06]MH_I2C_Read... [15:48:06]Read from MH i2c: E2 17 00 82 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 82 [15:48:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:48:06]wFMCommunicate OK [15:48:06]requested_item fd.num is exist - process it [15:48:06]SAM_PROTO_GetFieldsCounters [15:48:06]wFMCommunicate request_size=4 [15:48:06]MH_SAM_APDU [15:48:06]CAPDU: 80 13 00 00 [15:48:06]Write to MH i2c: E2 08 00 83 31 80 13 00 00 00 00 00 00 30 [15:48:06]Write i2c OK [15:48:06]MH_I2C_Read... [15:48:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:07]Read from MH i2c: E2 [15:48:07]MH_I2C_Read... [15:48:07]Read from MH i2c: E2 62 00 [15:48:07]MH_I2C_Read... [15:48:07]Read from MH i2c: E2 62 00 83 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4E 9F 00 00 0E 04 04 00 C0 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 9C [15:48:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4E 9F 00 00 0E 04 04 00 C0 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:48:07]wFMCommunicate OK [15:48:07]SAM_PROTO_GetFieldsCounters done [15:48:07]requested_item shift.num is exist - process it [15:48:07]requested_item shift.opened is exist - process it [15:48:07]req_shift_opened [15:48:07]FM_GetShiftState [15:48:07]SAM_PROTO_GetShiftState [15:48:07]wFMCommunicate request_size=4 [15:48:07]MH_SAM_APDU [15:48:07]CAPDU: 80 13 01 00 [15:48:07]Write to MH i2c: E2 08 00 84 31 80 13 01 00 00 00 00 00 32 [15:48:07]Write i2c OK [15:48:07]MH_I2C_Read... [15:48:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:07]Read from MH i2c: E2 [15:48:07]MH_I2C_Read... [15:48:07]Read from MH i2c: E2 0E 00 [15:48:07]MH_I2C_Read... [15:48:07]Read from MH i2c: E2 0E 00 84 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 00 [15:48:07]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:48:07]wFMCommunicate OK [15:48:07]SAM_PROTO_GetShiftState done [15:48:07]FM_GetShiftState done [15:48:07]req_shift_opened done [15:48:07]requested_item shift.open_date is exist - process it [15:48:07]req_shift_open_date [15:48:07]req_shift_open_date done [15:48:07]produce_requested_data done [15:48:07]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40782,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:48:07]process_action_free close_receipt [15:48:07]json_value_free [15:48:07]json_value_free done [15:48:07]process_json_proto returns [15:48:07]Send response to host [15:48:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40782,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:48:07]free response buf [15:48:07]execute_script done [15:48:07]execute_script returns [15:48:07]free content buf [15:48:07]Sock 7.Close socket [15:48:07]Sock 7.Thread stoped [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:32]accept exits with 9 [15:49:32]New connection [15:49:32]New thread 3067030884 created [15:49:32]Thread 3066887524 joined [15:49:32]Waiting for new connection... [15:49:32] Sock 9.Parse request [15:49:32]Sock 9.Check first char [15:49:32]Sock 9.First char is OK [15:49:32]request: POST /json_proto HTTP/1.0 [15:49:32]Method: POST [15:49:32]URL: /json_proto [15:49:32]Method is POST - this is cgi request [15:49:32]url: /json_proto [15:49:32]query_string will be loaded in cgi processing [15:49:32]execute_cgi json_proto POST (null) [15:49:32]execute_cgi path=json_proto method=POST [15:49:32]POST find Content-Length [15:49:32]Host: 172.17.53.4:8080 [15:49:32]Content-Length: 679 [15:49:32]Content-Type: application/json [15:49:32] [15:49:32]POST finish read [15:49:32]Found Content-Length = 679 [15:49:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808898", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 15.750, "sum" : 1200.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:49:32]execute_script... [15: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 : (1)808898", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 15.750, "sum" : 1200.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:49:32]POST & json_proto [15:49:32]process_json_proto [15:49:32]json parsed OK: [15:49:32]protocol is kg_v1.0 [15:49:32]action value=close_receipt [15:49:32]process_action close_receipt [15:49:32]cmd_close_receipt [15:49:32]MH_GetDate [15:49:32]Write to MH i2c: F0 00 00 85 31 A5 [15:49:32]Write i2c OK [15:49:32]MH_I2C_Read... [15:49:32]Read from MH i2c: F0 [15:49:32]MH_I2C_Read... [15:49:32]Read from MH i2c: F0 09 00 [15:49:32]MH_I2C_Read... [15:49:32]Read from MH i2c: F0 09 00 85 31 00 1D 78 16 67 05 11 DA 64 14 [15:49:32]GetLastDocTimeStamp 1729525699 [15:49:32]current date 1729525789 [15:49:32]FM_GetShiftState [15:49:32]SAM_PROTO_GetShiftState [15:49:32]wFMCommunicate request_size=4 [15:49:32]MH_SAM_APDU [15:49:32]CAPDU: 80 13 01 00 [15:49:32]Write to MH i2c: E2 08 00 86 31 80 13 01 00 00 00 00 00 34 [15:49:32]Write i2c OK [15:49:32]MH_I2C_Read... [15:49:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:49:33]Read from MH i2c: E2 [15:49:33]MH_I2C_Read... [15:49:33]Read from MH i2c: E2 0E 00 [15:49:33]MH_I2C_Read... [15:49:33]Read from MH i2c: E2 0E 00 86 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 02 [15:49:33]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:49:33]wFMCommunicate OK [15:49:33]SAM_PROTO_GetShiftState done [15:49:33]FM_GetShiftState done [15:49:33]opened in 1729470630 [15:49:33]opened+sec_in_day 1729557030 [15:49:33]quantity*price = 120015 [15:49:33]sum+1 = 120016 [15:49:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.15 ИТОГО: 1200.00 ВнеÑено: 1200.00 СДÐЧÐ: 0.00 ÐСП 1% : 10.62 ÐДС 12% : 127.45 Ðаличными: 1200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 51 21.10.2024 15:49 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40783 ФПД: 164674797446138 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154949&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40783&fm=164674797446138&tin=02508201610067®Number=0000000000098148&sum=120000 [15:49:34]StoreToDocumentArchive [15:49:34]shift 448 fd 40783 [15:49:34]save to /storage/0448/doc_00040783 [15:49:34]save last doc name /storage/0448/doc_00040783 to /storage/kkm_last_doc_name [15:49:34]save OK [15:49:34]Clear old archive folders... [15:49:34]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:49:34]tlvbuf is 01058480 [15:49:34]SAM_PROTO_ClearQueue [15:49:34]wFMCommunicate request_size=4 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 09 00 00 [15:49:34]Write to MH i2c: E2 08 00 93 31 80 09 00 00 00 00 00 00 36 [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 93 31 00 90 00 38 [15:49:34]RAPDU: 90 00 [15:49:34]wFMCommunicate OK [15:49:34]SAM_PROTO_ClearQueue done [15:49:34]KKMCreateOFDPacket [15:49:34]OFDProtocolAddRootSTLVToBuf [15:49:34]FM_MakeSignedData [15:49:34]FM_MakeSignedData [15:49:34]SAM_PROTO_SignData [15:49:34]wFMCommunicate request_size=4 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 0D 01 02 [15:49:34]Write to MH i2c: E2 08 00 94 31 80 0D 01 02 00 00 00 00 3E [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 94 31 00 90 00 39 [15:49:34]RAPDU: 90 00 [15:49:34]wFMCommunicate OK [15:49:34]wFMCommunicate request_size=255 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 1D 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4F 9F 00 00 35 04 06 00 95 C5 56 CE [15:49:34]Write to MH i2c: E2 02 01 95 31 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 1D 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4F 9F 00 00 35 04 06 00 95 C5 56 CE 00 00 A7 [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 95 31 00 90 00 3A [15:49:34]RAPDU: 90 00 [15:49:34]wFMCommunicate OK [15:49:34]wFMCommunicate request_size=7 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 0D 02 02 02 23 FA [15:49:34]Write to MH i2c: E2 0A 00 96 31 80 0D 02 02 02 00 23 FA 00 00 62 [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 03 00 96 31 00 90 00 3B [15:49:34]RAPDU: 90 00 [15:49:34]wFMCommunicate OK [15:49:34]wFMCommunicate request_size=4 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 0D 03 02 [15:49:34]Write to MH i2c: E2 08 00 97 31 80 0D 03 02 00 00 00 00 43 [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 0B 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 0B 00 97 31 00 2A 5E 63 21 D9 A2 50 1D 90 00 38 [15:49:34]RAPDU: 2A 5E 63 21 D9 A2 50 1D 90 00 [15:49:34]wFMCommunicate OK [15:49:34]SAM_PROTO_SignData done [15:49:34]FM_MakeSignedData done [15:49:34]CreateOFDProtocolMessage [15:49:34]wFMCommunicate request_size=4 [15:49:34]MH_SAM_APDU [15:49:34]CAPDU: 80 11 00 00 [15:49:34]Write to MH i2c: E2 08 00 98 31 80 11 00 00 00 00 00 00 43 [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:49:34]Read from MH i2c: E2 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 17 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: E2 17 00 98 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 98 [15:49:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:49:34]wFMCommunicate OK [15:49:34]CreateOFDProtocolMessage done [15:49:34]OFDSenderStorePacket 40783 [15:49:34]StoreOFDPacket docnum=40783 [15:49:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 34 A4 04 01 CD 57 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 1D 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4F 9F 00 00 35 04 06 00 95 C5 56 CE 23 FA 2A 5E 63 21 D9 A2 50 1D [15:49:34]CheckFolder [15:49:34]dirname=/storage/ofd_packets [15:49:34]CheckFolder done [15:49:34]ProducePacketName [15:49:34]name=ofd_packets/00040783 [15:49:34]NVStorageSaveData ofd_packets/00040783 [15:49:34]File name is /storage/ofd_packets/00040783 [15:49:34]Write 298 bytes [15:49:34]NVStorageSaveData done [15:49:34]OFDSenderStorePacket done [15:49:34]KKMCreateOFDPacket done [15:49:34]NVStorageSaveData kkm_last_timestamp [15:49:34]File name is /storage/kkm_last_timestamp [15:49:34]Write 4 bytes [15:49:34]NVStorageSaveData done [15:49:34]ExternCall_PrintAddStr [15:49:34]wPrintStart [15:49:34]Write to MH i2c: 01 00 00 99 31 CA [15:49:34]Write i2c OK [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: 01 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: 01 07 00 [15:49:34]MH_I2C_Read... [15:49:34]Read from MH i2c: 01 07 00 99 31 00 00 00 00 00 FF 0F DF [15:49:34]RasterBufferAndPrint [15:49:34]line Счет N : (1)808898 [15:49:34]line ИÐÐ: 02508201610067 [15:49:34]line Контрольно-КаÑÑовый Чек [15:49:34]line ПРОДÐЖР[15:49:34]line ТРК (МРК, ГÐК) : 31 [15:49:34]line Товар: 2710194210 [15:49:34]line ДТ-К-2 [15:49:34]line 15.750 * 76.20 [15:49:34]line = 1200.15 [15:49:34]line ÐДС 12% ÐСП 1% [15:49:34]line > о реализуемом товаре [15:49:34]line ОКРУГЛЕÐИЕ: -0.15 [15:49:34]line ИТОГО: 1200.00 [15:49:34]line ВнеÑено: 1200.00 [15:49:34]line СДÐЧÐ: 0.00 [15:49:34]line ÐСП 1% : 10.62 [15:49:34]line ÐДС 12% : 127.45 [15:49:34]line Ðаличными: 1200.00 [15:49:34]line Безнал.: 0.00 [15:49:34]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:49:34]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:49:34]line СÐО: Общий режим [15:49:34]line Чек 51 21.10.2024 15:49 [15:49:34]line Смена: 448 ФФД: 1.0 [15:49:34]line ЗÐМ: 0300000239 [15:49:34]line РÐМ: 0000000000098148 [15:49:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:49:34]line ФМ: 0000000000965374 [15:49:34]line ФД: 40783 [15:49:34]line ФПД: 164674797446138 [15:49:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T154949&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40783&fm=164674797446138&tin=02508201610067®Number=0000000000098148&sum=120000 [15:49:35]written 0, free lines is 4095 [15:49:35]OFD Sender: Processing packet 40783 [packets to send 4, broken 3] [15:49:35]ProducePacketName [15:49:35]name=ofd_packets/00040783 [15:49:35]OFD Sender: To server: ‡•öpG, [15:49:35]CommunicateWithHost lk.salyk.kg:30040 [15:49:35]ConnectInit lk.salyk.kg [15:49:35]Connected sock=10 [15:49:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 34 A4 04 01 CD 57 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 1D 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4F 9F 00 00 35 04 06 00 95 C5 56 CE 23 FA 2A 5E 63 21 D9 A2 50 1D [15:49:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 0D DA 47 00 11 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 4F 9F 00 00 F4 03 04 00 FD 1D 16 67 B6 04 01 00 00 70 F9 FA D3 FD 4D 96 50 [15:49:35]CommunicateWithHost err = 0 [15:49:35]CheckOFDResponse [15:49:35]1017 (14) - 77093643461234 [15:49:35]1041 (16) - 0000000000965374 [15:49:35]1040 (4) - 40783 [15:49:35]1012 (4) - 21.10.2024 09:25 [15:49:35]1206 (1) - 0 [15:49:35]OFD Sender: Remove packet 40783 [15:49:35]ProducePacketName [15:49:35]name=ofd_packets/00040783 [15:49:35]NVStorageDeleteData [15:49:35]Write to MH i2c: 01 00 00 C4 31 F5 [15:49:35]Write i2c OK [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: 01 [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: 01 07 00 [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: 01 07 00 C4 31 00 00 00 00 00 F8 0C 00 [15:49:35]RasterBufferAndPrint [15:49:35]line [15:49:35]line [15:49:35]line [15:49:35]line [15:49:35]line [15:49:35]written 0, free lines is 3326 [15:49:35]MH_Cut [15:49:35]Write to MH i2c: D1 01 00 CB 31 01 CE [15:49:35]Write i2c OK [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: D1 [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: D1 01 00 [15:49:35]MH_I2C_Read... [15:49:35]Read from MH i2c: D1 01 00 CB 31 00 CD [15:49:35]Write to MH i2c: 01 00 00 CC 31 FD [15:49:35]Write i2c OK [15:49:35]MH_I2C_Read... [15:49:35]OFD Sender: No OFD packet to send [15:49:36]*** Cut start [15:49:36]*** Partial cut [15:49:36]*** CUTSNS_PIN = 1 [15:49:36]*** CUTSNS_PIN = 0 [15:49:36]*** Brake cut motor [15:49:36]Read from MH i2c: 01 [15:49:36]*** Stop cut motor [15:49:36]*** Cut end [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: 01 07 00 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: 01 07 00 CC 31 00 00 00 00 00 FF 0F 12 [15:49:36]process_action close_receipt done [15:49:36]requested_data is exist [15:49:36]produce_requested_data [15:49:36]requested_item fm.sn is exist - process it [15:49:36]wFMCommunicate request_size=4 [15:49:36]MH_SAM_APDU [15:49:36]CAPDU: 80 11 00 00 [15:49:36]Write to MH i2c: E2 08 00 CD 31 80 11 00 00 00 00 00 00 78 [15:49:36]Write i2c OK [15:49:36]MH_I2C_Read... [15:49:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:49:36]Read from MH i2c: E2 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 17 00 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 17 00 CD 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 CD [15:49:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:49:36]wFMCommunicate OK [15:49:36]requested_item fd.num is exist - process it [15:49:36]SAM_PROTO_GetFieldsCounters [15:49:36]wFMCommunicate request_size=4 [15:49:36]MH_SAM_APDU [15:49:36]CAPDU: 80 13 00 00 [15:49:36]Write to MH i2c: E2 08 00 CE 31 80 13 00 00 00 00 00 00 7B [15:49:36]Write i2c OK [15:49:36]MH_I2C_Read... [15:49:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:49:36]Read from MH i2c: E2 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 62 00 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 62 00 CE 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4F 9F 00 00 0E 04 04 00 C0 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 EB [15:49:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 4F 9F 00 00 0E 04 04 00 C0 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:49:36]wFMCommunicate OK [15:49:36]SAM_PROTO_GetFieldsCounters done [15:49:36]requested_item shift.num is exist - process it [15:49:36]requested_item shift.opened is exist - process it [15:49:36]req_shift_opened [15:49:36]FM_GetShiftState [15:49:36]SAM_PROTO_GetShiftState [15:49:36]wFMCommunicate request_size=4 [15:49:36]MH_SAM_APDU [15:49:36]CAPDU: 80 13 01 00 [15:49:36]Write to MH i2c: E2 08 00 CF 31 80 13 01 00 00 00 00 00 7D [15:49:36]Write i2c OK [15:49:36]MH_I2C_Read... [15:49:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:49:36]Read from MH i2c: E2 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 0E 00 [15:49:36]MH_I2C_Read... [15:49:36]Read from MH i2c: E2 0E 00 CF 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 4B [15:49:36]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:49:36]wFMCommunicate OK [15:49:36]SAM_PROTO_GetShiftState done [15:49:36]FM_GetShiftState done [15:49:36]req_shift_opened done [15:49:36]requested_item shift.open_date is exist - process it [15:49:36]req_shift_open_date [15:49:36]req_shift_open_date done [15:49:36]produce_requested_data done [15:49:36]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40783,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:49:36]process_action_free close_receipt [15:49:36]json_value_free [15:49:36]json_value_free done [15:49:36]process_json_proto returns [15:49:36]Send response to host [15:49:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40783,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:49:36]free response buf [15:49:36]execute_script done [15:49:36]execute_script returns [15:49:36]free content buf [15:49:36]Sock 9.Close socket [15:49:36]Sock 9.Thread stoped [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:34]accept exits with 7 [15:50:34]New connection [15:50:34]New thread 3066887524 created [15:50:34]Thread 3067030884 joined [15:50:34]Waiting for new connection... [15:50:34] Sock 7.Parse request [15:50:34]Sock 7.Check first char [15:50:34]Sock 7.First char is OK [15:50:34]request: POST /json_proto HTTP/1.0 [15:50:34]Method: POST [15:50:34]URL: /json_proto [15:50:34]Method is POST - this is cgi request [15:50:34]url: /json_proto [15:50:34]query_string will be loaded in cgi processing [15:50:34]execute_cgi json_proto POST (null) [15:50:34]execute_cgi path=json_proto method=POST [15:50:34]POST find Content-Length [15:50:34]Host: 172.17.53.4:8080 [15:50:34]Content-Length: 677 [15:50:34]Content-Type: application/json [15:50:34] [15:50:34]POST finish read [15:50:34]Found Content-Length = 677 [15:50:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808899", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.230, "sum" : 550.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 550.00, "total" : 550.00, "payments": [ { "type": 0, "sum" : 550.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:50:34]execute_script... [15:50:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808899", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.230, "sum" : 550.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 550.00, "total" : 550.00, "payments": [ { "type": 0, "sum" : 550.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:50:34]POST & json_proto [15:50:34]process_json_proto [15:50:34]json parsed OK: [15:50:34]protocol is kg_v1.0 [15:50:34]action value=close_receipt [15:50:34]process_action close_receipt [15:50:34]cmd_close_receipt [15:50:34]MH_GetDate [15:50:34]Write to MH i2c: F0 00 00 D0 31 F0 [15:50:34]Write i2c OK [15:50:34]MH_I2C_Read... [15:50:34]Read from MH i2c: F0 [15:50:34]MH_I2C_Read... [15:50:34]Read from MH i2c: F0 09 00 [15:50:34]MH_I2C_Read... [15:50:34]Read from MH i2c: F0 09 00 D0 31 00 5B 78 16 67 05 11 DA 64 9D [15:50:34]GetLastDocTimeStamp 1729525789 [15:50:34]current date 1729525851 [15:50:34]FM_GetShiftState [15:50:34]SAM_PROTO_GetShiftState [15:50:34]wFMCommunicate request_size=4 [15:50:34]MH_SAM_APDU [15:50:34]CAPDU: 80 13 01 00 [15:50:34]Write to MH i2c: E2 08 00 D1 31 80 13 01 00 00 00 00 00 7F [15:50:34]Write i2c OK [15:50:34]MH_I2C_Read... [15:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:50:34]Read from MH i2c: E2 [15:50:34]MH_I2C_Read... [15:50:34]Read from MH i2c: E2 0E 00 [15:50:34]MH_I2C_Read... [15:50:34]Read from MH i2c: E2 0E 00 D1 31 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 4D [15:50:34]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:50:34]wFMCommunicate OK [15:50:34]SAM_PROTO_GetShiftState done [15:50:34]FM_GetShiftState done [15:50:34]opened in 1729470630 [15:50:34]opened+sec_in_day 1729557030 [15:50:34]quantity*price = 55058 [15:50:34]sum+1 = 55060 [15:50:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.59 ИТОГО: 550.00 ВнеÑено: 550.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.87 ÐДС 12% : 58.47 Ðаличными: 550.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 52 21.10.2024 15:50 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40784 ФПД: 264591327102731 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155051&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40784&fm=264591327102731&tin=02508201610067®Number=0000000000098148&sum=55000 [15:50:36]StoreToDocumentArchive [15:50:36]shift 448 fd 40784 [15:50:36]save to /storage/0448/doc_00040784 [15:50:36]save last doc name /storage/0448/doc_00040784 to /storage/kkm_last_doc_name [15:50:36]save OK [15:50:36]Clear old archive folders... [15:50:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:50:36]tlvbuf is B6DBBAC0 [15:50:36]SAM_PROTO_ClearQueue [15:50:36]wFMCommunicate request_size=4 [15:50:36]MH_SAM_APDU [15:50:36]CAPDU: 80 09 00 00 [15:50:36]Write to MH i2c: E2 08 00 DE 31 80 09 00 00 00 00 00 00 81 [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 DE 31 00 90 00 83 [15:50:36]RAPDU: 90 00 [15:50:36]wFMCommunicate OK [15:50:36]SAM_PROTO_ClearQueue done [15:50:36]KKMCreateOFDPacket [15:50:36]OFDProtocolAddRootSTLVToBuf [15:50:36]FM_MakeSignedData [15:50:36]FM_MakeSignedData [15:50:36]SAM_PROTO_SignData [15:50:36]wFMCommunicate request_size=4 [15:50:36]MH_SAM_APDU [15:50:36]CAPDU: 80 0D 01 02 [15:50:36]Write to MH i2c: E2 08 00 DF 31 80 0D 01 02 00 00 00 00 89 [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 DF 31 00 90 00 84 [15:50:36]RAPDU: 90 00 [15:50:36]wFMCommunicate OK [15:50:36]wFMCommunicate request_size=255 [15:50:36]MH_SAM_APDU [15:50:36]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 26 20 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 D7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 16 00 00 00 00 07 04 06 00 D8 D6 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 5B 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 50 9F 00 00 35 04 06 00 F0 [15:50:36]Write to MH i2c: E2 02 01 E0 31 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 26 20 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 D7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 16 00 00 00 00 07 04 06 00 D8 D6 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 5B 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 50 9F 00 00 35 04 06 00 F0 00 00 5B [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 E0 31 00 90 00 85 [15:50:36]RAPDU: 90 00 [15:50:36]wFMCommunicate OK [15:50:36]wFMCommunicate request_size=10 [15:50:36]MH_SAM_APDU [15:50:36]CAPDU: 80 0D 02 02 05 A4 F8 10 07 0B [15:50:36]Write to MH i2c: E2 0D 00 E1 31 80 0D 02 02 05 00 A4 F8 10 07 0B 00 00 54 [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 03 00 E1 31 00 90 00 86 [15:50:36]RAPDU: 90 00 [15:50:36]wFMCommunicate OK [15:50:36]wFMCommunicate request_size=4 [15:50:36]MH_SAM_APDU [15:50:36]CAPDU: 80 0D 03 02 [15:50:36]Write to MH i2c: E2 08 00 E2 31 80 0D 03 02 00 00 00 00 8E [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 0B 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 0B 00 E2 31 00 3D D1 79 9B E4 DF 19 C0 90 00 4D [15:50:36]RAPDU: 3D D1 79 9B E4 DF 19 C0 90 00 [15:50:36]wFMCommunicate OK [15:50:36]SAM_PROTO_SignData done [15:50:36]FM_MakeSignedData done [15:50:36]CreateOFDProtocolMessage [15:50:36]wFMCommunicate request_size=4 [15:50:36]MH_SAM_APDU [15:50:36]CAPDU: 80 11 00 00 [15:50:36]Write to MH i2c: E2 08 00 E3 31 80 11 00 00 00 00 00 00 8E [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:50:36]Read from MH i2c: E2 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 17 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: E2 17 00 E3 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E3 [15:50:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:50:36]wFMCommunicate OK [15:50:36]CreateOFDProtocolMessage done [15:50:36]OFDSenderStorePacket 40784 [15:50:36]StoreOFDPacket docnum=40784 [15:50:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 56 27 07 01 96 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 20 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 D7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 16 00 00 00 00 07 04 06 00 D8 D6 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 5B 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 50 9F 00 00 35 04 06 00 F0 A4 F8 10 07 0B 3D D1 79 9B E4 DF 19 C0 [15:50:36]CheckFolder [15:50:36]dirname=/storage/ofd_packets [15:50:36]CheckFolder done [15:50:36]ProducePacketName [15:50:36]name=ofd_packets/00040784 [15:50:36]NVStorageSaveData ofd_packets/00040784 [15:50:36]File name is /storage/ofd_packets/00040784 [15:50:36]Write 301 bytes [15:50:36]NVStorageSaveData done [15:50:36]OFDSenderStorePacket done [15:50:36]KKMCreateOFDPacket done [15:50:36]NVStorageSaveData kkm_last_timestamp [15:50:36]File name is /storage/kkm_last_timestamp [15:50:36]Write 4 bytes [15:50:36]NVStorageSaveData done [15:50:36]ExternCall_PrintAddStr [15:50:36]wPrintStart [15:50:36]Write to MH i2c: 01 00 00 E4 31 15 [15:50:36]Write i2c OK [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: 01 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: 01 07 00 [15:50:36]MH_I2C_Read... [15:50:36]Read from MH i2c: 01 07 00 E4 31 00 00 00 00 00 FF 0F 2A [15:50:36]RasterBufferAndPrint [15:50:36]line Счет N : (1)808899 [15:50:36]line ИÐÐ: 02508201610067 [15:50:36]line Контрольно-КаÑÑовый Чек [15:50:36]line ПРОДÐЖР[15:50:36]line ТРК (МРК, ГÐК) : 53 [15:50:36]line Товар: 2710124130 [15:50:36]line Ðи-92-К-5 [15:50:36]line 8.230 * 66.90 [15:50:36]line = 550.59 [15:50:36]line ÐДС 12% ÐСП 1% [15:50:36]line > о реализуемом товаре [15:50:36]line ОКРУГЛЕÐИЕ: -0.59 [15:50:36]line ИТОГО: 550.00 [15:50:36]line ВнеÑено: 550.00 [15:50:36]line СДÐЧÐ: 0.00 [15:50:36]line ÐСП 1% : 4.87 [15:50:36]line ÐДС 12% : 58.47 [15:50:36]line Ðаличными: 550.00 [15:50:36]line Безнал.: 0.00 [15:50:36]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:50:36]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:50:36]line СÐО: Общий режим [15:50:36]line Чек 52 21.10.2024 15:50 [15:50:36]line Смена: 448 ФФД: 1.0 [15:50:36]line ЗÐМ: 0300000239 [15:50:36]line РÐМ: 0000000000098148 [15:50:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:50:36]line ФМ: 0000000000965374 [15:50:36]line ФД: 40784 [15:50:36]line ФПД: 264591327102731 [15:50:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155051&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40784&fm=264591327102731&tin=02508201610067®Number=0000000000098148&sum=55000 [15:50:36]written 0, free lines is 4095 [15:50:36]OFD Sender: Processing packet 40784 [packets to send 4, broken 3] [15:50:36]ProducePacketName [15:50:36]name=ofd_packets/00040784 [15:50:36]OFD Sender: To server: ‡•öpG, [15:50:36]CommunicateWithHost lk.salyk.kg:30040 [15:50:36]ConnectInit lk.salyk.kg [15:50:37]Connected sock=10 [15:50:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 56 27 07 01 96 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 20 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 D7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 16 00 00 00 00 07 04 06 00 D8 D6 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 5B 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 50 9F 00 00 35 04 06 00 F0 A4 F8 10 07 0B 3D D1 79 9B E4 DF 19 C0 [15:50:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 8D 9C 47 00 25 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 50 9F 00 00 F4 03 04 00 3B 1E 16 67 B6 04 01 00 00 52 D6 FE D2 C8 2C 57 FB [15:50:37]CommunicateWithHost err = 0 [15:50:37]CheckOFDResponse [15:50:37]1017 (14) - 77093643461234 [15:50:37]1041 (16) - 0000000000965374 [15:50:37]1040 (4) - 40784 [15:50:37]1012 (4) - 21.10.2024 09:26 [15:50:37]1206 (1) - 0 [15:50:37]OFD Sender: Remove packet 40784 [15:50:37]ProducePacketName [15:50:37]name=ofd_packets/00040784 [15:50:37]NVStorageDeleteData [15:50:37]Write to MH i2c: 01 00 00 0F 32 41 [15:50:37]Write i2c OK [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: 01 [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: 01 07 00 [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: 01 07 00 0F 32 00 00 00 00 00 F5 0C 49 [15:50:37]RasterBufferAndPrint [15:50:37]line [15:50:37]line [15:50:37]line [15:50:37]line [15:50:37]line [15:50:37]written 0, free lines is 3323 [15:50:37]MH_Cut [15:50:37]Write to MH i2c: D1 01 00 16 32 01 1A [15:50:37]Write i2c OK [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: D1 [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: D1 01 00 [15:50:37]MH_I2C_Read... [15:50:37]Read from MH i2c: D1 01 00 16 32 00 19 [15:50:37]Write to MH i2c: 01 00 00 17 32 49 [15:50:37]Write i2c OK [15:50:37]MH_I2C_Read... [15:50:37]OFD Sender: No OFD packet to send [15:50:38]*** Cut start [15:50:38]*** Partial cut [15:50:38]*** CUTSNS_PIN = 1 [15:50:38]*** CUTSNS_PIN = 0 [15:50:38]*** Brake cut motor [15:50:38]Read from MH i2c: 01 [15:50:38]MH_I2C_Read... [15:50:38]*** Stop cut motor [15:50:38]*** Cut end [15:50:38]Read from MH i2c: 01 07 00 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: 01 07 00 17 32 00 00 00 00 00 FF 0F 5E [15:50:38]process_action close_receipt done [15:50:38]requested_data is exist [15:50:38]produce_requested_data [15:50:38]requested_item fm.sn is exist - process it [15:50:38]wFMCommunicate request_size=4 [15:50:38]MH_SAM_APDU [15:50:38]CAPDU: 80 11 00 00 [15:50:38]Write to MH i2c: E2 08 00 18 32 80 11 00 00 00 00 00 00 C4 [15:50:38]Write i2c OK [15:50:38]MH_I2C_Read... [15:50:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:50:38]Read from MH i2c: E2 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 17 00 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 17 00 18 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 19 [15:50:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:50:38]wFMCommunicate OK [15:50:38]requested_item fd.num is exist - process it [15:50:38]SAM_PROTO_GetFieldsCounters [15:50:38]wFMCommunicate request_size=4 [15:50:38]MH_SAM_APDU [15:50:38]CAPDU: 80 13 00 00 [15:50:38]Write to MH i2c: E2 08 00 19 32 80 13 00 00 00 00 00 00 C7 [15:50:38]Write i2c OK [15:50:38]MH_I2C_Read... [15:50:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:50:38]Read from MH i2c: E2 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 62 00 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 62 00 19 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 50 9F 00 00 0E 04 04 00 C0 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 3B [15:50:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 50 9F 00 00 0E 04 04 00 C0 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:50:38]wFMCommunicate OK [15:50:38]SAM_PROTO_GetFieldsCounters done [15:50:38]requested_item shift.num is exist - process it [15:50:38]requested_item shift.opened is exist - process it [15:50:38]req_shift_opened [15:50:38]FM_GetShiftState [15:50:38]SAM_PROTO_GetShiftState [15:50:38]wFMCommunicate request_size=4 [15:50:38]MH_SAM_APDU [15:50:38]CAPDU: 80 13 01 00 [15:50:38]Write to MH i2c: E2 08 00 1A 32 80 13 01 00 00 00 00 00 C9 [15:50:38]Write i2c OK [15:50:38]MH_I2C_Read... [15:50:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:50:38]Read from MH i2c: E2 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 0E 00 [15:50:38]MH_I2C_Read... [15:50:38]Read from MH i2c: E2 0E 00 1A 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 97 [15:50:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:50:38]wFMCommunicate OK [15:50:38]SAM_PROTO_GetShiftState done [15:50:38]FM_GetShiftState done [15:50:38]req_shift_opened done [15:50:38]requested_item shift.open_date is exist - process it [15:50:38]req_shift_open_date [15:50:38]req_shift_open_date done [15:50:38]produce_requested_data done [15:50:38]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40784,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:50:38]process_action_free close_receipt [15:50:38]json_value_free [15:50:38]json_value_free done [15:50:38]process_json_proto returns [15:50:38]Send response to host [15:50:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40784,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:50:38]free response buf [15:50:38]execute_script done [15:50:38]execute_script returns [15:50:38]free content buf [15:50:38]Sock 7.Close socket [15:50:38]Sock 7.Thread stoped [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:25]accept exits with 9 [15:51:25]New connection [15:51:25]New thread 3067030884 created [15:51:25]Thread 3066887524 joined [15:51:25]Waiting for new connection... [15:51:25] Sock 9.Parse request [15:51:25]Sock 9.Check first char [15:51:25]Sock 9.First char is OK [15:51:25]request: POST /json_proto HTTP/1.0 [15:51:25]Method: POST [15:51:25]URL: /json_proto [15:51:25]Method is POST - this is cgi request [15:51:25]url: /json_proto [15:51:25]query_string will be loaded in cgi processing [15:51:25]execute_cgi json_proto POST (null) [15:51:25]execute_cgi path=json_proto method=POST [15:51:25]POST find Content-Length [15:51:25]Host: 172.17.53.4:8080 [15:51:25]Content-Length: 812 [15:51:25]Content-Type: application/json [15:51:25] [15:51:25]POST finish read [15:51:25]Found Content-Length = 812 [15:51:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808900", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:25]execute_script... [15:51:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808900", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:51:25]POST & json_proto [15:51:25]process_json_proto [15:51:25]json parsed OK: [15:51:25]protocol is kg_v1.0 [15:51:25]action value=close_receipt [15:51:25]process_action close_receipt [15:51:25]cmd_close_receipt [15:51:25]MH_GetDate [15:51:25]Write to MH i2c: F0 00 00 1B 32 3C [15:51:25]Write i2c OK [15:51:25]MH_I2C_Read... [15:51:25]Read from MH i2c: F0 [15:51:25]MH_I2C_Read... [15:51:25]Read from MH i2c: F0 09 00 [15:51:25]MH_I2C_Read... [15:51:25]Read from MH i2c: F0 09 00 1B 32 00 8D 78 16 67 05 11 DA 64 1B [15:51:25]GetLastDocTimeStamp 1729525851 [15:51:25]current date 1729525901 [15:51:25]FM_GetShiftState [15:51:25]SAM_PROTO_GetShiftState [15:51:25]wFMCommunicate request_size=4 [15:51:25]MH_SAM_APDU [15:51:25]CAPDU: 80 13 01 00 [15:51:25]Write to MH i2c: E2 08 00 1C 32 80 13 01 00 00 00 00 00 CB [15:51:25]Write i2c OK [15:51:25]MH_I2C_Read... [15:51:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:25]Read from MH i2c: E2 [15:51:25]MH_I2C_Read... [15:51:25]Read from MH i2c: E2 0E 00 [15:51:25]MH_I2C_Read... [15:51:25]Read from MH i2c: E2 0E 00 1C 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 99 [15:51:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:51:25]wFMCommunicate OK [15:51:25]SAM_PROTO_GetShiftState done [15:51:25]FM_GetShiftState done [15:51:25]opened in 1729470630 [15:51:25]opened+sec_in_day 1729557030 [15:51:25]quantity*price = 100000 [15:51:25]sum+1 = 100002 [15:51:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.01 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 0.00 Безнал.: 1000.01 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 53 21.10.2024 15:51 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40785 ФПД: 223431542488075 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155142&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40785&fm=223431542488075&tin=02508201610067®Number=0000000000098148&sum=100001 [15:51:26]StoreToDocumentArchive [15:51:26]shift 448 fd 40785 [15:51:26]save to /storage/0448/doc_00040785 [15:51:26]save last doc name /storage/0448/doc_00040785 to /storage/kkm_last_doc_name [15:51:26]save OK [15:51:26]Clear old archive folders... [15:51:26]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:51:26]tlvbuf is 0106CDA0 [15:51:26]SAM_PROTO_ClearQueue [15:51:26]wFMCommunicate request_size=4 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 09 00 00 [15:51:26]Write to MH i2c: E2 08 00 29 32 80 09 00 00 00 00 00 00 CD [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:51:26]Read from MH i2c: E2 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 29 32 00 90 00 CF [15:51:26]RAPDU: 90 00 [15:51:26]wFMCommunicate OK [15:51:26]SAM_PROTO_ClearQueue done [15:51:26]KKMCreateOFDPacket [15:51:26]OFDProtocolAddRootSTLVToBuf [15:51:26]FM_MakeSignedData [15:51:26]FM_MakeSignedData [15:51:26]SAM_PROTO_SignData [15:51:26]wFMCommunicate request_size=4 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 0D 01 02 [15:51:26]Write to MH i2c: E2 08 00 2A 32 80 0D 01 02 00 00 00 00 D5 [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:51:26]Read from MH i2c: E2 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 2A 32 00 90 00 D0 [15:51:26]RAPDU: 90 00 [15:51:26]wFMCommunicate OK [15:51:26]wFMCommunicate request_size=255 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 8E 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 51 9F 00 00 35 04 06 00 [15:51:26]Write to MH i2c: E2 02 01 2B 32 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 8E 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 51 9F 00 00 35 04 06 00 00 00 28 [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:26]Read from MH i2c: E2 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 2B 32 00 90 00 D1 [15:51:26]RAPDU: 90 00 [15:51:26]wFMCommunicate OK [15:51:26]wFMCommunicate request_size=11 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 0D 02 02 06 CB 35 B5 B8 BC 0B [15:51:26]Write to MH i2c: E2 0E 00 2C 32 80 0D 02 02 06 00 CB 35 B5 B8 BC 0B 00 00 18 [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:26]Read from MH i2c: E2 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 03 00 2C 32 00 90 00 D2 [15:51:26]RAPDU: 90 00 [15:51:26]wFMCommunicate OK [15:51:26]wFMCommunicate request_size=4 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 0D 03 02 [15:51:26]Write to MH i2c: E2 08 00 2D 32 80 0D 03 02 00 00 00 00 DA [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:51:26]Read from MH i2c: E2 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 0B 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: E2 0B 00 2D 32 00 65 48 57 E5 03 4C 0E 7E 90 00 9F [15:51:26]RAPDU: 65 48 57 E5 03 4C 0E 7E 90 00 [15:51:26]wFMCommunicate OK [15:51:26]SAM_PROTO_SignData done [15:51:26]FM_MakeSignedData done [15:51:26]CreateOFDProtocolMessage [15:51:26]wFMCommunicate request_size=4 [15:51:26]MH_SAM_APDU [15:51:26]CAPDU: 80 11 00 00 [15:51:26]Write to MH i2c: E2 08 00 2E 32 80 11 00 00 00 00 00 00 DA [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:27]Read from MH i2c: E2 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: E2 17 00 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: E2 17 00 2E 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2F [15:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:51:27]wFMCommunicate OK [15:51:27]CreateOFDProtocolMessage done [15:51:27]OFDSenderStorePacket 40785 [15:51:27]StoreOFDPacket docnum=40785 [15:51:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 C6 3E 08 01 2E 8F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 8E 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 51 9F 00 00 35 04 06 00 CB 35 B5 B8 BC 0B 65 48 57 E5 03 4C 0E 7E [15:51:27]CheckFolder [15:51:27]dirname=/storage/ofd_packets [15:51:27]CheckFolder done [15:51:27]ProducePacketName [15:51:27]name=ofd_packets/00040785 [15:51:27]NVStorageSaveData ofd_packets/00040785 [15:51:27]File name is /storage/ofd_packets/00040785 [15:51:27]Write 302 bytes [15:51:27]NVStorageSaveData done [15:51:27]OFDSenderStorePacket done [15:51:27]KKMCreateOFDPacket done [15:51:27]NVStorageSaveData kkm_last_timestamp [15:51:27]File name is /storage/kkm_last_timestamp [15:51:27]Write 4 bytes [15:51:27]NVStorageSaveData done [15:51:27]ExternCall_PrintAddStr [15:51:27]wPrintStart [15:51:27]Write to MH i2c: 01 00 00 2F 32 61 [15:51:27]Write i2c OK [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 07 00 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 07 00 2F 32 00 00 00 00 00 FF 0F 76 [15:51:27]RasterBufferAndPrint [15:51:27]line Счет N : (1)808900 [15:51:27]line ИÐÐ: 02508201610067 [15:51:27]line Контрольно-КаÑÑовый Чек [15:51:27]line ПРОДÐЖР[15:51:27]line ТРК (МРК, ГÐК) : 42 [15:51:27]line Товар: 2710124130 [15:51:27]line Super 92-К-5 [15:51:27]line 14.620 * 68.40 [15:51:27]line = 1000.01 [15:51:27]line ÐДС 12% ÐСП 1% [15:51:27]line > о реализуемом товаре [15:51:27]line ИТОГО: 1000.01 [15:51:27]line ÐСП 1% : 8.85 [15:51:27]line ÐДС 12% : 106.20 [15:51:27]line Ðаличными: 0.00 [15:51:27]line Безнал.: 1000.01 [15:51:27]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:51:27]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:51:27]line СÐО: Общий режим [15:51:27]line Чек 53 21.10.2024 15:51 [15:51:27]line Смена: 448 ФФД: 1.0 [15:51:27]line ЗÐМ: 0300000239 [15:51:27]line РÐМ: 0000000000098148 [15:51:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:51:27]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [15:51:27]line ФМ: 0000000000965374 [15:51:27]line ФД: 40785 [15:51:27]line ФПД: 223431542488075 [15:51:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155142&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40785&fm=223431542488075&tin=02508201610067®Number=0000000000098148&sum=100001 [15:51:27]OFD Sender: Processing packet 40785 [packets to send 4, broken 3] [15:51:27]ProducePacketName [15:51:27]name=ofd_packets/00040785 [15:51:27]OFD Sender: To server: ‡•öpG, [15:51:27]CommunicateWithHost lk.salyk.kg:30040 [15:51:27]ConnectInit lk.salyk.kg [15:51:27]written 0, free lines is 4095 [15:51:27]Connected sock=10 [15:51:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 C6 3E 08 01 2E 8F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 8E 78 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 51 9F 00 00 35 04 06 00 CB 35 B5 B8 BC 0B 65 48 57 E5 03 4C 0E 7E [15:51:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 BD 1B 47 00 C3 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 39 36 35 33 37 34 10 04 04 00 51 9F 00 00 F4 03 04 00 6D 1E 16 67 B6 04 01 00 00 3C 8F 7E B7 FA E9 EE 8D [15:51:27]CommunicateWithHost err = 0 [15:51:27]CheckOFDResponse [15:51:27]1017 (14) - 77093643461234 [15:51:27]1041 (16) - 0000000000965374 [15:51:27]1040 (4) - 40785 [15:51:27]1012 (4) - 21.10.2024 09:27 [15:51:27]1206 (1) - 0 [15:51:27]OFD Sender: Remove packet 40785 [15:51:27]ProducePacketName [15:51:27]name=ofd_packets/00040785 [15:51:27]NVStorageDeleteData [15:51:27]Write to MH i2c: 01 00 00 59 32 8B [15:51:27]Write i2c OK [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 07 00 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: 01 07 00 59 32 00 00 00 00 00 15 0D B4 [15:51:27]RasterBufferAndPrint [15:51:27]line [15:51:27]line [15:51:27]line [15:51:27]line [15:51:27]line [15:51:27]written 0, free lines is 3355 [15:51:27]MH_Cut [15:51:27]Write to MH i2c: D1 01 00 60 32 01 64 [15:51:27]Write i2c OK [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: D1 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: D1 01 00 [15:51:27]MH_I2C_Read... [15:51:27]Read from MH i2c: D1 01 00 60 32 00 63 [15:51:27]Write to MH i2c: 01 00 00 61 32 93 [15:51:27]Write i2c OK [15:51:27]MH_I2C_Read... [15:51:28]OFD Sender: No OFD packet to send [15:51:28]*** Cut start [15:51:28]*** Partial cut [15:51:28]*** CUTSNS_PIN = 1 [15:51:28]*** CUTSNS_PIN = 0 [15:51:28]*** Brake cut motor [15:51:29]Read from MH i2c: 01 [15:51:29]MH_I2C_Read... [15:51:29]*** Stop cut motor [15:51:29]*** Cut end [15:51:29]Read from MH i2c: 01 07 00 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: 01 07 00 61 32 00 00 00 00 00 FF 0F A8 [15:51:29]process_action close_receipt done [15:51:29]requested_data is exist [15:51:29]produce_requested_data [15:51:29]requested_item fm.sn is exist - process it [15:51:29]wFMCommunicate request_size=4 [15:51:29]MH_SAM_APDU [15:51:29]CAPDU: 80 11 00 00 [15:51:29]Write to MH i2c: E2 08 00 62 32 80 11 00 00 00 00 00 00 0E [15:51:29]Write i2c OK [15:51:29]MH_I2C_Read... [15:51:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:29]Read from MH i2c: E2 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 17 00 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 17 00 62 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 63 [15:51:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:51:29]wFMCommunicate OK [15:51:29]requested_item fd.num is exist - process it [15:51:29]SAM_PROTO_GetFieldsCounters [15:51:29]wFMCommunicate request_size=4 [15:51:29]MH_SAM_APDU [15:51:29]CAPDU: 80 13 00 00 [15:51:29]Write to MH i2c: E2 08 00 63 32 80 13 00 00 00 00 00 00 11 [15:51:29]Write i2c OK [15:51:29]MH_I2C_Read... [15:51:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:51:29]Read from MH i2c: E2 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 62 00 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 62 00 63 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 51 9F 00 00 0E 04 04 00 C0 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 89 [15:51:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 51 9F 00 00 0E 04 04 00 C0 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 [15:51:29]wFMCommunicate OK [15:51:29]SAM_PROTO_GetFieldsCounters done [15:51:29]requested_item shift.num is exist - process it [15:51:29]requested_item shift.opened is exist - process it [15:51:29]req_shift_opened [15:51:29]FM_GetShiftState [15:51:29]SAM_PROTO_GetShiftState [15:51:29]wFMCommunicate request_size=4 [15:51:29]MH_SAM_APDU [15:51:29]CAPDU: 80 13 01 00 [15:51:29]Write to MH i2c: E2 08 00 64 32 80 13 01 00 00 00 00 00 13 [15:51:29]Write i2c OK [15:51:29]MH_I2C_Read... [15:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:29]Read from MH i2c: E2 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 0E 00 [15:51:29]MH_I2C_Read... [15:51:29]Read from MH i2c: E2 0E 00 64 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E1 [15:51:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:51:29]wFMCommunicate OK [15:51:29]SAM_PROTO_GetShiftState done [15:51:29]FM_GetShiftState done [15:51:29]req_shift_opened done [15:51:29]requested_item shift.open_date is exist - process it [15:51:29]req_shift_open_date [15:51:29]req_shift_open_date done [15:51:29]produce_requested_data done [15:51:29]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40785,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:51:29]process_action_free close_receipt [15:51:29]json_value_free [15:51:29]json_value_free done [15:51:29]process_json_proto returns [15:51:29]Send response to host [15:51:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40785,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:51:29]free response buf [15:51:29]execute_script done [15:51:29]execute_script returns [15:51:29]free content buf [15:51:29]Sock 9.Close socket [15:51:29]Sock 9.Thread stoped [15:51:33]OFD Sender: No OFD packet to send [15:51:38]OFD Sender: No OFD packet to send [15:51:43]OFD Sender: No OFD packet to send [15:51:48]OFD Sender: No OFD packet to send [15:51:53]OFD Sender: No OFD packet to send [15:51:58]OFD Sender: No OFD packet to send [15:52:03]OFD Sender: No OFD packet to send [15:52:08]OFD Sender: No OFD packet to send [15:52:13]OFD Sender: No OFD packet to send [15:52:18]OFD Sender: No OFD packet to send [15:52:23]OFD Sender: No OFD packet to send [15:52:28]OFD Sender: No OFD packet to send [15:52:33]OFD Sender: No OFD packet to send [15:52:38]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:18]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:02]accept exits with 7 [15:55:02]New connection [15:55:02]New thread 3066887524 created [15:55:02]Thread 3067030884 joined [15:55:02]Waiting for new connection... [15:55:02] Sock 7.Parse request [15:55:02]Sock 7.Check first char [15:55:02]Sock 7.First char is OK [15:55:02]request: POST /json_proto HTTP/1.0 [15:55:02]Method: POST [15:55:02]URL: /json_proto [15:55:02]Method is POST - this is cgi request [15:55:02]url: /json_proto [15:55:02]query_string will be loaded in cgi processing [15:55:02]execute_cgi json_proto POST (null) [15:55:02]execute_cgi path=json_proto method=POST [15:55:02]POST find Content-Length [15:55:02]Host: 172.17.53.4:8080 [15:55:02]Content-Length: 843 [15:55:02]Content-Type: application/json [15:55:02] [15:55:02]POST finish read [15:55:02]Found Content-Length = 843 [15:55:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808901", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:02]execute_script... [15:55: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)808901", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:02]POST & json_proto [15:55:02]process_json_proto [15:55:02]json parsed OK: [15:55:02]protocol is kg_v1.0 [15:55:02]action value=close_receipt [15:55:02]process_action close_receipt [15:55:02]cmd_close_receipt [15:55:02]MH_GetDate [15:55:02]Write to MH i2c: F0 00 00 65 32 86 [15:55:02]Write i2c OK [15:55:02]MH_I2C_Read... [15:55:02]Read from MH i2c: F0 [15:55:02]MH_I2C_Read... [15:55:02]Read from MH i2c: F0 09 00 [15:55:02]MH_I2C_Read... [15:55:02]Read from MH i2c: F0 09 00 65 32 00 67 79 16 67 05 11 DA 64 40 [15:55:02]GetLastDocTimeStamp 1729525902 [15:55:02]current date 1729526119 [15:55:02]FM_GetShiftState [15:55:02]SAM_PROTO_GetShiftState [15:55:02]wFMCommunicate request_size=4 [15:55:02]MH_SAM_APDU [15:55:02]CAPDU: 80 13 01 00 [15:55:02]Write to MH i2c: E2 08 00 66 32 80 13 01 00 00 00 00 00 15 [15:55:02]Write i2c OK [15:55:02]MH_I2C_Read... [15:55:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:02]Read from MH i2c: E2 [15:55:02]MH_I2C_Read... [15:55:02]Read from MH i2c: E2 0E 00 [15:55:02]MH_I2C_Read... [15:55:02]Read from MH i2c: E2 0E 00 66 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E3 [15:55:02]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:55:02]wFMCommunicate OK [15:55:02]SAM_PROTO_GetShiftState done [15:55:02]FM_GetShiftState done [15:55:02]opened in 1729470630 [15:55:02]opened+sec_in_day 1729557030 [15:55:02]quantity*price = 100015 [15:55:02]sum+1 = 100017 [15:55:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.16 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 54 21.10.2024 15:55 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40786 ФПД: 152201409483154 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155519&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40786&fm=152201409483154&tin=02508201610067®Number=0000000000098148&sum=100016 [15:55:04]StoreToDocumentArchive [15:55:04]shift 448 fd 40786 [15:55:04]save to /storage/0448/doc_00040786 [15:55:04]save last doc name /storage/0448/doc_00040786 to /storage/kkm_last_doc_name [15:55:04]save OK [15:55:04]Clear old archive folders... [15:55:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:55:04]tlvbuf is B6EED540 [15:55:04]SAM_PROTO_ClearQueue [15:55:04]wFMCommunicate request_size=4 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 09 00 00 [15:55:04]Write to MH i2c: E2 08 00 73 32 80 09 00 00 00 00 00 00 17 [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 73 32 00 90 00 19 [15:55:04]RAPDU: 90 00 [15:55:04]wFMCommunicate OK [15:55:04]SAM_PROTO_ClearQueue done [15:55:04]KKMCreateOFDPacket [15:55:04]OFDProtocolAddRootSTLVToBuf [15:55:04]FM_MakeSignedData [15:55:04]FM_MakeSignedData [15:55:04]SAM_PROTO_SignData [15:55:04]wFMCommunicate request_size=4 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 0D 01 02 [15:55:04]Write to MH i2c: E2 08 00 74 32 80 0D 01 02 00 00 00 00 1F [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 74 32 00 90 00 1A [15:55:04]RAPDU: 90 00 [15:55:04]wFMCommunicate OK [15:55:04]wFMCommunicate request_size=255 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 67 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 52 9F 00 00 35 04 06 00 8A [15:55:04]Write to MH i2c: E2 02 01 75 32 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 67 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 52 9F 00 00 35 04 06 00 8A 00 00 9E [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 75 32 00 90 00 1B [15:55:04]RAPDU: 90 00 [15:55:04]wFMCommunicate OK [15:55:04]wFMCommunicate request_size=10 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 0D 02 02 05 6D 26 F2 51 92 [15:55:04]Write to MH i2c: E2 0D 00 76 32 80 0D 02 02 05 00 6D 26 F2 51 92 00 00 94 [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 03 00 76 32 00 90 00 1C [15:55:04]RAPDU: 90 00 [15:55:04]wFMCommunicate OK [15:55:04]wFMCommunicate request_size=4 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 0D 03 02 [15:55:04]Write to MH i2c: E2 08 00 77 32 80 0D 03 02 00 00 00 00 24 [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 0B 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 0B 00 77 32 00 14 3E 13 A9 F5 E7 62 79 90 00 EA [15:55:04]RAPDU: 14 3E 13 A9 F5 E7 62 79 90 00 [15:55:04]wFMCommunicate OK [15:55:04]SAM_PROTO_SignData done [15:55:04]FM_MakeSignedData done [15:55:04]CreateOFDProtocolMessage [15:55:04]wFMCommunicate request_size=4 [15:55:04]MH_SAM_APDU [15:55:04]CAPDU: 80 11 00 00 [15:55:04]Write to MH i2c: E2 08 00 78 32 80 11 00 00 00 00 00 00 24 [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:04]Read from MH i2c: E2 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 17 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: E2 17 00 78 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 79 [15:55:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:55:04]wFMCommunicate OK [15:55:04]CreateOFDProtocolMessage done [15:55:04]OFDSenderStorePacket 40786 [15:55:04]StoreOFDPacket docnum=40786 [15:55:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4C 04 07 01 90 AC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 67 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 52 9F 00 00 35 04 06 00 8A 6D 26 F2 51 92 14 3E 13 A9 F5 E7 62 79 [15:55:04]CheckFolder [15:55:04]dirname=/storage/ofd_packets [15:55:04]CheckFolder done [15:55:04]ProducePacketName [15:55:04]name=ofd_packets/00040786 [15:55:04]NVStorageSaveData ofd_packets/00040786 [15:55:04]File name is /storage/ofd_packets/00040786 [15:55:04]Write 301 bytes [15:55:04]NVStorageSaveData done [15:55:04]OFDSenderStorePacket done [15:55:04]KKMCreateOFDPacket done [15:55:04]NVStorageSaveData kkm_last_timestamp [15:55:04]File name is /storage/kkm_last_timestamp [15:55:04]Write 4 bytes [15:55:04]NVStorageSaveData done [15:55:04]ExternCall_PrintAddStr [15:55:04]wPrintStart [15:55:04]Write to MH i2c: 01 00 00 79 32 AB [15:55:04]Write i2c OK [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: 01 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: 01 07 00 [15:55:04]MH_I2C_Read... [15:55:04]Read from MH i2c: 01 07 00 79 32 00 00 00 00 00 FF 0F C0 [15:55:04]RasterBufferAndPrint [15:55:04]line Счет N : (1)808901 [15:55:04]line ИÐÐ: 02508201610067 [15:55:04]line Контрольно-КаÑÑовый Чек [15:55:04]line ПРОДÐЖР[15:55:04]line ТРК (МРК, ГÐК) : 33 [15:55:04]line Товар: 2710124130 [15:55:04]line Ðи-92-К-5 [15:55:04]line 14.950 * 66.90 [15:55:04]line = 1000.16 [15:55:04]line ÐДС 12% ÐСП 1% [15:55:04]line > о реализуемом товаре [15:55:04]line ИТОГО: 1000.16 [15:55:04]line ÐСП 1% : 8.85 [15:55:04]line ÐДС 12% : 106.21 [15:55:04]line Ðаличными: 0.00 [15:55:04]line Безнал.: 1000.16 [15:55:04]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:55:04]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:55:04]line СÐО: Общий режим [15:55:04]line Чек 54 21.10.2024 15:55 [15:55:04]line Смена: 448 ФФД: 1.0 [15:55:04]line ЗÐМ: 0300000239 [15:55:04]line РÐМ: 0000000000098148 [15:55:04]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:55:04]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [15:55:04]line ФМ: 0000000000965374 [15:55:04]line ФД: 40786 [15:55:04]line ФПД: 152201409483154 [15:55:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155519&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40786&fm=152201409483154&tin=02508201610067®Number=0000000000098148&sum=100016 [15:55:04]written 0, free lines is 4095 [15:55:04]OFD Sender: Processing packet 40786 [packets to send 4, broken 3] [15:55:04]ProducePacketName [15:55:04]name=ofd_packets/00040786 [15:55:04]OFD Sender: To server: ‡•öpG, [15:55:04]CommunicateWithHost lk.salyk.kg:30040 [15:55:04]ConnectInit lk.salyk.kg [15:55:05]Connected sock=10 [15:55:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4C 04 07 01 90 AC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 67 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 52 9F 00 00 35 04 06 00 8A 6D 26 F2 51 92 14 3E 13 A9 F5 E7 62 79 [15:55:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 41 77 47 00 B4 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 52 9F 00 00 F4 03 04 00 47 1F 16 67 B6 04 01 00 00 75 89 94 A0 F6 4F 1E 92 [15:55:05]CommunicateWithHost err = 0 [15:55:05]CheckOFDResponse [15:55:05]1017 (14) - 77093643461234 [15:55:05]1041 (16) - 0000000000965374 [15:55:05]1040 (4) - 40786 [15:55:05]1012 (4) - 21.10.2024 09:30 [15:55:05]1206 (1) - 0 [15:55:05]OFD Sender: Remove packet 40786 [15:55:05]ProducePacketName [15:55:05]name=ofd_packets/00040786 [15:55:05]NVStorageDeleteData [15:55:05]Write to MH i2c: 01 00 00 A3 32 D5 [15:55:05]Write i2c OK [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: 01 [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: 01 07 00 [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: 01 07 00 A3 32 00 00 00 00 00 17 0D 00 [15:55:05]RasterBufferAndPrint [15:55:05]line [15:55:05]line [15:55:05]line [15:55:05]line [15:55:05]line [15:55:05]written 0, free lines is 3358 [15:55:05]MH_Cut [15:55:05]Write to MH i2c: D1 01 00 AA 32 01 AE [15:55:05]Write i2c OK [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: D1 [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: D1 01 00 [15:55:05]MH_I2C_Read... [15:55:05]Read from MH i2c: D1 01 00 AA 32 00 AD [15:55:05]Write to MH i2c: 01 00 00 AB 32 DD [15:55:05]Write i2c OK [15:55:05]MH_I2C_Read... [15:55:05]OFD Sender: No OFD packet to send [15:55:06]*** Cut start [15:55:06]*** Partial cut [15:55:06]*** CUTSNS_PIN = 1 [15:55:06]*** CUTSNS_PIN = 0 [15:55:06]*** Brake cut motor [15:55:06]Read from MH i2c: 01 [15:55:06]MH_I2C_Read... [15:55:06]*** Stop cut motor [15:55:06]*** Cut end [15:55:06]Read from MH i2c: 01 07 00 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: 01 07 00 AB 32 00 00 00 00 00 FF 0F F2 [15:55:06]process_action close_receipt done [15:55:06]requested_data is exist [15:55:06]produce_requested_data [15:55:06]requested_item fm.sn is exist - process it [15:55:06]wFMCommunicate request_size=4 [15:55:06]MH_SAM_APDU [15:55:06]CAPDU: 80 11 00 00 [15:55:06]Write to MH i2c: E2 08 00 AC 32 80 11 00 00 00 00 00 00 58 [15:55:06]Write i2c OK [15:55:06]MH_I2C_Read... [15:55:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:06]Read from MH i2c: E2 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 17 00 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 17 00 AC 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 AD [15:55:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:55:06]wFMCommunicate OK [15:55:06]requested_item fd.num is exist - process it [15:55:06]SAM_PROTO_GetFieldsCounters [15:55:06]wFMCommunicate request_size=4 [15:55:06]MH_SAM_APDU [15:55:06]CAPDU: 80 13 00 00 [15:55:06]Write to MH i2c: E2 08 00 AD 32 80 13 00 00 00 00 00 00 5B [15:55:06]Write i2c OK [15:55:06]MH_I2C_Read... [15:55:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:06]Read from MH i2c: E2 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 62 00 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 62 00 AD 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 52 9F 00 00 0E 04 04 00 C0 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 D7 [15:55:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 52 9F 00 00 0E 04 04 00 C0 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 [15:55:06]wFMCommunicate OK [15:55:06]SAM_PROTO_GetFieldsCounters done [15:55:06]requested_item shift.num is exist - process it [15:55:06]requested_item shift.opened is exist - process it [15:55:06]req_shift_opened [15:55:06]FM_GetShiftState [15:55:06]SAM_PROTO_GetShiftState [15:55:06]wFMCommunicate request_size=4 [15:55:06]MH_SAM_APDU [15:55:06]CAPDU: 80 13 01 00 [15:55:06]Write to MH i2c: E2 08 00 AE 32 80 13 01 00 00 00 00 00 5D [15:55:06]Write i2c OK [15:55:06]MH_I2C_Read... [15:55:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:06]Read from MH i2c: E2 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 0E 00 [15:55:06]MH_I2C_Read... [15:55:06]Read from MH i2c: E2 0E 00 AE 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 2B [15:55:06]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:55:06]wFMCommunicate OK [15:55:06]SAM_PROTO_GetShiftState done [15:55:06]FM_GetShiftState done [15:55:06]req_shift_opened done [15:55:06]requested_item shift.open_date is exist - process it [15:55:06]req_shift_open_date [15:55:06]req_shift_open_date done [15:55:06]produce_requested_data done [15:55:06]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40786,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:55:06]process_action_free close_receipt [15:55:06]json_value_free [15:55:06]json_value_free done [15:55:06]process_json_proto returns [15:55:06]Send response to host [15:55:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40786,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:55:06]free response buf [15:55:06]execute_script done [15:55:06]execute_script returns [15:55:06]free content buf [15:55:06]Sock 7.Close socket [15:55:06]Sock 7.Thread stoped [15:55:07]accept exits with 9 [15:55:07]New connection [15:55:07]New thread 3067030884 created [15:55:07]Thread 3066887524 joined [15:55:07]Waiting for new connection... [15:55:07] Sock 9.Parse request [15:55:07]Sock 9.Check first char [15:55:07]Sock 9.First char is OK [15:55:07]request: POST /json_proto HTTP/1.0 [15:55:07]Method: POST [15:55:07]URL: /json_proto [15:55:07]Method is POST - this is cgi request [15:55:07]url: /json_proto [15:55:07]query_string will be loaded in cgi processing [15:55:07]execute_cgi json_proto POST (null) [15:55:07]execute_cgi path=json_proto method=POST [15:55:07]POST find Content-Length [15:55:07]Host: 172.17.53.4:8080 [15:55:07]Content-Length: 677 [15:55:07]Content-Type: application/json [15:55:07] [15:55:07]POST finish read [15:55:07]Found Content-Length = 677 [15:55:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808902", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:07]execute_script... [15:55:07]execute_script path=json_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)808902", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:07]POST & json_proto [15:55:07]process_json_proto [15:55:07]json parsed OK: [15:55:07]protocol is kg_v1.0 [15:55:07]action value=close_receipt [15:55:07]process_action close_receipt [15:55:07]cmd_close_receipt [15:55:07]MH_GetDate [15:55:07]Write to MH i2c: F0 00 00 AF 32 D0 [15:55:07]Write i2c OK [15:55:07]MH_I2C_Read... [15:55:07]Read from MH i2c: F0 [15:55:07]MH_I2C_Read... [15:55:07]Read from MH i2c: F0 09 00 [15:55:07]MH_I2C_Read... [15:55:07]Read from MH i2c: F0 09 00 AF 32 00 6B 79 16 67 05 11 DA 64 8E [15:55:07]GetLastDocTimeStamp 1729526119 [15:55:07]current date 1729526123 [15:55:07]FM_GetShiftState [15:55:07]SAM_PROTO_GetShiftState [15:55:07]wFMCommunicate request_size=4 [15:55:07]MH_SAM_APDU [15:55:07]CAPDU: 80 13 01 00 [15:55:07]Write to MH i2c: E2 08 00 B0 32 80 13 01 00 00 00 00 00 5F [15:55:07]Write i2c OK [15:55:07]MH_I2C_Read... [15:55:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:07]Read from MH i2c: E2 [15:55:07]MH_I2C_Read... [15:55:07]Read from MH i2c: E2 0E 00 [15:55:07]MH_I2C_Read... [15:55:07]Read from MH i2c: E2 0E 00 B0 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 2D [15:55:07]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:55:07]wFMCommunicate OK [15:55:07]SAM_PROTO_GetShiftState done [15:55:07]FM_GetShiftState done [15:55:07]opened in 1729470630 [15:55:07]opened+sec_in_day 1729557030 [15:55:07]quantity*price = 60009 [15:55:07]sum+1 = 60010 [15:55:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.09 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.73 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 55 21.10.2024 15:55 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40787 ФПД: 235495221971148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155524&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40787&fm=235495221971148&tin=02508201610067®Number=0000000000098148&sum=60000 [15:55:08]StoreToDocumentArchive [15:55:08]shift 448 fd 40787 [15:55:08]save to /storage/0448/doc_00040787 [15:55:08]save last doc name /storage/0448/doc_00040787 to /storage/kkm_last_doc_name [15:55:08]save OK [15:55:08]Clear old archive folders... [15:55:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:55:08]tlvbuf is 011789D0 [15:55:08]SAM_PROTO_ClearQueue [15:55:08]wFMCommunicate request_size=4 [15:55:08]MH_SAM_APDU [15:55:08]CAPDU: 80 09 00 00 [15:55:08]Write to MH i2c: E2 08 00 BD 32 80 09 00 00 00 00 00 00 61 [15:55:08]Write i2c OK [15:55:08]MH_I2C_Read... [15:55:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:08]Read from MH i2c: E2 [15:55:08]MH_I2C_Read... [15:55:08]Read from MH i2c: E2 03 00 [15:55:08]MH_I2C_Read... [15:55:08]Read from MH i2c: E2 03 00 BD 32 00 90 00 63 [15:55:08]RAPDU: 90 00 [15:55:08]wFMCommunicate OK [15:55:08]SAM_PROTO_ClearQueue done [15:55:08]KKMCreateOFDPacket [15:55:08]OFDProtocolAddRootSTLVToBuf [15:55:08]FM_MakeSignedData [15:55:08]FM_MakeSignedData [15:55:08]SAM_PROTO_SignData [15:55:08]wFMCommunicate request_size=4 [15:55:08]MH_SAM_APDU [15:55:08]CAPDU: 80 0D 01 02 [15:55:08]Write to MH i2c: E2 08 00 BE 32 80 0D 01 02 00 00 00 00 69 [15:55:08]Write i2c OK [15:55:08]MH_I2C_Read... [15:55:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:08]Read from MH i2c: E2 [15:55:08]MH_I2C_Read... [15:55:08]Read from MH i2c: E2 03 00 [15:55:08]MH_I2C_Read... [15:55:08]Read from MH i2c: E2 03 00 BE 32 00 90 00 64 [15:55:08]RAPDU: 90 00 [15:55:08]wFMCommunicate OK [15:55:08]wFMCommunicate request_size=255 [15:55:08]MH_SAM_APDU [15:55:08]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 6C 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 53 9F 00 00 35 04 06 00 D6 [15:55:08]Write to MH i2c: E2 02 01 BF 32 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 6C 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 53 9F 00 00 35 04 06 00 D6 00 00 FE [15:55:08]Write i2c OK [15:55:08]MH_I2C_Read... [15:55:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:09]Read from MH i2c: E2 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 03 00 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 03 00 BF 32 00 90 00 65 [15:55:09]RAPDU: 90 00 [15:55:09]wFMCommunicate OK [15:55:09]wFMCommunicate request_size=10 [15:55:09]MH_SAM_APDU [15:55:09]CAPDU: 80 0D 02 02 05 2E 81 0D 48 CC [15:55:09]Write to MH i2c: E2 0D 00 C0 32 80 0D 02 02 05 00 2E 81 0D 48 CC 00 00 46 [15:55:09]Write i2c OK [15:55:09]MH_I2C_Read... [15:55:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:09]Read from MH i2c: E2 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 03 00 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 03 00 C0 32 00 90 00 66 [15:55:09]RAPDU: 90 00 [15:55:09]wFMCommunicate OK [15:55:09]wFMCommunicate request_size=4 [15:55:09]MH_SAM_APDU [15:55:09]CAPDU: 80 0D 03 02 [15:55:09]Write to MH i2c: E2 08 00 C1 32 80 0D 03 02 00 00 00 00 6E [15:55:09]Write i2c OK [15:55:09]MH_I2C_Read... [15:55:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:09]Read from MH i2c: E2 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 0B 00 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 0B 00 C1 32 00 06 2B 3A 7E 4D 1C E7 4F 90 00 F7 [15:55:09]RAPDU: 06 2B 3A 7E 4D 1C E7 4F 90 00 [15:55:09]wFMCommunicate OK [15:55:09]SAM_PROTO_SignData done [15:55:09]FM_MakeSignedData done [15:55:09]CreateOFDProtocolMessage [15:55:09]wFMCommunicate request_size=4 [15:55:09]MH_SAM_APDU [15:55:09]CAPDU: 80 11 00 00 [15:55:09]Write to MH i2c: E2 08 00 C2 32 80 11 00 00 00 00 00 00 6E [15:55:09]Write i2c OK [15:55:09]MH_I2C_Read... [15:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:09]Read from MH i2c: E2 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 17 00 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: E2 17 00 C2 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C3 [15:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:55:09]wFMCommunicate OK [15:55:09]CreateOFDProtocolMessage done [15:55:09]OFDSenderStorePacket 40787 [15:55:09]StoreOFDPacket docnum=40787 [15:55:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A F9 07 01 E0 E7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 6C 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 53 9F 00 00 35 04 06 00 D6 2E 81 0D 48 CC 06 2B 3A 7E 4D 1C E7 4F [15:55:09]CheckFolder [15:55:09]dirname=/storage/ofd_packets [15:55:09]CheckFolder done [15:55:09]ProducePacketName [15:55:09]name=ofd_packets/00040787 [15:55:09]NVStorageSaveData ofd_packets/00040787 [15:55:09]File name is /storage/ofd_packets/00040787 [15:55:09]Write 301 bytes [15:55:09]NVStorageSaveData done [15:55:09]OFDSenderStorePacket done [15:55:09]KKMCreateOFDPacket done [15:55:09]NVStorageSaveData kkm_last_timestamp [15:55:09]File name is /storage/kkm_last_timestamp [15:55:09]Write 4 bytes [15:55:09]NVStorageSaveData done [15:55:09]ExternCall_PrintAddStr [15:55:09]wPrintStart [15:55:09]Write to MH i2c: 01 00 00 C3 32 F5 [15:55:09]Write i2c OK [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: 01 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: 01 07 00 [15:55:09]MH_I2C_Read... [15:55:09]Read from MH i2c: 01 07 00 C3 32 00 00 00 00 00 FF 0F 0A [15:55:09]RasterBufferAndPrint [15:55:09]line Счет N : (1)808902 [15:55:09]line ИÐÐ: 02508201610067 [15:55:09]line Контрольно-КаÑÑовый Чек [15:55:09]line ПРОДÐЖР[15:55:09]line ТРК (МРК, ГÐК) : 53 [15:55:09]line Товар: 2710124130 [15:55:09]line Ðи-92-К-5 [15:55:09]line 8.970 * 66.90 [15:55:09]line = 600.09 [15:55:09]line ÐДС 12% ÐСП 1% [15:55:09]line > о реализуемом товаре [15:55:09]line ОКРУГЛЕÐИЕ: -0.09 [15:55:09]line ИТОГО: 600.00 [15:55:09]line ВнеÑено: 600.00 [15:55:09]line СДÐЧÐ: 0.00 [15:55:09]line ÐСП 1% : 5.31 [15:55:09]line ÐДС 12% : 63.73 [15:55:09]line Ðаличными: 600.00 [15:55:09]line Безнал.: 0.00 [15:55:09]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:55:09]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:55:09]line СÐО: Общий режим [15:55:09]line Чек 55 21.10.2024 15:55 [15:55:09]line Смена: 448 ФФД: 1.0 [15:55:09]line ЗÐМ: 0300000239 [15:55:09]line РÐМ: 0000000000098148 [15:55:09]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:55:09]line ФМ: 0000000000965374 [15:55:09]line ФД: 40787 [15:55:09]line ФПД: 235495221971148 [15:55:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155524&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40787&fm=235495221971148&tin=02508201610067®Number=0000000000098148&sum=60000 [15:55:09]written 0, free lines is 4095 [15:55:09]OFD Sender: Processing packet 40787 [packets to send 4, broken 3] [15:55:09]ProducePacketName [15:55:09]name=ofd_packets/00040787 [15:55:09]OFD Sender: To server: ‡•öpG, [15:55:09]CommunicateWithHost lk.salyk.kg:30040 [15:55:09]ConnectInit lk.salyk.kg [15:55:09]Connected sock=7 [15:55:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A F9 07 01 E0 E7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 6C 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 53 9F 00 00 35 04 06 00 D6 2E 81 0D 48 CC 06 2B 3A 7E 4D 1C E7 4F [15:55:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 70 54 47 00 50 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 39 36 35 33 37 34 10 04 04 00 53 9F 00 00 F4 03 04 00 4C 1F 16 67 B6 04 01 00 00 28 D8 7B 93 33 0C FE 8A [15:55:10]CommunicateWithHost err = 0 [15:55:10]CheckOFDResponse [15:55:10]1017 (14) - 77093643461234 [15:55:10]1041 (16) - 0000000000965374 [15:55:10]1040 (4) - 40787 [15:55:10]1012 (4) - 21.10.2024 09:30 [15:55:10]1206 (1) - 0 [15:55:10]OFD Sender: Remove packet 40787 [15:55:10]ProducePacketName [15:55:10]name=ofd_packets/00040787 [15:55:10]NVStorageDeleteData [15:55:10]Write to MH i2c: 01 00 00 EE 32 20 [15:55:10]Write i2c OK [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: 01 [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: 01 07 00 [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: 01 07 00 EE 32 00 00 00 00 00 0A 0D 3E [15:55:10]RasterBufferAndPrint [15:55:10]line [15:55:10]line [15:55:10]line [15:55:10]line [15:55:10]line [15:55:10]written 0, free lines is 3354 [15:55:10]MH_Cut [15:55:10]Write to MH i2c: D1 01 00 F5 32 01 F9 [15:55:10]Write i2c OK [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: D1 [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: D1 01 00 [15:55:10]MH_I2C_Read... [15:55:10]Read from MH i2c: D1 01 00 F5 32 00 F8 [15:55:10]Write to MH i2c: 01 00 00 F6 32 28 [15:55:10]Write i2c OK [15:55:10]MH_I2C_Read... [15:55:10]OFD Sender: No OFD packet to send [15:55:10]*** Cut start [15:55:10]*** Partial cut [15:55:10]*** CUTSNS_PIN = 1 [15:55:10]*** CUTSNS_PIN = 0 [15:55:11]*** Brake cut motor [15:55:11]Read from MH i2c: 01 [15:55:11]MH_I2C_Read... [15:55:11]*** Stop cut motor [15:55:11]*** Cut end [15:55:11]Read from MH i2c: 01 07 00 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: 01 07 00 F6 32 00 00 00 00 00 FF 0F 3D [15:55:11]process_action close_receipt done [15:55:11]requested_data is exist [15:55:11]produce_requested_data [15:55:11]requested_item fm.sn is exist - process it [15:55:11]wFMCommunicate request_size=4 [15:55:11]MH_SAM_APDU [15:55:11]CAPDU: 80 11 00 00 [15:55:11]Write to MH i2c: E2 08 00 F7 32 80 11 00 00 00 00 00 00 A3 [15:55:11]Write i2c OK [15:55:11]MH_I2C_Read... [15:55:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:11]Read from MH i2c: E2 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 17 00 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 17 00 F7 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F8 [15:55:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:55:11]wFMCommunicate OK [15:55:11]requested_item fd.num is exist - process it [15:55:11]SAM_PROTO_GetFieldsCounters [15:55:11]wFMCommunicate request_size=4 [15:55:11]MH_SAM_APDU [15:55:11]CAPDU: 80 13 00 00 [15:55:11]Write to MH i2c: E2 08 00 F8 32 80 13 00 00 00 00 00 00 A6 [15:55:11]Write i2c OK [15:55:11]MH_I2C_Read... [15:55:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:11]Read from MH i2c: E2 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 62 00 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 62 00 F8 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 53 9F 00 00 0E 04 04 00 C0 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 26 [15:55:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 53 9F 00 00 0E 04 04 00 C0 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 [15:55:11]wFMCommunicate OK [15:55:11]SAM_PROTO_GetFieldsCounters done [15:55:11]requested_item shift.num is exist - process it [15:55:11]requested_item shift.opened is exist - process it [15:55:11]req_shift_opened [15:55:11]FM_GetShiftState [15:55:11]SAM_PROTO_GetShiftState [15:55:11]wFMCommunicate request_size=4 [15:55:11]MH_SAM_APDU [15:55:11]CAPDU: 80 13 01 00 [15:55:11]Write to MH i2c: E2 08 00 F9 32 80 13 01 00 00 00 00 00 A8 [15:55:11]Write i2c OK [15:55:11]MH_I2C_Read... [15:55:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:11]Read from MH i2c: E2 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 0E 00 [15:55:11]MH_I2C_Read... [15:55:11]Read from MH i2c: E2 0E 00 F9 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 76 [15:55:11]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:55:11]wFMCommunicate OK [15:55:11]SAM_PROTO_GetShiftState done [15:55:11]FM_GetShiftState done [15:55:11]req_shift_opened done [15:55:11]requested_item shift.open_date is exist - process it [15:55:11]req_shift_open_date [15:55:11]req_shift_open_date done [15:55:11]produce_requested_data done [15:55:11]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40787,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:55:11]process_action_free close_receipt [15:55:11]json_value_free [15:55:11]json_value_free done [15:55:11]process_json_proto returns [15:55:11]Send response to host [15:55:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40787,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:55:11]free response buf [15:55:11]execute_script done [15:55:11]execute_script returns [15:55:11]free content buf [15:55:11]Sock 9.Close socket [15:55:11]Sock 9.Thread stoped [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:19]accept exits with 10 [15:56:19]New connection [15:56:19]New thread 3066887524 created [15:56:19]Thread 3067030884 joined [15:56:19]Waiting for new connection... [15:56:19] Sock 10.Parse request [15:56:19]Sock 10.Check first char [15:56:19]Sock 10.First char is OK [15:56:19]request: POST /json_proto HTTP/1.0 [15:56:19]Method: POST [15:56:19]URL: /json_proto [15:56:19]Method is POST - this is cgi request [15:56:19]url: /json_proto [15:56:19]query_string will be loaded in cgi processing [15:56:19]execute_cgi json_proto POST (null) [15:56:19]execute_cgi path=json_proto method=POST [15:56:19]POST find Content-Length [15:56:19]Host: 172.17.53.4:8080 [15:56:19]Content-Length: 843 [15:56:19]Content-Type: application/json [15:56:19] [15:56:19]POST finish read [15:56:19]Found Content-Length = 843 [15:56:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808903", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 15.850, "sum" : 1060.37, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1060.37 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:19]execute_script... [15:56: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)808903", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 15.850, "sum" : 1060.37, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1060.37 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:19]POST & json_proto [15:56:19]process_json_proto [15:56:19]json parsed OK: [15:56:19]protocol is kg_v1.0 [15:56:19]action value=close_receipt [15:56:19]process_action close_receipt [15:56:19]cmd_close_receipt [15:56:19]MH_GetDate [15:56:19]Write to MH i2c: F0 00 00 FA 32 1B [15:56:19]Write i2c OK [15:56:19]MH_I2C_Read... [15:56:19]Read from MH i2c: F0 [15:56:19]MH_I2C_Read... [15:56:19]Read from MH i2c: F0 09 00 [15:56:19]MH_I2C_Read... [15:56:19]Read from MH i2c: F0 09 00 FA 32 00 B4 79 16 67 05 11 DA 64 22 [15:56:19]GetLastDocTimeStamp 1729526124 [15:56:19]current date 1729526196 [15:56:19]FM_GetShiftState [15:56:19]SAM_PROTO_GetShiftState [15:56:19]wFMCommunicate request_size=4 [15:56:19]MH_SAM_APDU [15:56:19]CAPDU: 80 13 01 00 [15:56:19]Write to MH i2c: E2 08 00 FB 32 80 13 01 00 00 00 00 00 AA [15:56:19]Write i2c OK [15:56:19]MH_I2C_Read... [15:56:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:19]Read from MH i2c: E2 [15:56:19]MH_I2C_Read... [15:56:19]Read from MH i2c: E2 0E 00 [15:56:19]MH_I2C_Read... [15:56:19]Read from MH i2c: E2 0E 00 FB 32 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 78 [15:56:19]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:56:19]wFMCommunicate OK [15:56:19]SAM_PROTO_GetShiftState done [15:56:19]FM_GetShiftState done [15:56:19]opened in 1729470630 [15:56:19]opened+sec_in_day 1729557030 [15:56:19]quantity*price = 106036 [15:56:19]sum+1 = 106038 [15:56:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1060.37 ÐСП 1% : 9.38 ÐДС 12% : 112.61 Ðаличными: 0.00 Безнал.: 1060.37 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 56 21.10.2024 15:56 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40788 ФПД: 269341738494392 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155636&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40788&fm=269341738494392&tin=02508201610067®Number=0000000000098148&sum=106037 [15:56:20]StoreToDocumentArchive [15:56:20]shift 448 fd 40788 [15:56:20]save to /storage/0448/doc_00040788 [15:56:20]save last doc name /storage/0448/doc_00040788 to /storage/kkm_last_doc_name [15:56:20]save OK [15:56:20]Clear old archive folders... [15:56:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:56:20]tlvbuf is 010ADC40 [15:56:20]SAM_PROTO_ClearQueue [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 09 00 00 [15:56:20]Write to MH i2c: E2 08 00 08 33 80 09 00 00 00 00 00 00 AD [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 08 33 00 90 00 AF [15:56:20]RAPDU: 90 00 [15:56:20]wFMCommunicate OK [15:56:20]SAM_PROTO_ClearQueue done [15:56:20]KKMCreateOFDPacket [15:56:20]OFDProtocolAddRootSTLVToBuf [15:56:20]FM_MakeSignedData [15:56:20]FM_MakeSignedData [15:56:20]SAM_PROTO_SignData [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 0D 01 02 [15:56:20]Write to MH i2c: E2 08 00 09 33 80 0D 01 02 00 00 00 00 B5 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:20]OFD Sender: No OFD packet to send [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 09 33 00 90 00 B0 [15:56:20]RAPDU: 90 00 [15:56:20]wFMCommunicate OK [15:56:20]wFMCommunicate request_size=255 [15:56:20]MH_SAM_APDU [15:56: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 EA 3D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 35 9E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 35 9E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 2B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 35 9E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B4 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 54 9F 00 00 35 04 06 00 F4 [15:56:20]Write to MH i2c: E2 02 01 0A 33 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 EA 3D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 35 9E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 35 9E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 2B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 35 9E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B4 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 54 9F 00 00 35 04 06 00 F4 00 00 04 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 0A 33 00 90 00 B1 [15:56:20]RAPDU: 90 00 [15:56:20]wFMCommunicate OK [15:56:20]wFMCommunicate request_size=10 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 0D 02 02 05 F7 02 A5 69 B8 [15:56:20]Write to MH i2c: E2 0D 00 0B 33 80 0D 02 02 05 00 F7 02 A5 69 B8 00 00 81 [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:20]Read from MH i2c: E2 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 [15:56:20]MH_I2C_Read... [15:56:20]Read from MH i2c: E2 03 00 0B 33 00 90 00 B2 [15:56:20]RAPDU: 90 00 [15:56:20]wFMCommunicate OK [15:56:20]wFMCommunicate request_size=4 [15:56:20]MH_SAM_APDU [15:56:20]CAPDU: 80 0D 03 02 [15:56:20]Write to MH i2c: E2 08 00 0C 33 80 0D 03 02 00 00 00 00 BA [15:56:20]Write i2c OK [15:56:20]MH_I2C_Read... [15:56:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:21]Read from MH i2c: E2 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: E2 0B 00 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: E2 0B 00 0C 33 00 33 3D EB FA 9E B7 D2 C8 90 00 FF [15:56:21]RAPDU: 33 3D EB FA 9E B7 D2 C8 90 00 [15:56:21]wFMCommunicate OK [15:56:21]SAM_PROTO_SignData done [15:56:21]FM_MakeSignedData done [15:56:21]CreateOFDProtocolMessage [15:56:21]wFMCommunicate request_size=4 [15:56:21]MH_SAM_APDU [15:56:21]CAPDU: 80 11 00 00 [15:56:21]Write to MH i2c: E2 08 00 0D 33 80 11 00 00 00 00 00 00 BA [15:56:21]Write i2c OK [15:56:21]MH_I2C_Read... [15:56:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:21]Read from MH i2c: E2 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: E2 17 00 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: E2 17 00 0D 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0F [15:56:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:56:21]wFMCommunicate OK [15:56:21]CreateOFDProtocolMessage done [15:56:21]OFDSenderStorePacket 40788 [15:56:21]StoreOFDPacket docnum=40788 [15:56:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 57 26 07 01 2B EB 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 EA 3D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 35 9E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 35 9E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 2B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 35 9E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B4 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 54 9F 00 00 35 04 06 00 F4 F7 02 A5 69 B8 33 3D EB FA 9E B7 D2 C8 [15:56:21]CheckFolder [15:56:21]dirname=/storage/ofd_packets [15:56:21]CheckFolder done [15:56:21]ProducePacketName [15:56:21]name=ofd_packets/00040788 [15:56:21]NVStorageSaveData ofd_packets/00040788 [15:56:21]File name is /storage/ofd_packets/00040788 [15:56:21]Write 301 bytes [15:56:21]NVStorageSaveData done [15:56:21]OFDSenderStorePacket done [15:56:21]KKMCreateOFDPacket done [15:56:21]NVStorageSaveData kkm_last_timestamp [15:56:21]File name is /storage/kkm_last_timestamp [15:56:21]Write 4 bytes [15:56:21]NVStorageSaveData done [15:56:21]ExternCall_PrintAddStr [15:56:21]wPrintStart [15:56:21]Write to MH i2c: 01 00 00 0E 33 41 [15:56:21]Write i2c OK [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 07 00 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 07 00 0E 33 00 00 00 00 00 FF 0F 56 [15:56:21]RasterBufferAndPrint [15:56:21]line Счет N : (1)808903 [15:56:21]line ИÐÐ: 02508201610067 [15:56:21]line Контрольно-КаÑÑовый Чек [15:56:21]line ПРОДÐЖР[15:56:21]line ТРК (МРК, ГÐК) : 43 [15:56:21]line Товар: 2710124130 [15:56:21]line Ðи-92-К-5 [15:56:21]line 15.850 * 66.90 [15:56:21]line = 1060.37 [15:56:21]line ÐДС 12% ÐСП 1% [15:56:21]line > о реализуемом товаре [15:56:21]line ИТОГО: 1060.37 [15:56:21]line ÐСП 1% : 9.38 [15:56:21]line ÐДС 12% : 112.61 [15:56:21]line Ðаличными: 0.00 [15:56:21]line Безнал.: 1060.37 [15:56:21]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:56:21]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:56:21]line СÐО: Общий режим [15:56:21]line Чек 56 21.10.2024 15:56 [15:56:21]line Смена: 448 ФФД: 1.0 [15:56:21]line ЗÐМ: 0300000239 [15:56:21]line РÐМ: 0000000000098148 [15:56:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:56:21]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [15:56:21]line ФМ: 0000000000965374 [15:56:21]line ФД: 40788 [15:56:21]line ФПД: 269341738494392 [15:56:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155636&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40788&fm=269341738494392&tin=02508201610067®Number=0000000000098148&sum=106037 [15:56:21]OFD Sender: Processing packet 40788 [packets to send 4, broken 3] [15:56:21]ProducePacketName [15:56:21]name=ofd_packets/00040788 [15:56:21]OFD Sender: To server: ‡•öpG, [15:56:21]CommunicateWithHost lk.salyk.kg:30040 [15:56:21]ConnectInit lk.salyk.kg [15:56:21]written 0, free lines is 4095 [15:56:21]Connected sock=9 [15:56:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 57 26 07 01 2B EB 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 EA 3D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 35 9E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 35 9E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 2B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 35 9E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B4 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 54 9F 00 00 35 04 06 00 F4 F7 02 A5 69 B8 33 3D EB FA 9E B7 D2 C8 [15:56:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 E6 9B 47 00 BA E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 54 9F 00 00 F4 03 04 00 93 1F 16 67 B6 04 01 00 00 04 00 B6 37 A1 F7 67 1D [15:56:21]CommunicateWithHost err = 0 [15:56:21]CheckOFDResponse [15:56:21]1017 (14) - 77093643461234 [15:56:21]1041 (16) - 0000000000965374 [15:56:21]1040 (4) - 40788 [15:56:21]1012 (4) - 21.10.2024 09:32 [15:56:21]1206 (1) - 0 [15:56:21]OFD Sender: Remove packet 40788 [15:56:21]ProducePacketName [15:56:21]name=ofd_packets/00040788 [15:56:21]NVStorageDeleteData [15:56:21]Write to MH i2c: 01 00 00 38 33 6B [15:56:21]Write i2c OK [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 07 00 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: 01 07 00 38 33 00 00 00 00 00 11 0D 90 [15:56:21]RasterBufferAndPrint [15:56:21]line [15:56:21]line [15:56:21]line [15:56:21]line [15:56:21]line [15:56:21]written 0, free lines is 3353 [15:56:21]MH_Cut [15:56:21]Write to MH i2c: D1 01 00 3F 33 01 44 [15:56:21]Write i2c OK [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: D1 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: D1 01 00 [15:56:21]MH_I2C_Read... [15:56:21]Read from MH i2c: D1 01 00 3F 33 00 43 [15:56:21]Write to MH i2c: 01 00 00 40 33 73 [15:56:21]Write i2c OK [15:56:21]MH_I2C_Read... [15:56:22]OFD Sender: No OFD packet to send [15:56:22]*** Cut start [15:56:22]*** Partial cut [15:56:22]*** CUTSNS_PIN = 1 [15:56:22]*** CUTSNS_PIN = 0 [15:56:22]*** Brake cut motor [15:56:23]Read from MH i2c: 01 [15:56:23]MH_I2C_Read... [15:56:23]*** Stop cut motor [15:56:23]*** Cut end [15:56:23]Read from MH i2c: 01 07 00 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: 01 07 00 40 33 00 00 00 00 00 FF 0F 88 [15:56:23]process_action close_receipt done [15:56:23]requested_data is exist [15:56:23]produce_requested_data [15:56:23]requested_item fm.sn is exist - process it [15:56:23]wFMCommunicate request_size=4 [15:56:23]MH_SAM_APDU [15:56:23]CAPDU: 80 11 00 00 [15:56:23]Write to MH i2c: E2 08 00 41 33 80 11 00 00 00 00 00 00 EE [15:56:23]Write i2c OK [15:56:23]MH_I2C_Read... [15:56:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:23]Read from MH i2c: E2 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 17 00 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 17 00 41 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 43 [15:56:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:56:23]wFMCommunicate OK [15:56:23]requested_item fd.num is exist - process it [15:56:23]SAM_PROTO_GetFieldsCounters [15:56:23]wFMCommunicate request_size=4 [15:56:23]MH_SAM_APDU [15:56:23]CAPDU: 80 13 00 00 [15:56:23]Write to MH i2c: E2 08 00 42 33 80 13 00 00 00 00 00 00 F1 [15:56:23]Write i2c OK [15:56:23]MH_I2C_Read... [15:56:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:23]Read from MH i2c: E2 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 62 00 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 62 00 42 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 54 9F 00 00 0E 04 04 00 C0 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 75 [15:56:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 54 9F 00 00 0E 04 04 00 C0 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 [15:56:23]wFMCommunicate OK [15:56:23]SAM_PROTO_GetFieldsCounters done [15:56:23]requested_item shift.num is exist - process it [15:56:23]requested_item shift.opened is exist - process it [15:56:23]req_shift_opened [15:56:23]FM_GetShiftState [15:56:23]SAM_PROTO_GetShiftState [15:56:23]wFMCommunicate request_size=4 [15:56:23]MH_SAM_APDU [15:56:23]CAPDU: 80 13 01 00 [15:56:23]Write to MH i2c: E2 08 00 43 33 80 13 01 00 00 00 00 00 F3 [15:56:23]Write i2c OK [15:56:23]MH_I2C_Read... [15:56:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:23]Read from MH i2c: E2 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 0E 00 [15:56:23]MH_I2C_Read... [15:56:23]Read from MH i2c: E2 0E 00 43 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C1 [15:56:23]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:56:23]wFMCommunicate OK [15:56:23]SAM_PROTO_GetShiftState done [15:56:23]FM_GetShiftState done [15:56:23]req_shift_opened done [15:56:23]requested_item shift.open_date is exist - process it [15:56:23]req_shift_open_date [15:56:23]req_shift_open_date done [15:56:23]produce_requested_data done [15:56:23]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40788,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:56:23]process_action_free close_receipt [15:56:23]json_value_free [15:56:23]json_value_free done [15:56:23]process_json_proto returns [15:56:23]Send response to host [15:56:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40788,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:56:23]free response buf [15:56:23]execute_script done [15:56:23]execute_script returns [15:56:23]free content buf [15:56:23]Sock 10.Close socket [15:56:23]Sock 10.Thread stoped [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:54]accept exits with 7 [15:56:54]New connection [15:56:54]New thread 3067030884 created [15:56:54]Thread 3066887524 joined [15:56:54]Waiting for new connection... [15:56:54] Sock 7.Parse request [15:56:54]Sock 7.Check first char [15:56:54]Sock 7.First char is OK [15:56:54]request: POST /json_proto HTTP/1.0 [15:56:54]Method: POST [15:56:54]URL: /json_proto [15:56:54]Method is POST - this is cgi request [15:56:54]url: /json_proto [15:56:54]query_string will be loaded in cgi processing [15:56:54]execute_cgi json_proto POST (null) [15:56:54]execute_cgi path=json_proto method=POST [15:56:54]POST find Content-Length [15:56:54]Host: 172.17.53.4:8080 [15:56:54]Content-Length: 677 [15:56:54]Content-Type: application/json [15:56:54] [15:56:54]POST finish read [15:56:54]Found Content-Length = 677 [15:56:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808905", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:54]execute_script... [15:56: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 : (1)808905", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:54]POST & json_proto [15:56:54]process_json_proto [15:56:54]json parsed OK: [15:56:54]protocol is kg_v1.0 [15:56:54]action value=close_receipt [15:56:54]process_action close_receipt [15:56:54]cmd_close_receipt [15:56:54]MH_GetDate [15:56:54]Write to MH i2c: F0 00 00 44 33 66 [15:56:54]Write i2c OK [15:56:54]MH_I2C_Read... [15:56:54]Read from MH i2c: F0 [15:56:54]MH_I2C_Read... [15:56:54]Read from MH i2c: F0 09 00 [15:56:54]MH_I2C_Read... [15:56:54]Read from MH i2c: F0 09 00 44 33 00 D7 79 16 67 05 11 DA 64 90 [15:56:54]GetLastDocTimeStamp 1729526196 [15:56:54]current date 1729526231 [15:56:54]FM_GetShiftState [15:56:54]SAM_PROTO_GetShiftState [15:56:54]wFMCommunicate request_size=4 [15:56:54]MH_SAM_APDU [15:56:54]CAPDU: 80 13 01 00 [15:56:54]Write to MH i2c: E2 08 00 45 33 80 13 01 00 00 00 00 00 F5 [15:56:54]Write i2c OK [15:56:54]MH_I2C_Read... [15:56:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:54]Read from MH i2c: E2 [15:56:54]MH_I2C_Read... [15:56:54]Read from MH i2c: E2 0E 00 [15:56:54]MH_I2C_Read... [15:56:54]Read from MH i2c: E2 0E 00 45 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C3 [15:56:54]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:56:54]wFMCommunicate OK [15:56:54]SAM_PROTO_GetShiftState done [15:56:54]FM_GetShiftState done [15:56:54]opened in 1729470630 [15:56:54]opened+sec_in_day 1729557030 [15:56:54]quantity*price = 50041 [15:56:54]sum+1 = 50042 [15:56:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 57 21.10.2024 15:57 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40789 ФПД: 274850899260126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155711&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40789&fm=274850899260126&tin=02508201610067®Number=0000000000098148&sum=50000 [15:56:55]StoreToDocumentArchive [15:56:55]shift 448 fd 40789 [15:56:55]save to /storage/0448/doc_00040789 [15:56:55]save last doc name /storage/0448/doc_00040789 to /storage/kkm_last_doc_name [15:56:55]save OK [15:56:55]Clear old archive folders... [15:56:55]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:56:55]tlvbuf is B6F68460 [15:56:55]SAM_PROTO_ClearQueue [15:56:55]wFMCommunicate request_size=4 [15:56:55]MH_SAM_APDU [15:56:55]CAPDU: 80 09 00 00 [15:56:55]Write to MH i2c: E2 08 00 52 33 80 09 00 00 00 00 00 00 F7 [15:56:55]Write i2c OK [15:56:55]MH_I2C_Read... [15:56:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:55]Read from MH i2c: E2 [15:56:55]MH_I2C_Read... [15:56:55]Read from MH i2c: E2 03 00 [15:56:55]MH_I2C_Read... [15:56:55]Read from MH i2c: E2 03 00 52 33 00 90 00 F9 [15:56:55]RAPDU: 90 00 [15:56:55]wFMCommunicate OK [15:56:55]SAM_PROTO_ClearQueue done [15:56:55]KKMCreateOFDPacket [15:56:55]OFDProtocolAddRootSTLVToBuf [15:56:55]FM_MakeSignedData [15:56:55]FM_MakeSignedData [15:56:55]SAM_PROTO_SignData [15:56:55]wFMCommunicate request_size=4 [15:56:55]MH_SAM_APDU [15:56:55]CAPDU: 80 0D 01 02 [15:56:55]Write to MH i2c: E2 08 00 53 33 80 0D 01 02 00 00 00 00 FF [15:56:55]Write i2c OK [15:56:55]MH_I2C_Read... [15:56:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:55]Read from MH i2c: E2 [15:56:55]MH_I2C_Read... [15:56:55]Read from MH i2c: E2 03 00 [15:56:55]MH_I2C_Read... [15:56:55]Read from MH i2c: E2 03 00 53 33 00 90 00 FA [15:56:55]RAPDU: 90 00 [15:56:55]wFMCommunicate OK [15:56:55]wFMCommunicate request_size=255 [15:56:55]MH_SAM_APDU [15:56:55]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D7 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 55 9F 00 00 35 04 06 00 F9 [15:56:55]Write to MH i2c: E2 02 01 54 33 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D7 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 55 9F 00 00 35 04 06 00 F9 00 00 49 [15:56:55]Write i2c OK [15:56:55]MH_I2C_Read... [15:56:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:55]Read from MH i2c: E2 [15:56:55]MH_I2C_Read... [15:56:55]Read from MH i2c: E2 03 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 03 00 54 33 00 90 00 FB [15:56:56]RAPDU: 90 00 [15:56:56]wFMCommunicate OK [15:56:56]wFMCommunicate request_size=10 [15:56:56]MH_SAM_APDU [15:56:56]CAPDU: 80 0D 02 02 05 F9 B6 37 72 DE [15:56:56]Write to MH i2c: E2 0D 00 55 33 80 0D 02 02 05 00 F9 B6 37 72 DE 00 00 42 [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:56]Read from MH i2c: E2 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 03 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 03 00 55 33 00 90 00 FC [15:56:56]RAPDU: 90 00 [15:56:56]wFMCommunicate OK [15:56:56]wFMCommunicate request_size=4 [15:56:56]MH_SAM_APDU [15:56:56]CAPDU: 80 0D 03 02 [15:56:56]Write to MH i2c: E2 08 00 56 33 80 0D 03 02 00 00 00 00 04 [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:56]Read from MH i2c: E2 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 0B 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 0B 00 56 33 00 DE 97 C0 42 42 A6 EE 15 90 00 67 [15:56:56]RAPDU: DE 97 C0 42 42 A6 EE 15 90 00 [15:56:56]wFMCommunicate OK [15:56:56]SAM_PROTO_SignData done [15:56:56]FM_MakeSignedData done [15:56:56]CreateOFDProtocolMessage [15:56:56]wFMCommunicate request_size=4 [15:56:56]MH_SAM_APDU [15:56:56]CAPDU: 80 11 00 00 [15:56:56]Write to MH i2c: E2 08 00 57 33 80 11 00 00 00 00 00 00 04 [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:56]Read from MH i2c: E2 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 17 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: E2 17 00 57 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 59 [15:56:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:56:56]wFMCommunicate OK [15:56:56]CreateOFDProtocolMessage done [15:56:56]OFDSenderStorePacket 40789 [15:56:56]StoreOFDPacket docnum=40789 [15:56:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A7 9B 07 01 C8 A0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D7 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 55 9F 00 00 35 04 06 00 F9 F9 B6 37 72 DE DE 97 C0 42 42 A6 EE 15 [15:56:56]CheckFolder [15:56:56]dirname=/storage/ofd_packets [15:56:56]CheckFolder done [15:56:56]ProducePacketName [15:56:56]name=ofd_packets/00040789 [15:56:56]NVStorageSaveData ofd_packets/00040789 [15:56:56]File name is /storage/ofd_packets/00040789 [15:56:56]Write 301 bytes [15:56:56]NVStorageSaveData done [15:56:56]OFDSenderStorePacket done [15:56:56]KKMCreateOFDPacket done [15:56:56]NVStorageSaveData kkm_last_timestamp [15:56:56]File name is /storage/kkm_last_timestamp [15:56:56]Write 4 bytes [15:56:56]NVStorageSaveData done [15:56:56]ExternCall_PrintAddStr [15:56:56]wPrintStart [15:56:56]Write to MH i2c: 01 00 00 58 33 8B [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 07 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 07 00 58 33 00 00 00 00 00 FF 0F A0 [15:56:56]RasterBufferAndPrint [15:56:56]line Счет N : (1)808905 [15:56:56]line ИÐÐ: 02508201610067 [15:56:56]line Контрольно-КаÑÑовый Чек [15:56:56]line ПРОДÐЖР[15:56:56]line ТРК (МРК, ГÐК) : 33 [15:56:56]line Товар: 2710124130 [15:56:56]line Ðи-92-К-5 [15:56:56]line 7.480 * 66.90 [15:56:56]line = 500.41 [15:56:56]line ÐДС 12% ÐСП 1% [15:56:56]line > о реализуемом товаре [15:56:56]line ОКРУГЛЕÐИЕ: -0.41 [15:56:56]line ИТОГО: 500.00 [15:56:56]line ВнеÑено: 500.00 [15:56:56]line СДÐЧÐ: 0.00 [15:56:56]line ÐСП 1% : 4.43 [15:56:56]line ÐДС 12% : 53.14 [15:56:56]line Ðаличными: 500.00 [15:56:56]line Безнал.: 0.00 [15:56:56]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:56:56]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:56:56]line СÐО: Общий режим [15:56:56]line Чек 57 21.10.2024 15:57 [15:56:56]line Смена: 448 ФФД: 1.0 [15:56:56]line ЗÐМ: 0300000239 [15:56:56]line РÐМ: 0000000000098148 [15:56:56]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:56:56]line ФМ: 0000000000965374 [15:56:56]line ФД: 40789 [15:56:56]line ФПД: 274850899260126 [15:56:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155711&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40789&fm=274850899260126&tin=02508201610067®Number=0000000000098148&sum=50000 [15:56:56]written 0, free lines is 4095 [15:56:56]OFD Sender: Processing packet 40789 [packets to send 4, broken 3] [15:56:56]ProducePacketName [15:56:56]name=ofd_packets/00040789 [15:56:56]OFD Sender: To server: ‡•öpG, [15:56:56]CommunicateWithHost lk.salyk.kg:30040 [15:56:56]ConnectInit lk.salyk.kg [15:56:56]Connected sock=10 [15:56:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A7 9B 07 01 C8 A0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D7 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 55 9F 00 00 35 04 06 00 F9 F9 B6 37 72 DE DE 97 C0 42 42 A6 EE 15 [15:56:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 70 BA 47 00 37 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 55 9F 00 00 F4 03 04 00 B6 1F 16 67 B6 04 01 00 00 0C 68 D3 19 2B 7C 28 87 [15:56:56]CommunicateWithHost err = 0 [15:56:56]CheckOFDResponse [15:56:56]1017 (14) - 77093643461234 [15:56:56]1041 (16) - 0000000000965374 [15:56:56]1040 (4) - 40789 [15:56:56]1012 (4) - 21.10.2024 09:32 [15:56:56]1206 (1) - 0 [15:56:56]OFD Sender: Remove packet 40789 [15:56:56]ProducePacketName [15:56:56]name=ofd_packets/00040789 [15:56:56]NVStorageDeleteData [15:56:56]Write to MH i2c: 01 00 00 83 33 B6 [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 07 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: 01 07 00 83 33 00 00 00 00 00 02 0D CC [15:56:56]RasterBufferAndPrint [15:56:56]line [15:56:56]line [15:56:56]line [15:56:56]line [15:56:56]line [15:56:56]written 0, free lines is 3336 [15:56:56]MH_Cut [15:56:56]Write to MH i2c: D1 01 00 8A 33 01 8F [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: D1 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: D1 01 00 [15:56:56]MH_I2C_Read... [15:56:56]Read from MH i2c: D1 01 00 8A 33 00 8E [15:56:56]Write to MH i2c: 01 00 00 8B 33 BE [15:56:56]Write i2c OK [15:56:56]MH_I2C_Read... [15:56:56]OFD Sender: No OFD packet to send [15:56:57]*** Cut start [15:56:57]*** Partial cut [15:56:57]*** CUTSNS_PIN = 1 [15:56:57]*** CUTSNS_PIN = 0 [15:56:57]*** Brake cut motor [15:56:57]Read from MH i2c: 01 [15:56:57]MH_I2C_Read... [15:56:57]*** Stop cut motor [15:56:57]*** Cut end [15:56:57]Read from MH i2c: 01 07 00 [15:56:57]MH_I2C_Read... [15:56:57]Read from MH i2c: 01 07 00 8B 33 00 00 00 00 00 FF 0F D3 [15:56:57]process_action close_receipt done [15:56:57]requested_data is exist [15:56:57]produce_requested_data [15:56:57]requested_item fm.sn is exist - process it [15:56:57]wFMCommunicate request_size=4 [15:56:57]MH_SAM_APDU [15:56:57]CAPDU: 80 11 00 00 [15:56:57]Write to MH i2c: E2 08 00 8C 33 80 11 00 00 00 00 00 00 39 [15:56:57]Write i2c OK [15:56:57]MH_I2C_Read... [15:56:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:57]Read from MH i2c: E2 [15:56:57]MH_I2C_Read... [15:56:57]Read from MH i2c: E2 17 00 [15:56:57]MH_I2C_Read... [15:56:57]Read from MH i2c: E2 17 00 8C 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8E [15:56:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:56:57]wFMCommunicate OK [15:56:57]requested_item fd.num is exist - process it [15:56:57]SAM_PROTO_GetFieldsCounters [15:56:57]wFMCommunicate request_size=4 [15:56:57]MH_SAM_APDU [15:56:57]CAPDU: 80 13 00 00 [15:56:57]Write to MH i2c: E2 08 00 8D 33 80 13 00 00 00 00 00 00 3C [15:56:57]Write i2c OK [15:56:57]MH_I2C_Read... [15:56:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:58]Read from MH i2c: E2 [15:56:58]MH_I2C_Read... [15:56:58]Read from MH i2c: E2 62 00 [15:56:58]MH_I2C_Read... [15:56:58]Read from MH i2c: E2 62 00 8D 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 55 9F 00 00 0E 04 04 00 C0 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 C4 [15:56:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 55 9F 00 00 0E 04 04 00 C0 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 [15:56:58]wFMCommunicate OK [15:56:58]SAM_PROTO_GetFieldsCounters done [15:56:58]requested_item shift.num is exist - process it [15:56:58]requested_item shift.opened is exist - process it [15:56:58]req_shift_opened [15:56:58]FM_GetShiftState [15:56:58]SAM_PROTO_GetShiftState [15:56:58]wFMCommunicate request_size=4 [15:56:58]MH_SAM_APDU [15:56:58]CAPDU: 80 13 01 00 [15:56:58]Write to MH i2c: E2 08 00 8E 33 80 13 01 00 00 00 00 00 3E [15:56:58]Write i2c OK [15:56:58]MH_I2C_Read... [15:56:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:58]Read from MH i2c: E2 [15:56:58]MH_I2C_Read... [15:56:58]Read from MH i2c: E2 0E 00 [15:56:58]MH_I2C_Read... [15:56:58]Read from MH i2c: E2 0E 00 8E 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0C [15:56:58]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:56:58]wFMCommunicate OK [15:56:58]SAM_PROTO_GetShiftState done [15:56:58]FM_GetShiftState done [15:56:58]req_shift_opened done [15:56:58]requested_item shift.open_date is exist - process it [15:56:58]req_shift_open_date [15:56:58]req_shift_open_date done [15:56:58]produce_requested_data done [15:56:58]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40789,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:56:58]process_action_free close_receipt [15:56:58]json_value_free [15:56:58]json_value_free done [15:56:58]process_json_proto returns [15:56:58]Send response to host [15:56:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40789,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:56:58]free response buf [15:56:58]execute_script done [15:56:58]execute_script returns [15:56:58]free content buf [15:56:58]Sock 7.Close socket [15:56:58]Sock 7.Thread stoped [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:28]accept exits with 9 [15:57:28]New connection [15:57:28]New thread 3066887524 created [15:57:28]Thread 3067030884 joined [15:57:28]Waiting for new connection... [15:57:28] Sock 9.Parse request [15:57:28]Sock 9.Check first char [15:57:28]Sock 9.First char is OK [15:57:28]request: POST /json_proto HTTP/1.0 [15:57:28]Method: POST [15:57:28]URL: /json_proto [15:57:28]Method is POST - this is cgi request [15:57:28]url: /json_proto [15:57:28]query_string will be loaded in cgi processing [15:57:28]execute_cgi json_proto POST (null) [15:57:28]execute_cgi path=json_proto method=POST [15:57:28]POST find Content-Length [15:57:28]Host: 172.17.53.4:8080 [15:57:28]Content-Length: 670 [15:57:28]Content-Type: application/json [15:57:28] [15:57:28]POST finish read [15:57:28]Found Content-Length = 670 [15:57:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808906", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:28]execute_script... [15:57:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808906", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:28]POST & json_proto [15:57:28]process_json_proto [15:57:28]json parsed OK: [15:57:28]protocol is kg_v1.0 [15:57:28]action value=close_receipt [15:57:28]process_action close_receipt [15:57:28]cmd_close_receipt [15:57:28]MH_GetDate [15:57:28]Write to MH i2c: F0 00 00 8F 33 B1 [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: F0 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: F0 09 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: F0 09 00 8F 33 00 F9 79 16 67 05 11 DA 64 FD [15:57:28]GetLastDocTimeStamp 1729526231 [15:57:28]current date 1729526265 [15:57:28]FM_GetShiftState [15:57:28]SAM_PROTO_GetShiftState [15:57:28]wFMCommunicate request_size=4 [15:57:28]MH_SAM_APDU [15:57:28]CAPDU: 80 13 01 00 [15:57:28]Write to MH i2c: E2 08 00 90 33 80 13 01 00 00 00 00 00 40 [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:28]Read from MH i2c: E2 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 0E 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 0E 00 90 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0E [15:57:28]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:57:28]wFMCommunicate OK [15:57:28]SAM_PROTO_GetShiftState done [15:57:28]FM_GetShiftState done [15:57:28]opened in 1729470630 [15:57:28]opened+sec_in_day 1729557030 [15:57:28]quantity*price = 60055 [15:57:28]sum+1 = 60056 [15:57:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.55 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.77 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 58 21.10.2024 15:57 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40790 ФПД: 158815775214504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155745&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40790&fm=158815775214504&tin=02508201610067®Number=0000000000098148&sum=60000 [15:57:30]StoreToDocumentArchive [15:57:30]shift 448 fd 40790 [15:57:30]save to /storage/0448/doc_00040790 [15:57:30]save last doc name /storage/0448/doc_00040790 to /storage/kkm_last_doc_name [15:57:30]save OK [15:57:30]Clear old archive folders... [15:57:30]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:57:30]tlvbuf is B6F6B980 [15:57:30]SAM_PROTO_ClearQueue [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 09 00 00 [15:57:30]Write to MH i2c: E2 08 00 9D 33 80 09 00 00 00 00 00 00 42 [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 9D 33 00 90 00 44 [15:57:30]RAPDU: 90 00 [15:57:30]wFMCommunicate OK [15:57:30]SAM_PROTO_ClearQueue done [15:57:30]KKMCreateOFDPacket [15:57:30]OFDProtocolAddRootSTLVToBuf [15:57:30]FM_MakeSignedData [15:57:30]FM_MakeSignedData [15:57:30]SAM_PROTO_SignData [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 0D 01 02 [15:57:30]Write to MH i2c: E2 08 00 9E 33 80 0D 01 02 00 00 00 00 4A [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 9E 33 00 90 00 45 [15:57:30]RAPDU: 90 00 [15:57:30]wFMCommunicate OK [15:57:30]wFMCommunicate request_size=255 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F9 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 56 9F 00 00 35 04 06 00 [15:57:30]Write to MH i2c: E2 02 01 9F 33 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F9 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 56 9F 00 00 35 04 06 00 00 00 C2 [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 9F 33 00 90 00 46 [15:57:30]RAPDU: 90 00 [15:57:30]wFMCommunicate OK [15:57:30]wFMCommunicate request_size=11 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 0D 02 02 06 90 71 2D DD CB A8 [15:57:30]Write to MH i2c: E2 0E 00 A0 33 80 0D 02 02 06 00 90 71 2D DD CB A8 00 00 D7 [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 03 00 A0 33 00 90 00 47 [15:57:30]RAPDU: 90 00 [15:57:30]wFMCommunicate OK [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 0D 03 02 [15:57:30]Write to MH i2c: E2 08 00 A1 33 80 0D 03 02 00 00 00 00 4F [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 0B 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 0B 00 A1 33 00 49 53 DD 74 76 FC 21 9C 90 00 6C [15:57:30]RAPDU: 49 53 DD 74 76 FC 21 9C 90 00 [15:57:30]wFMCommunicate OK [15:57:30]SAM_PROTO_SignData done [15:57:30]FM_MakeSignedData done [15:57:30]CreateOFDProtocolMessage [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 11 00 00 [15:57:30]Write to MH i2c: E2 08 00 A2 33 80 11 00 00 00 00 00 00 4F [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 17 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 17 00 A2 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A4 [15:57:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:57:30]wFMCommunicate OK [15:57:30]CreateOFDProtocolMessage done [15:57:30]OFDSenderStorePacket 40790 [15:57:30]StoreOFDPacket docnum=40790 [15:57:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D2 FB 08 01 1F 89 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F9 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 56 9F 00 00 35 04 06 00 90 71 2D DD CB A8 49 53 DD 74 76 FC 21 9C [15:57:30]CheckFolder [15:57:30]dirname=/storage/ofd_packets [15:57:30]CheckFolder done [15:57:30]ProducePacketName [15:57:30]name=ofd_packets/00040790 [15:57:30]NVStorageSaveData ofd_packets/00040790 [15:57:30]File name is /storage/ofd_packets/00040790 [15:57:30]Write 302 bytes [15:57:30]NVStorageSaveData done [15:57:30]OFDSenderStorePacket done [15:57:30]KKMCreateOFDPacket done [15:57:30]NVStorageSaveData kkm_last_timestamp [15:57:30]File name is /storage/kkm_last_timestamp [15:57:30]Write 4 bytes [15:57:30]NVStorageSaveData done [15:57:30]ExternCall_PrintAddStr [15:57:30]wPrintStart [15:57:30]Write to MH i2c: 01 00 00 A3 33 D6 [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: 01 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: 01 07 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: 01 07 00 A3 33 00 00 00 00 00 FF 0F EB [15:57:30]RasterBufferAndPrint [15:57:30]line Счет N : (1)808906 [15:57:30]line ИÐÐ: 02508201610067 [15:57:30]line Контрольно-КаÑÑовый Чек [15:57:30]line ПРОДÐЖР[15:57:30]line ТРК (МРК, ГÐК) : 62 [15:57:30]line Товар: 2710124130 [15:57:30]line Super 92-К-5 [15:57:30]line 8.780 * 68.40 [15:57:30]line = 600.55 [15:57:30]line ÐДС 12% ÐСП 1% [15:57:30]line > о реализуемом товаре [15:57:30]line ОКРУГЛЕÐИЕ: -0.55 [15:57:30]line ИТОГО: 600.00 [15:57:30]line ВнеÑено: 600.00 [15:57:30]line СДÐЧÐ: 0.00 [15:57:30]line ÐСП 1% : 5.31 [15:57:30]line ÐДС 12% : 63.77 [15:57:30]line Ðаличными: 600.00 [15:57:30]line Безнал.: 0.00 [15:57:30]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:57:30]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:57:30]line СÐО: Общий режим [15:57:30]line Чек 58 21.10.2024 15:57 [15:57:30]line Смена: 448 ФФД: 1.0 [15:57:30]line ЗÐМ: 0300000239 [15:57:30]line РÐМ: 0000000000098148 [15:57:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:57:30]line ФМ: 0000000000965374 [15:57:30]line ФД: 40790 [15:57:30]line ФПД: 158815775214504 [15:57:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155745&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40790&fm=158815775214504&tin=02508201610067®Number=0000000000098148&sum=60000 [15:57:30]OFD Sender: Processing packet 40790 [packets to send 4, broken 3] [15:57:30]ProducePacketName [15:57:30]name=ofd_packets/00040790 [15:57:30]OFD Sender: To server: ‡•öpG, [15:57:30]CommunicateWithHost lk.salyk.kg:30040 [15:57:30]ConnectInit lk.salyk.kg [15:57:30]written 0, free lines is 4095 [15:57:30]Connected sock=10 [15:57:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D2 FB 08 01 1F 89 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F9 79 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 56 9F 00 00 35 04 06 00 90 71 2D DD CB A8 49 53 DD 74 76 FC 21 9C [15:57:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 C4 7F 47 00 40 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 39 36 35 33 37 34 10 04 04 00 56 9F 00 00 F4 03 04 00 D9 1F 16 67 B6 04 01 00 00 5C A9 65 5B 68 DB 20 C3 [15:57:31]CommunicateWithHost err = 0 [15:57:31]CheckOFDResponse [15:57:31]1017 (14) - 77093643461234 [15:57:31]1041 (16) - 0000000000965374 [15:57:31]1040 (4) - 40790 [15:57:31]1012 (4) - 21.10.2024 09:33 [15:57:31]1206 (1) - 0 [15:57:31]OFD Sender: Remove packet 40790 [15:57:31]ProducePacketName [15:57:31]name=ofd_packets/00040790 [15:57:31]NVStorageDeleteData [15:57:31]Write to MH i2c: 01 00 00 CE 33 01 [15:57:31]Write i2c OK [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: 01 [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: 01 07 00 [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: 01 07 00 CE 33 00 00 00 00 00 F9 0C 0D [15:57:31]RasterBufferAndPrint [15:57:31]line [15:57:31]line [15:57:31]line [15:57:31]line [15:57:31]line [15:57:31]written 0, free lines is 3327 [15:57:31]MH_Cut [15:57:31]Write to MH i2c: D1 01 00 D5 33 01 DA [15:57:31]Write i2c OK [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: D1 [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: D1 01 00 [15:57:31]MH_I2C_Read... [15:57:31]Read from MH i2c: D1 01 00 D5 33 00 D9 [15:57:31]Write to MH i2c: 01 00 00 D6 33 09 [15:57:31]Write i2c OK [15:57:31]MH_I2C_Read... [15:57:31]OFD Sender: No OFD packet to send [15:57:32]*** Cut start [15:57:32]*** Partial cut [15:57:32]*** CUTSNS_PIN = 1 [15:57:32]*** CUTSNS_PIN = 0 [15:57:32]*** Brake cut motor [15:57:32]Read from MH i2c: 01 [15:57:32]MH_I2C_Read... [15:57:32]*** Stop cut motor [15:57:32]*** Cut end [15:57:32]Read from MH i2c: 01 07 00 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: 01 07 00 D6 33 00 00 00 00 00 FF 0F 1E [15:57:32]process_action close_receipt done [15:57:32]requested_data is exist [15:57:32]produce_requested_data [15:57:32]requested_item fm.sn is exist - process it [15:57:32]wFMCommunicate request_size=4 [15:57:32]MH_SAM_APDU [15:57:32]CAPDU: 80 11 00 00 [15:57:32]Write to MH i2c: E2 08 00 D7 33 80 11 00 00 00 00 00 00 84 [15:57:32]Write i2c OK [15:57:32]MH_I2C_Read... [15:57:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:32]Read from MH i2c: E2 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 17 00 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 17 00 D7 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D9 [15:57:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:57:32]wFMCommunicate OK [15:57:32]requested_item fd.num is exist - process it [15:57:32]SAM_PROTO_GetFieldsCounters [15:57:32]wFMCommunicate request_size=4 [15:57:32]MH_SAM_APDU [15:57:32]CAPDU: 80 13 00 00 [15:57:32]Write to MH i2c: E2 08 00 D8 33 80 13 00 00 00 00 00 00 87 [15:57:32]Write i2c OK [15:57:32]MH_I2C_Read... [15:57:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:32]Read from MH i2c: E2 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 62 00 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 62 00 D8 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 56 9F 00 00 0E 04 04 00 C0 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 13 [15:57:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 56 9F 00 00 0E 04 04 00 C0 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 [15:57:32]wFMCommunicate OK [15:57:32]SAM_PROTO_GetFieldsCounters done [15:57:32]requested_item shift.num is exist - process it [15:57:32]requested_item shift.opened is exist - process it [15:57:32]req_shift_opened [15:57:32]FM_GetShiftState [15:57:32]SAM_PROTO_GetShiftState [15:57:32]wFMCommunicate request_size=4 [15:57:32]MH_SAM_APDU [15:57:32]CAPDU: 80 13 01 00 [15:57:32]Write to MH i2c: E2 08 00 D9 33 80 13 01 00 00 00 00 00 89 [15:57:32]Write i2c OK [15:57:32]MH_I2C_Read... [15:57:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:32]Read from MH i2c: E2 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 0E 00 [15:57:32]MH_I2C_Read... [15:57:32]Read from MH i2c: E2 0E 00 D9 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 57 [15:57:32]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:57:32]wFMCommunicate OK [15:57:32]SAM_PROTO_GetShiftState done [15:57:32]FM_GetShiftState done [15:57:32]req_shift_opened done [15:57:32]requested_item shift.open_date is exist - process it [15:57:32]req_shift_open_date [15:57:32]req_shift_open_date done [15:57:32]produce_requested_data done [15:57:32]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40790,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:57:32]process_action_free close_receipt [15:57:32]json_value_free [15:57:32]json_value_free done [15:57:32]process_json_proto returns [15:57:32]Send response to host [15:57:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40790,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:57:32]free response buf [15:57:32]execute_script done [15:57:32]execute_script returns [15:57:32]free content buf [15:57:32]Sock 9.Close socket [15:57:32]Sock 9.Thread stoped [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:55]accept exits with 7 [15:57:55]New connection [15:57:55]New thread 3067030884 created [15:57:55]Thread 3066887524 joined [15:57:55]Waiting for new connection... [15:57:55] Sock 7.Parse request [15:57:55]Sock 7.Check first char [15:57:55]Sock 7.First char is OK [15:57:55]request: POST /json_proto HTTP/1.0 [15:57:55]Method: POST [15:57:55]URL: /json_proto [15:57:55]Method is POST - this is cgi request [15:57:55]url: /json_proto [15:57:55]query_string will be loaded in cgi processing [15:57:55]execute_cgi json_proto POST (null) [15:57:55]execute_cgi path=json_proto method=POST [15:57:55]POST find Content-Length [15:57:55]Host: 172.17.53.4:8080 [15:57:55]Content-Length: 670 [15:57:55]Content-Type: application/json [15:57:55] [15:57:55]POST finish read [15:57:55]Found Content-Length = 670 [15:57:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808909", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.490, "sum" : 170.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 170.00, "total" : 170.00, "payments": [ { "type": 0, "sum" : 170.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:55]execute_script... [15:57: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 : (1)808909", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.490, "sum" : 170.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 170.00, "total" : 170.00, "payments": [ { "type": 0, "sum" : 170.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:55]POST & json_proto [15:57:55]process_json_proto [15:57:55]json parsed OK: [15:57:55]protocol is kg_v1.0 [15:57:55]action value=close_receipt [15:57:55]process_action close_receipt [15:57:55]cmd_close_receipt [15:57:55]MH_GetDate [15:57:55]Write to MH i2c: F0 00 00 DA 33 FC [15:57:55]Write i2c OK [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 09 00 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 09 00 DA 33 00 14 7A 16 67 05 11 DA 64 64 [15:57:55]GetLastDocTimeStamp 1729526265 [15:57:55]current date 1729526292 [15:57:55]FM_GetShiftState [15:57:55]SAM_PROTO_GetShiftState [15:57:55]wFMCommunicate request_size=4 [15:57:55]MH_SAM_APDU [15:57:55]CAPDU: 80 13 01 00 [15:57:55]Write to MH i2c: E2 08 00 DB 33 80 13 01 00 00 00 00 00 8B [15:57:55]Write i2c OK [15:57:55]MH_I2C_Read... [15:57:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:55]Read from MH i2c: E2 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: E2 0E 00 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: E2 0E 00 DB 33 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 59 [15:57:55]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:57:55]wFMCommunicate OK [15:57:55]SAM_PROTO_GetShiftState done [15:57:55]FM_GetShiftState done [15:57:55]opened in 1729470630 [15:57:55]opened+sec_in_day 1729557030 [15:57:55]quantity*price = 17031 [15:57:55]sum+1 = 17033 [15:57:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.32 ИТОГО: 170.00 ВнеÑено: 170.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.51 ÐДС 12% : 18.09 Ðаличными: 170.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 59 21.10.2024 15:58 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40791 ФПД: 83013053864655 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155812&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40791&fm=83013053864655&tin=02508201610067®Number=0000000000098148&sum=17000 [15:57:56]StoreToDocumentArchive [15:57:56]shift 448 fd 40791 [15:57:56]save to /storage/0448/doc_00040791 [15:57:56]save last doc name /storage/0448/doc_00040791 to /storage/kkm_last_doc_name [15:57:56]save OK [15:57:56]Clear old archive folders... [15:57:56]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:57:56]tlvbuf is 0113DBB0 [15:57:56]SAM_PROTO_ClearQueue [15:57:56]wFMCommunicate request_size=4 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 09 00 00 [15:57:56]Write to MH i2c: E2 08 00 E8 33 80 09 00 00 00 00 00 00 8D [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 E8 33 00 90 00 8F [15:57:57]RAPDU: 90 00 [15:57:57]wFMCommunicate OK [15:57:57]SAM_PROTO_ClearQueue done [15:57:57]KKMCreateOFDPacket [15:57:57]OFDProtocolAddRootSTLVToBuf [15:57:57]FM_MakeSignedData [15:57:57]FM_MakeSignedData [15:57:57]SAM_PROTO_SignData [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 0D 01 02 [15:57:57]Write to MH i2c: E2 08 00 E9 33 80 0D 01 02 00 00 00 00 95 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 E9 33 00 90 00 90 [15:57:57]RAPDU: 90 00 [15:57:57]wFMCommunicate OK [15:57:57]wFMCommunicate request_size=255 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BA 09 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 88 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 14 7A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 57 9F 00 00 35 04 06 00 [15:57:57]Write to MH i2c: E2 02 01 EA 33 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BA 09 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 88 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 14 7A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 57 9F 00 00 35 04 06 00 00 00 22 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:57]Read from MH i2c: E2 03 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 EA 33 00 90 00 91 [15:57:57]RAPDU: 90 00 [15:57:57]wFMCommunicate OK [15:57:57]wFMCommunicate request_size=11 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 0D 02 02 06 4B 7F FB 96 5A CF [15:57:57]Write to MH i2c: E2 0E 00 EB 33 80 0D 02 02 06 00 4B 7F FB 96 5A CF 00 00 28 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 03 00 EB 33 00 90 00 92 [15:57:57]RAPDU: 90 00 [15:57:57]wFMCommunicate OK [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 0D 03 02 [15:57:57]Write to MH i2c: E2 08 00 EC 33 80 0D 03 02 00 00 00 00 9A [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 0B 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 0B 00 EC 33 00 9C E0 2A 47 6A 70 D9 9D 90 00 D8 [15:57:57]RAPDU: 9C E0 2A 47 6A 70 D9 9D 90 00 [15:57:57]wFMCommunicate OK [15:57:57]SAM_PROTO_SignData done [15:57:57]FM_MakeSignedData done [15:57:57]CreateOFDProtocolMessage [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 11 00 00 [15:57:57]Write to MH i2c: E2 08 00 ED 33 80 11 00 00 00 00 00 00 9A [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 17 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 17 00 ED 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EF [15:57:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:57:57]wFMCommunicate OK [15:57:57]CreateOFDProtocolMessage done [15:57:57]OFDSenderStorePacket 40791 [15:57:57]StoreOFDPacket docnum=40791 [15:57:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 AD 4E 08 01 81 44 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BA 09 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 88 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 14 7A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 57 9F 00 00 35 04 06 00 4B 7F FB 96 5A CF 9C E0 2A 47 6A 70 D9 9D [15:57:57]CheckFolder [15:57:57]dirname=/storage/ofd_packets [15:57:57]CheckFolder done [15:57:57]ProducePacketName [15:57:57]name=ofd_packets/00040791 [15:57:57]NVStorageSaveData ofd_packets/00040791 [15:57:57]File name is /storage/ofd_packets/00040791 [15:57:57]Write 302 bytes [15:57:57]NVStorageSaveData done [15:57:57]OFDSenderStorePacket done [15:57:57]KKMCreateOFDPacket done [15:57:57]NVStorageSaveData kkm_last_timestamp [15:57:57]File name is /storage/kkm_last_timestamp [15:57:57]Write 4 bytes [15:57:57]NVStorageSaveData done [15:57:57]ExternCall_PrintAddStr [15:57:57]wPrintStart [15:57:57]Write to MH i2c: 01 00 00 EE 33 21 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 07 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 07 00 EE 33 00 00 00 00 00 FF 0F 36 [15:57:57]RasterBufferAndPrint [15:57:57]line Счет N : (1)808909 [15:57:57]line ИÐÐ: 02508201610067 [15:57:57]line Контрольно-КаÑÑовый Чек [15:57:57]line ПРОДÐЖР[15:57:57]line ТРК (МРК, ГÐК) : 52 [15:57:57]line Товар: 2710124130 [15:57:57]line Super 92-К-5 [15:57:57]line 2.490 * 68.40 [15:57:57]line = 170.32 [15:57:57]line ÐДС 12% ÐСП 1% [15:57:57]line > о реализуемом товаре [15:57:57]line ОКРУГЛЕÐИЕ: -0.32 [15:57:57]line ИТОГО: 170.00 [15:57:57]line ВнеÑено: 170.00 [15:57:57]line СДÐЧÐ: 0.00 [15:57:57]line ÐСП 1% : 1.51 [15:57:57]line ÐДС 12% : 18.09 [15:57:57]line Ðаличными: 170.00 [15:57:57]line Безнал.: 0.00 [15:57:57]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [15:57:57]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [15:57:57]line СÐО: Общий режим [15:57:57]line Чек 59 21.10.2024 15:58 [15:57:57]line Смена: 448 ФФД: 1.0 [15:57:57]line ЗÐМ: 0300000239 [15:57:57]line РÐМ: 0000000000098148 [15:57:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:57:57]line ФМ: 0000000000965374 [15:57:57]line ФД: 40791 [15:57:57]line ФПД: 83013053864655 [15:57:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155812&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40791&fm=83013053864655&tin=02508201610067®Number=0000000000098148&sum=17000 [15:57:57]OFD Sender: Processing packet 40791 [packets to send 4, broken 3] [15:57:57]ProducePacketName [15:57:57]name=ofd_packets/00040791 [15:57:57]OFD Sender: To server: ‡•öpG, [15:57:57]CommunicateWithHost lk.salyk.kg:30040 [15:57:57]ConnectInit lk.salyk.kg [15:57:57]written 0, free lines is 4095 [15:57:57]Connected sock=10 [15:57:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 AD 4E 08 01 81 44 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BA 09 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 88 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 14 7A 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 57 9F 00 00 35 04 06 00 4B 7F FB 96 5A CF 9C E0 2A 47 6A 70 D9 9D [15:57:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 2E E1 47 00 D0 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 57 9F 00 00 F4 03 04 00 F4 1F 16 67 B6 04 01 00 00 F9 03 4F E7 26 69 81 E2 [15:57:58]CommunicateWithHost err = 0 [15:57:58]CheckOFDResponse [15:57:58]1017 (14) - 77093643461234 [15:57:58]1041 (16) - 0000000000965374 [15:57:58]1040 (4) - 40791 [15:57:58]1012 (4) - 21.10.2024 09:33 [15:57:58]1206 (1) - 0 [15:57:58]OFD Sender: Remove packet 40791 [15:57:58]ProducePacketName [15:57:58]name=ofd_packets/00040791 [15:57:58]NVStorageDeleteData [15:57:58]Write to MH i2c: 01 00 00 19 34 4D [15:57:58]Write i2c OK [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: 01 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: 01 07 00 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: 01 07 00 19 34 00 00 00 00 00 05 0D 66 [15:57:58]RasterBufferAndPrint [15:57:58]line [15:57:58]line [15:57:58]line [15:57:58]line [15:57:58]line [15:57:58]written 0, free lines is 3339 [15:57:58]MH_Cut [15:57:58]Write to MH i2c: D1 01 00 20 34 01 26 [15:57:58]Write i2c OK [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: D1 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: D1 01 00 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: D1 01 00 20 34 00 25 [15:57:58]Write to MH i2c: 01 00 00 21 34 55 [15:57:58]Write i2c OK [15:57:58]MH_I2C_Read... [15:57:58]OFD Sender: No OFD packet to send [15:57:58]*** Cut start [15:57:58]*** Partial cut [15:57:58]*** CUTSNS_PIN = 1 [15:57:59]*** CUTSNS_PIN = 0 [15:57:59]*** Brake cut motor [15:57:59]Read from MH i2c: 01 [15:57:59]MH_I2C_Read... [15:57:59]*** Stop cut motor [15:57:59]*** Cut end [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 21 34 00 00 00 00 00 FF 0F 6A [15:57:59]process_action close_receipt done [15:57:59]requested_data is exist [15:57:59]produce_requested_data [15:57:59]requested_item fm.sn is exist - process it [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 22 34 80 11 00 00 00 00 00 00 D0 [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 22 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 25 [15:57:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [15:57:59]wFMCommunicate OK [15:57:59]requested_item fd.num is exist - process it [15:57:59]SAM_PROTO_GetFieldsCounters [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 13 00 00 [15:57:59]Write to MH i2c: E2 08 00 23 34 80 13 00 00 00 00 00 00 D3 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 62 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 62 00 23 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 57 9F 00 00 0E 04 04 00 C0 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 63 [15:57:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 57 9F 00 00 0E 04 04 00 C0 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 [15:57:59]wFMCommunicate OK [15:57:59]SAM_PROTO_GetFieldsCounters done [15:57:59]requested_item shift.num is exist - process it [15:57:59]requested_item shift.opened is exist - process it [15:57:59]req_shift_opened [15:57:59]FM_GetShiftState [15:57:59]SAM_PROTO_GetShiftState [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 13 01 00 [15:57:59]Write to MH i2c: E2 08 00 24 34 80 13 01 00 00 00 00 00 D5 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:59]Read from MH i2c: E2 0E 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 0E 00 24 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A3 [15:57:59]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [15:57:59]wFMCommunicate OK [15:57:59]SAM_PROTO_GetShiftState done [15:57:59]FM_GetShiftState done [15:57:59]req_shift_opened done [15:57:59]requested_item shift.open_date is exist - process it [15:57:59]req_shift_open_date [15:57:59]req_shift_open_date done [15:57:59]produce_requested_data done [15:57:59]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40791,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [15:57:59]process_action_free close_receipt [15:57:59]json_value_free [15:57:59]json_value_free done [15:57:59]process_json_proto returns [15:57:59]Send response to host [15:57:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40791,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [15:57:59]free response buf [15:57:59]execute_script done [15:57:59]execute_script returns [15:57:59]free content buf [15:57:59]Sock 7.Close socket [15:57:59]Sock 7.Thread stoped [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]accept exits with 9 [16:02:38]New connection [16:02:38]New thread 3066887524 created [16:02:38]Thread 3067030884 joined [16:02:38]Waiting for new connection... [16:02:38] Sock 9.Parse request [16:02:38]Sock 9.Check first char [16:02:38]Sock 9.First char is OK [16:02:38]request: POST /json_proto HTTP/1.0 [16:02:38]Method: POST [16:02:38]URL: /json_proto [16:02:38]Method is POST - this is cgi request [16:02:38]url: /json_proto [16:02:38]query_string will be loaded in cgi processing [16:02:38]execute_cgi json_proto POST (null) [16:02:38]execute_cgi path=json_proto method=POST [16:02:38]POST find Content-Length [16:02:38]Host: 172.17.53.4:8080 [16:02:38]Content-Length: 677 [16:02:38]Content-Type: application/json [16:02:38] [16:02:38]POST finish read [16:02:38]Found Content-Length = 677 [16:02:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808914", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:38]execute_script... [16:02:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808914", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:38]POST & json_proto [16:02:38]process_json_proto [16:02:38]json parsed OK: [16:02:38]protocol is kg_v1.0 [16:02:38]action value=close_receipt [16:02:38]process_action close_receipt [16:02:38]cmd_close_receipt [16:02:38]MH_GetDate [16:02:38]Write to MH i2c: F0 00 00 25 34 48 [16:02:38]Write i2c OK [16:02:38]MH_I2C_Read... [16:02:38]Read from MH i2c: F0 [16:02:38]MH_I2C_Read... [16:02:38]Read from MH i2c: F0 09 00 [16:02:38]MH_I2C_Read... [16:02:38]Read from MH i2c: F0 09 00 25 34 00 2F 7B 16 67 05 11 DA 64 CC [16:02:38]GetLastDocTimeStamp 1729526292 [16:02:38]current date 1729526575 [16:02:38]FM_GetShiftState [16:02:38]SAM_PROTO_GetShiftState [16:02:38]wFMCommunicate request_size=4 [16:02:38]MH_SAM_APDU [16:02:38]CAPDU: 80 13 01 00 [16:02:38]Write to MH i2c: E2 08 00 26 34 80 13 01 00 00 00 00 00 D7 [16:02:38]Write i2c OK [16:02:38]MH_I2C_Read... [16:02:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:38]Read from MH i2c: E2 [16:02:38]MH_I2C_Read... [16:02:38]Read from MH i2c: E2 0E 00 [16:02:38]MH_I2C_Read... [16:02:38]Read from MH i2c: E2 0E 00 26 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A5 [16:02:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:02:38]wFMCommunicate OK [16:02:38]SAM_PROTO_GetShiftState done [16:02:38]FM_GetShiftState done [16:02:38]opened in 1729470630 [16:02:38]opened+sec_in_day 1729557030 [16:02:38]quantity*price = 50041 [16:02:38]sum+1 = 50042 [16:02:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 60 21.10.2024 16:02 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40792 ФПД: 268493312229366 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160255&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40792&fm=268493312229366&tin=02508201610067®Number=0000000000098148&sum=50000 [16:02:39]StoreToDocumentArchive [16:02:39]shift 448 fd 40792 [16:02:39]save to /storage/0448/doc_00040792 [16:02:39]save last doc name /storage/0448/doc_00040792 to /storage/kkm_last_doc_name [16:02:39]save OK [16:02:39]Clear old archive folders... [16:02:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:02:39]tlvbuf is 0104E4B0 [16:02:39]SAM_PROTO_ClearQueue [16:02:39]wFMCommunicate request_size=4 [16:02:39]MH_SAM_APDU [16:02:39]CAPDU: 80 09 00 00 [16:02:39]Write to MH i2c: E2 08 00 33 34 80 09 00 00 00 00 00 00 D9 [16:02:39]Write i2c OK [16:02:39]MH_I2C_Read... [16:02:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:39]Read from MH i2c: E2 [16:02:39]MH_I2C_Read... [16:02:39]Read from MH i2c: E2 03 00 [16:02:39]MH_I2C_Read... [16:02:39]Read from MH i2c: E2 03 00 33 34 00 90 00 DB [16:02:39]RAPDU: 90 00 [16:02:39]wFMCommunicate OK [16:02:39]SAM_PROTO_ClearQueue done [16:02:39]KKMCreateOFDPacket [16:02:39]OFDProtocolAddRootSTLVToBuf [16:02:39]FM_MakeSignedData [16:02:39]FM_MakeSignedData [16:02:39]SAM_PROTO_SignData [16:02:39]wFMCommunicate request_size=4 [16:02:39]MH_SAM_APDU [16:02:39]CAPDU: 80 0D 01 02 [16:02:39]Write to MH i2c: E2 08 00 34 34 80 0D 01 02 00 00 00 00 E1 [16:02:39]Write i2c OK [16:02:39]MH_I2C_Read... [16:02:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:39]Read from MH i2c: E2 [16:02:39]MH_I2C_Read... [16:02:39]Read from MH i2c: E2 03 00 [16:02:39]MH_I2C_Read... [16:02:39]Read from MH i2c: E2 03 00 34 34 00 90 00 DC [16:02:39]RAPDU: 90 00 [16:02:39]wFMCommunicate OK [16:02:39]wFMCommunicate request_size=255 [16:02:39]MH_SAM_APDU [16:02:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 2F 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 58 9F 00 00 35 04 06 00 F4 [16:02:39]Write to MH i2c: E2 02 01 35 34 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 2F 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 58 9F 00 00 35 04 06 00 F4 00 00 86 [16:02:39]Write i2c OK [16:02:39]MH_I2C_Read... [16:02:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:40]Read from MH i2c: E2 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 03 00 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 03 00 35 34 00 90 00 DD [16:02:40]RAPDU: 90 00 [16:02:40]wFMCommunicate OK [16:02:40]wFMCommunicate request_size=10 [16:02:40]MH_SAM_APDU [16:02:40]CAPDU: 80 0D 02 02 05 31 78 7F FF F6 [16:02:40]Write to MH i2c: E2 0D 00 36 34 80 0D 02 02 05 00 31 78 7F FF F6 00 00 0B [16:02:40]Write i2c OK [16:02:40]MH_I2C_Read... [16:02:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:40]Read from MH i2c: E2 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 03 00 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 03 00 36 34 00 90 00 DE [16:02:40]RAPDU: 90 00 [16:02:40]wFMCommunicate OK [16:02:40]wFMCommunicate request_size=4 [16:02:40]MH_SAM_APDU [16:02:40]CAPDU: 80 0D 03 02 [16:02:40]Write to MH i2c: E2 08 00 37 34 80 0D 03 02 00 00 00 00 E6 [16:02:40]Write i2c OK [16:02:40]MH_I2C_Read... [16:02:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:40]Read from MH i2c: E2 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 0B 00 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 0B 00 37 34 00 EC 5E CD 27 99 B6 07 D0 90 00 4B [16:02:40]RAPDU: EC 5E CD 27 99 B6 07 D0 90 00 [16:02:40]wFMCommunicate OK [16:02:40]SAM_PROTO_SignData done [16:02:40]FM_MakeSignedData done [16:02:40]CreateOFDProtocolMessage [16:02:40]wFMCommunicate request_size=4 [16:02:40]MH_SAM_APDU [16:02:40]CAPDU: 80 11 00 00 [16:02:40]Write to MH i2c: E2 08 00 38 34 80 11 00 00 00 00 00 00 E6 [16:02:40]Write i2c OK [16:02:40]MH_I2C_Read... [16:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:40]Read from MH i2c: E2 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 17 00 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: E2 17 00 38 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 3B [16:02:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:02:40]wFMCommunicate OK [16:02:40]CreateOFDProtocolMessage done [16:02:40]OFDSenderStorePacket 40792 [16:02:40]StoreOFDPacket docnum=40792 [16:02:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A4 37 07 01 1D 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 2F 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 58 9F 00 00 35 04 06 00 F4 31 78 7F FF F6 EC 5E CD 27 99 B6 07 D0 [16:02:40]CheckFolder [16:02:40]dirname=/storage/ofd_packets [16:02:40]CheckFolder done [16:02:40]ProducePacketName [16:02:40]name=ofd_packets/00040792 [16:02:40]NVStorageSaveData ofd_packets/00040792 [16:02:40]File name is /storage/ofd_packets/00040792 [16:02:40]Write 301 bytes [16:02:40]NVStorageSaveData done [16:02:40]OFDSenderStorePacket done [16:02:40]KKMCreateOFDPacket done [16:02:40]NVStorageSaveData kkm_last_timestamp [16:02:40]File name is /storage/kkm_last_timestamp [16:02:40]Write 4 bytes [16:02:40]NVStorageSaveData done [16:02:40]ExternCall_PrintAddStr [16:02:40]wPrintStart [16:02:40]Write to MH i2c: 01 00 00 39 34 6D [16:02:40]Write i2c OK [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: 01 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: 01 07 00 [16:02:40]MH_I2C_Read... [16:02:40]Read from MH i2c: 01 07 00 39 34 00 00 00 00 00 FF 0F 82 [16:02:40]RasterBufferAndPrint [16:02:40]line Счет N : (1)808914 [16:02:40]line ИÐÐ: 02508201610067 [16:02:40]line Контрольно-КаÑÑовый Чек [16:02:40]line ПРОДÐЖР[16:02:40]line ТРК (МРК, ГÐК) : 43 [16:02:40]line Товар: 2710124130 [16:02:40]line Ðи-92-К-5 [16:02:40]line 7.480 * 66.90 [16:02:40]line = 500.41 [16:02:40]line ÐДС 12% ÐСП 1% [16:02:40]line > о реализуемом товаре [16:02:40]line ОКРУГЛЕÐИЕ: -0.41 [16:02:40]line ИТОГО: 500.00 [16:02:40]line ВнеÑено: 500.00 [16:02:40]line СДÐЧÐ: 0.00 [16:02:40]line ÐСП 1% : 4.43 [16:02:40]line ÐДС 12% : 53.14 [16:02:40]line Ðаличными: 500.00 [16:02:40]line Безнал.: 0.00 [16:02:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:02:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:02:40]line СÐО: Общий режим [16:02:40]line Чек 60 21.10.2024 16:02 [16:02:40]line Смена: 448 ФФД: 1.0 [16:02:40]line ЗÐМ: 0300000239 [16:02:40]line РÐМ: 0000000000098148 [16:02:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:02:40]line ФМ: 0000000000965374 [16:02:40]line ФД: 40792 [16:02:40]line ФПД: 268493312229366 [16:02:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160255&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40792&fm=268493312229366&tin=02508201610067®Number=0000000000098148&sum=50000 [16:02:40]written 0, free lines is 4095 [16:02:40]OFD Sender: Processing packet 40792 [packets to send 4, broken 3] [16:02:40]ProducePacketName [16:02:40]name=ofd_packets/00040792 [16:02:40]OFD Sender: To server: ‡•öpG, [16:02:40]CommunicateWithHost lk.salyk.kg:30040 [16:02:40]ConnectInit lk.salyk.kg [16:02:40]Connected sock=10 [16:02:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A4 37 07 01 1D 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 2F 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 58 9F 00 00 35 04 06 00 F4 31 78 7F FF F6 EC 5E CD 27 99 B6 07 D0 [16:02:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 F3 36 47 00 81 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 58 9F 00 00 F4 03 04 00 0F 21 16 67 B6 04 01 00 00 65 8B FC 67 86 9D 96 89 [16:02:41]CommunicateWithHost err = 0 [16:02:41]CheckOFDResponse [16:02:41]1017 (14) - 77093643461234 [16:02:41]1041 (16) - 0000000000965374 [16:02:41]1040 (4) - 40792 [16:02:41]1012 (4) - 21.10.2024 09:38 [16:02:41]1206 (1) - 0 [16:02:41]OFD Sender: Remove packet 40792 [16:02:41]ProducePacketName [16:02:41]name=ofd_packets/00040792 [16:02:41]NVStorageDeleteData [16:02:41]Write to MH i2c: 01 00 00 64 34 98 [16:02:41]Write i2c OK [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: 01 [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: 01 07 00 [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: 01 07 00 64 34 00 00 00 00 00 09 0D B5 [16:02:41]RasterBufferAndPrint [16:02:41]line [16:02:41]line [16:02:41]line [16:02:41]line [16:02:41]line [16:02:41]written 0, free lines is 3343 [16:02:41]MH_Cut [16:02:41]Write to MH i2c: D1 01 00 6B 34 01 71 [16:02:41]Write i2c OK [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: D1 [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: D1 01 00 [16:02:41]MH_I2C_Read... [16:02:41]Read from MH i2c: D1 01 00 6B 34 00 70 [16:02:41]Write to MH i2c: 01 00 00 6C 34 A0 [16:02:41]Write i2c OK [16:02:41]MH_I2C_Read... [16:02:41]OFD Sender: No OFD packet to send [16:02:41]*** Cut start [16:02:41]*** Partial cut [16:02:41]*** CUTSNS_PIN = 1 [16:02:41]*** CUTSNS_PIN = 0 [16:02:42]*** Brake cut motor [16:02:42]Read from MH i2c: 01 [16:02:42]MH_I2C_Read... [16:02:42]*** Stop cut motor [16:02:42]*** Cut end [16:02:42]Read from MH i2c: 01 07 00 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: 01 07 00 6C 34 00 00 00 00 00 FF 0F B5 [16:02:42]process_action close_receipt done [16:02:42]requested_data is exist [16:02:42]produce_requested_data [16:02:42]requested_item fm.sn is exist - process it [16:02:42]wFMCommunicate request_size=4 [16:02:42]MH_SAM_APDU [16:02:42]CAPDU: 80 11 00 00 [16:02:42]Write to MH i2c: E2 08 00 6D 34 80 11 00 00 00 00 00 00 1B [16:02:42]Write i2c OK [16:02:42]MH_I2C_Read... [16:02:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:42]Read from MH i2c: E2 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 17 00 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 17 00 6D 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 70 [16:02:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:02:42]wFMCommunicate OK [16:02:42]requested_item fd.num is exist - process it [16:02:42]SAM_PROTO_GetFieldsCounters [16:02:42]wFMCommunicate request_size=4 [16:02:42]MH_SAM_APDU [16:02:42]CAPDU: 80 13 00 00 [16:02:42]Write to MH i2c: E2 08 00 6E 34 80 13 00 00 00 00 00 00 1E [16:02:42]Write i2c OK [16:02:42]MH_I2C_Read... [16:02:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:42]Read from MH i2c: E2 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 62 00 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 62 00 6E 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 58 9F 00 00 0E 04 04 00 C0 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 B2 [16:02:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 58 9F 00 00 0E 04 04 00 C0 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:02:42]wFMCommunicate OK [16:02:42]SAM_PROTO_GetFieldsCounters done [16:02:42]requested_item shift.num is exist - process it [16:02:42]requested_item shift.opened is exist - process it [16:02:42]req_shift_opened [16:02:42]FM_GetShiftState [16:02:42]SAM_PROTO_GetShiftState [16:02:42]wFMCommunicate request_size=4 [16:02:42]MH_SAM_APDU [16:02:42]CAPDU: 80 13 01 00 [16:02:42]Write to MH i2c: E2 08 00 6F 34 80 13 01 00 00 00 00 00 20 [16:02:42]Write i2c OK [16:02:42]MH_I2C_Read... [16:02:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:42]Read from MH i2c: E2 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 0E 00 [16:02:42]MH_I2C_Read... [16:02:42]Read from MH i2c: E2 0E 00 6F 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 EE [16:02:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:02:42]wFMCommunicate OK [16:02:42]SAM_PROTO_GetShiftState done [16:02:42]FM_GetShiftState done [16:02:42]req_shift_opened done [16:02:42]requested_item shift.open_date is exist - process it [16:02:42]req_shift_open_date [16:02:42]req_shift_open_date done [16:02:42]produce_requested_data done [16:02:42]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40792,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:02:42]process_action_free close_receipt [16:02:42]json_value_free [16:02:42]json_value_free done [16:02:42]process_json_proto returns [16:02:42]Send response to host [16:02:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40792,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:02:42]free response buf [16:02:42]execute_script done [16:02:42]execute_script returns [16:02:42]free content buf [16:02:42]Sock 9.Close socket [16:02:42]Sock 9.Thread stoped [16:02:46]OFD Sender: No OFD packet to send [16:02:47]accept exits with 7 [16:02:47]New connection [16:02:47]New thread 3067030884 created [16:02:47]Thread 3066887524 joined [16:02:47]Waiting for new connection... [16:02:47] Sock 7.Parse request [16:02:47]Sock 7.Check first char [16:02:47]Sock 7.First char is OK [16:02:47]request: POST /json_proto HTTP/1.0 [16:02:47]Method: POST [16:02:47]URL: /json_proto [16:02:47]Method is POST - this is cgi request [16:02:47]url: /json_proto [16:02:47]query_string will be loaded in cgi processing [16:02:47]execute_cgi json_proto POST (null) [16:02:47]execute_cgi path=json_proto method=POST [16:02:47]POST find Content-Length [16:02:47]Host: 172.17.53.4:8080 [16:02:47]Content-Length: 677 [16:02:47]Content-Type: application/json [16:02:47] [16:02:47]POST finish read [16:02:47]Found Content-Length = 677 [16:02:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808913", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:47]execute_script... [16:02: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 : (1)808913", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:47]POST & json_proto [16:02:47]process_json_proto [16:02:47]json parsed OK: [16:02:47]protocol is kg_v1.0 [16:02:47]action value=close_receipt [16:02:47]process_action close_receipt [16:02:47]cmd_close_receipt [16:02:47]MH_GetDate [16:02:47]Write to MH i2c: F0 00 00 70 34 93 [16:02:47]Write i2c OK [16:02:47]MH_I2C_Read... [16:02:47]Read from MH i2c: F0 [16:02:47]MH_I2C_Read... [16:02:47]Read from MH i2c: F0 09 00 [16:02:47]MH_I2C_Read... [16:02:47]Read from MH i2c: F0 09 00 70 34 00 38 7B 16 67 05 11 DA 64 20 [16:02:47]GetLastDocTimeStamp 1729526575 [16:02:47]current date 1729526584 [16:02:47]FM_GetShiftState [16:02:47]SAM_PROTO_GetShiftState [16:02:47]wFMCommunicate request_size=4 [16:02:47]MH_SAM_APDU [16:02:47]CAPDU: 80 13 01 00 [16:02:47]Write to MH i2c: E2 08 00 71 34 80 13 01 00 00 00 00 00 22 [16:02:47]Write i2c OK [16:02:47]MH_I2C_Read... [16:02:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:47]Read from MH i2c: E2 [16:02:47]MH_I2C_Read... [16:02:47]Read from MH i2c: E2 0E 00 [16:02:47]MH_I2C_Read... [16:02:47]Read from MH i2c: E2 0E 00 71 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F0 [16:02:47]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:02:47]wFMCommunicate OK [16:02:47]SAM_PROTO_GetShiftState done [16:02:47]FM_GetShiftState done [16:02:47]opened in 1729470630 [16:02:47]opened+sec_in_day 1729557030 [16:02:47]quantity*price = 30038 [16:02:47]sum+1 = 30039 [16:02:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 61 21.10.2024 16:03 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40793 ФПД: 198011976327534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160304&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40793&fm=198011976327534&tin=02508201610067®Number=0000000000098148&sum=30000 [16:02:48]StoreToDocumentArchive [16:02:48]shift 448 fd 40793 [16:02:48]save to /storage/0448/doc_00040793 [16:02:48]save last doc name /storage/0448/doc_00040793 to /storage/kkm_last_doc_name [16:02:48]save OK [16:02:48]Clear old archive folders... [16:02:48]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:02:48]tlvbuf is B6EBBC60 [16:02:48]SAM_PROTO_ClearQueue [16:02:48]wFMCommunicate request_size=4 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 09 00 00 [16:02:48]Write to MH i2c: E2 08 00 7E 34 80 09 00 00 00 00 00 00 24 [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:48]Read from MH i2c: E2 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 7E 34 00 90 00 26 [16:02:48]RAPDU: 90 00 [16:02:48]wFMCommunicate OK [16:02:48]SAM_PROTO_ClearQueue done [16:02:48]KKMCreateOFDPacket [16:02:48]OFDProtocolAddRootSTLVToBuf [16:02:48]FM_MakeSignedData [16:02:48]FM_MakeSignedData [16:02:48]SAM_PROTO_SignData [16:02:48]wFMCommunicate request_size=4 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 0D 01 02 [16:02:48]Write to MH i2c: E2 08 00 7F 34 80 0D 01 02 00 00 00 00 2C [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:48]Read from MH i2c: E2 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 7F 34 00 90 00 27 [16:02:48]RAPDU: 90 00 [16:02:48]wFMCommunicate OK [16:02:48]wFMCommunicate request_size=255 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 38 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 59 9F 00 00 35 04 06 00 B4 [16:02:48]Write to MH i2c: E2 02 01 80 34 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 38 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 59 9F 00 00 35 04 06 00 B4 00 00 90 [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:48]Read from MH i2c: E2 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 80 34 00 90 00 28 [16:02:48]RAPDU: 90 00 [16:02:48]wFMCommunicate OK [16:02:48]wFMCommunicate request_size=10 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 0D 02 02 05 17 41 82 A1 6E [16:02:48]Write to MH i2c: E2 0D 00 81 34 80 0D 02 02 05 00 17 41 82 A1 6E 00 00 22 [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:48]Read from MH i2c: E2 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 03 00 81 34 00 90 00 29 [16:02:48]RAPDU: 90 00 [16:02:48]wFMCommunicate OK [16:02:48]wFMCommunicate request_size=4 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 0D 03 02 [16:02:48]Write to MH i2c: E2 08 00 82 34 80 0D 03 02 00 00 00 00 31 [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:48]Read from MH i2c: E2 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 0B 00 [16:02:48]MH_I2C_Read... [16:02:48]Read from MH i2c: E2 0B 00 82 34 00 25 11 9C E9 7D 95 27 3A 90 00 60 [16:02:48]RAPDU: 25 11 9C E9 7D 95 27 3A 90 00 [16:02:48]wFMCommunicate OK [16:02:48]SAM_PROTO_SignData done [16:02:48]FM_MakeSignedData done [16:02:48]CreateOFDProtocolMessage [16:02:48]wFMCommunicate request_size=4 [16:02:48]MH_SAM_APDU [16:02:48]CAPDU: 80 11 00 00 [16:02:48]Write to MH i2c: E2 08 00 83 34 80 11 00 00 00 00 00 00 31 [16:02:48]Write i2c OK [16:02:48]MH_I2C_Read... [16:02:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:49]Read from MH i2c: E2 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: E2 17 00 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: E2 17 00 83 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 86 [16:02:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:02:49]wFMCommunicate OK [16:02:49]CreateOFDProtocolMessage done [16:02:49]OFDSenderStorePacket 40793 [16:02:49]StoreOFDPacket docnum=40793 [16:02:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3F C6 07 01 DB 56 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 38 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 59 9F 00 00 35 04 06 00 B4 17 41 82 A1 6E 25 11 9C E9 7D 95 27 3A [16:02:49]CheckFolder [16:02:49]dirname=/storage/ofd_packets [16:02:49]CheckFolder done [16:02:49]ProducePacketName [16:02:49]name=ofd_packets/00040793 [16:02:49]NVStorageSaveData ofd_packets/00040793 [16:02:49]File name is /storage/ofd_packets/00040793 [16:02:49]Write 301 bytes [16:02:49]NVStorageSaveData done [16:02:49]OFDSenderStorePacket done [16:02:49]KKMCreateOFDPacket done [16:02:49]NVStorageSaveData kkm_last_timestamp [16:02:49]File name is /storage/kkm_last_timestamp [16:02:49]Write 4 bytes [16:02:49]NVStorageSaveData done [16:02:49]ExternCall_PrintAddStr [16:02:49]wPrintStart [16:02:49]Write to MH i2c: 01 00 00 84 34 B8 [16:02:49]Write i2c OK [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 07 00 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 07 00 84 34 00 00 00 00 00 FF 0F CD [16:02:49]RasterBufferAndPrint [16:02:49]line Счет N : (1)808913 [16:02:49]line ИÐÐ: 02508201610067 [16:02:49]line Контрольно-КаÑÑовый Чек [16:02:49]line ПРОДÐЖР[16:02:49]line ТРК (МРК, ГÐК) : 63 [16:02:49]line Товар: 2710124130 [16:02:49]line Ðи-92-К-5 [16:02:49]line 4.490 * 66.90 [16:02:49]line = 300.38 [16:02:49]line ÐДС 12% ÐСП 1% [16:02:49]line > о реализуемом товаре [16:02:49]line ОКРУГЛЕÐИЕ: -0.38 [16:02:49]line ИТОГО: 300.00 [16:02:49]line ВнеÑено: 300.00 [16:02:49]line СДÐЧÐ: 0.00 [16:02:49]line ÐСП 1% : 2.66 [16:02:49]line ÐДС 12% : 31.90 [16:02:49]line Ðаличными: 300.00 [16:02:49]line Безнал.: 0.00 [16:02:49]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:02:49]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:02:49]line СÐО: Общий режим [16:02:49]line Чек 61 21.10.2024 16:03 [16:02:49]line Смена: 448 ФФД: 1.0 [16:02:49]line ЗÐМ: 0300000239 [16:02:49]line РÐМ: 0000000000098148 [16:02:49]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:02:49]line ФМ: 0000000000965374 [16:02:49]line ФД: 40793 [16:02:49]line ФПД: 198011976327534 [16:02:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160304&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40793&fm=198011976327534&tin=02508201610067®Number=0000000000098148&sum=30000 [16:02:49]written 0, free lines is 4095 [16:02:49]OFD Sender: Processing packet 40793 [packets to send 4, broken 3] [16:02:49]ProducePacketName [16:02:49]name=ofd_packets/00040793 [16:02:49]OFD Sender: To server: ‡•öpG, [16:02:49]CommunicateWithHost lk.salyk.kg:30040 [16:02:49]ConnectInit lk.salyk.kg [16:02:49]Connected sock=10 [16:02:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3F C6 07 01 DB 56 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 38 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 59 9F 00 00 35 04 06 00 B4 17 41 82 A1 6E 25 11 9C E9 7D 95 27 3A [16:02:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 F1 D5 47 00 4A 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 59 9F 00 00 F4 03 04 00 17 21 16 67 B6 04 01 00 00 DB 61 4B 56 D8 1A 78 28 [16:02:49]CommunicateWithHost err = 0 [16:02:49]CheckOFDResponse [16:02:49]1017 (14) - 77093643461234 [16:02:49]1041 (16) - 0000000000965374 [16:02:49]1040 (4) - 40793 [16:02:49]1012 (4) - 21.10.2024 09:38 [16:02:49]1206 (1) - 0 [16:02:49]OFD Sender: Remove packet 40793 [16:02:49]ProducePacketName [16:02:49]name=ofd_packets/00040793 [16:02:49]NVStorageDeleteData [16:02:49]Write to MH i2c: 01 00 00 AF 34 E3 [16:02:49]Write i2c OK [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 07 00 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: 01 07 00 AF 34 00 00 00 00 00 03 0D FA [16:02:49]RasterBufferAndPrint [16:02:49]line [16:02:49]line [16:02:49]line [16:02:49]line [16:02:49]line [16:02:49]written 0, free lines is 3342 [16:02:49]MH_Cut [16:02:49]Write to MH i2c: D1 01 00 B6 34 01 BC [16:02:49]Write i2c OK [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: D1 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: D1 01 00 [16:02:49]MH_I2C_Read... [16:02:49]Read from MH i2c: D1 01 00 B6 34 00 BB [16:02:49]Write to MH i2c: 01 00 00 B7 34 EB [16:02:49]Write i2c OK [16:02:49]MH_I2C_Read... [16:02:49]OFD Sender: No OFD packet to send [16:02:50]*** Cut start [16:02:50]*** Partial cut [16:02:50]*** CUTSNS_PIN = 1 [16:02:50]*** CUTSNS_PIN = 0 [16:02:50]*** Brake cut motor [16:02:50]Read from MH i2c: 01 [16:02:50]MH_I2C_Read... [16:02:50]*** Stop cut motor [16:02:50]*** Cut end [16:02:50]Read from MH i2c: 01 07 00 [16:02:50]MH_I2C_Read... [16:02:50]Read from MH i2c: 01 07 00 B7 34 00 00 00 00 00 FF 0F 00 [16:02:50]process_action close_receipt done [16:02:50]requested_data is exist [16:02:50]produce_requested_data [16:02:50]requested_item fm.sn is exist - process it [16:02:50]wFMCommunicate request_size=4 [16:02:50]MH_SAM_APDU [16:02:50]CAPDU: 80 11 00 00 [16:02:50]Write to MH i2c: E2 08 00 B8 34 80 11 00 00 00 00 00 00 66 [16:02:50]Write i2c OK [16:02:50]MH_I2C_Read... [16:02:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:50]Read from MH i2c: E2 [16:02:50]MH_I2C_Read... [16:02:50]Read from MH i2c: E2 17 00 [16:02:50]MH_I2C_Read... [16:02:50]Read from MH i2c: E2 17 00 B8 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 BB [16:02:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:02:50]wFMCommunicate OK [16:02:50]requested_item fd.num is exist - process it [16:02:50]SAM_PROTO_GetFieldsCounters [16:02:50]wFMCommunicate request_size=4 [16:02:50]MH_SAM_APDU [16:02:50]CAPDU: 80 13 00 00 [16:02:50]Write to MH i2c: E2 08 00 B9 34 80 13 00 00 00 00 00 00 69 [16:02:50]Write i2c OK [16:02:50]MH_I2C_Read... [16:02:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:50]Read from MH i2c: E2 [16:02:50]MH_I2C_Read... [16:02:50]Read from MH i2c: E2 62 00 [16:02:50]MH_I2C_Read... [16:02:50]Read from MH i2c: E2 62 00 B9 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 59 9F 00 00 0E 04 04 00 C0 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 01 [16:02:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 59 9F 00 00 0E 04 04 00 C0 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:02:50]wFMCommunicate OK [16:02:50]SAM_PROTO_GetFieldsCounters done [16:02:50]requested_item shift.num is exist - process it [16:02:50]requested_item shift.opened is exist - process it [16:02:50]req_shift_opened [16:02:50]FM_GetShiftState [16:02:50]SAM_PROTO_GetShiftState [16:02:50]wFMCommunicate request_size=4 [16:02:50]MH_SAM_APDU [16:02:50]CAPDU: 80 13 01 00 [16:02:50]Write to MH i2c: E2 08 00 BA 34 80 13 01 00 00 00 00 00 6B [16:02:51]Write i2c OK [16:02:51]MH_I2C_Read... [16:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:51]Read from MH i2c: E2 [16:02:51]MH_I2C_Read... [16:02:51]Read from MH i2c: E2 0E 00 [16:02:51]MH_I2C_Read... [16:02:51]Read from MH i2c: E2 0E 00 BA 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 39 [16:02:51]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:02:51]wFMCommunicate OK [16:02:51]SAM_PROTO_GetShiftState done [16:02:51]FM_GetShiftState done [16:02:51]req_shift_opened done [16:02:51]requested_item shift.open_date is exist - process it [16:02:51]req_shift_open_date [16:02:51]req_shift_open_date done [16:02:51]produce_requested_data done [16:02:51]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40793,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:02:51]process_action_free close_receipt [16:02:51]json_value_free [16:02:51]json_value_free done [16:02:51]process_json_proto returns [16:02:51]Send response to host [16:02:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40793,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:02:51]free response buf [16:02:51]execute_script done [16:02:51]execute_script returns [16:02:51]free content buf [16:02:51]Sock 7.Close socket [16:02:51]Sock 7.Thread stoped [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:20]accept exits with 9 [16:05:20]New connection [16:05:20]New thread 3066887524 created [16:05:20]Thread 3067030884 joined [16:05:20]Waiting for new connection... [16:05:20] Sock 9.Parse request [16:05:20]Sock 9.Check first char [16:05:20]Sock 9.First char is OK [16:05:20]request: POST /json_proto HTTP/1.0 [16:05:20]Method: POST [16:05:20]URL: /json_proto [16:05:20]Method is POST - this is cgi request [16:05:20]url: /json_proto [16:05:20]query_string will be loaded in cgi processing [16:05:20]execute_cgi json_proto POST (null) [16:05:20]execute_cgi path=json_proto method=POST [16:05:20]POST find Content-Length [16:05:20]Host: 172.17.53.4:8080 [16:05:20]Content-Length: 675 [16:05:20]Content-Type: application/json [16:05:20] [16:05:20]POST finish read [16:05:20]Found Content-Length = 675 [16:05:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808916", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [16:05:20]execute_script... [16:05:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808916", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [16:05:20]POST & json_proto [16:05:20]process_json_proto [16:05:20]json parsed OK: [16:05:20]protocol is kg_v1.0 [16:05:20]action value=close_receipt [16:05:20]process_action close_receipt [16:05:20]cmd_close_receipt [16:05:20]MH_GetDate [16:05:20]Write to MH i2c: F0 00 00 BB 34 DE [16:05:20]Write i2c OK [16:05:20]MH_I2C_Read... [16:05:20]Read from MH i2c: F0 [16:05:20]MH_I2C_Read... [16:05:20]Read from MH i2c: F0 09 00 [16:05:20]MH_I2C_Read... [16:05:20]Read from MH i2c: F0 09 00 BB 34 00 D0 7B 16 67 05 11 DA 64 03 [16:05:20]GetLastDocTimeStamp 1729526584 [16:05:20]current date 1729526736 [16:05:20]FM_GetShiftState [16:05:20]SAM_PROTO_GetShiftState [16:05:20]wFMCommunicate request_size=4 [16:05:20]MH_SAM_APDU [16:05:20]CAPDU: 80 13 01 00 [16:05:20]Write to MH i2c: E2 08 00 BC 34 80 13 01 00 00 00 00 00 6D [16:05:20]Write i2c OK [16:05:20]MH_I2C_Read... [16:05:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:20]Read from MH i2c: E2 [16:05:20]MH_I2C_Read... [16:05:20]Read from MH i2c: E2 0E 00 [16:05:20]MH_I2C_Read... [16:05:20]Read from MH i2c: E2 0E 00 BC 34 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 3B [16:05:20]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:05:20]wFMCommunicate OK [16:05:20]SAM_PROTO_GetShiftState done [16:05:20]FM_GetShiftState done [16:05:20]opened in 1729470630 [16:05:20]opened+sec_in_day 1729557030 [16:05:20]quantity*price = 100000 [16:05:20]sum+1 = 100002 [16:05:20]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.01 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 62 21.10.2024 16:05 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40794 ФПД: 112618250064690 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160536&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40794&fm=112618250064690&tin=02508201610067®Number=0000000000098148&sum=100000 [16:05:21]StoreToDocumentArchive [16:05:21]shift 448 fd 40794 [16:05:21]save to /storage/0448/doc_00040794 [16:05:21]save last doc name /storage/0448/doc_00040794 to /storage/kkm_last_doc_name [16:05:21]save OK [16:05:21]Clear old archive folders... [16:05:21]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:05:21]tlvbuf is 010F6A00 [16:05:21]SAM_PROTO_ClearQueue [16:05:21]wFMCommunicate request_size=4 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 09 00 00 [16:05:21]Write to MH i2c: E2 08 00 C9 34 80 09 00 00 00 00 00 00 6F [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 C9 34 00 90 00 71 [16:05:21]RAPDU: 90 00 [16:05:21]wFMCommunicate OK [16:05:21]SAM_PROTO_ClearQueue done [16:05:21]KKMCreateOFDPacket [16:05:21]OFDProtocolAddRootSTLVToBuf [16:05:21]FM_MakeSignedData [16:05:21]FM_MakeSignedData [16:05:21]SAM_PROTO_SignData [16:05:21]wFMCommunicate request_size=4 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 0D 01 02 [16:05:21]Write to MH i2c: E2 08 00 CA 34 80 0D 01 02 00 00 00 00 77 [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 CA 34 00 90 00 72 [16:05:21]RAPDU: 90 00 [16:05:21]wFMCommunicate OK [16:05:21]wFMCommunicate request_size=255 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 D0 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5A 9F 00 00 35 04 06 00 [16:05:21]Write to MH i2c: E2 02 01 CB 34 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 D0 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5A 9F 00 00 35 04 06 00 00 00 1F [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 CB 34 00 90 00 73 [16:05:21]RAPDU: 90 00 [16:05:21]wFMCommunicate OK [16:05:21]wFMCommunicate request_size=11 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 0D 02 02 06 66 6C FA CA 53 32 [16:05:21]Write to MH i2c: E2 0E 00 CC 34 80 0D 02 02 06 00 66 6C FA CA 53 32 00 00 A1 [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 03 00 CC 34 00 90 00 74 [16:05:21]RAPDU: 90 00 [16:05:21]wFMCommunicate OK [16:05:21]wFMCommunicate request_size=4 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 0D 03 02 [16:05:21]Write to MH i2c: E2 08 00 CD 34 80 0D 03 02 00 00 00 00 7C [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 0B 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 0B 00 CD 34 00 51 E3 80 20 03 E6 6F 78 90 00 21 [16:05:21]RAPDU: 51 E3 80 20 03 E6 6F 78 90 00 [16:05:21]wFMCommunicate OK [16:05:21]SAM_PROTO_SignData done [16:05:21]FM_MakeSignedData done [16:05:21]CreateOFDProtocolMessage [16:05:21]wFMCommunicate request_size=4 [16:05:21]MH_SAM_APDU [16:05:21]CAPDU: 80 11 00 00 [16:05:21]Write to MH i2c: E2 08 00 CE 34 80 11 00 00 00 00 00 00 7C [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:21]Read from MH i2c: E2 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 17 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: E2 17 00 CE 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D1 [16:05:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:05:21]wFMCommunicate OK [16:05:21]CreateOFDProtocolMessage done [16:05:21]OFDSenderStorePacket 40794 [16:05:21]StoreOFDPacket docnum=40794 [16:05:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 64 B1 08 01 57 E5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 D0 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5A 9F 00 00 35 04 06 00 66 6C FA CA 53 32 51 E3 80 20 03 E6 6F 78 [16:05:21]CheckFolder [16:05:21]dirname=/storage/ofd_packets [16:05:21]CheckFolder done [16:05:21]ProducePacketName [16:05:21]name=ofd_packets/00040794 [16:05:21]NVStorageSaveData ofd_packets/00040794 [16:05:21]File name is /storage/ofd_packets/00040794 [16:05:21]Write 302 bytes [16:05:21]NVStorageSaveData done [16:05:21]OFDSenderStorePacket done [16:05:21]KKMCreateOFDPacket done [16:05:21]NVStorageSaveData kkm_last_timestamp [16:05:21]File name is /storage/kkm_last_timestamp [16:05:21]Write 4 bytes [16:05:21]NVStorageSaveData done [16:05:21]ExternCall_PrintAddStr [16:05:21]wPrintStart [16:05:21]Write to MH i2c: 01 00 00 CF 34 03 [16:05:21]Write i2c OK [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: 01 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: 01 07 00 [16:05:21]MH_I2C_Read... [16:05:21]Read from MH i2c: 01 07 00 CF 34 00 00 00 00 00 FF 0F 18 [16:05:21]RasterBufferAndPrint [16:05:21]line Счет N : (1)808916 [16:05:21]line ИÐÐ: 02508201610067 [16:05:21]line Контрольно-КаÑÑовый Чек [16:05:21]line ПРОДÐЖР[16:05:21]line ТРК (МРК, ГÐК) : 42 [16:05:21]line Товар: 2710124130 [16:05:21]line Super 92-К-5 [16:05:21]line 14.620 * 68.40 [16:05:21]line = 1000.01 [16:05:21]line ÐДС 12% ÐСП 1% [16:05:21]line > о реализуемом товаре [16:05:21]line ОКРУГЛЕÐИЕ: -0.01 [16:05:21]line ИТОГО: 1000.00 [16:05:21]line ВнеÑено: 1000.00 [16:05:21]line СДÐЧÐ: 0.00 [16:05:21]line ÐСП 1% : 8.85 [16:05:21]line ÐДС 12% : 106.20 [16:05:21]line Ðаличными: 1000.00 [16:05:21]line Безнал.: 0.00 [16:05:21]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:05:21]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:05:21]line СÐО: Общий режим [16:05:21]line Чек 62 21.10.2024 16:05 [16:05:21]line Смена: 448 ФФД: 1.0 [16:05:21]line ЗÐМ: 0300000239 [16:05:21]line РÐМ: 0000000000098148 [16:05:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:05:21]line ФМ: 0000000000965374 [16:05:21]line ФД: 40794 [16:05:21]line ФПД: 112618250064690 [16:05:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160536&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40794&fm=112618250064690&tin=02508201610067®Number=0000000000098148&sum=100000 [16:05:22]OFD Sender: Processing packet 40794 [packets to send 4, broken 3] [16:05:22]ProducePacketName [16:05:22]name=ofd_packets/00040794 [16:05:22]OFD Sender: To server: ‡•öpG, [16:05:22]CommunicateWithHost lk.salyk.kg:30040 [16:05:22]ConnectInit lk.salyk.kg [16:05:22]written 0, free lines is 4095 [16:05:22]Connected sock=10 [16:05:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 64 B1 08 01 57 E5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 D0 7B 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5A 9F 00 00 35 04 06 00 66 6C FA CA 53 32 51 E3 80 20 03 E6 6F 78 [16:05:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 98 79 47 00 BF 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5A 9F 00 00 F4 03 04 00 B0 21 16 67 B6 04 01 00 00 94 4B 2C 4E F0 CD 58 84 [16:05:22]CommunicateWithHost err = 0 [16:05:22]CheckOFDResponse [16:05:22]1017 (14) - 77093643461234 [16:05:22]1041 (16) - 0000000000965374 [16:05:22]1040 (4) - 40794 [16:05:22]1012 (4) - 21.10.2024 09:41 [16:05:22]1206 (1) - 0 [16:05:22]OFD Sender: Remove packet 40794 [16:05:22]ProducePacketName [16:05:22]name=ofd_packets/00040794 [16:05:22]NVStorageDeleteData [16:05:22]Write to MH i2c: 01 00 00 FA 34 2E [16:05:22]Write i2c OK [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: 01 [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: 01 07 00 [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: 01 07 00 FA 34 00 00 00 00 00 04 0D 46 [16:05:22]RasterBufferAndPrint [16:05:22]line [16:05:22]line [16:05:22]line [16:05:22]line [16:05:22]line [16:05:22]written 0, free lines is 3339 [16:05:22]MH_Cut [16:05:22]Write to MH i2c: D1 01 00 01 35 01 08 [16:05:22]Write i2c OK [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: D1 [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: D1 01 00 [16:05:22]MH_I2C_Read... [16:05:22]Read from MH i2c: D1 01 00 01 35 00 07 [16:05:22]Write to MH i2c: 01 00 00 02 35 37 [16:05:22]Write i2c OK [16:05:22]MH_I2C_Read... [16:05:23]OFD Sender: No OFD packet to send [16:05:23]*** Cut start [16:05:23]*** Partial cut [16:05:23]*** CUTSNS_PIN = 1 [16:05:23]*** CUTSNS_PIN = 0 [16:05:23]*** Brake cut motor [16:05:23]Read from MH i2c: 01 [16:05:23]MH_I2C_Read... [16:05:23]*** Stop cut motor [16:05:23]*** Cut end [16:05:23]Read from MH i2c: 01 07 00 [16:05:23]MH_I2C_Read... [16:05:23]Read from MH i2c: 01 07 00 02 35 00 00 00 00 00 FF 0F 4C [16:05:23]process_action close_receipt done [16:05:23]requested_data is exist [16:05:23]produce_requested_data [16:05:23]requested_item fm.sn is exist - process it [16:05:23]wFMCommunicate request_size=4 [16:05:23]MH_SAM_APDU [16:05:23]CAPDU: 80 11 00 00 [16:05:23]Write to MH i2c: E2 08 00 03 35 80 11 00 00 00 00 00 00 B2 [16:05:24]Write i2c OK [16:05:24]MH_I2C_Read... [16:05:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:24]Read from MH i2c: E2 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 17 00 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 17 00 03 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 07 [16:05:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:05:24]wFMCommunicate OK [16:05:24]requested_item fd.num is exist - process it [16:05:24]SAM_PROTO_GetFieldsCounters [16:05:24]wFMCommunicate request_size=4 [16:05:24]MH_SAM_APDU [16:05:24]CAPDU: 80 13 00 00 [16:05:24]Write to MH i2c: E2 08 00 04 35 80 13 00 00 00 00 00 00 B5 [16:05:24]Write i2c OK [16:05:24]MH_I2C_Read... [16:05:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:05:24]Read from MH i2c: E2 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 62 00 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 62 00 04 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5A 9F 00 00 0E 04 04 00 C0 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 51 [16:05:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5A 9F 00 00 0E 04 04 00 C0 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:05:24]wFMCommunicate OK [16:05:24]SAM_PROTO_GetFieldsCounters done [16:05:24]requested_item shift.num is exist - process it [16:05:24]requested_item shift.opened is exist - process it [16:05:24]req_shift_opened [16:05:24]FM_GetShiftState [16:05:24]SAM_PROTO_GetShiftState [16:05:24]wFMCommunicate request_size=4 [16:05:24]MH_SAM_APDU [16:05:24]CAPDU: 80 13 01 00 [16:05:24]Write to MH i2c: E2 08 00 05 35 80 13 01 00 00 00 00 00 B7 [16:05:24]Write i2c OK [16:05:24]MH_I2C_Read... [16:05:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:24]Read from MH i2c: E2 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 0E 00 [16:05:24]MH_I2C_Read... [16:05:24]Read from MH i2c: E2 0E 00 05 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 85 [16:05:24]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:05:24]wFMCommunicate OK [16:05:24]SAM_PROTO_GetShiftState done [16:05:24]FM_GetShiftState done [16:05:24]req_shift_opened done [16:05:24]requested_item shift.open_date is exist - process it [16:05:24]req_shift_open_date [16:05:24]req_shift_open_date done [16:05:24]produce_requested_data done [16:05:24]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40794,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:05:24]process_action_free close_receipt [16:05:24]json_value_free [16:05:24]json_value_free done [16:05:24]process_json_proto returns [16:05:24]Send response to host [16:05:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40794,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:05:24]free response buf [16:05:24]execute_script done [16:05:24]execute_script returns [16:05:24]free content buf [16:05:24]Sock 9.Close socket [16:05:24]Sock 9.Thread stoped [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:38]accept exits with 7 [16:06:38]New connection [16:06:38]New thread 3067030884 created [16:06:38]Thread 3066887524 joined [16:06:38]Waiting for new connection... [16:06:38] Sock 7.Parse request [16:06:38]Sock 7.Check first char [16:06:38]Sock 7.First char is OK [16:06:38]request: POST /json_proto HTTP/1.0 [16:06:38]Method: POST [16:06:38]URL: /json_proto [16:06:38]Method is POST - this is cgi request [16:06:38]url: /json_proto [16:06:38]query_string will be loaded in cgi processing [16:06:38]execute_cgi json_proto POST (null) [16:06:38]execute_cgi path=json_proto method=POST [16:06:38]POST find Content-Length [16:06:38]Host: 172.17.53.4:8080 [16:06:38]Content-Length: 677 [16:06:38]Content-Type: application/json [16:06:38] [16:06:38]POST finish read [16:06:38]Found Content-Length = 677 [16:06:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808917", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:38]execute_script... [16:06:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808917", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:38]POST & json_proto [16:06:38]process_json_proto [16:06:38]json parsed OK: [16:06:38]protocol is kg_v1.0 [16:06:38]action value=close_receipt [16:06:38]process_action close_receipt [16:06:38]cmd_close_receipt [16:06:38]MH_GetDate [16:06:38]Write to MH i2c: F0 00 00 06 35 2A [16:06:38]Write i2c OK [16:06:38]MH_I2C_Read... [16:06:38]Read from MH i2c: F0 [16:06:38]MH_I2C_Read... [16:06:38]Read from MH i2c: F0 09 00 [16:06:38]MH_I2C_Read... [16:06:38]Read from MH i2c: F0 09 00 06 35 00 1F 7C 16 67 05 11 DA 64 9F [16:06:38]GetLastDocTimeStamp 1729526736 [16:06:38]current date 1729526815 [16:06:38]FM_GetShiftState [16:06:38]SAM_PROTO_GetShiftState [16:06:38]wFMCommunicate request_size=4 [16:06:38]MH_SAM_APDU [16:06:38]CAPDU: 80 13 01 00 [16:06:38]Write to MH i2c: E2 08 00 07 35 80 13 01 00 00 00 00 00 B9 [16:06:38]Write i2c OK [16:06:38]MH_I2C_Read... [16:06:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:39]Read from MH i2c: E2 [16:06:39]MH_I2C_Read... [16:06:39]Read from MH i2c: E2 0E 00 [16:06:39]MH_I2C_Read... [16:06:39]Read from MH i2c: E2 0E 00 07 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 87 [16:06:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:06:39]wFMCommunicate OK [16:06:39]SAM_PROTO_GetShiftState done [16:06:39]FM_GetShiftState done [16:06:39]opened in 1729470630 [16:06:39]opened+sec_in_day 1729557030 [16:06:39]quantity*price = 30038 [16:06:39]sum+1 = 30039 [16:06:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 63 21.10.2024 16:06 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40795 ФПД: 249379355538465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160655&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40795&fm=249379355538465&tin=02508201610067®Number=0000000000098148&sum=30000 [16:06:40]StoreToDocumentArchive [16:06:40]shift 448 fd 40795 [16:06:40]save to /storage/0448/doc_00040795 [16:06:40]save last doc name /storage/0448/doc_00040795 to /storage/kkm_last_doc_name [16:06:40]save OK [16:06:40]Clear old archive folders... [16:06:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:06:40]tlvbuf is 0106C410 [16:06:40]SAM_PROTO_ClearQueue [16:06:40]wFMCommunicate request_size=4 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 09 00 00 [16:06:40]Write to MH i2c: E2 08 00 14 35 80 09 00 00 00 00 00 00 BB [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 14 35 00 90 00 BD [16:06:40]RAPDU: 90 00 [16:06:40]wFMCommunicate OK [16:06:40]SAM_PROTO_ClearQueue done [16:06:40]KKMCreateOFDPacket [16:06:40]OFDProtocolAddRootSTLVToBuf [16:06:40]FM_MakeSignedData [16:06:40]FM_MakeSignedData [16:06:40]SAM_PROTO_SignData [16:06:40]wFMCommunicate request_size=4 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 0D 01 02 [16:06:40]Write to MH i2c: E2 08 00 15 35 80 0D 01 02 00 00 00 00 C3 [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 15 35 00 90 00 BE [16:06:40]RAPDU: 90 00 [16:06:40]wFMCommunicate OK [16:06:40]wFMCommunicate request_size=255 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 1F 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5B 9F 00 00 35 04 06 00 E2 [16:06:40]Write to MH i2c: E2 02 01 16 35 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 1F 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5B 9F 00 00 35 04 06 00 E2 00 00 41 [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:40]Read from MH i2c: E2 03 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 16 35 00 90 00 BF [16:06:40]RAPDU: 90 00 [16:06:40]wFMCommunicate OK [16:06:40]wFMCommunicate request_size=10 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 0D 02 02 05 CF 27 E6 B4 21 [16:06:40]Write to MH i2c: E2 0D 00 17 35 80 0D 02 02 05 00 CF 27 E6 B4 21 00 00 81 [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 03 00 17 35 00 90 00 C0 [16:06:40]RAPDU: 90 00 [16:06:40]wFMCommunicate OK [16:06:40]wFMCommunicate request_size=4 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 0D 03 02 [16:06:40]Write to MH i2c: E2 08 00 18 35 80 0D 03 02 00 00 00 00 C8 [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 0B 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 0B 00 18 35 00 68 F0 17 11 B0 AE F6 B0 90 00 4D [16:06:40]RAPDU: 68 F0 17 11 B0 AE F6 B0 90 00 [16:06:40]wFMCommunicate OK [16:06:40]SAM_PROTO_SignData done [16:06:40]FM_MakeSignedData done [16:06:40]CreateOFDProtocolMessage [16:06:40]wFMCommunicate request_size=4 [16:06:40]MH_SAM_APDU [16:06:40]CAPDU: 80 11 00 00 [16:06:40]Write to MH i2c: E2 08 00 19 35 80 11 00 00 00 00 00 00 C8 [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:40]Read from MH i2c: E2 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 17 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: E2 17 00 19 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 1D [16:06:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:06:40]wFMCommunicate OK [16:06:40]CreateOFDProtocolMessage done [16:06:40]OFDSenderStorePacket 40795 [16:06:40]StoreOFDPacket docnum=40795 [16:06:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 27 03 07 01 B9 F7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 1F 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5B 9F 00 00 35 04 06 00 E2 CF 27 E6 B4 21 68 F0 17 11 B0 AE F6 B0 [16:06:40]CheckFolder [16:06:40]dirname=/storage/ofd_packets [16:06:40]CheckFolder done [16:06:40]ProducePacketName [16:06:40]name=ofd_packets/00040795 [16:06:40]NVStorageSaveData ofd_packets/00040795 [16:06:40]File name is /storage/ofd_packets/00040795 [16:06:40]Write 301 bytes [16:06:40]NVStorageSaveData done [16:06:40]OFDSenderStorePacket done [16:06:40]KKMCreateOFDPacket done [16:06:40]NVStorageSaveData kkm_last_timestamp [16:06:40]File name is /storage/kkm_last_timestamp [16:06:40]Write 4 bytes [16:06:40]NVStorageSaveData done [16:06:40]ExternCall_PrintAddStr [16:06:40]wPrintStart [16:06:40]Write to MH i2c: 01 00 00 1A 35 4F [16:06:40]Write i2c OK [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: 01 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: 01 07 00 [16:06:40]MH_I2C_Read... [16:06:40]Read from MH i2c: 01 07 00 1A 35 00 00 00 00 00 FF 0F 64 [16:06:40]RasterBufferAndPrint [16:06:40]line Счет N : (1)808917 [16:06:40]line ИÐÐ: 02508201610067 [16:06:40]line Контрольно-КаÑÑовый Чек [16:06:40]line ПРОДÐЖР[16:06:40]line ТРК (МРК, ГÐК) : 33 [16:06:40]line Товар: 2710124130 [16:06:40]line Ðи-92-К-5 [16:06:40]line 4.490 * 66.90 [16:06:40]line = 300.38 [16:06:40]line ÐДС 12% ÐСП 1% [16:06:40]line > о реализуемом товаре [16:06:40]line ОКРУГЛЕÐИЕ: -0.38 [16:06:40]line ИТОГО: 300.00 [16:06:40]line ВнеÑено: 300.00 [16:06:40]line СДÐЧÐ: 0.00 [16:06:40]line ÐСП 1% : 2.66 [16:06:40]line ÐДС 12% : 31.90 [16:06:40]line Ðаличными: 300.00 [16:06:40]line Безнал.: 0.00 [16:06:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:06:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:06:40]line СÐО: Общий режим [16:06:40]line Чек 63 21.10.2024 16:06 [16:06:40]line Смена: 448 ФФД: 1.0 [16:06:40]line ЗÐМ: 0300000239 [16:06:40]line РÐМ: 0000000000098148 [16:06:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:06:40]line ФМ: 0000000000965374 [16:06:40]line ФД: 40795 [16:06:40]line ФПД: 249379355538465 [16:06:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160655&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40795&fm=249379355538465&tin=02508201610067®Number=0000000000098148&sum=30000 [16:06:41]written 0, free lines is 4095 [16:06:41]OFD Sender: Processing packet 40795 [packets to send 4, broken 3] [16:06:41]ProducePacketName [16:06:41]name=ofd_packets/00040795 [16:06:41]OFD Sender: To server: ‡•öpG, [16:06:41]CommunicateWithHost lk.salyk.kg:30040 [16:06:41]ConnectInit lk.salyk.kg [16:06:41]Connected sock=10 [16:06:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 27 03 07 01 B9 F7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 1F 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5B 9F 00 00 35 04 06 00 E2 CF 27 E6 B4 21 68 F0 17 11 B0 AE F6 B0 [16:06:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 4D 0A 47 00 91 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5B 9F 00 00 F4 03 04 00 FF 21 16 67 B6 04 01 00 00 98 3B 9C 5F F1 29 88 D2 [16:06:41]CommunicateWithHost err = 0 [16:06:41]CheckOFDResponse [16:06:41]1017 (14) - 77093643461234 [16:06:41]1041 (16) - 0000000000965374 [16:06:41]1040 (4) - 40795 [16:06:41]1012 (4) - 21.10.2024 09:42 [16:06:41]1206 (1) - 0 [16:06:41]OFD Sender: Remove packet 40795 [16:06:41]ProducePacketName [16:06:41]name=ofd_packets/00040795 [16:06:41]NVStorageDeleteData [16:06:41]Write to MH i2c: 01 00 00 45 35 7A [16:06:41]Write i2c OK [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: 01 [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: 01 07 00 [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: 01 07 00 45 35 00 00 00 00 00 01 0D 8F [16:06:41]RasterBufferAndPrint [16:06:41]line [16:06:41]line [16:06:41]line [16:06:41]line [16:06:41]line [16:06:41]written 0, free lines is 3335 [16:06:41]MH_Cut [16:06:41]Write to MH i2c: D1 01 00 4C 35 01 53 [16:06:41]Write i2c OK [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: D1 [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: D1 01 00 [16:06:41]MH_I2C_Read... [16:06:41]Read from MH i2c: D1 01 00 4C 35 00 52 [16:06:41]Write to MH i2c: 01 00 00 4D 35 82 [16:06:41]Write i2c OK [16:06:41]MH_I2C_Read... [16:06:41]OFD Sender: No OFD packet to send [16:06:42]*** Cut start [16:06:42]*** Partial cut [16:06:42]*** CUTSNS_PIN = 1 [16:06:42]*** CUTSNS_PIN = 0 [16:06:42]*** Brake cut motor [16:06:42]Read from MH i2c: 01 [16:06:42]MH_I2C_Read... [16:06:42]*** Stop cut motor [16:06:42]*** Cut end [16:06:42]Read from MH i2c: 01 07 00 [16:06:42]MH_I2C_Read... [16:06:42]Read from MH i2c: 01 07 00 4D 35 00 00 00 00 00 FF 0F 97 [16:06:42]process_action close_receipt done [16:06:42]requested_data is exist [16:06:42]produce_requested_data [16:06:42]requested_item fm.sn is exist - process it [16:06:42]wFMCommunicate request_size=4 [16:06:42]MH_SAM_APDU [16:06:42]CAPDU: 80 11 00 00 [16:06:42]Write to MH i2c: E2 08 00 4E 35 80 11 00 00 00 00 00 00 FD [16:06:42]Write i2c OK [16:06:42]MH_I2C_Read... [16:06:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:42]Read from MH i2c: E2 [16:06:42]MH_I2C_Read... [16:06:42]Read from MH i2c: E2 17 00 [16:06:42]MH_I2C_Read... [16:06:42]Read from MH i2c: E2 17 00 4E 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 52 [16:06:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:06:42]wFMCommunicate OK [16:06:42]requested_item fd.num is exist - process it [16:06:42]SAM_PROTO_GetFieldsCounters [16:06:42]wFMCommunicate request_size=4 [16:06:42]MH_SAM_APDU [16:06:42]CAPDU: 80 13 00 00 [16:06:42]Write to MH i2c: E2 08 00 4F 35 80 13 00 00 00 00 00 00 00 [16:06:42]Write i2c OK [16:06:42]MH_I2C_Read... [16:06:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:06:42]Read from MH i2c: E2 [16:06:42]MH_I2C_Read... [16:06:42]Read from MH i2c: E2 62 00 [16:06:42]MH_I2C_Read... [16:06:42]Read from MH i2c: E2 62 00 4F 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5B 9F 00 00 0E 04 04 00 C0 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 A0 [16:06:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5B 9F 00 00 0E 04 04 00 C0 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 [16:06:42]wFMCommunicate OK [16:06:42]SAM_PROTO_GetFieldsCounters done [16:06:42]requested_item shift.num is exist - process it [16:06:42]requested_item shift.opened is exist - process it [16:06:42]req_shift_opened [16:06:42]FM_GetShiftState [16:06:42]SAM_PROTO_GetShiftState [16:06:42]wFMCommunicate request_size=4 [16:06:42]MH_SAM_APDU [16:06:42]CAPDU: 80 13 01 00 [16:06:42]Write to MH i2c: E2 08 00 50 35 80 13 01 00 00 00 00 00 02 [16:06:42]Write i2c OK [16:06:42]MH_I2C_Read... [16:06:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:43]Read from MH i2c: E2 [16:06:43]MH_I2C_Read... [16:06:43]Read from MH i2c: E2 0E 00 [16:06:43]MH_I2C_Read... [16:06:43]Read from MH i2c: E2 0E 00 50 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D0 [16:06:43]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:06:43]wFMCommunicate OK [16:06:43]SAM_PROTO_GetShiftState done [16:06:43]FM_GetShiftState done [16:06:43]req_shift_opened done [16:06:43]requested_item shift.open_date is exist - process it [16:06:43]req_shift_open_date [16:06:43]req_shift_open_date done [16:06:43]produce_requested_data done [16:06:43]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40795,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:06:43]process_action_free close_receipt [16:06:43]json_value_free [16:06:43]json_value_free done [16:06:43]process_json_proto returns [16:06:43]Send response to host [16:06:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40795,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:06:43]free response buf [16:06:43]execute_script done [16:06:43]execute_script returns [16:06:43]free content buf [16:06:43]Sock 7.Close socket [16:06:43]Sock 7.Thread stoped [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:05]accept exits with 9 [16:07:05]New connection [16:07:05]New thread 3066887524 created [16:07:05]Thread 3067030884 joined [16:07:05]Waiting for new connection... [16:07:05] Sock 9.Parse request [16:07:05]Sock 9.Check first char [16:07:05]Sock 9.First char is OK [16:07:05]request: POST /json_proto HTTP/1.0 [16:07:05]Method: POST [16:07:05]URL: /json_proto [16:07:05]Method is POST - this is cgi request [16:07:05]url: /json_proto [16:07:05]query_string will be loaded in cgi processing [16:07:05]execute_cgi json_proto POST (null) [16:07:05]execute_cgi path=json_proto method=POST [16:07:05]POST find Content-Length [16:07:05]Host: 172.17.53.4:8080 [16:07:05]Content-Length: 679 [16:07:05]Content-Type: application/json [16:07:05] [16:07:05]POST finish read [16:07:05]Found Content-Length = 679 [16:07:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808918", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" ] } } [16:07:05]execute_script... [16:07:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808918", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" ] } } [16:07:05]POST & json_proto [16:07:05]process_json_proto [16:07:05]json parsed OK: [16:07:05]protocol is kg_v1.0 [16:07:05]action value=close_receipt [16:07:05]process_action close_receipt [16:07:05]cmd_close_receipt [16:07:05]MH_GetDate [16:07:05]Write to MH i2c: F0 00 00 51 35 75 [16:07:05]Write i2c OK [16:07:05]MH_I2C_Read... [16:07:05]Read from MH i2c: F0 [16:07:05]MH_I2C_Read... [16:07:05]Read from MH i2c: F0 09 00 [16:07:05]MH_I2C_Read... [16:07:05]Read from MH i2c: F0 09 00 51 35 00 39 7C 16 67 05 11 DA 64 04 [16:07:05]GetLastDocTimeStamp 1729526815 [16:07:05]current date 1729526841 [16:07:05]FM_GetShiftState [16:07:05]SAM_PROTO_GetShiftState [16:07:05]wFMCommunicate request_size=4 [16:07:05]MH_SAM_APDU [16:07:05]CAPDU: 80 13 01 00 [16:07:05]Write to MH i2c: E2 08 00 52 35 80 13 01 00 00 00 00 00 04 [16:07:05]Write i2c OK [16:07:05]MH_I2C_Read... [16:07:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:05]Read from MH i2c: E2 [16:07:05]MH_I2C_Read... [16:07:05]Read from MH i2c: E2 0E 00 [16:07:05]MH_I2C_Read... [16:07:05]Read from MH i2c: E2 0E 00 52 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D2 [16:07:05]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:07:05]wFMCommunicate OK [16:07:05]SAM_PROTO_GetShiftState done [16:07:05]FM_GetShiftState done [16:07:05]opened in 1729470630 [16:07:05]opened+sec_in_day 1729557030 [16:07:05]quantity*price = 100050 [16:07:05]sum+1 = 100052 [16:07:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.51 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.25 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 64 21.10.2024 16:07 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40796 ФПД: 187020197627931 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160721&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40796&fm=187020197627931&tin=02508201610067®Number=0000000000098148&sum=100000 [16:07:06]StoreToDocumentArchive [16:07:06]shift 448 fd 40796 [16:07:06]save to /storage/0448/doc_00040796 [16:07:06]save last doc name /storage/0448/doc_00040796 to /storage/kkm_last_doc_name [16:07:06]save OK [16:07:06]Clear old archive folders... [16:07:06]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:07:06]tlvbuf is 010ADE60 [16:07:06]SAM_PROTO_ClearQueue [16:07:06]wFMCommunicate request_size=4 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 09 00 00 [16:07:06]Write to MH i2c: E2 08 00 5F 35 80 09 00 00 00 00 00 00 06 [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 5F 35 00 90 00 08 [16:07:06]RAPDU: 90 00 [16:07:06]wFMCommunicate OK [16:07:06]SAM_PROTO_ClearQueue done [16:07:06]KKMCreateOFDPacket [16:07:06]OFDProtocolAddRootSTLVToBuf [16:07:06]FM_MakeSignedData [16:07:06]FM_MakeSignedData [16:07:06]SAM_PROTO_SignData [16:07:06]wFMCommunicate request_size=4 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 0D 01 02 [16:07:06]Write to MH i2c: E2 08 00 60 35 80 0D 01 02 00 00 00 00 0E [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 60 35 00 90 00 09 [16:07:06]RAPDU: 90 00 [16:07:06]wFMCommunicate OK [16:07:06]wFMCommunicate request_size=255 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 39 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5C 9F 00 00 35 04 06 00 AA 18 08 72 [16:07:06]Write to MH i2c: E2 02 01 61 35 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 39 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5C 9F 00 00 35 04 06 00 AA 18 08 72 00 00 01 [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 61 35 00 90 00 0A [16:07:06]RAPDU: 90 00 [16:07:06]wFMCommunicate OK [16:07:06]wFMCommunicate request_size=7 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 0D 02 02 02 08 1B [16:07:06]Write to MH i2c: E2 0A 00 62 35 80 0D 02 02 02 00 08 1B 00 00 38 [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 03 00 62 35 00 90 00 0B [16:07:06]RAPDU: 90 00 [16:07:06]wFMCommunicate OK [16:07:06]wFMCommunicate request_size=4 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 0D 03 02 [16:07:06]Write to MH i2c: E2 08 00 63 35 80 0D 03 02 00 00 00 00 13 [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 0B 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 0B 00 63 35 00 D7 9F 2E AB 6B 06 27 1C 90 00 17 [16:07:06]RAPDU: D7 9F 2E AB 6B 06 27 1C 90 00 [16:07:06]wFMCommunicate OK [16:07:06]SAM_PROTO_SignData done [16:07:06]FM_MakeSignedData done [16:07:06]CreateOFDProtocolMessage [16:07:06]wFMCommunicate request_size=4 [16:07:06]MH_SAM_APDU [16:07:06]CAPDU: 80 11 00 00 [16:07:06]Write to MH i2c: E2 08 00 64 35 80 11 00 00 00 00 00 00 13 [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:07:06]Read from MH i2c: E2 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 17 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: E2 17 00 64 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 68 [16:07:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:07:06]wFMCommunicate OK [16:07:06]CreateOFDProtocolMessage done [16:07:06]OFDSenderStorePacket 40796 [16:07:06]StoreOFDPacket docnum=40796 [16:07:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CF 28 04 01 1F 5B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 39 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5C 9F 00 00 35 04 06 00 AA 18 08 72 08 1B D7 9F 2E AB 6B 06 27 1C [16:07:06]CheckFolder [16:07:06]dirname=/storage/ofd_packets [16:07:06]CheckFolder done [16:07:06]ProducePacketName [16:07:06]name=ofd_packets/00040796 [16:07:06]NVStorageSaveData ofd_packets/00040796 [16:07:06]File name is /storage/ofd_packets/00040796 [16:07:06]Write 298 bytes [16:07:06]NVStorageSaveData done [16:07:06]OFDSenderStorePacket done [16:07:06]KKMCreateOFDPacket done [16:07:06]NVStorageSaveData kkm_last_timestamp [16:07:06]File name is /storage/kkm_last_timestamp [16:07:06]Write 4 bytes [16:07:06]NVStorageSaveData done [16:07:06]ExternCall_PrintAddStr [16:07:06]wPrintStart [16:07:06]Write to MH i2c: 01 00 00 65 35 9A [16:07:06]Write i2c OK [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: 01 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: 01 07 00 [16:07:06]MH_I2C_Read... [16:07:06]Read from MH i2c: 01 07 00 65 35 00 00 00 00 00 FF 0F AF [16:07:06]RasterBufferAndPrint [16:07:06]line Счет N : (1)808918 [16:07:06]line ИÐÐ: 02508201610067 [16:07:06]line Контрольно-КаÑÑовый Чек [16:07:06]line ПРОДÐЖР[16:07:06]line ТРК (МРК, ГÐК) : 61 [16:07:06]line Товар: 2710194210 [16:07:06]line ДТ-К-2 [16:07:06]line 13.130 * 76.20 [16:07:06]line = 1000.51 [16:07:06]line ÐДС 12% ÐСП 1% [16:07:06]line > о реализуемом товаре [16:07:06]line ОКРУГЛЕÐИЕ: -0.51 [16:07:06]line ИТОГО: 1000.00 [16:07:06]line ВнеÑено: 1000.00 [16:07:06]line СДÐЧÐ: 0.00 [16:07:06]line ÐСП 1% : 8.85 [16:07:06]line ÐДС 12% : 106.25 [16:07:06]line Ðаличными: 1000.00 [16:07:06]line Безнал.: 0.00 [16:07:06]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:07:06]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:07:06]line СÐО: Общий режим [16:07:06]line Чек 64 21.10.2024 16:07 [16:07:06]line Смена: 448 ФФД: 1.0 [16:07:06]line ЗÐМ: 0300000239 [16:07:06]line РÐМ: 0000000000098148 [16:07:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:07:06]line ФМ: 0000000000965374 [16:07:06]line ФД: 40796 [16:07:07]line ФПД: 187020197627931 [16:07:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160721&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40796&fm=187020197627931&tin=02508201610067®Number=0000000000098148&sum=100000 [16:07:07]OFD Sender: Processing packet 40796 [packets to send 4, broken 3] [16:07:07]ProducePacketName [16:07:07]name=ofd_packets/00040796 [16:07:07]OFD Sender: To server: ‡•öpG, [16:07:07]CommunicateWithHost lk.salyk.kg:30040 [16:07:07]ConnectInit lk.salyk.kg [16:07:07]written 0, free lines is 4095 [16:07:07]Connected sock=10 [16:07:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CF 28 04 01 1F 5B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 39 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5C 9F 00 00 35 04 06 00 AA 18 08 72 08 1B D7 9F 2E AB 6B 06 27 1C [16:07:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 38 0B 47 00 22 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5C 9F 00 00 F4 03 04 00 19 22 16 67 B6 04 01 00 00 85 16 A1 7B 47 A6 A1 EC [16:07:07]CommunicateWithHost err = 0 [16:07:07]CheckOFDResponse [16:07:07]1017 (14) - 77093643461234 [16:07:07]1041 (16) - 0000000000965374 [16:07:07]1040 (4) - 40796 [16:07:07]1012 (4) - 21.10.2024 09:42 [16:07:07]1206 (1) - 0 [16:07:07]OFD Sender: Remove packet 40796 [16:07:07]ProducePacketName [16:07:07]name=ofd_packets/00040796 [16:07:07]NVStorageDeleteData [16:07:07]Write to MH i2c: 01 00 00 90 35 C5 [16:07:07]Write i2c OK [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: 01 [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: 01 07 00 [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: 01 07 00 90 35 00 00 00 00 00 F7 0C CF [16:07:07]RasterBufferAndPrint [16:07:07]line [16:07:07]line [16:07:07]line [16:07:07]line [16:07:07]line [16:07:07]written 0, free lines is 3325 [16:07:07]MH_Cut [16:07:07]Write to MH i2c: D1 01 00 97 35 01 9E [16:07:07]Write i2c OK [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: D1 [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: D1 01 00 [16:07:07]MH_I2C_Read... [16:07:07]Read from MH i2c: D1 01 00 97 35 00 9D [16:07:07]Write to MH i2c: 01 00 00 98 35 CD [16:07:07]Write i2c OK [16:07:07]MH_I2C_Read... [16:07:08]OFD Sender: No OFD packet to send [16:07:08]*** Cut start [16:07:08]*** Partial cut [16:07:08]*** CUTSNS_PIN = 1 [16:07:08]*** CUTSNS_PIN = 0 [16:07:08]*** Brake cut motor [16:07:08]Read from MH i2c: 01 [16:07:08]MH_I2C_Read... [16:07:08]*** Stop cut motor [16:07:08]*** Cut end [16:07:08]Read from MH i2c: 01 07 00 [16:07:08]MH_I2C_Read... [16:07:08]Read from MH i2c: 01 07 00 98 35 00 00 00 00 00 FF 0F E2 [16:07:08]process_action close_receipt done [16:07:08]requested_data is exist [16:07:08]produce_requested_data [16:07:08]requested_item fm.sn is exist - process it [16:07:08]wFMCommunicate request_size=4 [16:07:08]MH_SAM_APDU [16:07:08]CAPDU: 80 11 00 00 [16:07:08]Write to MH i2c: E2 08 00 99 35 80 11 00 00 00 00 00 00 48 [16:07:08]Write i2c OK [16:07:08]MH_I2C_Read... [16:07:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:07:08]Read from MH i2c: E2 [16:07:08]MH_I2C_Read... [16:07:08]Read from MH i2c: E2 17 00 [16:07:08]MH_I2C_Read... [16:07:08]Read from MH i2c: E2 17 00 99 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 9D [16:07:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:07:08]wFMCommunicate OK [16:07:08]requested_item fd.num is exist - process it [16:07:08]SAM_PROTO_GetFieldsCounters [16:07:08]wFMCommunicate request_size=4 [16:07:08]MH_SAM_APDU [16:07:08]CAPDU: 80 13 00 00 [16:07:08]Write to MH i2c: E2 08 00 9A 35 80 13 00 00 00 00 00 00 4B [16:07:08]Write i2c OK [16:07:08]MH_I2C_Read... [16:07:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:07:08]Read from MH i2c: E2 [16:07:08]MH_I2C_Read... [16:07:08]Read from MH i2c: E2 62 00 [16:07:08]MH_I2C_Read... [16:07:08]Read from MH i2c: E2 62 00 9A 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5C 9F 00 00 0E 04 04 00 C0 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 EF [16:07:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5C 9F 00 00 0E 04 04 00 C0 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 [16:07:08]wFMCommunicate OK [16:07:08]SAM_PROTO_GetFieldsCounters done [16:07:08]requested_item shift.num is exist - process it [16:07:08]requested_item shift.opened is exist - process it [16:07:08]req_shift_opened [16:07:08]FM_GetShiftState [16:07:08]SAM_PROTO_GetShiftState [16:07:08]wFMCommunicate request_size=4 [16:07:08]MH_SAM_APDU [16:07:08]CAPDU: 80 13 01 00 [16:07:08]Write to MH i2c: E2 08 00 9B 35 80 13 01 00 00 00 00 00 4D [16:07:08]Write i2c OK [16:07:08]MH_I2C_Read... [16:07:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:09]Read from MH i2c: E2 [16:07:09]MH_I2C_Read... [16:07:09]Read from MH i2c: E2 0E 00 [16:07:09]MH_I2C_Read... [16:07:09]Read from MH i2c: E2 0E 00 9B 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 1B [16:07:09]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:07:09]wFMCommunicate OK [16:07:09]SAM_PROTO_GetShiftState done [16:07:09]FM_GetShiftState done [16:07:09]req_shift_opened done [16:07:09]requested_item shift.open_date is exist - process it [16:07:09]req_shift_open_date [16:07:09]req_shift_open_date done [16:07:09]produce_requested_data done [16:07:09]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40796,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:07:09]process_action_free close_receipt [16:07:09]json_value_free [16:07:09]json_value_free done [16:07:09]process_json_proto returns [16:07:09]Send response to host [16:07:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40796,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:07:09]free response buf [16:07:09]execute_script done [16:07:09]execute_script returns [16:07:09]free content buf [16:07:09]Sock 9.Close socket [16:07:09]Sock 9.Thread stoped [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:07:59]accept exits with 7 [16:07:59]New connection [16:07:59]New thread 3067030884 created [16:07:59]Thread 3066887524 joined [16:07:59]Waiting for new connection... [16:07:59] Sock 7.Parse request [16:07:59]Sock 7.Check first char [16:07:59]Sock 7.First char is OK [16:07:59]request: POST /json_proto HTTP/1.0 [16:07:59]Method: POST [16:07:59]URL: /json_proto [16:07:59]Method is POST - this is cgi request [16:07:59]url: /json_proto [16:07:59]query_string will be loaded in cgi processing [16:07:59]execute_cgi json_proto POST (null) [16:07:59]execute_cgi path=json_proto method=POST [16:07:59]POST find Content-Length [16:07:59]Host: 172.17.53.4:8080 [16:07:59]Content-Length: 675 [16:07:59]Content-Type: application/json [16:07:59] [16:07:59]POST finish read [16:07:59]Found Content-Length = 675 [16:07:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808919", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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" ] } } [16:07:59]execute_script... [16:07:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808919", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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" ] } } [16:07:59]POST & json_proto [16:07:59]process_json_proto [16:07:59]json parsed OK: [16:07:59]protocol is kg_v1.0 [16:07:59]action value=close_receipt [16:07:59]process_action close_receipt [16:07:59]cmd_close_receipt [16:07:59]MH_GetDate [16:07:59]Write to MH i2c: F0 00 00 9C 35 C0 [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 09 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 09 00 9C 35 00 70 7C 16 67 05 11 DA 64 86 [16:07:59]GetLastDocTimeStamp 1729526841 [16:07:59]current date 1729526896 [16:07:59]FM_GetShiftState [16:07:59]SAM_PROTO_GetShiftState [16:07:59]wFMCommunicate request_size=4 [16:07:59]MH_SAM_APDU [16:07:59]CAPDU: 80 13 01 00 [16:07:59]Write to MH i2c: E2 08 00 9D 35 80 13 01 00 00 00 00 00 4F [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:59]Read from MH i2c: E2 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 9D 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 1D [16:07:59]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:07:59]wFMCommunicate OK [16:07:59]SAM_PROTO_GetShiftState done [16:07:59]FM_GetShiftState done [16:07:59]opened in 1729470630 [16:07:59]opened+sec_in_day 1729557030 [16:07:59]quantity*price = 150001 [16:07:59]sum+1 = 150002 [16:07:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.01 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.27 ÐДС 12% : 159.29 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 65 21.10.2024 16:08 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40797 ФПД: 251240115167484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160816&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40797&fm=251240115167484&tin=02508201610067®Number=0000000000098148&sum=150000 [16:08:00]StoreToDocumentArchive [16:08:00]shift 448 fd 40797 [16:08:00]save to /storage/0448/doc_00040797 [16:08:00]save last doc name /storage/0448/doc_00040797 to /storage/kkm_last_doc_name [16:08:00]save OK [16:08:00]Clear old archive folders... [16:08:00]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:08:00]tlvbuf is 0106C980 [16:08:00]SAM_PROTO_ClearQueue [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 09 00 00 [16:08:00]Write to MH i2c: E2 08 00 AA 35 80 09 00 00 00 00 00 00 51 [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 AA 35 00 90 00 53 [16:08:00]RAPDU: 90 00 [16:08:00]wFMCommunicate OK [16:08:00]SAM_PROTO_ClearQueue done [16:08:00]KKMCreateOFDPacket [16:08:00]OFDProtocolAddRootSTLVToBuf [16:08:00]FM_MakeSignedData [16:08:00]FM_MakeSignedData [16:08:00]SAM_PROTO_SignData [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 0D 01 02 [16:08:00]Write to MH i2c: E2 08 00 AB 35 80 0D 01 02 00 00 00 00 59 [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 AB 35 00 90 00 54 [16:08:00]RAPDU: 90 00 [16:08:00]wFMCommunicate OK [16:08:00]wFMCommunicate request_size=255 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 41 00 00 00 F4 03 04 00 70 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5D 9F 00 00 35 04 06 00 [16:08:00]Write to MH i2c: E2 02 01 AC 35 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 41 00 00 00 F4 03 04 00 70 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5D 9F 00 00 35 04 06 00 00 00 1C [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 AC 35 00 90 00 55 [16:08:00]RAPDU: 90 00 [16:08:00]wFMCommunicate OK [16:08:00]wFMCommunicate request_size=11 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 0D 02 02 06 E4 80 65 D1 60 FC [16:08:00]Write to MH i2c: E2 0E 00 AD 35 80 0D 02 02 06 00 E4 80 65 D1 60 FC 00 00 5E [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 AD 35 00 90 00 56 [16:08:00]RAPDU: 90 00 [16:08:00]wFMCommunicate OK [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 0D 03 02 [16:08:00]Write to MH i2c: E2 08 00 AE 35 80 0D 03 02 00 00 00 00 5E [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 0B 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 0B 00 AE 35 00 AB 32 C3 93 9E AC BD CF 90 00 68 [16:08:00]RAPDU: AB 32 C3 93 9E AC BD CF 90 00 [16:08:00]wFMCommunicate OK [16:08:00]SAM_PROTO_SignData done [16:08:00]FM_MakeSignedData done [16:08:00]CreateOFDProtocolMessage [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 11 00 00 [16:08:00]Write to MH i2c: E2 08 00 AF 35 80 11 00 00 00 00 00 00 5E [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 17 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 17 00 AF 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B3 [16:08:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:08:01]wFMCommunicate OK [16:08:01]CreateOFDProtocolMessage done [16:08:01]OFDSenderStorePacket 40797 [16:08:01]StoreOFDPacket docnum=40797 [16:08:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 2D 16 08 01 F3 76 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 41 00 00 00 F4 03 04 00 70 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5D 9F 00 00 35 04 06 00 E4 80 65 D1 60 FC AB 32 C3 93 9E AC BD CF [16:08:01]CheckFolder [16:08:01]dirname=/storage/ofd_packets [16:08:01]CheckFolder done [16:08:01]ProducePacketName [16:08:01]name=ofd_packets/00040797 [16:08:01]NVStorageSaveData ofd_packets/00040797 [16:08:01]File name is /storage/ofd_packets/00040797 [16:08:01]Write 302 bytes [16:08:01]NVStorageSaveData done [16:08:01]OFDSenderStorePacket done [16:08:01]KKMCreateOFDPacket done [16:08:01]NVStorageSaveData kkm_last_timestamp [16:08:01]File name is /storage/kkm_last_timestamp [16:08:01]Write 4 bytes [16:08:01]NVStorageSaveData done [16:08:01]ExternCall_PrintAddStr [16:08:01]wPrintStart [16:08:01]Write to MH i2c: 01 00 00 B0 35 E5 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 B0 35 00 00 00 00 00 FF 0F FA [16:08:01]RasterBufferAndPrint [16:08:01]line Счет N : (1)808919 [16:08:01]line ИÐÐ: 02508201610067 [16:08:01]line Контрольно-КаÑÑовый Чек [16:08:01]line ПРОДÐЖР[16:08:01]line ТРК (МРК, ГÐК) : 52 [16:08:01]line Товар: 2710124130 [16:08:01]line Super 92-К-5 [16:08:01]line 21.930 * 68.40 [16:08:01]line = 1500.01 [16:08:01]line ÐДС 12% ÐСП 1% [16:08:01]line > о реализуемом товаре [16:08:01]line ОКРУГЛЕÐИЕ: -0.01 [16:08:01]line ИТОГО: 1500.00 [16:08:01]line ВнеÑено: 1500.00 [16:08:01]line СДÐЧÐ: 0.00 [16:08:01]line ÐСП 1% : 13.27 [16:08:01]line ÐДС 12% : 159.29 [16:08:01]line Ðаличными: 1500.00 [16:08:01]line Безнал.: 0.00 [16:08:01]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:08:01]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:08:01]line СÐО: Общий режим [16:08:01]line Чек 65 21.10.2024 16:08 [16:08:01]line Смена: 448 ФФД: 1.0 [16:08:01]line ЗÐМ: 0300000239 [16:08:01]line РÐМ: 0000000000098148 [16:08:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:08:01]line ФМ: 0000000000965374 [16:08:01]line ФД: 40797 [16:08:01]line ФПД: 251240115167484 [16:08:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160816&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40797&fm=251240115167484&tin=02508201610067®Number=0000000000098148&sum=150000 [16:08:01]OFD Sender: Processing packet 40797 [packets to send 4, broken 3] [16:08:01]ProducePacketName [16:08:01]name=ofd_packets/00040797 [16:08:01]OFD Sender: To server: ‡•öpG, [16:08:01]CommunicateWithHost lk.salyk.kg:30040 [16:08:01]ConnectInit lk.salyk.kg [16:08:01]written 0, free lines is 4095 [16:08:01]Connected sock=10 [16:08:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 2D 16 08 01 F3 76 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 41 00 00 00 F4 03 04 00 70 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5D 9F 00 00 35 04 06 00 E4 80 65 D1 60 FC AB 32 C3 93 9E AC BD CF [16:08:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 BC 5D 47 00 9E ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5D 9F 00 00 F4 03 04 00 4F 22 16 67 B6 04 01 00 00 E6 77 FB 84 F8 29 E1 73 [16:08:01]CommunicateWithHost err = 0 [16:08:01]CheckOFDResponse [16:08:01]1017 (14) - 77093643461234 [16:08:01]1041 (16) - 0000000000965374 [16:08:01]1040 (4) - 40797 [16:08:01]1012 (4) - 21.10.2024 09:43 [16:08:01]1206 (1) - 0 [16:08:01]OFD Sender: Remove packet 40797 [16:08:01]ProducePacketName [16:08:01]name=ofd_packets/00040797 [16:08:01]NVStorageDeleteData [16:08:01]Write to MH i2c: 01 00 00 DB 35 10 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 DB 35 00 00 00 00 00 FF 0C 22 [16:08:01]RasterBufferAndPrint [16:08:01]line [16:08:01]line [16:08:01]line [16:08:01]line [16:08:01]line [16:08:01]written 0, free lines is 3336 [16:08:01]MH_Cut [16:08:01]Write to MH i2c: D1 01 00 E2 35 01 E9 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: D1 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: D1 01 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: D1 01 00 E2 35 00 E8 [16:08:01]Write to MH i2c: 01 00 00 E3 35 18 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:02]OFD Sender: No OFD packet to send [16:08:02]*** Cut start [16:08:02]*** Partial cut [16:08:02]*** CUTSNS_PIN = 1 [16:08:02]*** CUTSNS_PIN = 0 [16:08:02]*** Brake cut motor [16:08:03]Read from MH i2c: 01 [16:08:03]MH_I2C_Read... [16:08:03]*** Stop cut motor [16:08:03]*** Cut end [16:08:03]Read from MH i2c: 01 07 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: 01 07 00 E3 35 00 00 00 00 00 FF 0F 2D [16:08:03]process_action close_receipt done [16:08:03]requested_data is exist [16:08:03]produce_requested_data [16:08:03]requested_item fm.sn is exist - process it [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 11 00 00 [16:08:03]Write to MH i2c: E2 08 00 E4 35 80 11 00 00 00 00 00 00 93 [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 17 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 17 00 E4 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E8 [16:08:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:08:03]wFMCommunicate OK [16:08:03]requested_item fd.num is exist - process it [16:08:03]SAM_PROTO_GetFieldsCounters [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 13 00 00 [16:08:03]Write to MH i2c: E2 08 00 E5 35 80 13 00 00 00 00 00 00 96 [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 62 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 62 00 E5 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5D 9F 00 00 0E 04 04 00 C0 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 3E [16:08:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5D 9F 00 00 0E 04 04 00 C0 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 [16:08:03]wFMCommunicate OK [16:08:03]SAM_PROTO_GetFieldsCounters done [16:08:03]requested_item shift.num is exist - process it [16:08:03]requested_item shift.opened is exist - process it [16:08:03]req_shift_opened [16:08:03]FM_GetShiftState [16:08:03]SAM_PROTO_GetShiftState [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 13 01 00 [16:08:03]Write to MH i2c: E2 08 00 E6 35 80 13 01 00 00 00 00 00 98 [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 0E 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 0E 00 E6 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 66 [16:08:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:08:03]wFMCommunicate OK [16:08:03]SAM_PROTO_GetShiftState done [16:08:03]FM_GetShiftState done [16:08:03]req_shift_opened done [16:08:03]requested_item shift.open_date is exist - process it [16:08:03]req_shift_open_date [16:08:03]req_shift_open_date done [16:08:03]produce_requested_data done [16:08:03]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40797,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:08:03]process_action_free close_receipt [16:08:03]json_value_free [16:08:03]json_value_free done [16:08:03]process_json_proto returns [16:08:03]Send response to host [16:08:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40797,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:08:03]free response buf [16:08:03]execute_script done [16:08:03]execute_script returns [16:08:03]free content buf [16:08:03]Sock 7.Close socket [16:08:03]Sock 7.Thread stoped [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:37]accept exits with 9 [16:09:37]New connection [16:09:37]New thread 3066887524 created [16:09:37]Thread 3067030884 joined [16:09:37]Waiting for new connection... [16:09:37] Sock 9.Parse request [16:09:37]Sock 9.Check first char [16:09:37]Sock 9.First char is OK [16:09:37]request: POST /json_proto HTTP/1.0 [16:09:37]Method: POST [16:09:37]URL: /json_proto [16:09:37]Method is POST - this is cgi request [16:09:37]url: /json_proto [16:09:37]query_string will be loaded in cgi processing [16:09:37]execute_cgi json_proto POST (null) [16:09:37]execute_cgi path=json_proto method=POST [16:09:37]POST find Content-Length [16:09:37]Host: 172.17.53.4:8080 [16:09:37]Content-Length: 678 [16:09:37]Content-Type: application/json [16:09:37] [16:09:37]POST finish read [16:09:37]Found Content-Length = 678 [16:09:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808920", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.460, "sum" : 900.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:37]execute_script... [16:09:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808920", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.460, "sum" : 900.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:37]POST & json_proto [16:09:37]process_json_proto [16:09:37]json parsed OK: [16:09:37]protocol is kg_v1.0 [16:09:37]action value=close_receipt [16:09:37]process_action close_receipt [16:09:37]cmd_close_receipt [16:09:37]MH_GetDate [16:09:37]Write to MH i2c: F0 00 00 E7 35 0B [16:09:37]Write i2c OK [16:09:37]MH_I2C_Read... [16:09:37]Read from MH i2c: F0 [16:09:37]MH_I2C_Read... [16:09:37]Read from MH i2c: F0 09 00 [16:09:37]MH_I2C_Read... [16:09:37]Read from MH i2c: F0 09 00 E7 35 00 D2 7C 16 67 05 11 DA 64 33 [16:09:37]GetLastDocTimeStamp 1729526896 [16:09:37]current date 1729526994 [16:09:37]FM_GetShiftState [16:09:37]SAM_PROTO_GetShiftState [16:09:37]wFMCommunicate request_size=4 [16:09:37]MH_SAM_APDU [16:09:37]CAPDU: 80 13 01 00 [16:09:37]Write to MH i2c: E2 08 00 E8 35 80 13 01 00 00 00 00 00 9A [16:09:37]Write i2c OK [16:09:37]MH_I2C_Read... [16:09:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:38]Read from MH i2c: E2 [16:09:38]MH_I2C_Read... [16:09:38]Read from MH i2c: E2 0E 00 [16:09:38]MH_I2C_Read... [16:09:38]Read from MH i2c: E2 0E 00 E8 35 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 68 [16:09:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:09:38]wFMCommunicate OK [16:09:38]SAM_PROTO_GetShiftState done [16:09:38]FM_GetShiftState done [16:09:38]opened in 1729470630 [16:09:38]opened+sec_in_day 1729557030 [16:09:38]quantity*price = 90047 [16:09:38]sum+1 = 90048 [16:09:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.47 ИТОГО: 900.00 ВнеÑено: 900.00 СДÐЧÐ: 0.00 ÐСП 1% : 7.97 ÐДС 12% : 95.62 Ðаличными: 900.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 66 21.10.2024 16:09 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40798 ФПД: 258326458205785 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160954&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40798&fm=258326458205785&tin=02508201610067®Number=0000000000098148&sum=90000 [16:09:39]StoreToDocumentArchive [16:09:39]shift 448 fd 40798 [16:09:39]save to /storage/0448/doc_00040798 [16:09:39]save last doc name /storage/0448/doc_00040798 to /storage/kkm_last_doc_name [16:09:39]save OK [16:09:39]Clear old archive folders... [16:09:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:09:39]tlvbuf is 0113D4C0 [16:09:39]SAM_PROTO_ClearQueue [16:09:39]wFMCommunicate request_size=4 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 09 00 00 [16:09:39]Write to MH i2c: E2 08 00 F5 35 80 09 00 00 00 00 00 00 9C [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 F5 35 00 90 00 9E [16:09:39]RAPDU: 90 00 [16:09:39]wFMCommunicate OK [16:09:39]SAM_PROTO_ClearQueue done [16:09:39]KKMCreateOFDPacket [16:09:39]OFDProtocolAddRootSTLVToBuf [16:09:39]FM_MakeSignedData [16:09:39]FM_MakeSignedData [16:09:39]SAM_PROTO_SignData [16:09:39]wFMCommunicate request_size=4 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 0D 01 02 [16:09:39]Write to MH i2c: E2 08 00 F6 35 80 0D 01 02 00 00 00 00 A4 [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:09:39]Read from MH i2c: E2 03 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 F6 35 00 90 00 9F [16:09:39]RAPDU: 90 00 [16:09:39]wFMCommunicate OK [16:09:39]wFMCommunicate request_size=255 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 D2 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5E 9F 00 00 35 04 06 00 EA [16:09:39]Write to MH i2c: E2 02 01 F7 35 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 D2 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5E 9F 00 00 35 04 06 00 EA 00 00 0C [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 F7 35 00 90 00 A0 [16:09:39]RAPDU: 90 00 [16:09:39]wFMCommunicate OK [16:09:39]wFMCommunicate request_size=10 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 0D 02 02 05 F2 50 C7 06 59 [16:09:39]Write to MH i2c: E2 0D 00 F8 35 80 0D 02 02 05 00 F2 50 C7 06 59 00 00 19 [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 03 00 F8 35 00 90 00 A1 [16:09:39]RAPDU: 90 00 [16:09:39]wFMCommunicate OK [16:09:39]wFMCommunicate request_size=4 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 0D 03 02 [16:09:39]Write to MH i2c: E2 08 00 F9 35 80 0D 03 02 00 00 00 00 A9 [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 0B 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 0B 00 F9 35 00 58 0D 2F 15 B3 B6 77 FA 90 00 2D [16:09:39]RAPDU: 58 0D 2F 15 B3 B6 77 FA 90 00 [16:09:39]wFMCommunicate OK [16:09:39]SAM_PROTO_SignData done [16:09:39]FM_MakeSignedData done [16:09:39]CreateOFDProtocolMessage [16:09:39]wFMCommunicate request_size=4 [16:09:39]MH_SAM_APDU [16:09:39]CAPDU: 80 11 00 00 [16:09:39]Write to MH i2c: E2 08 00 FA 35 80 11 00 00 00 00 00 00 A9 [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:39]Read from MH i2c: E2 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 17 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: E2 17 00 FA 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 FE [16:09:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:09:39]wFMCommunicate OK [16:09:39]CreateOFDProtocolMessage done [16:09:39]OFDSenderStorePacket 40798 [16:09:39]StoreOFDPacket docnum=40798 [16:09:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4F 92 07 01 5F AC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 D2 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5E 9F 00 00 35 04 06 00 EA F2 50 C7 06 59 58 0D 2F 15 B3 B6 77 FA [16:09:39]CheckFolder [16:09:39]dirname=/storage/ofd_packets [16:09:39]CheckFolder done [16:09:39]ProducePacketName [16:09:39]name=ofd_packets/00040798 [16:09:39]NVStorageSaveData ofd_packets/00040798 [16:09:39]File name is /storage/ofd_packets/00040798 [16:09:39]Write 301 bytes [16:09:39]NVStorageSaveData done [16:09:39]OFDSenderStorePacket done [16:09:39]KKMCreateOFDPacket done [16:09:39]NVStorageSaveData kkm_last_timestamp [16:09:39]File name is /storage/kkm_last_timestamp [16:09:39]Write 4 bytes [16:09:39]NVStorageSaveData done [16:09:39]ExternCall_PrintAddStr [16:09:39]wPrintStart [16:09:39]Write to MH i2c: 01 00 00 FB 35 30 [16:09:39]Write i2c OK [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: 01 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: 01 07 00 [16:09:39]MH_I2C_Read... [16:09:39]Read from MH i2c: 01 07 00 FB 35 00 00 00 00 00 FF 0F 45 [16:09:39]RasterBufferAndPrint [16:09:39]line Счет N : (1)808920 [16:09:39]line ИÐÐ: 02508201610067 [16:09:39]line Контрольно-КаÑÑовый Чек [16:09:39]line ПРОДÐЖР[16:09:39]line ТРК (МРК, ГÐК) : 33 [16:09:39]line Товар: 2710124130 [16:09:39]line Ðи-92-К-5 [16:09:39]line 13.460 * 66.90 [16:09:39]line = 900.47 [16:09:39]line ÐДС 12% ÐСП 1% [16:09:39]line > о реализуемом товаре [16:09:39]line ОКРУГЛЕÐИЕ: -0.47 [16:09:39]line ИТОГО: 900.00 [16:09:39]line ВнеÑено: 900.00 [16:09:39]line СДÐЧÐ: 0.00 [16:09:39]line ÐСП 1% : 7.97 [16:09:39]line ÐДС 12% : 95.62 [16:09:39]line Ðаличными: 900.00 [16:09:39]line Безнал.: 0.00 [16:09:39]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:09:39]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:09:39]line СÐО: Общий режим [16:09:39]line Чек 66 21.10.2024 16:09 [16:09:39]line Смена: 448 ФФД: 1.0 [16:09:39]line ЗÐМ: 0300000239 [16:09:39]line РÐМ: 0000000000098148 [16:09:39]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:09:39]line ФМ: 0000000000965374 [16:09:39]line ФД: 40798 [16:09:39]line ФПД: 258326458205785 [16:09:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160954&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40798&fm=258326458205785&tin=02508201610067®Number=0000000000098148&sum=90000 [16:09:39]OFD Sender: Processing packet 40798 [packets to send 4, broken 3] [16:09:39]ProducePacketName [16:09:39]name=ofd_packets/00040798 [16:09:39]OFD Sender: To server: ‡•öpG, [16:09:39]CommunicateWithHost lk.salyk.kg:30040 [16:09:39]ConnectInit lk.salyk.kg [16:09:39]written 0, free lines is 4095 [16:09:40]Connected sock=10 [16:09:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 4F 92 07 01 5F AC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 D2 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5E 9F 00 00 35 04 06 00 EA F2 50 C7 06 59 58 0D 2F 15 B3 B6 77 FA [16:09:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 5D 13 47 00 45 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5E 9F 00 00 F4 03 04 00 B2 22 16 67 B6 04 01 00 00 3E A5 C5 F4 53 57 65 89 [16:09:40]CommunicateWithHost err = 0 [16:09:40]CheckOFDResponse [16:09:40]1017 (14) - 77093643461234 [16:09:40]1041 (16) - 0000000000965374 [16:09:40]1040 (4) - 40798 [16:09:40]1012 (4) - 21.10.2024 09:45 [16:09:40]1206 (1) - 0 [16:09:40]OFD Sender: Remove packet 40798 [16:09:40]ProducePacketName [16:09:40]name=ofd_packets/00040798 [16:09:40]NVStorageDeleteData [16:09:40]Write to MH i2c: 01 00 00 26 36 5C [16:09:40]Write i2c OK [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: 01 [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: 01 07 00 [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: 01 07 00 26 36 00 00 00 00 00 00 0D 70 [16:09:40]RasterBufferAndPrint [16:09:40]line [16:09:40]line [16:09:40]line [16:09:40]line [16:09:40]line [16:09:40]written 0, free lines is 3334 [16:09:40]MH_Cut [16:09:40]Write to MH i2c: D1 01 00 2D 36 01 35 [16:09:40]Write i2c OK [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: D1 [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: D1 01 00 [16:09:40]MH_I2C_Read... [16:09:40]Read from MH i2c: D1 01 00 2D 36 00 34 [16:09:40]Write to MH i2c: 01 00 00 2E 36 64 [16:09:40]Write i2c OK [16:09:40]MH_I2C_Read... [16:09:40]OFD Sender: No OFD packet to send [16:09:41]*** Cut start [16:09:41]*** Partial cut [16:09:41]*** CUTSNS_PIN = 1 [16:09:41]*** CUTSNS_PIN = 0 [16:09:41]*** Brake cut motor [16:09:41]Read from MH i2c: 01 [16:09:41]MH_I2C_Read... [16:09:41]*** Stop cut motor [16:09:41]*** Cut end [16:09:41]Read from MH i2c: 01 07 00 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: 01 07 00 2E 36 00 00 00 00 00 FF 0F 79 [16:09:41]process_action close_receipt done [16:09:41]requested_data is exist [16:09:41]produce_requested_data [16:09:41]requested_item fm.sn is exist - process it [16:09:41]wFMCommunicate request_size=4 [16:09:41]MH_SAM_APDU [16:09:41]CAPDU: 80 11 00 00 [16:09:41]Write to MH i2c: E2 08 00 2F 36 80 11 00 00 00 00 00 00 DF [16:09:41]Write i2c OK [16:09:41]MH_I2C_Read... [16:09:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:41]Read from MH i2c: E2 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 17 00 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 17 00 2F 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 34 [16:09:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:09:41]wFMCommunicate OK [16:09:41]requested_item fd.num is exist - process it [16:09:41]SAM_PROTO_GetFieldsCounters [16:09:41]wFMCommunicate request_size=4 [16:09:41]MH_SAM_APDU [16:09:41]CAPDU: 80 13 00 00 [16:09:41]Write to MH i2c: E2 08 00 30 36 80 13 00 00 00 00 00 00 E2 [16:09:41]Write i2c OK [16:09:41]MH_I2C_Read... [16:09:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:09:41]Read from MH i2c: E2 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 62 00 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 62 00 30 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5E 9F 00 00 0E 04 04 00 C0 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 8E [16:09:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5E 9F 00 00 0E 04 04 00 C0 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 [16:09:41]wFMCommunicate OK [16:09:41]SAM_PROTO_GetFieldsCounters done [16:09:41]requested_item shift.num is exist - process it [16:09:41]requested_item shift.opened is exist - process it [16:09:41]req_shift_opened [16:09:41]FM_GetShiftState [16:09:41]SAM_PROTO_GetShiftState [16:09:41]wFMCommunicate request_size=4 [16:09:41]MH_SAM_APDU [16:09:41]CAPDU: 80 13 01 00 [16:09:41]Write to MH i2c: E2 08 00 31 36 80 13 01 00 00 00 00 00 E4 [16:09:41]Write i2c OK [16:09:41]MH_I2C_Read... [16:09:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:41]Read from MH i2c: E2 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 0E 00 [16:09:41]MH_I2C_Read... [16:09:41]Read from MH i2c: E2 0E 00 31 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B2 [16:09:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:09:41]wFMCommunicate OK [16:09:41]SAM_PROTO_GetShiftState done [16:09:41]FM_GetShiftState done [16:09:41]req_shift_opened done [16:09:41]requested_item shift.open_date is exist - process it [16:09:41]req_shift_open_date [16:09:41]req_shift_open_date done [16:09:41]produce_requested_data done [16:09:41]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40798,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:09:41]process_action_free close_receipt [16:09:41]json_value_free [16:09:41]json_value_free done [16:09:41]process_json_proto returns [16:09:41]Send response to host [16:09:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40798,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:09:41]free response buf [16:09:41]execute_script done [16:09:41]execute_script returns [16:09:41]free content buf [16:09:41]Sock 9.Close socket [16:09:41]Sock 9.Thread stoped [16:09:45]OFD Sender: No OFD packet to send [16:09:46]accept exits with 7 [16:09:46]New connection [16:09:46]New thread 3067030884 created [16:09:46]Thread 3066887524 joined [16:09:46]Waiting for new connection... [16:09:46] Sock 7.Parse request [16:09:46]Sock 7.Check first char [16:09:46]Sock 7.First char is OK [16:09:46]request: POST /json_proto HTTP/1.0 [16:09:46]Method: POST [16:09:46]URL: /json_proto [16:09:46]Method is POST - this is cgi request [16:09:46]url: /json_proto [16:09:46]query_string will be loaded in cgi processing [16:09:46]execute_cgi json_proto POST (null) [16:09:46]execute_cgi path=json_proto method=POST [16:09:46]POST find Content-Length [16:09:46]Host: 172.17.53.4:8080 [16:09:46]Content-Length: 632 [16:09:46]Content-Type: application/json [16:09:46] [16:09:46]POST finish read [16:09:46]Found Content-Length = 632 [16:09:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808922", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:46]execute_script... [16:09: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 : (1)808922", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:09:46]POST & json_proto [16:09:46]process_json_proto [16:09:46]json parsed OK: [16:09:46]protocol is kg_v1.0 [16:09:46]action value=close_receipt [16:09:46]process_action close_receipt [16:09:46]cmd_close_receipt [16:09:46]MH_GetDate [16:09:46]Write to MH i2c: F0 00 00 32 36 57 [16:09:46]Write i2c OK [16:09:46]MH_I2C_Read... [16:09:46]Read from MH i2c: F0 [16:09:46]MH_I2C_Read... [16:09:46]Read from MH i2c: F0 09 00 [16:09:46]MH_I2C_Read... [16:09:46]Read from MH i2c: F0 09 00 32 36 00 DB 7C 16 67 05 11 DA 64 88 [16:09:46]GetLastDocTimeStamp 1729526994 [16:09:46]current date 1729527003 [16:09:46]FM_GetShiftState [16:09:46]SAM_PROTO_GetShiftState [16:09:46]wFMCommunicate request_size=4 [16:09:46]MH_SAM_APDU [16:09:46]CAPDU: 80 13 01 00 [16:09:46]Write to MH i2c: E2 08 00 33 36 80 13 01 00 00 00 00 00 E6 [16:09:46]Write i2c OK [16:09:46]MH_I2C_Read... [16:09:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:46]Read from MH i2c: E2 [16:09:46]MH_I2C_Read... [16:09:46]Read from MH i2c: E2 0E 00 [16:09:46]MH_I2C_Read... [16:09:46]Read from MH i2c: E2 0E 00 33 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B4 [16:09:46]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:09:46]wFMCommunicate OK [16:09:46]SAM_PROTO_GetShiftState done [16:09:46]FM_GetShiftState done [16:09:46]opened in 1729470630 [16:09:46]opened+sec_in_day 1729557030 [16:09:46]quantity*price = 50000 [16:09:46]sum+1 = 50001 [16:09:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 ÐСП 1% : 4.42 ÐДС 12% : 53.10 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 67 21.10.2024 16:10 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40799 ФПД: 92541246422638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161003&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40799&fm=92541246422638&tin=02508201610067®Number=0000000000098148&sum=50000 [16:09:47]StoreToDocumentArchive [16:09:47]shift 448 fd 40799 [16:09:47]save to /storage/0448/doc_00040799 [16:09:47]save last doc name /storage/0448/doc_00040799 to /storage/kkm_last_doc_name [16:09:47]save OK [16:09:47]Clear old archive folders... [16:09:47]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:09:47]tlvbuf is 010F1EC0 [16:09:47]SAM_PROTO_ClearQueue [16:09:47]wFMCommunicate request_size=4 [16:09:47]MH_SAM_APDU [16:09:47]CAPDU: 80 09 00 00 [16:09:47]Write to MH i2c: E2 08 00 40 36 80 09 00 00 00 00 00 00 E8 [16:09:47]Write i2c OK [16:09:47]MH_I2C_Read... [16:09:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:09:47]Read from MH i2c: E2 [16:09:47]MH_I2C_Read... [16:09:47]Read from MH i2c: E2 03 00 [16:09:47]MH_I2C_Read... [16:09:47]Read from MH i2c: E2 03 00 40 36 00 90 00 EA [16:09:47]RAPDU: 90 00 [16:09:47]wFMCommunicate OK [16:09:47]SAM_PROTO_ClearQueue done [16:09:47]KKMCreateOFDPacket [16:09:47]OFDProtocolAddRootSTLVToBuf [16:09:47]FM_MakeSignedData [16:09:47]FM_MakeSignedData [16:09:47]SAM_PROTO_SignData [16:09:47]wFMCommunicate request_size=4 [16:09:47]MH_SAM_APDU [16:09:47]CAPDU: 80 0D 01 02 [16:09:47]Write to MH i2c: E2 08 00 41 36 80 0D 01 02 00 00 00 00 F0 [16:09:47]Write i2c OK [16:09:47]MH_I2C_Read... [16:09:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:09:47]Read from MH i2c: E2 [16:09:47]MH_I2C_Read... [16:09:47]Read from MH i2c: E2 03 00 [16:09:47]MH_I2C_Read... [16:09:47]Read from MH i2c: E2 03 00 41 36 00 90 00 EB [16:09:47]RAPDU: 90 00 [16:09:47]wFMCommunicate OK [16:09:47]wFMCommunicate request_size=255 [16:09:47]MH_SAM_APDU [16:09:47]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 DB 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5F 9F 00 00 35 04 06 00 [16:09:47]Write to MH i2c: E2 02 01 42 36 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 DB 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5F 9F 00 00 35 04 06 00 00 00 36 [16:09:47]Write i2c OK [16:09:47]MH_I2C_Read... [16:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:48]Read from MH i2c: E2 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 03 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 03 00 42 36 00 90 00 EC [16:09:48]RAPDU: 90 00 [16:09:48]wFMCommunicate OK [16:09:48]wFMCommunicate request_size=11 [16:09:48]MH_SAM_APDU [16:09:48]CAPDU: 80 0D 02 02 06 54 2A 70 1E BE 6E [16:09:48]Write to MH i2c: E2 0E 00 43 36 80 0D 02 02 06 00 54 2A 70 1E BE 6E 00 00 37 [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:09:48]Read from MH i2c: E2 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 03 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 03 00 43 36 00 90 00 ED [16:09:48]RAPDU: 90 00 [16:09:48]wFMCommunicate OK [16:09:48]wFMCommunicate request_size=4 [16:09:48]MH_SAM_APDU [16:09:48]CAPDU: 80 0D 03 02 [16:09:48]Write to MH i2c: E2 08 00 44 36 80 0D 03 02 00 00 00 00 F5 [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:09:48]Read from MH i2c: E2 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 0B 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 0B 00 44 36 00 BD CA D4 63 EF 33 D1 22 90 00 C9 [16:09:48]RAPDU: BD CA D4 63 EF 33 D1 22 90 00 [16:09:48]wFMCommunicate OK [16:09:48]SAM_PROTO_SignData done [16:09:48]FM_MakeSignedData done [16:09:48]CreateOFDProtocolMessage [16:09:48]wFMCommunicate request_size=4 [16:09:48]MH_SAM_APDU [16:09:48]CAPDU: 80 11 00 00 [16:09:48]Write to MH i2c: E2 08 00 45 36 80 11 00 00 00 00 00 00 F5 [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:48]Read from MH i2c: E2 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 17 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: E2 17 00 45 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 4A [16:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:09:48]wFMCommunicate OK [16:09:48]CreateOFDProtocolMessage done [16:09:48]OFDSenderStorePacket 40799 [16:09:48]StoreOFDPacket docnum=40799 [16:09:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 3C DF 08 01 24 79 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 DB 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5F 9F 00 00 35 04 06 00 54 2A 70 1E BE 6E BD CA D4 63 EF 33 D1 22 [16:09:48]CheckFolder [16:09:48]dirname=/storage/ofd_packets [16:09:48]CheckFolder done [16:09:48]ProducePacketName [16:09:48]name=ofd_packets/00040799 [16:09:48]NVStorageSaveData ofd_packets/00040799 [16:09:48]File name is /storage/ofd_packets/00040799 [16:09:48]Write 302 bytes [16:09:48]NVStorageSaveData done [16:09:48]OFDSenderStorePacket done [16:09:48]KKMCreateOFDPacket done [16:09:48]NVStorageSaveData kkm_last_timestamp [16:09:48]File name is /storage/kkm_last_timestamp [16:09:48]Write 4 bytes [16:09:48]NVStorageSaveData done [16:09:48]ExternCall_PrintAddStr [16:09:48]wPrintStart [16:09:48]Write to MH i2c: 01 00 00 46 36 7C [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 07 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 07 00 46 36 00 00 00 00 00 FF 0F 91 [16:09:48]RasterBufferAndPrint [16:09:48]line Счет N : (1)808922 [16:09:48]line ИÐÐ: 02508201610067 [16:09:48]line Контрольно-КаÑÑовый Чек [16:09:48]line ПРОДÐЖР[16:09:48]line ТРК (МРК, ГÐК) : 42 [16:09:48]line Товар: 2710124130 [16:09:48]line Super 92-К-5 [16:09:48]line 7.310 * 68.40 [16:09:48]line = 500.00 [16:09:48]line ÐДС 12% ÐСП 1% [16:09:48]line > о реализуемом товаре [16:09:48]line ИТОГО: 500.00 [16:09:48]line ÐСП 1% : 4.42 [16:09:48]line ÐДС 12% : 53.10 [16:09:48]line Ðаличными: 500.00 [16:09:48]line Безнал.: 0.00 [16:09:48]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:09:48]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:09:48]line СÐО: Общий режим [16:09:48]line Чек 67 21.10.2024 16:10 [16:09:48]line Смена: 448 ФФД: 1.0 [16:09:48]line ЗÐМ: 0300000239 [16:09:48]line РÐМ: 0000000000098148 [16:09:48]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:09:48]line ФМ: 0000000000965374 [16:09:48]line ФД: 40799 [16:09:48]line ФПД: 92541246422638 [16:09:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161003&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40799&fm=92541246422638&tin=02508201610067®Number=0000000000098148&sum=50000 [16:09:48]written 0, free lines is 4095 [16:09:48]OFD Sender: Processing packet 40799 [packets to send 4, broken 3] [16:09:48]ProducePacketName [16:09:48]name=ofd_packets/00040799 [16:09:48]OFD Sender: To server: ‡•öpG, [16:09:48]CommunicateWithHost lk.salyk.kg:30040 [16:09:48]ConnectInit lk.salyk.kg [16:09:48]Connected sock=10 [16:09:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 3C DF 08 01 24 79 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 DB 7C 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5F 9F 00 00 35 04 06 00 54 2A 70 1E BE 6E BD CA D4 63 EF 33 D1 22 [16:09:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 92 B3 47 00 06 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 5F 9F 00 00 F4 03 04 00 BA 22 16 67 B6 04 01 00 00 28 FA 7C 6A 17 10 72 78 [16:09:48]CommunicateWithHost err = 0 [16:09:48]CheckOFDResponse [16:09:48]1017 (14) - 77093643461234 [16:09:48]1041 (16) - 0000000000965374 [16:09:48]1040 (4) - 40799 [16:09:48]1012 (4) - 21.10.2024 09:45 [16:09:48]1206 (1) - 0 [16:09:48]OFD Sender: Remove packet 40799 [16:09:48]ProducePacketName [16:09:48]name=ofd_packets/00040799 [16:09:48]NVStorageDeleteData [16:09:48]Write to MH i2c: 01 00 00 6E 36 A4 [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 07 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: 01 07 00 6E 36 00 00 00 00 00 35 0D ED [16:09:48]RasterBufferAndPrint [16:09:48]line [16:09:48]line [16:09:48]line [16:09:48]line [16:09:48]line [16:09:48]written 0, free lines is 3393 [16:09:48]MH_Cut [16:09:48]Write to MH i2c: D1 01 00 75 36 01 7D [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: D1 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: D1 01 00 [16:09:48]MH_I2C_Read... [16:09:48]Read from MH i2c: D1 01 00 75 36 00 7C [16:09:48]Write to MH i2c: 01 00 00 76 36 AC [16:09:48]Write i2c OK [16:09:48]MH_I2C_Read... [16:09:49]OFD Sender: No OFD packet to send [16:09:49]*** Cut start [16:09:49]*** Partial cut [16:09:49]*** CUTSNS_PIN = 1 [16:09:49]*** CUTSNS_PIN = 0 [16:09:49]*** Brake cut motor [16:09:49]Read from MH i2c: 01 [16:09:49]MH_I2C_Read... [16:09:49]*** Stop cut motor [16:09:49]*** Cut end [16:09:49]Read from MH i2c: 01 07 00 [16:09:49]MH_I2C_Read... [16:09:49]Read from MH i2c: 01 07 00 76 36 00 00 00 00 00 FF 0F C1 [16:09:49]process_action close_receipt done [16:09:49]requested_data is exist [16:09:49]produce_requested_data [16:09:49]requested_item fm.sn is exist - process it [16:09:49]wFMCommunicate request_size=4 [16:09:49]MH_SAM_APDU [16:09:49]CAPDU: 80 11 00 00 [16:09:49]Write to MH i2c: E2 08 00 77 36 80 11 00 00 00 00 00 00 27 [16:09:49]Write i2c OK [16:09:49]MH_I2C_Read... [16:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:09:50]Read from MH i2c: E2 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 17 00 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 17 00 77 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 7C [16:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:09:50]wFMCommunicate OK [16:09:50]requested_item fd.num is exist - process it [16:09:50]SAM_PROTO_GetFieldsCounters [16:09:50]wFMCommunicate request_size=4 [16:09:50]MH_SAM_APDU [16:09:50]CAPDU: 80 13 00 00 [16:09:50]Write to MH i2c: E2 08 00 78 36 80 13 00 00 00 00 00 00 2A [16:09:50]Write i2c OK [16:09:50]MH_I2C_Read... [16:09:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:09:50]Read from MH i2c: E2 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 62 00 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 62 00 78 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5F 9F 00 00 0E 04 04 00 C0 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 DA [16:09:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 5F 9F 00 00 0E 04 04 00 C0 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 [16:09:50]wFMCommunicate OK [16:09:50]SAM_PROTO_GetFieldsCounters done [16:09:50]requested_item shift.num is exist - process it [16:09:50]requested_item shift.opened is exist - process it [16:09:50]req_shift_opened [16:09:50]FM_GetShiftState [16:09:50]SAM_PROTO_GetShiftState [16:09:50]wFMCommunicate request_size=4 [16:09:50]MH_SAM_APDU [16:09:50]CAPDU: 80 13 01 00 [16:09:50]Write to MH i2c: E2 08 00 79 36 80 13 01 00 00 00 00 00 2C [16:09:50]Write i2c OK [16:09:50]MH_I2C_Read... [16:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:09:50]Read from MH i2c: E2 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 0E 00 [16:09:50]MH_I2C_Read... [16:09:50]Read from MH i2c: E2 0E 00 79 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 FA [16:09:50]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:09:50]wFMCommunicate OK [16:09:50]SAM_PROTO_GetShiftState done [16:09:50]FM_GetShiftState done [16:09:50]req_shift_opened done [16:09:50]requested_item shift.open_date is exist - process it [16:09:50]req_shift_open_date [16:09:50]req_shift_open_date done [16:09:50]produce_requested_data done [16:09:50]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40799,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:09:50]process_action_free close_receipt [16:09:50]json_value_free [16:09:50]json_value_free done [16:09:50]process_json_proto returns [16:09:50]Send response to host [16:09:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40799,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:09:50]free response buf [16:09:50]execute_script done [16:09:50]execute_script returns [16:09:50]free content buf [16:09:50]Sock 7.Close socket [16:09:50]Sock 7.Thread stoped [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:31]accept exits with 9 [16:10:31]New connection [16:10:31]New thread 3066887524 created [16:10:31]Thread 3067030884 joined [16:10:31]Waiting for new connection... [16:10:31] Sock 9.Parse request [16:10:31]Sock 9.Check first char [16:10:31]Sock 9.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.53.4:8080 [16:10:31]Content-Length: 677 [16:10:31]Content-Type: application/json [16:10:31] [16:10:31]POST finish read [16:10:31]Found Content-Length = 677 [16:10:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808923", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [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 : (1)808923", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [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 7A 36 9F [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 7A 36 00 08 7D 16 67 05 11 DA 64 FE [16:10:31]GetLastDocTimeStamp 1729527003 [16:10:31]current date 1729527048 [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 7B 36 80 13 01 00 00 00 00 00 2E [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 7B 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 FC [16:10:31]RAPDU: 09 00 01 A6 A0 15 67 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 1729470630 [16:10:31]opened+sec_in_day 1729557030 [16:10:31]quantity*price = 40006 [16:10:31]sum+1 = 40007 [16:10:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.06 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 68 21.10.2024 16:10 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40800 ФПД: 44665382035708 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161048&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40800&fm=44665382035708&tin=02508201610067®Number=0000000000098148&sum=40000 [16:10:32]StoreToDocumentArchive [16:10:32]shift 448 fd 40800 [16:10:32]save to /storage/0448/doc_00040800 [16:10:32]save last doc name /storage/0448/doc_00040800 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=251 [16:10:32]tlvbuf is 010A0A30 [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 88 36 80 09 00 00 00 00 00 00 30 [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 88 36 00 90 00 32 [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 89 36 80 0D 01 02 00 00 00 00 38 [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 89 36 00 90 00 33 [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 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 08 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 60 9F 00 00 35 04 06 00 28 [16:10:32]Write to MH i2c: E2 02 01 8A 36 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 08 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 60 9F 00 00 35 04 06 00 28 00 00 CB [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 [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 03 00 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 8A 36 00 90 00 34 [16:10:32]RAPDU: 90 00 [16:10:32]wFMCommunicate OK [16:10:32]wFMCommunicate request_size=10 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 0D 02 02 05 9F 78 3A E0 FC [16:10:32]Write to MH i2c: E2 0D 00 8B 36 80 0D 02 02 05 00 9F 78 3A E0 FC 00 00 72 [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 8B 36 00 90 00 35 [16:10:32]RAPDU: 90 00 [16:10:32]wFMCommunicate OK [16:10:32]wFMCommunicate request_size=4 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 0D 03 02 [16:10:32]Write to MH i2c: E2 08 00 8C 36 80 0D 03 02 00 00 00 00 3D [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:32]*** 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 8C 36 00 37 AF 30 B0 CF 64 46 7A 90 00 F7 [16:10:33]RAPDU: 37 AF 30 B0 CF 64 46 7A 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 8D 36 80 11 00 00 00 00 00 00 3D [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 8D 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 92 [16:10:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:10:33]wFMCommunicate OK [16:10:33]CreateOFDProtocolMessage done [16:10:33]OFDSenderStorePacket 40800 [16:10:33]StoreOFDPacket docnum=40800 [16:10:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 6D DA 07 01 F8 73 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 08 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 60 9F 00 00 35 04 06 00 28 9F 78 3A E0 FC 37 AF 30 B0 CF 64 46 7A [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/00040800 [16:10:33]NVStorageSaveData ofd_packets/00040800 [16:10:33]File name is /storage/ofd_packets/00040800 [16:10:33]Write 301 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 8E 36 C4 [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 8E 36 00 00 00 00 00 FF 0F D9 [16:10:33]RasterBufferAndPrint [16:10:33]line Счет N : (1)808923 [16:10:33]line ИÐÐ: 02508201610067 [16:10:33]line Контрольно-КаÑÑовый Чек [16:10:33]line ПРОДÐЖР[16:10:33]line ТРК (МРК, ГÐК) : 53 [16:10:33]line Товар: 2710124130 [16:10:33]line Ðи-92-К-5 [16:10:33]line 5.980 * 66.90 [16:10:33]line = 400.06 [16:10:33]line ÐДС 12% ÐСП 1% [16:10:33]line > о реализуемом товаре [16:10:33]line ОКРУГЛЕÐИЕ: -0.06 [16:10:33]line ИТОГО: 400.00 [16:10:33]line ВнеÑено: 400.00 [16:10:33]line СДÐЧÐ: 0.00 [16:10:33]line ÐСП 1% : 3.54 [16:10:33]line ÐДС 12% : 42.48 [16:10:33]line Ðаличными: 400.00 [16:10:33]line Безнал.: 0.00 [16:10:33]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:10:33]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:10:33]line СÐО: Общий режим [16:10:33]line Чек 68 21.10.2024 16:10 [16:10:33]line Смена: 448 ФФД: 1.0 [16:10:33]line ЗÐМ: 0300000239 [16:10:33]line РÐМ: 0000000000098148 [16:10:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:10:33]line ФМ: 0000000000965374 [16:10:33]line ФД: 40800 [16:10:33]line ФПД: 44665382035708 [16:10:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161048&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40800&fm=44665382035708&tin=02508201610067®Number=0000000000098148&sum=40000 [16:10:33]written 0, free lines is 4095 [16:10:33]OFD Sender: Processing packet 40800 [packets to send 4, broken 3] [16:10:33]ProducePacketName [16:10:33]name=ofd_packets/00040800 [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]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 39 36 35 33 37 34 0F 01 00 00 6D DA 07 01 F8 73 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 08 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 60 9F 00 00 35 04 06 00 28 9F 78 3A E0 FC 37 AF 30 B0 CF 64 46 7A [16:10:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 7A FE 47 00 31 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 39 36 35 33 37 34 10 04 04 00 60 9F 00 00 F4 03 04 00 E7 22 16 67 B6 04 01 00 00 D5 30 BE DE 1C F4 6C B7 [16:10:33]CommunicateWithHost err = 0 [16:10:33]CheckOFDResponse [16:10:33]1017 (14) - 77093643461234 [16:10:33]1041 (16) - 0000000000965374 [16:10:33]1040 (4) - 40800 [16:10:33]1012 (4) - 21.10.2024 09:46 [16:10:33]1206 (1) - 0 [16:10:33]OFD Sender: Remove packet 40800 [16:10:33]ProducePacketName [16:10:33]name=ofd_packets/00040800 [16:10:33]NVStorageDeleteData [16:10:33]Write to MH i2c: 01 00 00 B9 36 EF [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 B9 36 00 00 00 00 00 F9 0C FB [16:10:33]RasterBufferAndPrint [16:10:33]line [16:10:33]line [16:10:33]line [16:10:33]line [16:10:33]line [16:10:33]written 0, free lines is 3327 [16:10:33]MH_Cut [16:10:33]Write to MH i2c: D1 01 00 C0 36 01 C8 [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: D1 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: D1 01 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: D1 01 00 C0 36 00 C7 [16:10:33]Write to MH i2c: 01 00 00 C1 36 F7 [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:34]OFD Sender: No OFD packet to send [16:10:34]*** Cut start [16:10:34]*** Partial cut [16:10:34]*** CUTSNS_PIN = 1 [16:10:34]*** CUTSNS_PIN = 0 [16:10:34]*** 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 C1 36 00 00 00 00 00 FF 0F 0C [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 C2 36 80 11 00 00 00 00 00 00 72 [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:35]Read from MH i2c: E2 17 00 C2 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C7 [16:10:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:10:35]wFMCommunicate OK [16:10:35]requested_item fd.num is exist - process it [16:10:35]SAM_PROTO_GetFieldsCounters [16:10:35]wFMCommunicate request_size=4 [16:10:35]MH_SAM_APDU [16:10:35]CAPDU: 80 13 00 00 [16:10:35]Write to MH i2c: E2 08 00 C3 36 80 13 00 00 00 00 00 00 75 [16:10:35]Write i2c OK [16:10:35]MH_I2C_Read... [16:10:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:10:35]Read from MH i2c: E2 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: E2 62 00 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: E2 62 00 C3 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 60 9F 00 00 0E 04 04 00 C0 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 29 [16:10:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 60 9F 00 00 0E 04 04 00 C0 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 [16:10:35]wFMCommunicate OK [16:10:35]SAM_PROTO_GetFieldsCounters done [16:10:35]requested_item shift.num is exist - process it [16:10:35]requested_item shift.opened is exist - process it [16:10:35]req_shift_opened [16:10:35]FM_GetShiftState [16:10:35]SAM_PROTO_GetShiftState [16:10:35]wFMCommunicate request_size=4 [16:10:35]MH_SAM_APDU [16:10:35]CAPDU: 80 13 01 00 [16:10:35]Write to MH i2c: E2 08 00 C4 36 80 13 01 00 00 00 00 00 77 [16:10:35]Write i2c OK [16:10:35]MH_I2C_Read... [16:10:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:35]Read from MH i2c: E2 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: E2 0E 00 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: E2 0E 00 C4 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 45 [16:10:35]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:10:35]wFMCommunicate OK [16:10:35]SAM_PROTO_GetShiftState done [16:10:35]FM_GetShiftState done [16:10:35]req_shift_opened done [16:10:35]requested_item shift.open_date is exist - process it [16:10:35]req_shift_open_date [16:10:35]req_shift_open_date done [16:10:35]produce_requested_data done [16:10:35]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40800,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:10:35]process_action_free close_receipt [16:10:35]json_value_free [16:10:35]json_value_free done [16:10:35]process_json_proto returns [16:10:35]Send response to host [16:10:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40800,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:10:35]free response buf [16:10:35]execute_script done [16:10:35]execute_script returns [16:10:35]free content buf [16:10:35]Sock 9.Close socket [16:10:35]Sock 9.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:15]accept exits with 7 [16:12:15]New connection [16:12:15]New thread 3067030884 created [16:12:15]Thread 3066887524 joined [16:12:15]Waiting for new connection... [16:12:15] Sock 7.Parse request [16:12:15]Sock 7.Check first char [16:12:15]Sock 7.First char is OK [16:12:15]request: POST /json_proto HTTP/1.0 [16:12:15]Method: POST [16:12:15]URL: /json_proto [16:12:15]Method is POST - this is cgi request [16:12:15]url: /json_proto [16:12:15]query_string will be loaded in cgi processing [16:12:15]execute_cgi json_proto POST (null) [16:12:15]execute_cgi path=json_proto method=POST [16:12:15]POST find Content-Length [16:12:15]Host: 172.17.53.4:8080 [16:12:15]Content-Length: 677 [16:12:15]Content-Type: application/json [16:12:15] [16:12:15]POST finish read [16:12:15]Found Content-Length = 677 [16:12:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808925", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:12:15]execute_script... [16:12:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808925", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:12:15]POST & json_proto [16:12:15]process_json_proto [16:12:15]json parsed OK: [16:12:15]protocol is kg_v1.0 [16:12:15]action value=close_receipt [16:12:15]process_action close_receipt [16:12:15]cmd_close_receipt [16:12:15]MH_GetDate [16:12:15]Write to MH i2c: F0 00 00 C5 36 EA [16:12:15]Write i2c OK [16:12:15]MH_I2C_Read... [16:12:15]Read from MH i2c: F0 [16:12:15]MH_I2C_Read... [16:12:15]Read from MH i2c: F0 09 00 [16:12:15]MH_I2C_Read... [16:12:15]Read from MH i2c: F0 09 00 C5 36 00 70 7D 16 67 05 11 DA 64 B1 [16:12:15]GetLastDocTimeStamp 1729527048 [16:12:15]current date 1729527152 [16:12:15]FM_GetShiftState [16:12:15]SAM_PROTO_GetShiftState [16:12:15]wFMCommunicate request_size=4 [16:12:15]MH_SAM_APDU [16:12:15]CAPDU: 80 13 01 00 [16:12:15]Write to MH i2c: E2 08 00 C6 36 80 13 01 00 00 00 00 00 79 [16:12:15]Write i2c OK [16:12:15]MH_I2C_Read... [16:12:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:15]Read from MH i2c: E2 [16:12:15]MH_I2C_Read... [16:12:15]Read from MH i2c: E2 0E 00 [16:12:15]MH_I2C_Read... [16:12:15]Read from MH i2c: E2 0E 00 C6 36 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 47 [16:12:15]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:12:15]wFMCommunicate OK [16:12:15]SAM_PROTO_GetShiftState done [16:12:15]FM_GetShiftState done [16:12:15]opened in 1729470630 [16:12:15]opened+sec_in_day 1729557030 [16:12:15]quantity*price = 50041 [16:12:15]sum+1 = 50042 [16:12:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 69 21.10.2024 16:12 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40801 ФПД: 227430432860916 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161232&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40801&fm=227430432860916&tin=02508201610067®Number=0000000000098148&sum=50000 [16:12:16]StoreToDocumentArchive [16:12:16]shift 448 fd 40801 [16:12:16]save to /storage/0448/doc_00040801 [16:12:16]save last doc name /storage/0448/doc_00040801 to /storage/kkm_last_doc_name [16:12:16]save OK [16:12:16]Clear old archive folders... [16:12:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:12:16]tlvbuf is 010BFAA0 [16:12:16]SAM_PROTO_ClearQueue [16:12:16]wFMCommunicate request_size=4 [16:12:16]MH_SAM_APDU [16:12:16]CAPDU: 80 09 00 00 [16:12:16]Write to MH i2c: E2 08 00 D3 36 80 09 00 00 00 00 00 00 7B [16:12:16]Write i2c OK [16:12:16]MH_I2C_Read... [16:12:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:12:16]Read from MH i2c: E2 [16:12:16]MH_I2C_Read... [16:12:16]Read from MH i2c: E2 03 00 [16:12:16]MH_I2C_Read... [16:12:16]Read from MH i2c: E2 03 00 D3 36 00 90 00 7D [16:12:16]RAPDU: 90 00 [16:12:16]wFMCommunicate OK [16:12:16]SAM_PROTO_ClearQueue done [16:12:16]KKMCreateOFDPacket [16:12:16]OFDProtocolAddRootSTLVToBuf [16:12:16]FM_MakeSignedData [16:12:16]FM_MakeSignedData [16:12:16]SAM_PROTO_SignData [16:12:16]wFMCommunicate request_size=4 [16:12:16]MH_SAM_APDU [16:12:16]CAPDU: 80 0D 01 02 [16:12:16]Write to MH i2c: E2 08 00 D4 36 80 0D 01 02 00 00 00 00 83 [16:12:16]Write i2c OK [16:12:16]MH_I2C_Read... [16:12:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:12:17]Read from MH i2c: E2 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 D4 36 00 90 00 7E [16:12:17]RAPDU: 90 00 [16:12:17]wFMCommunicate OK [16:12:17]wFMCommunicate request_size=255 [16:12:17]MH_SAM_APDU [16:12:17]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 70 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 61 9F 00 00 35 04 06 00 CE [16:12:17]Write to MH i2c: E2 02 01 D5 36 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 70 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 61 9F 00 00 35 04 06 00 CE 00 00 57 [16:12:17]Write i2c OK [16:12:17]MH_I2C_Read... [16:12:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:17]Read from MH i2c: E2 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 D5 36 00 90 00 7F [16:12:17]RAPDU: 90 00 [16:12:17]wFMCommunicate OK [16:12:17]wFMCommunicate request_size=10 [16:12:17]MH_SAM_APDU [16:12:17]CAPDU: 80 0D 02 02 05 D8 C6 29 6A F4 [16:12:17]Write to MH i2c: E2 0D 00 D6 36 80 0D 02 02 05 00 D8 C6 29 6A F4 00 00 B5 [16:12:17]Write i2c OK [16:12:17]MH_I2C_Read... [16:12:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:17]Read from MH i2c: E2 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 03 00 D6 36 00 90 00 80 [16:12:17]RAPDU: 90 00 [16:12:17]wFMCommunicate OK [16:12:17]wFMCommunicate request_size=4 [16:12:17]MH_SAM_APDU [16:12:17]CAPDU: 80 0D 03 02 [16:12:17]Write to MH i2c: E2 08 00 D7 36 80 0D 03 02 00 00 00 00 88 [16:12:17]Write i2c OK [16:12:17]MH_I2C_Read... [16:12:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:12:17]Read from MH i2c: E2 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 0B 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 0B 00 D7 36 00 71 AB 1C 2F 49 75 76 4C 90 00 70 [16:12:17]RAPDU: 71 AB 1C 2F 49 75 76 4C 90 00 [16:12:17]wFMCommunicate OK [16:12:17]SAM_PROTO_SignData done [16:12:17]FM_MakeSignedData done [16:12:17]CreateOFDProtocolMessage [16:12:17]wFMCommunicate request_size=4 [16:12:17]MH_SAM_APDU [16:12:17]CAPDU: 80 11 00 00 [16:12:17]Write to MH i2c: E2 08 00 D8 36 80 11 00 00 00 00 00 00 88 [16:12:17]Write i2c OK [16:12:17]MH_I2C_Read... [16:12:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:17]Read from MH i2c: E2 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 17 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: E2 17 00 D8 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DD [16:12:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:12:17]wFMCommunicate OK [16:12:17]CreateOFDProtocolMessage done [16:12:17]OFDSenderStorePacket 40801 [16:12:17]StoreOFDPacket docnum=40801 [16:12:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 B3 54 07 01 3C 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 70 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 61 9F 00 00 35 04 06 00 CE D8 C6 29 6A F4 71 AB 1C 2F 49 75 76 4C [16:12:17]CheckFolder [16:12:17]dirname=/storage/ofd_packets [16:12:17]CheckFolder done [16:12:17]ProducePacketName [16:12:17]name=ofd_packets/00040801 [16:12:17]NVStorageSaveData ofd_packets/00040801 [16:12:17]File name is /storage/ofd_packets/00040801 [16:12:17]Write 301 bytes [16:12:17]NVStorageSaveData done [16:12:17]OFDSenderStorePacket done [16:12:17]KKMCreateOFDPacket done [16:12:17]NVStorageSaveData kkm_last_timestamp [16:12:17]File name is /storage/kkm_last_timestamp [16:12:17]Write 4 bytes [16:12:17]NVStorageSaveData done [16:12:17]ExternCall_PrintAddStr [16:12:17]wPrintStart [16:12:17]Write to MH i2c: 01 00 00 D9 36 0F [16:12:17]Write i2c OK [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: 01 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: 01 07 00 [16:12:17]MH_I2C_Read... [16:12:17]Read from MH i2c: 01 07 00 D9 36 00 00 00 00 00 FF 0F 24 [16:12:17]RasterBufferAndPrint [16:12:17]line Счет N : (1)808925 [16:12:17]line ИÐÐ: 02508201610067 [16:12:17]line Контрольно-КаÑÑовый Чек [16:12:17]line ПРОДÐЖР[16:12:17]line ТРК (МРК, ГÐК) : 63 [16:12:17]line Товар: 2710124130 [16:12:17]line Ðи-92-К-5 [16:12:17]line 7.480 * 66.90 [16:12:17]line = 500.41 [16:12:17]line ÐДС 12% ÐСП 1% [16:12:17]line > о реализуемом товаре [16:12:17]line ОКРУГЛЕÐИЕ: -0.41 [16:12:17]line ИТОГО: 500.00 [16:12:17]line ВнеÑено: 500.00 [16:12:17]line СДÐЧÐ: 0.00 [16:12:17]line ÐСП 1% : 4.43 [16:12:17]line ÐДС 12% : 53.14 [16:12:17]line Ðаличными: 500.00 [16:12:17]line Безнал.: 0.00 [16:12:17]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:12:17]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:12:17]line СÐО: Общий режим [16:12:17]line Чек 69 21.10.2024 16:12 [16:12:17]line Смена: 448 ФФД: 1.0 [16:12:17]line ЗÐМ: 0300000239 [16:12:17]line РÐМ: 0000000000098148 [16:12:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:12:17]line ФМ: 0000000000965374 [16:12:17]line ФД: 40801 [16:12:17]line ФПД: 227430432860916 [16:12:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161232&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40801&fm=227430432860916&tin=02508201610067®Number=0000000000098148&sum=50000 [16:12:17]OFD Sender: Processing packet 40801 [packets to send 4, broken 3] [16:12:17]ProducePacketName [16:12:17]name=ofd_packets/00040801 [16:12:17]OFD Sender: To server: ‡•öpG, [16:12:17]CommunicateWithHost lk.salyk.kg:30040 [16:12:17]ConnectInit lk.salyk.kg [16:12:17]written 0, free lines is 4095 [16:12:17]Connected sock=10 [16:12:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 B3 54 07 01 3C 98 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 70 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 61 9F 00 00 35 04 06 00 CE D8 C6 29 6A F4 71 AB 1C 2F 49 75 76 4C [16:12:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 53 99 47 00 C0 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 39 36 35 33 37 34 10 04 04 00 61 9F 00 00 F4 03 04 00 50 23 16 67 B6 04 01 00 00 CB 6E E4 A4 8A BF F2 02 [16:12:18]CommunicateWithHost err = 0 [16:12:18]CheckOFDResponse [16:12:18]1017 (14) - 77093643461234 [16:12:18]1041 (16) - 0000000000965374 [16:12:18]1040 (4) - 40801 [16:12:18]1012 (4) - 21.10.2024 09:48 [16:12:18]1206 (1) - 0 [16:12:18]OFD Sender: Remove packet 40801 [16:12:18]ProducePacketName [16:12:18]name=ofd_packets/00040801 [16:12:18]NVStorageDeleteData [16:12:18]Write to MH i2c: 01 00 00 04 37 3B [16:12:18]Write i2c OK [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: 01 [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: 01 07 00 [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: 01 07 00 04 37 00 00 00 00 00 FA 0C 48 [16:12:18]RasterBufferAndPrint [16:12:18]line [16:12:18]line [16:12:18]line [16:12:18]line [16:12:18]line [16:12:18]written 0, free lines is 3328 [16:12:18]MH_Cut [16:12:18]Write to MH i2c: D1 01 00 0B 37 01 14 [16:12:18]Write i2c OK [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: D1 [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: D1 01 00 [16:12:18]MH_I2C_Read... [16:12:18]Read from MH i2c: D1 01 00 0B 37 00 13 [16:12:18]Write to MH i2c: 01 00 00 0C 37 43 [16:12:18]Write i2c OK [16:12:18]MH_I2C_Read... [16:12:18]OFD Sender: No OFD packet to send [16:12:18]*** Cut start [16:12:18]*** Partial cut [16:12:18]*** CUTSNS_PIN = 1 [16:12:18]*** CUTSNS_PIN = 0 [16:12:19]*** Brake cut motor [16:12:19]Read from MH i2c: 01 [16:12:19]MH_I2C_Read... [16:12:19]*** Stop cut motor [16:12:19]*** Cut end [16:12:19]Read from MH i2c: 01 07 00 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: 01 07 00 0C 37 00 00 00 00 00 FF 0F 58 [16:12:19]process_action close_receipt done [16:12:19]requested_data is exist [16:12:19]produce_requested_data [16:12:19]requested_item fm.sn is exist - process it [16:12:19]wFMCommunicate request_size=4 [16:12:19]MH_SAM_APDU [16:12:19]CAPDU: 80 11 00 00 [16:12:19]Write to MH i2c: E2 08 00 0D 37 80 11 00 00 00 00 00 00 BE [16:12:19]Write i2c OK [16:12:19]MH_I2C_Read... [16:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:19]Read from MH i2c: E2 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 17 00 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 17 00 0D 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 13 [16:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:12:19]wFMCommunicate OK [16:12:19]requested_item fd.num is exist - process it [16:12:19]SAM_PROTO_GetFieldsCounters [16:12:19]wFMCommunicate request_size=4 [16:12:19]MH_SAM_APDU [16:12:19]CAPDU: 80 13 00 00 [16:12:19]Write to MH i2c: E2 08 00 0E 37 80 13 00 00 00 00 00 00 C1 [16:12:19]Write i2c OK [16:12:19]MH_I2C_Read... [16:12:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:12:19]Read from MH i2c: E2 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 62 00 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 62 00 0E 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 61 9F 00 00 0E 04 04 00 C0 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 79 [16:12:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 61 9F 00 00 0E 04 04 00 C0 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 [16:12:19]wFMCommunicate OK [16:12:19]SAM_PROTO_GetFieldsCounters done [16:12:19]requested_item shift.num is exist - process it [16:12:19]requested_item shift.opened is exist - process it [16:12:19]req_shift_opened [16:12:19]FM_GetShiftState [16:12:19]SAM_PROTO_GetShiftState [16:12:19]wFMCommunicate request_size=4 [16:12:19]MH_SAM_APDU [16:12:19]CAPDU: 80 13 01 00 [16:12:19]Write to MH i2c: E2 08 00 0F 37 80 13 01 00 00 00 00 00 C3 [16:12:19]Write i2c OK [16:12:19]MH_I2C_Read... [16:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:19]Read from MH i2c: E2 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 0E 00 [16:12:19]MH_I2C_Read... [16:12:19]Read from MH i2c: E2 0E 00 0F 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 91 [16:12:19]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:12:19]wFMCommunicate OK [16:12:19]SAM_PROTO_GetShiftState done [16:12:19]FM_GetShiftState done [16:12:19]req_shift_opened done [16:12:19]requested_item shift.open_date is exist - process it [16:12:19]req_shift_open_date [16:12:19]req_shift_open_date done [16:12:19]produce_requested_data done [16:12:19]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40801,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:12:19]process_action_free close_receipt [16:12:19]json_value_free [16:12:19]json_value_free done [16:12:19]process_json_proto returns [16:12:19]Send response to host [16:12:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40801,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:12:19]free response buf [16:12:19]execute_script done [16:12:19]execute_script returns [16:12:19]free content buf [16:12:19]Sock 7.Close socket [16:12:19]Sock 7.Thread stoped [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]accept exits with 9 [16:12:53]New connection [16:12:53]New thread 3066887524 created [16:12:53]Thread 3067030884 joined [16:12:53]Waiting for new connection... [16:12:53] Sock 9.Parse request [16:12:53]Sock 9.Check first char [16:12:53]Sock 9.First char is OK [16:12:53]request: POST /json_proto HTTP/1.0 [16:12:53]Method: POST [16:12:53]URL: /json_proto [16:12:53]Method is POST - this is cgi request [16:12:53]url: /json_proto [16:12:53]query_string will be loaded in cgi processing [16:12:53]execute_cgi json_proto POST (null) [16:12:53]execute_cgi path=json_proto method=POST [16:12:53]POST find Content-Length [16:12:53]Host: 172.17.53.4:8080 [16:12:53]Content-Length: 679 [16:12:53]Content-Type: application/json [16:12:53] [16:12:53]POST finish read [16:12:53]Found Content-Length = 679 [16:12:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808927", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" ] } } [16:12:53]execute_script... [16:12: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 : (1)808927", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" ] } } [16:12:53]POST & json_proto [16:12:53]process_json_proto [16:12:53]json parsed OK: [16:12:53]protocol is kg_v1.0 [16:12:53]action value=close_receipt [16:12:53]process_action close_receipt [16:12:53]cmd_close_receipt [16:12:53]MH_GetDate [16:12:53]Write to MH i2c: F0 00 00 10 37 36 [16:12:53]Write i2c OK [16:12:53]MH_I2C_Read... [16:12:53]Read from MH i2c: F0 [16:12:53]MH_I2C_Read... [16:12:53]Read from MH i2c: F0 09 00 [16:12:53]MH_I2C_Read... [16:12:53]Read from MH i2c: F0 09 00 10 37 00 96 7D 16 67 05 11 DA 64 23 [16:12:53]GetLastDocTimeStamp 1729527152 [16:12:53]current date 1729527190 [16:12:53]FM_GetShiftState [16:12:53]SAM_PROTO_GetShiftState [16:12:53]wFMCommunicate request_size=4 [16:12:53]MH_SAM_APDU [16:12:53]CAPDU: 80 13 01 00 [16:12:53]Write to MH i2c: E2 08 00 11 37 80 13 01 00 00 00 00 00 C5 [16:12:53]Write i2c OK [16:12:53]MH_I2C_Read... [16:12:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:53]Read from MH i2c: E2 [16:12:53]MH_I2C_Read... [16:12:53]Read from MH i2c: E2 0E 00 [16:12:53]MH_I2C_Read... [16:12:53]Read from MH i2c: E2 0E 00 11 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 93 [16:12:53]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:12:53]wFMCommunicate OK [16:12:53]SAM_PROTO_GetShiftState done [16:12:53]FM_GetShiftState done [16:12:53]opened in 1729470630 [16:12:53]opened+sec_in_day 1729557030 [16:12:53]quantity*price = 100050 [16:12:53]sum+1 = 100052 [16:12:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.51 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.25 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 70 21.10.2024 16:13 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40802 ФПД: 149790859236546 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161310&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40802&fm=149790859236546&tin=02508201610067®Number=0000000000098148&sum=100000 [16:12:54]StoreToDocumentArchive [16:12:54]shift 448 fd 40802 [16:12:54]save to /storage/0448/doc_00040802 [16:12:54]save last doc name /storage/0448/doc_00040802 to /storage/kkm_last_doc_name [16:12:54]save OK [16:12:54]Clear old archive folders... [16:12:54]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:12:54]tlvbuf is 010A0A30 [16:12:54]SAM_PROTO_ClearQueue [16:12:54]wFMCommunicate request_size=4 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 09 00 00 [16:12:54]Write to MH i2c: E2 08 00 1E 37 80 09 00 00 00 00 00 00 C7 [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 1E 37 00 90 00 C9 [16:12:54]RAPDU: 90 00 [16:12:54]wFMCommunicate OK [16:12:54]SAM_PROTO_ClearQueue done [16:12:54]KKMCreateOFDPacket [16:12:54]OFDProtocolAddRootSTLVToBuf [16:12:54]FM_MakeSignedData [16:12:54]FM_MakeSignedData [16:12:54]SAM_PROTO_SignData [16:12:54]wFMCommunicate request_size=4 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 0D 01 02 [16:12:54]Write to MH i2c: E2 08 00 1F 37 80 0D 01 02 00 00 00 00 CF [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 1F 37 00 90 00 CA [16:12:54]RAPDU: 90 00 [16:12:54]wFMCommunicate OK [16:12:54]wFMCommunicate request_size=255 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 96 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 62 9F 00 00 35 04 06 00 88 3B E6 F4 [16:12:54]Write to MH i2c: E2 02 01 20 37 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 96 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 62 9F 00 00 35 04 06 00 88 3B E6 F4 00 00 8D [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 20 37 00 90 00 CB [16:12:54]RAPDU: 90 00 [16:12:54]wFMCommunicate OK [16:12:54]wFMCommunicate request_size=7 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 0D 02 02 02 94 C2 [16:12:54]Write to MH i2c: E2 0A 00 21 37 80 0D 02 02 02 00 94 C2 00 00 2C [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 03 00 21 37 00 90 00 CC [16:12:54]RAPDU: 90 00 [16:12:54]wFMCommunicate OK [16:12:54]wFMCommunicate request_size=4 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 0D 03 02 [16:12:54]Write to MH i2c: E2 08 00 22 37 80 0D 03 02 00 00 00 00 D4 [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 0B 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 0B 00 22 37 00 2C B4 9D 38 F8 BD 6D FA 90 00 A6 [16:12:54]RAPDU: 2C B4 9D 38 F8 BD 6D FA 90 00 [16:12:54]wFMCommunicate OK [16:12:54]SAM_PROTO_SignData done [16:12:54]FM_MakeSignedData done [16:12:54]CreateOFDProtocolMessage [16:12:54]wFMCommunicate request_size=4 [16:12:54]MH_SAM_APDU [16:12:54]CAPDU: 80 11 00 00 [16:12:54]Write to MH i2c: E2 08 00 23 37 80 11 00 00 00 00 00 00 D4 [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:54]Read from MH i2c: E2 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 17 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: E2 17 00 23 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 29 [16:12:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:12:54]wFMCommunicate OK [16:12:54]CreateOFDProtocolMessage done [16:12:54]OFDSenderStorePacket 40802 [16:12:54]StoreOFDPacket docnum=40802 [16:12:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 40 A1 04 01 EC BD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 96 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 62 9F 00 00 35 04 06 00 88 3B E6 F4 94 C2 2C B4 9D 38 F8 BD 6D FA [16:12:54]CheckFolder [16:12:54]dirname=/storage/ofd_packets [16:12:54]CheckFolder done [16:12:54]ProducePacketName [16:12:54]name=ofd_packets/00040802 [16:12:54]NVStorageSaveData ofd_packets/00040802 [16:12:54]File name is /storage/ofd_packets/00040802 [16:12:54]Write 298 bytes [16:12:54]NVStorageSaveData done [16:12:54]OFDSenderStorePacket done [16:12:54]KKMCreateOFDPacket done [16:12:54]NVStorageSaveData kkm_last_timestamp [16:12:54]File name is /storage/kkm_last_timestamp [16:12:54]Write 4 bytes [16:12:54]NVStorageSaveData done [16:12:54]ExternCall_PrintAddStr [16:12:54]wPrintStart [16:12:54]Write to MH i2c: 01 00 00 24 37 5B [16:12:54]Write i2c OK [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: 01 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: 01 07 00 [16:12:54]MH_I2C_Read... [16:12:54]Read from MH i2c: 01 07 00 24 37 00 00 00 00 00 FF 0F 70 [16:12:54]RasterBufferAndPrint [16:12:54]line Счет N : (1)808927 [16:12:54]line ИÐÐ: 02508201610067 [16:12:54]line Контрольно-КаÑÑовый Чек [16:12:54]line ПРОДÐЖР[16:12:54]line ТРК (МРК, ГÐК) : 41 [16:12:54]line Товар: 2710194210 [16:12:54]line ДТ-К-2 [16:12:54]line 13.130 * 76.20 [16:12:54]line = 1000.51 [16:12:54]line ÐДС 12% ÐСП 1% [16:12:54]line > о реализуемом товаре [16:12:54]line ОКРУГЛЕÐИЕ: -0.51 [16:12:54]line ИТОГО: 1000.00 [16:12:54]line ВнеÑено: 1000.00 [16:12:54]line СДÐЧÐ: 0.00 [16:12:54]line ÐСП 1% : 8.85 [16:12:54]line ÐДС 12% : 106.25 [16:12:54]line Ðаличными: 1000.00 [16:12:54]line Безнал.: 0.00 [16:12:54]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:12:54]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:12:55]line СÐО: Общий режим [16:12:55]line Чек 70 21.10.2024 16:13 [16:12:55]line Смена: 448 ФФД: 1.0 [16:12:55]line ЗÐМ: 0300000239 [16:12:55]line РÐМ: 0000000000098148 [16:12:55]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:12:55]line ФМ: 0000000000965374 [16:12:55]line ФД: 40802 [16:12:55]line ФПД: 149790859236546 [16:12:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161310&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40802&fm=149790859236546&tin=02508201610067®Number=0000000000098148&sum=100000 [16:12:55]OFD Sender: Processing packet 40802 [packets to send 4, broken 3] [16:12:55]ProducePacketName [16:12:55]name=ofd_packets/00040802 [16:12:55]OFD Sender: To server: ‡•öpG, [16:12:55]CommunicateWithHost lk.salyk.kg:30040 [16:12:55]ConnectInit lk.salyk.kg [16:12:55]written 0, free lines is 4095 [16:12:55]Connected sock=10 [16:12:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 40 A1 04 01 EC BD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 96 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 62 9F 00 00 35 04 06 00 88 3B E6 F4 94 C2 2C B4 9D 38 F8 BD 6D FA [16:12:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 85 57 47 00 2B 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 62 9F 00 00 F4 03 04 00 75 23 16 67 B6 04 01 00 00 06 04 BB BA 9C E8 6E 1E [16:12:55]CommunicateWithHost err = 0 [16:12:55]CheckOFDResponse [16:12:55]1017 (14) - 77093643461234 [16:12:55]1041 (16) - 0000000000965374 [16:12:55]1040 (4) - 40802 [16:12:55]1012 (4) - 21.10.2024 09:48 [16:12:55]1206 (1) - 0 [16:12:55]OFD Sender: Remove packet 40802 [16:12:55]ProducePacketName [16:12:55]name=ofd_packets/00040802 [16:12:55]NVStorageDeleteData [16:12:55]Write to MH i2c: 01 00 00 4F 37 86 [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: 01 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: 01 07 00 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: 01 07 00 4F 37 00 00 00 00 00 01 0D 9B [16:12:55]RasterBufferAndPrint [16:12:55]line [16:12:55]line [16:12:55]line [16:12:55]line [16:12:55]line [16:12:55]written 0, free lines is 3335 [16:12:55]MH_Cut [16:12:55]Write to MH i2c: D1 01 00 56 37 01 5F [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: D1 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: D1 01 00 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: D1 01 00 56 37 00 5E [16:12:55]Write to MH i2c: 01 00 00 57 37 8E [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:56]OFD Sender: No OFD packet to send [16:12:56]*** Cut start [16:12:56]*** Partial cut [16:12:56]*** CUTSNS_PIN = 1 [16:12:56]*** CUTSNS_PIN = 0 [16:12:56]*** Brake cut motor [16:12:57]Read from MH i2c: 01 [16:12:57]MH_I2C_Read... [16:12:57]*** Stop cut motor [16:12:57]*** Cut end [16:12:57]Read from MH i2c: 01 07 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: 01 07 00 57 37 00 00 00 00 00 FF 0F A3 [16:12:57]process_action close_receipt done [16:12:57]requested_data is exist [16:12:57]produce_requested_data [16:12:57]requested_item fm.sn is exist - process it [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 11 00 00 [16:12:57]Write to MH i2c: E2 08 00 58 37 80 11 00 00 00 00 00 00 09 [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 17 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 17 00 58 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 5E [16:12:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:12:57]wFMCommunicate OK [16:12:57]requested_item fd.num is exist - process it [16:12:57]SAM_PROTO_GetFieldsCounters [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 13 00 00 [16:12:57]Write to MH i2c: E2 08 00 59 37 80 13 00 00 00 00 00 00 0C [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 62 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 62 00 59 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 62 9F 00 00 0E 04 04 00 C0 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 C8 [16:12:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 62 9F 00 00 0E 04 04 00 C0 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 [16:12:57]wFMCommunicate OK [16:12:57]SAM_PROTO_GetFieldsCounters done [16:12:57]requested_item shift.num is exist - process it [16:12:57]requested_item shift.opened is exist - process it [16:12:57]req_shift_opened [16:12:57]FM_GetShiftState [16:12:57]SAM_PROTO_GetShiftState [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 13 01 00 [16:12:57]Write to MH i2c: E2 08 00 5A 37 80 13 01 00 00 00 00 00 0E [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 0E 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 0E 00 5A 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 DC [16:12:57]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:12:57]wFMCommunicate OK [16:12:57]SAM_PROTO_GetShiftState done [16:12:57]FM_GetShiftState done [16:12:57]req_shift_opened done [16:12:57]requested_item shift.open_date is exist - process it [16:12:57]req_shift_open_date [16:12:57]req_shift_open_date done [16:12:57]produce_requested_data done [16:12:57]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40802,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:12:57]process_action_free close_receipt [16:12:57]json_value_free [16:12:57]json_value_free done [16:12:57]process_json_proto returns [16:12:57]Send response to host [16:12:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40802,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:12:57]free response buf [16:12:57]execute_script done [16:12:57]execute_script returns [16:12:57]free content buf [16:12:57]Sock 9.Close socket [16:12:57]Sock 9.Thread stoped [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:20]accept exits with 7 [16:13:20]New connection [16:13:20]New thread 3067030884 created [16:13:20]Thread 3066887524 joined [16:13:20]Waiting for new connection... [16:13:20] Sock 7.Parse request [16:13:20]Sock 7.Check first char [16:13:20]Sock 7.First char is OK [16:13:20]request: POST /json_proto HTTP/1.0 [16:13:20]Method: POST [16:13:20]URL: /json_proto [16:13:20]Method is POST - this is cgi request [16:13:20]url: /json_proto [16:13:20]query_string will be loaded in cgi processing [16:13:20]execute_cgi json_proto POST (null) [16:13:20]execute_cgi path=json_proto method=POST [16:13:20]POST find Content-Length [16:13:20]Host: 172.17.53.4:8080 [16:13:20]Content-Length: 840 [16:13:20]Content-Type: application/json [16:13:20] [16:13:20]POST finish read [16:13:20]Found Content-Length = 840 [16:13:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808926", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:20]execute_script... [16:13:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808926", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:20]POST & json_proto [16:13:20]process_json_proto [16:13:20]json parsed OK: [16:13:20]protocol is kg_v1.0 [16:13:20]action value=close_receipt [16:13:20]process_action close_receipt [16:13:20]cmd_close_receipt [16:13:20]MH_GetDate [16:13:20]Write to MH i2c: F0 00 00 5B 37 81 [16:13:20]Write i2c OK [16:13:20]MH_I2C_Read... [16:13:20]Read from MH i2c: F0 [16:13:20]MH_I2C_Read... [16:13:20]Read from MH i2c: F0 09 00 [16:13:20]MH_I2C_Read... [16:13:20]Read from MH i2c: F0 09 00 5B 37 00 B0 7D 16 67 05 11 DA 64 88 [16:13:20]GetLastDocTimeStamp 1729527190 [16:13:20]current date 1729527216 [16:13:20]FM_GetShiftState [16:13:20]SAM_PROTO_GetShiftState [16:13:20]wFMCommunicate request_size=4 [16:13:20]MH_SAM_APDU [16:13:20]CAPDU: 80 13 01 00 [16:13:20]Write to MH i2c: E2 08 00 5C 37 80 13 01 00 00 00 00 00 10 [16:13:20]Write i2c OK [16:13:20]MH_I2C_Read... [16:13:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:20]Read from MH i2c: E2 [16:13:20]MH_I2C_Read... [16:13:20]Read from MH i2c: E2 0E 00 [16:13:20]MH_I2C_Read... [16:13:20]Read from MH i2c: E2 0E 00 5C 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 DE [16:13:20]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:13:20]wFMCommunicate OK [16:13:20]SAM_PROTO_GetShiftState done [16:13:20]FM_GetShiftState done [16:13:20]opened in 1729470630 [16:13:20]opened+sec_in_day 1729557030 [16:13:20]quantity*price = 100050 [16:13:20]sum+1 = 100052 [16:13:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.51 ÐСП 1% : 8.85 ÐДС 12% : 106.25 Ðаличными: 0.00 Безнал.: 1000.51 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 71 21.10.2024 16:13 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40803 ФПД: 100490776175291 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161337&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40803&fm=100490776175291&tin=02508201610067®Number=0000000000098148&sum=100051 [16:13:21]StoreToDocumentArchive [16:13:21]shift 448 fd 40803 [16:13:21]save to /storage/0448/doc_00040803 [16:13:21]save last doc name /storage/0448/doc_00040803 to /storage/kkm_last_doc_name [16:13:21]save OK [16:13:21]Clear old archive folders... [16:13:21]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:13:21]tlvbuf is 010C03A0 [16:13:21]SAM_PROTO_ClearQueue [16:13:21]wFMCommunicate request_size=4 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 09 00 00 [16:13:21]Write to MH i2c: E2 08 00 69 37 80 09 00 00 00 00 00 00 12 [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 69 37 00 90 00 14 [16:13:21]RAPDU: 90 00 [16:13:21]wFMCommunicate OK [16:13:21]SAM_PROTO_ClearQueue done [16:13:21]KKMCreateOFDPacket [16:13:21]OFDProtocolAddRootSTLVToBuf [16:13:21]FM_MakeSignedData [16:13:21]FM_MakeSignedData [16:13:21]SAM_PROTO_SignData [16:13:21]wFMCommunicate request_size=4 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 0D 01 02 [16:13:21]Write to MH i2c: E2 08 00 6A 37 80 0D 01 02 00 00 00 00 1A [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 6A 37 00 90 00 15 [16:13:21]RAPDU: 90 00 [16:13:21]wFMCommunicate OK [16:13:21]wFMCommunicate request_size=255 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B1 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 63 9F 00 00 35 04 06 00 5B 65 55 04 [16:13:21]Write to MH i2c: E2 02 01 6B 37 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B1 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 63 9F 00 00 35 04 06 00 5B 65 55 04 00 00 D7 [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:21]Read from MH i2c: E2 03 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 6B 37 00 90 00 16 [16:13:21]RAPDU: 90 00 [16:13:21]wFMCommunicate OK [16:13:21]wFMCommunicate request_size=7 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 0D 02 02 02 62 BB [16:13:21]Write to MH i2c: E2 0A 00 6C 37 80 0D 02 02 02 00 62 BB 00 00 3E [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 03 00 6C 37 00 90 00 17 [16:13:21]RAPDU: 90 00 [16:13:21]wFMCommunicate OK [16:13:21]wFMCommunicate request_size=4 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 0D 03 02 [16:13:21]Write to MH i2c: E2 08 00 6D 37 80 0D 03 02 00 00 00 00 1F [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 0B 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 0B 00 6D 37 00 E9 28 C4 80 E2 C1 75 DB 90 00 68 [16:13:21]RAPDU: E9 28 C4 80 E2 C1 75 DB 90 00 [16:13:21]wFMCommunicate OK [16:13:21]SAM_PROTO_SignData done [16:13:21]FM_MakeSignedData done [16:13:21]CreateOFDProtocolMessage [16:13:21]wFMCommunicate request_size=4 [16:13:21]MH_SAM_APDU [16:13:21]CAPDU: 80 11 00 00 [16:13:21]Write to MH i2c: E2 08 00 6E 37 80 11 00 00 00 00 00 00 1F [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:21]Read from MH i2c: E2 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 17 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: E2 17 00 6E 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 74 [16:13:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:13:21]wFMCommunicate OK [16:13:21]CreateOFDProtocolMessage done [16:13:21]OFDSenderStorePacket 40803 [16:13:21]StoreOFDPacket docnum=40803 [16:13:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 93 FA 04 01 DB E5 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B1 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 63 9F 00 00 35 04 06 00 5B 65 55 04 62 BB E9 28 C4 80 E2 C1 75 DB [16:13:21]CheckFolder [16:13:21]dirname=/storage/ofd_packets [16:13:21]CheckFolder done [16:13:21]ProducePacketName [16:13:21]name=ofd_packets/00040803 [16:13:21]NVStorageSaveData ofd_packets/00040803 [16:13:21]File name is /storage/ofd_packets/00040803 [16:13:21]Write 298 bytes [16:13:21]NVStorageSaveData done [16:13:21]OFDSenderStorePacket done [16:13:21]KKMCreateOFDPacket done [16:13:21]NVStorageSaveData kkm_last_timestamp [16:13:21]File name is /storage/kkm_last_timestamp [16:13:21]Write 4 bytes [16:13:21]NVStorageSaveData done [16:13:21]ExternCall_PrintAddStr [16:13:21]wPrintStart [16:13:21]Write to MH i2c: 01 00 00 6F 37 A6 [16:13:21]Write i2c OK [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: 01 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: 01 07 00 [16:13:21]MH_I2C_Read... [16:13:21]Read from MH i2c: 01 07 00 6F 37 00 00 00 00 00 FF 0F BB [16:13:21]RasterBufferAndPrint [16:13:21]line Счет N : (1)808926 [16:13:21]line ИÐÐ: 02508201610067 [16:13:21]line Контрольно-КаÑÑовый Чек [16:13:21]line ПРОДÐЖР[16:13:21]line ТРК (МРК, ГÐК) : 31 [16:13:21]line Товар: 2710194210 [16:13:21]line ДТ-К-2 [16:13:21]line 13.130 * 76.20 [16:13:21]line = 1000.51 [16:13:21]line ÐДС 12% ÐСП 1% [16:13:21]line > о реализуемом товаре [16:13:21]line ИТОГО: 1000.51 [16:13:21]line ÐСП 1% : 8.85 [16:13:21]line ÐДС 12% : 106.25 [16:13:21]line Ðаличными: 0.00 [16:13:21]line Безнал.: 1000.51 [16:13:21]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:13:21]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:13:21]line СÐО: Общий режим [16:13:21]line Чек 71 21.10.2024 16:13 [16:13:21]line Смена: 448 ФФД: 1.0 [16:13:21]line ЗÐМ: 0300000239 [16:13:21]line РÐМ: 0000000000098148 [16:13:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:13:21]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [16:13:21]line ФМ: 0000000000965374 [16:13:21]line ФД: 40803 [16:13:21]line ФПД: 100490776175291 [16:13:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161337&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40803&fm=100490776175291&tin=02508201610067®Number=0000000000098148&sum=100051 [16:13:21]written 0, free lines is 4095 [16:13:22]OFD Sender: Processing packet 40803 [packets to send 4, broken 3] [16:13:22]ProducePacketName [16:13:22]name=ofd_packets/00040803 [16:13:22]OFD Sender: To server: ‡•öpG, [16:13:22]CommunicateWithHost lk.salyk.kg:30040 [16:13:22]ConnectInit lk.salyk.kg [16:13:22]Connected sock=10 [16:13:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 93 FA 04 01 DB E5 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B1 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 63 9F 00 00 35 04 06 00 5B 65 55 04 62 BB E9 28 C4 80 E2 C1 75 DB [16:13:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 4E C0 47 00 30 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 39 36 35 33 37 34 10 04 04 00 63 9F 00 00 F4 03 04 00 90 23 16 67 B6 04 01 00 00 44 B8 74 58 34 6D EA EC [16:13:22]CommunicateWithHost err = 0 [16:13:22]CheckOFDResponse [16:13:22]1017 (14) - 77093643461234 [16:13:22]1041 (16) - 0000000000965374 [16:13:22]1040 (4) - 40803 [16:13:22]1012 (4) - 21.10.2024 09:49 [16:13:22]1206 (1) - 0 [16:13:22]OFD Sender: Remove packet 40803 [16:13:22]ProducePacketName [16:13:22]name=ofd_packets/00040803 [16:13:22]NVStorageDeleteData [16:13:22]Write to MH i2c: 01 00 00 99 37 D0 [16:13:22]Write i2c OK [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: 01 [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: 01 07 00 [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: 01 07 00 99 37 00 00 00 00 00 20 0D 04 [16:13:22]RasterBufferAndPrint [16:13:22]line [16:13:22]line [16:13:22]line [16:13:22]line [16:13:22]line [16:13:22]written 0, free lines is 3366 [16:13:22]MH_Cut [16:13:22]Write to MH i2c: D1 01 00 A0 37 01 A9 [16:13:22]Write i2c OK [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: D1 [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: D1 01 00 [16:13:22]MH_I2C_Read... [16:13:22]Read from MH i2c: D1 01 00 A0 37 00 A8 [16:13:22]Write to MH i2c: 01 00 00 A1 37 D8 [16:13:22]Write i2c OK [16:13:22]MH_I2C_Read... [16:13:22]OFD Sender: No OFD packet to send [16:13:23]*** Cut start [16:13:23]*** Partial cut [16:13:23]*** CUTSNS_PIN = 1 [16:13:23]*** CUTSNS_PIN = 0 [16:13:23]*** Brake cut motor [16:13:23]Read from MH i2c: 01 [16:13:23]MH_I2C_Read... [16:13:23]*** Stop cut motor [16:13:23]*** Cut end [16:13:23]Read from MH i2c: 01 07 00 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: 01 07 00 A1 37 00 00 00 00 00 FF 0F ED [16:13:23]process_action close_receipt done [16:13:23]requested_data is exist [16:13:23]produce_requested_data [16:13:23]requested_item fm.sn is exist - process it [16:13:23]wFMCommunicate request_size=4 [16:13:23]MH_SAM_APDU [16:13:23]CAPDU: 80 11 00 00 [16:13:23]Write to MH i2c: E2 08 00 A2 37 80 11 00 00 00 00 00 00 53 [16:13:23]Write i2c OK [16:13:23]MH_I2C_Read... [16:13:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:23]Read from MH i2c: E2 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 17 00 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 17 00 A2 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A8 [16:13:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:13:23]wFMCommunicate OK [16:13:23]requested_item fd.num is exist - process it [16:13:23]SAM_PROTO_GetFieldsCounters [16:13:23]wFMCommunicate request_size=4 [16:13:23]MH_SAM_APDU [16:13:23]CAPDU: 80 13 00 00 [16:13:23]Write to MH i2c: E2 08 00 A3 37 80 13 00 00 00 00 00 00 56 [16:13:23]Write i2c OK [16:13:23]MH_I2C_Read... [16:13:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:23]Read from MH i2c: E2 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 62 00 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 62 00 A3 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 63 9F 00 00 0E 04 04 00 C0 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 16 [16:13:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 63 9F 00 00 0E 04 04 00 C0 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 [16:13:23]wFMCommunicate OK [16:13:23]SAM_PROTO_GetFieldsCounters done [16:13:23]requested_item shift.num is exist - process it [16:13:23]requested_item shift.opened is exist - process it [16:13:23]req_shift_opened [16:13:23]FM_GetShiftState [16:13:23]SAM_PROTO_GetShiftState [16:13:23]wFMCommunicate request_size=4 [16:13:23]MH_SAM_APDU [16:13:23]CAPDU: 80 13 01 00 [16:13:23]Write to MH i2c: E2 08 00 A4 37 80 13 01 00 00 00 00 00 58 [16:13:23]Write i2c OK [16:13:23]MH_I2C_Read... [16:13:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:23]Read from MH i2c: E2 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 0E 00 [16:13:23]MH_I2C_Read... [16:13:23]Read from MH i2c: E2 0E 00 A4 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 26 [16:13:23]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:13:23]wFMCommunicate OK [16:13:23]SAM_PROTO_GetShiftState done [16:13:23]FM_GetShiftState done [16:13:23]req_shift_opened done [16:13:23]requested_item shift.open_date is exist - process it [16:13:23]req_shift_open_date [16:13:23]req_shift_open_date done [16:13:23]produce_requested_data done [16:13:23]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40803,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:13:23]process_action_free close_receipt [16:13:23]json_value_free [16:13:23]json_value_free done [16:13:23]process_json_proto returns [16:13:23]Send response to host [16:13:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40803,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:13:23]free response buf [16:13:23]execute_script done [16:13:23]execute_script returns [16:13:23]free content buf [16:13:23]Sock 7.Close socket [16:13:23]Sock 7.Thread stoped [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:18]accept exits with 9 [16:14:18]New connection [16:14:18]New thread 3066887524 created [16:14:18]Thread 3067030884 joined [16:14:18]Waiting for new connection... [16:14:18] Sock 9.Parse request [16:14:18]Sock 9.Check first char [16:14:18]Sock 9.First char is OK [16:14:18]request: POST /json_proto HTTP/1.0 [16:14:18]Method: POST [16:14:18]URL: /json_proto [16:14:18]Method is POST - this is cgi request [16:14:18]url: /json_proto [16:14:18]query_string will be loaded in cgi processing [16:14:18]execute_cgi json_proto POST (null) [16:14:18]execute_cgi path=json_proto method=POST [16:14:18]POST find Content-Length [16:14:18]Host: 172.17.53.4:8080 [16:14:18]Content-Length: 677 [16:14:18]Content-Type: application/json [16:14:18] [16:14:18]POST finish read [16:14:18]Found Content-Length = 677 [16:14:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808928", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:18]execute_script... [16:14:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808928", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:18]POST & json_proto [16:14:18]process_json_proto [16:14:18]json parsed OK: [16:14:18]protocol is kg_v1.0 [16:14:18]action value=close_receipt [16:14:18]process_action close_receipt [16:14:18]cmd_close_receipt [16:14:18]MH_GetDate [16:14:18]Write to MH i2c: F0 00 00 A5 37 CB [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 09 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 09 00 A5 37 00 EA 7D 16 67 05 11 DA 64 0C [16:14:18]GetLastDocTimeStamp 1729527217 [16:14:18]current date 1729527274 [16:14:18]FM_GetShiftState [16:14:18]SAM_PROTO_GetShiftState [16:14:18]wFMCommunicate request_size=4 [16:14:18]MH_SAM_APDU [16:14:18]CAPDU: 80 13 01 00 [16:14:18]Write to MH i2c: E2 08 00 A6 37 80 13 01 00 00 00 00 00 5A [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:18]Read from MH i2c: E2 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 0E 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 0E 00 A6 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 28 [16:14:18]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:14:18]wFMCommunicate OK [16:14:18]SAM_PROTO_GetShiftState done [16:14:18]FM_GetShiftState done [16:14:18]opened in 1729470630 [16:14:18]opened+sec_in_day 1729557030 [16:14:18]quantity*price = 30038 [16:14:18]sum+1 = 30039 [16:14:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 72 21.10.2024 16:14 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40804 ФПД: 261966829938317 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161435&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40804&fm=261966829938317&tin=02508201610067®Number=0000000000098148&sum=30000 [16:14:19]StoreToDocumentArchive [16:14:19]shift 448 fd 40804 [16:14:19]save to /storage/0448/doc_00040804 [16:14:19]save last doc name /storage/0448/doc_00040804 to /storage/kkm_last_doc_name [16:14:19]save OK [16:14:19]Clear old archive folders... [16:14:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:14:19]tlvbuf is 0107F470 [16:14:19]SAM_PROTO_ClearQueue [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 09 00 00 [16:14:19]Write to MH i2c: E2 08 00 B3 37 80 09 00 00 00 00 00 00 5C [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 B3 37 00 90 00 5E [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]SAM_PROTO_ClearQueue done [16:14:19]KKMCreateOFDPacket [16:14:19]OFDProtocolAddRootSTLVToBuf [16:14:19]FM_MakeSignedData [16:14:19]FM_MakeSignedData [16:14:19]SAM_PROTO_SignData [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 01 02 [16:14:19]Write to MH i2c: E2 08 00 B4 37 80 0D 01 02 00 00 00 00 64 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 B4 37 00 90 00 5F [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=255 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EB 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 64 9F 00 00 35 04 06 00 EE [16:14:19]Write to MH i2c: E2 02 01 B5 37 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EB 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 64 9F 00 00 35 04 06 00 EE 00 00 CD [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 B5 37 00 90 00 60 [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=10 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 02 02 05 41 E7 D7 66 8D [16:14:19]Write to MH i2c: E2 0D 00 B6 37 80 0D 02 02 05 00 41 E7 D7 66 8D 00 00 63 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 B6 37 00 90 00 61 [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 03 02 [16:14:19]Write to MH i2c: E2 08 00 B7 37 80 0D 03 02 00 00 00 00 69 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 B7 37 00 98 8B 4B EC 3B 48 75 75 90 00 31 [16:14:19]RAPDU: 98 8B 4B EC 3B 48 75 75 90 00 [16:14:19]wFMCommunicate OK [16:14:19]SAM_PROTO_SignData done [16:14:19]FM_MakeSignedData done [16:14:19]CreateOFDProtocolMessage [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 11 00 00 [16:14:19]Write to MH i2c: E2 08 00 B8 37 80 11 00 00 00 00 00 00 69 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 B8 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 BE [16:14:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:14:19]wFMCommunicate OK [16:14:19]CreateOFDProtocolMessage done [16:14:19]OFDSenderStorePacket 40804 [16:14:19]StoreOFDPacket docnum=40804 [16:14:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 EC E6 07 01 EB 30 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EB 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 64 9F 00 00 35 04 06 00 EE 41 E7 D7 66 8D 98 8B 4B EC 3B 48 75 75 [16:14:19]CheckFolder [16:14:19]dirname=/storage/ofd_packets [16:14:19]CheckFolder done [16:14:19]ProducePacketName [16:14:19]name=ofd_packets/00040804 [16:14:19]NVStorageSaveData ofd_packets/00040804 [16:14:19]File name is /storage/ofd_packets/00040804 [16:14:19]Write 301 bytes [16:14:19]NVStorageSaveData done [16:14:19]OFDSenderStorePacket done [16:14:19]KKMCreateOFDPacket done [16:14:19]NVStorageSaveData kkm_last_timestamp [16:14:19]File name is /storage/kkm_last_timestamp [16:14:19]Write 4 bytes [16:14:19]NVStorageSaveData done [16:14:19]ExternCall_PrintAddStr [16:14:19]wPrintStart [16:14:19]Write to MH i2c: 01 00 00 B9 37 F0 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 B9 37 00 00 00 00 00 FF 0F 05 [16:14:19]RasterBufferAndPrint [16:14:19]line Счет N : (1)808928 [16:14:19]line ИÐÐ: 02508201610067 [16:14:19]line Контрольно-КаÑÑовый Чек [16:14:19]line ПРОДÐЖР[16:14:19]line ТРК (МРК, ГÐК) : 53 [16:14:19]line Товар: 2710124130 [16:14:19]line Ðи-92-К-5 [16:14:19]line 4.490 * 66.90 [16:14:19]line = 300.38 [16:14:19]line ÐДС 12% ÐСП 1% [16:14:19]line > о реализуемом товаре [16:14:19]line ОКРУГЛЕÐИЕ: -0.38 [16:14:19]line ИТОГО: 300.00 [16:14:19]line ВнеÑено: 300.00 [16:14:19]line СДÐЧÐ: 0.00 [16:14:19]line ÐСП 1% : 2.66 [16:14:19]line ÐДС 12% : 31.90 [16:14:19]line Ðаличными: 300.00 [16:14:19]line Безнал.: 0.00 [16:14:19]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:14:19]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:14:19]line СÐО: Общий режим [16:14:19]line Чек 72 21.10.2024 16:14 [16:14:19]line Смена: 448 ФФД: 1.0 [16:14:19]line ЗÐМ: 0300000239 [16:14:19]line РÐМ: 0000000000098148 [16:14:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:14:19]line ФМ: 0000000000965374 [16:14:19]line ФД: 40804 [16:14:19]line ФПД: 261966829938317 [16:14:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161435&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40804&fm=261966829938317&tin=02508201610067®Number=0000000000098148&sum=30000 [16:14:20]OFD Sender: Processing packet 40804 [packets to send 4, broken 3] [16:14:20]ProducePacketName [16:14:20]name=ofd_packets/00040804 [16:14:20]OFD Sender: To server: ‡•öpG, [16:14:20]CommunicateWithHost lk.salyk.kg:30040 [16:14:20]ConnectInit lk.salyk.kg [16:14:20]written 0, free lines is 4095 [16:14:20]Connected sock=10 [16:14:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 EC E6 07 01 EB 30 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 EB 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 64 9F 00 00 35 04 06 00 EE 41 E7 D7 66 8D 98 8B 4B EC 3B 48 75 75 [16:14:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 02 C7 47 00 2D 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 64 9F 00 00 F4 03 04 00 CA 23 16 67 B6 04 01 00 00 8D 5E 52 E0 96 A5 54 C1 [16:14:20]CommunicateWithHost err = 0 [16:14:20]CheckOFDResponse [16:14:20]1017 (14) - 77093643461234 [16:14:20]1041 (16) - 0000000000965374 [16:14:20]1040 (4) - 40804 [16:14:20]1012 (4) - 21.10.2024 09:50 [16:14:20]1206 (1) - 0 [16:14:20]OFD Sender: Remove packet 40804 [16:14:20]ProducePacketName [16:14:20]name=ofd_packets/00040804 [16:14:20]NVStorageDeleteData [16:14:20]Write to MH i2c: 01 00 00 E4 37 1B [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 E4 37 00 00 00 00 00 F8 0C 26 [16:14:20]RasterBufferAndPrint [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]written 0, free lines is 3327 [16:14:20]MH_Cut [16:14:20]Write to MH i2c: D1 01 00 EB 37 01 F4 [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 01 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 01 00 EB 37 00 F3 [16:14:20]Write to MH i2c: 01 00 00 EC 37 23 [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:21]OFD Sender: No OFD packet to send [16:14:21]*** Cut start [16:14:21]*** Partial cut [16:14:21]*** CUTSNS_PIN = 1 [16:14:21]*** CUTSNS_PIN = 0 [16:14:21]*** Brake cut motor [16:14:21]Read from MH i2c: 01 [16:14:21]MH_I2C_Read... [16:14:21]*** Stop cut motor [16:14:21]*** Cut end [16:14:21]Read from MH i2c: 01 07 00 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: 01 07 00 EC 37 00 00 00 00 00 FF 0F 38 [16:14:21]process_action close_receipt done [16:14:21]requested_data is exist [16:14:21]produce_requested_data [16:14:21]requested_item fm.sn is exist - process it [16:14:21]wFMCommunicate request_size=4 [16:14:21]MH_SAM_APDU [16:14:21]CAPDU: 80 11 00 00 [16:14:21]Write to MH i2c: E2 08 00 ED 37 80 11 00 00 00 00 00 00 9E [16:14:21]Write i2c OK [16:14:21]MH_I2C_Read... [16:14:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:22]Read from MH i2c: E2 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 17 00 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 17 00 ED 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F3 [16:14:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:14:22]wFMCommunicate OK [16:14:22]requested_item fd.num is exist - process it [16:14:22]SAM_PROTO_GetFieldsCounters [16:14:22]wFMCommunicate request_size=4 [16:14:22]MH_SAM_APDU [16:14:22]CAPDU: 80 13 00 00 [16:14:22]Write to MH i2c: E2 08 00 EE 37 80 13 00 00 00 00 00 00 A1 [16:14:22]Write i2c OK [16:14:22]MH_I2C_Read... [16:14:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:22]Read from MH i2c: E2 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 62 00 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 62 00 EE 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 64 9F 00 00 0E 04 04 00 C0 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 65 [16:14:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 64 9F 00 00 0E 04 04 00 C0 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 [16:14:22]wFMCommunicate OK [16:14:22]SAM_PROTO_GetFieldsCounters done [16:14:22]requested_item shift.num is exist - process it [16:14:22]requested_item shift.opened is exist - process it [16:14:22]req_shift_opened [16:14:22]FM_GetShiftState [16:14:22]SAM_PROTO_GetShiftState [16:14:22]wFMCommunicate request_size=4 [16:14:22]MH_SAM_APDU [16:14:22]CAPDU: 80 13 01 00 [16:14:22]Write to MH i2c: E2 08 00 EF 37 80 13 01 00 00 00 00 00 A3 [16:14:22]Write i2c OK [16:14:22]MH_I2C_Read... [16:14:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:22]Read from MH i2c: E2 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 0E 00 [16:14:22]MH_I2C_Read... [16:14:22]Read from MH i2c: E2 0E 00 EF 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 71 [16:14:22]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:14:22]wFMCommunicate OK [16:14:22]SAM_PROTO_GetShiftState done [16:14:22]FM_GetShiftState done [16:14:22]req_shift_opened done [16:14:22]requested_item shift.open_date is exist - process it [16:14:22]req_shift_open_date [16:14:22]req_shift_open_date done [16:14:22]produce_requested_data done [16:14:22]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40804,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:14:22]process_action_free close_receipt [16:14:22]json_value_free [16:14:22]json_value_free done [16:14:22]process_json_proto returns [16:14:22]Send response to host [16:14:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40804,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:14:22]free response buf [16:14:22]execute_script done [16:14:22]execute_script returns [16:14:22]free content buf [16:14:22]Sock 9.Close socket [16:14:22]Sock 9.Thread stoped [16:14:26]OFD Sender: No OFD packet to send [16:14:27]accept exits with 7 [16:14:27]New connection [16:14:27]New thread 3067030884 created [16:14:27]Thread 3066887524 joined [16:14:27]Waiting for new connection... [16:14:27] Sock 7.Parse request [16:14:27]Sock 7.Check first char [16:14:27]Sock 7.First char is OK [16:14:27]request: POST /json_proto HTTP/1.0 [16:14:27]Method: POST [16:14:27]URL: /json_proto [16:14:27]Method is POST - this is cgi request [16:14:27]url: /json_proto [16:14:27]query_string will be loaded in cgi processing [16:14:27]execute_cgi json_proto POST (null) [16:14:27]execute_cgi path=json_proto method=POST [16:14:27]POST find Content-Length [16:14:27]Host: 172.17.53.4:8080 [16:14:27]Content-Length: 677 [16:14:27]Content-Type: application/json [16:14:27] [16:14:27]POST finish read [16:14:27]Found Content-Length = 677 [16:14:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808929", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.240, "sum" : 350.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:27]execute_script... [16:14: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 : (1)808929", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.240, "sum" : 350.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:27]POST & json_proto [16:14:27]process_json_proto [16:14:27]json parsed OK: [16:14:27]protocol is kg_v1.0 [16:14:27]action value=close_receipt [16:14:27]process_action close_receipt [16:14:27]cmd_close_receipt [16:14:27]MH_GetDate [16:14:27]Write to MH i2c: F0 00 00 F0 37 16 [16:14:27]Write i2c OK [16:14:27]MH_I2C_Read... [16:14:27]Read from MH i2c: F0 [16:14:27]MH_I2C_Read... [16:14:27]Read from MH i2c: F0 09 00 [16:14:27]MH_I2C_Read... [16:14:27]Read from MH i2c: F0 09 00 F0 37 00 F3 7D 16 67 05 11 DA 64 60 [16:14:27]GetLastDocTimeStamp 1729527275 [16:14:27]current date 1729527283 [16:14:27]FM_GetShiftState [16:14:27]SAM_PROTO_GetShiftState [16:14:27]wFMCommunicate request_size=4 [16:14:27]MH_SAM_APDU [16:14:27]CAPDU: 80 13 01 00 [16:14:27]Write to MH i2c: E2 08 00 F1 37 80 13 01 00 00 00 00 00 A5 [16:14:27]Write i2c OK [16:14:27]MH_I2C_Read... [16:14:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:27]Read from MH i2c: E2 [16:14:27]MH_I2C_Read... [16:14:27]Read from MH i2c: E2 0E 00 [16:14:27]MH_I2C_Read... [16:14:27]Read from MH i2c: E2 0E 00 F1 37 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 73 [16:14:27]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:14:27]wFMCommunicate OK [16:14:27]SAM_PROTO_GetShiftState done [16:14:27]FM_GetShiftState done [16:14:27]opened in 1729470630 [16:14:27]opened+sec_in_day 1729557030 [16:14:27]quantity*price = 35055 [16:14:27]sum+1 = 35057 [16:14:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.56 ИТОГО: 350.00 ВнеÑено: 350.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.10 ÐДС 12% : 37.23 Ðаличными: 350.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 73 21.10.2024 16:14 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40805 ФПД: 20094646392360 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161443&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40805&fm=20094646392360&tin=02508201610067®Number=0000000000098148&sum=35000 [16:14:28]StoreToDocumentArchive [16:14:28]shift 448 fd 40805 [16:14:28]save to /storage/0448/doc_00040805 [16:14:28]save last doc name /storage/0448/doc_00040805 to /storage/kkm_last_doc_name [16:14:28]save OK [16:14:28]Clear old archive folders... [16:14:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:14:28]tlvbuf is 01093230 [16:14:28]SAM_PROTO_ClearQueue [16:14:28]wFMCommunicate request_size=4 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 09 00 00 [16:14:28]Write to MH i2c: E2 08 00 FE 37 80 09 00 00 00 00 00 00 A7 [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 FE 37 00 90 00 A9 [16:14:28]RAPDU: 90 00 [16:14:28]wFMCommunicate OK [16:14:28]SAM_PROTO_ClearQueue done [16:14:28]KKMCreateOFDPacket [16:14:28]OFDProtocolAddRootSTLVToBuf [16:14:28]FM_MakeSignedData [16:14:28]FM_MakeSignedData [16:14:28]SAM_PROTO_SignData [16:14:28]wFMCommunicate request_size=4 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 0D 01 02 [16:14:28]Write to MH i2c: E2 08 00 FF 37 80 0D 01 02 00 00 00 00 AF [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 FF 37 00 90 00 AA [16:14:28]RAPDU: 90 00 [16:14:28]wFMCommunicate OK [16:14:28]wFMCommunicate request_size=255 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F3 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 65 9F 00 00 35 04 06 00 12 [16:14:28]Write to MH i2c: E2 02 01 00 38 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F3 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 65 9F 00 00 35 04 06 00 12 00 00 5E [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 00 38 00 90 00 AC [16:14:28]RAPDU: 90 00 [16:14:28]wFMCommunicate OK [16:14:28]wFMCommunicate request_size=10 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 0D 02 02 05 46 A6 42 96 28 [16:14:28]Write to MH i2c: E2 0D 00 01 38 80 0D 02 02 05 00 46 A6 42 96 28 00 00 A9 [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 03 00 01 38 00 90 00 AD [16:14:28]RAPDU: 90 00 [16:14:28]wFMCommunicate OK [16:14:28]wFMCommunicate request_size=4 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 0D 03 02 [16:14:28]Write to MH i2c: E2 08 00 02 38 80 0D 03 02 00 00 00 00 B5 [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 0B 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 0B 00 02 38 00 2C 8E 43 B0 8C 73 71 0D 90 00 E0 [16:14:28]RAPDU: 2C 8E 43 B0 8C 73 71 0D 90 00 [16:14:28]wFMCommunicate OK [16:14:28]SAM_PROTO_SignData done [16:14:28]FM_MakeSignedData done [16:14:28]CreateOFDProtocolMessage [16:14:28]wFMCommunicate request_size=4 [16:14:28]MH_SAM_APDU [16:14:28]CAPDU: 80 11 00 00 [16:14:28]Write to MH i2c: E2 08 00 03 38 80 11 00 00 00 00 00 00 B5 [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 [16:14:28]MH_I2C_Read... [16:14:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:28]Read from MH i2c: E2 17 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: E2 17 00 03 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0A [16:14:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:14:28]wFMCommunicate OK [16:14:28]CreateOFDProtocolMessage done [16:14:28]OFDSenderStorePacket 40805 [16:14:28]StoreOFDPacket docnum=40805 [16:14:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 9C 0A 07 01 BD 0C 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F3 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 65 9F 00 00 35 04 06 00 12 46 A6 42 96 28 2C 8E 43 B0 8C 73 71 0D [16:14:28]CheckFolder [16:14:28]dirname=/storage/ofd_packets [16:14:28]CheckFolder done [16:14:28]ProducePacketName [16:14:28]name=ofd_packets/00040805 [16:14:28]NVStorageSaveData ofd_packets/00040805 [16:14:28]File name is /storage/ofd_packets/00040805 [16:14:28]Write 301 bytes [16:14:28]NVStorageSaveData done [16:14:28]OFDSenderStorePacket done [16:14:28]KKMCreateOFDPacket done [16:14:28]NVStorageSaveData kkm_last_timestamp [16:14:28]File name is /storage/kkm_last_timestamp [16:14:28]Write 4 bytes [16:14:28]NVStorageSaveData done [16:14:28]ExternCall_PrintAddStr [16:14:28]wPrintStart [16:14:28]Write to MH i2c: 01 00 00 04 38 3C [16:14:28]Write i2c OK [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: 01 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: 01 07 00 [16:14:28]MH_I2C_Read... [16:14:28]Read from MH i2c: 01 07 00 04 38 00 00 00 00 00 FF 0F 51 [16:14:28]RasterBufferAndPrint [16:14:28]line Счет N : (1)808929 [16:14:28]line ИÐÐ: 02508201610067 [16:14:28]line Контрольно-КаÑÑовый Чек [16:14:28]line ПРОДÐЖР[16:14:28]line ТРК (МРК, ГÐК) : 63 [16:14:28]line Товар: 2710124130 [16:14:28]line Ðи-92-К-5 [16:14:28]line 5.240 * 66.90 [16:14:28]line = 350.56 [16:14:28]line ÐДС 12% ÐСП 1% [16:14:28]line > о реализуемом товаре [16:14:28]line ОКРУГЛЕÐИЕ: -0.56 [16:14:28]line ИТОГО: 350.00 [16:14:28]line ВнеÑено: 350.00 [16:14:28]line СДÐЧÐ: 0.00 [16:14:28]line ÐСП 1% : 3.10 [16:14:28]line ÐДС 12% : 37.23 [16:14:28]line Ðаличными: 350.00 [16:14:28]line Безнал.: 0.00 [16:14:28]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:14:28]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:14:28]line СÐО: Общий режим [16:14:28]line Чек 73 21.10.2024 16:14 [16:14:28]line Смена: 448 ФФД: 1.0 [16:14:28]line ЗÐМ: 0300000239 [16:14:28]line РÐМ: 0000000000098148 [16:14:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:14:28]line ФМ: 0000000000965374 [16:14:28]line ФД: 40805 [16:14:28]line ФПД: 20094646392360 [16:14:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161443&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40805&fm=20094646392360&tin=02508201610067®Number=0000000000098148&sum=35000 [16:14:28]OFD Sender: Processing packet 40805 [packets to send 4, broken 3] [16:14:28]ProducePacketName [16:14:28]name=ofd_packets/00040805 [16:14:28]OFD Sender: To server: ‡•öpG, [16:14:28]CommunicateWithHost lk.salyk.kg:30040 [16:14:28]ConnectInit lk.salyk.kg [16:14:28]written 0, free lines is 4095 [16:14:28]Connected sock=10 [16:14:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 9C 0A 07 01 BD 0C 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F3 7D 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 65 9F 00 00 35 04 06 00 12 46 A6 42 96 28 2C 8E 43 B0 8C 73 71 0D [16:14:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 45 A1 47 00 01 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 65 9F 00 00 F4 03 04 00 D3 23 16 67 B6 04 01 00 00 A2 1A 82 0A CA EA 24 D1 [16:14:29]CommunicateWithHost err = 0 [16:14:29]CheckOFDResponse [16:14:29]1017 (14) - 77093643461234 [16:14:29]1041 (16) - 0000000000965374 [16:14:29]1040 (4) - 40805 [16:14:29]1012 (4) - 21.10.2024 09:50 [16:14:29]1206 (1) - 0 [16:14:29]OFD Sender: Remove packet 40805 [16:14:29]ProducePacketName [16:14:29]name=ofd_packets/00040805 [16:14:29]NVStorageDeleteData [16:14:29]Write to MH i2c: 01 00 00 2F 38 67 [16:14:29]Write i2c OK [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: 01 [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: 01 07 00 [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: 01 07 00 2F 38 00 00 00 00 00 04 0D 7F [16:14:29]RasterBufferAndPrint [16:14:29]line [16:14:29]line [16:14:29]line [16:14:29]line [16:14:29]line [16:14:29]written 0, free lines is 3341 [16:14:29]MH_Cut [16:14:29]Write to MH i2c: D1 01 00 36 38 01 40 [16:14:29]Write i2c OK [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: D1 [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: D1 01 00 [16:14:29]MH_I2C_Read... [16:14:29]Read from MH i2c: D1 01 00 36 38 00 3F [16:14:29]Write to MH i2c: 01 00 00 37 38 6F [16:14:29]Write i2c OK [16:14:29]MH_I2C_Read... [16:14:29]OFD Sender: No OFD packet to send [16:14:29]*** Cut start [16:14:29]*** Partial cut [16:14:29]*** CUTSNS_PIN = 1 [16:14:29]*** CUTSNS_PIN = 0 [16:14:30]*** Brake cut motor [16:14:30]Read from MH i2c: 01 [16:14:30]MH_I2C_Read... [16:14:30]*** Stop cut motor [16:14:30]*** Cut end [16:14:30]Read from MH i2c: 01 07 00 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: 01 07 00 37 38 00 00 00 00 00 FF 0F 84 [16:14:30]process_action close_receipt done [16:14:30]requested_data is exist [16:14:30]produce_requested_data [16:14:30]requested_item fm.sn is exist - process it [16:14:30]wFMCommunicate request_size=4 [16:14:30]MH_SAM_APDU [16:14:30]CAPDU: 80 11 00 00 [16:14:30]Write to MH i2c: E2 08 00 38 38 80 11 00 00 00 00 00 00 EA [16:14:30]Write i2c OK [16:14:30]MH_I2C_Read... [16:14:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:30]Read from MH i2c: E2 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 17 00 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 17 00 38 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 3F [16:14:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:14:30]wFMCommunicate OK [16:14:30]requested_item fd.num is exist - process it [16:14:30]SAM_PROTO_GetFieldsCounters [16:14:30]wFMCommunicate request_size=4 [16:14:30]MH_SAM_APDU [16:14:30]CAPDU: 80 13 00 00 [16:14:30]Write to MH i2c: E2 08 00 39 38 80 13 00 00 00 00 00 00 ED [16:14:30]Write i2c OK [16:14:30]MH_I2C_Read... [16:14:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:30]Read from MH i2c: E2 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 62 00 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 62 00 39 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 65 9F 00 00 0E 04 04 00 C0 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 B5 [16:14:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 65 9F 00 00 0E 04 04 00 C0 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 [16:14:30]wFMCommunicate OK [16:14:30]SAM_PROTO_GetFieldsCounters done [16:14:30]requested_item shift.num is exist - process it [16:14:30]requested_item shift.opened is exist - process it [16:14:30]req_shift_opened [16:14:30]FM_GetShiftState [16:14:30]SAM_PROTO_GetShiftState [16:14:30]wFMCommunicate request_size=4 [16:14:30]MH_SAM_APDU [16:14:30]CAPDU: 80 13 01 00 [16:14:30]Write to MH i2c: E2 08 00 3A 38 80 13 01 00 00 00 00 00 EF [16:14:30]Write i2c OK [16:14:30]MH_I2C_Read... [16:14:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:30]Read from MH i2c: E2 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 0E 00 [16:14:30]MH_I2C_Read... [16:14:30]Read from MH i2c: E2 0E 00 3A 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 BD [16:14:30]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:14:30]wFMCommunicate OK [16:14:30]SAM_PROTO_GetShiftState done [16:14:30]FM_GetShiftState done [16:14:30]req_shift_opened done [16:14:30]requested_item shift.open_date is exist - process it [16:14:30]req_shift_open_date [16:14:30]req_shift_open_date done [16:14:30]produce_requested_data done [16:14:30]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40805,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:14:30]process_action_free close_receipt [16:14:30]json_value_free [16:14:30]json_value_free done [16:14:30]process_json_proto returns [16:14:30]Send response to host [16:14:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40805,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:14:30]free response buf [16:14:30]execute_script done [16:14:30]execute_script returns [16:14:30]free content buf [16:14:30]Sock 7.Close socket [16:14:30]Sock 7.Thread stoped [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:43]accept exits with 9 [16:15:43]New connection [16:15:43]New thread 3066887524 created [16:15:43]Thread 3067030884 joined [16:15:43]Waiting for new connection... [16:15:43] Sock 9.Parse request [16:15:43]Sock 9.Check first char [16:15:43]Sock 9.First char is OK [16:15:43]request: POST /json_proto HTTP/1.0 [16:15:43]Method: POST [16:15:43]URL: /json_proto [16:15:43]Method is POST - this is cgi request [16:15:43]url: /json_proto [16:15:43]query_string will be loaded in cgi processing [16:15:43]execute_cgi json_proto POST (null) [16:15:43]execute_cgi path=json_proto method=POST [16:15:43]POST find Content-Length [16:15:43]Host: 172.17.53.4:8080 [16:15:43]Content-Length: 679 [16:15:43]Content-Type: application/json [16:15:43] [16:15:43]POST finish read [16:15:43]Found Content-Length = 679 [16:15:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808930", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:43]execute_script... [16:15:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808930", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:43]POST & json_proto [16:15:43]process_json_proto [16:15:43]json parsed OK: [16:15:43]protocol is kg_v1.0 [16:15:43]action value=close_receipt [16:15:43]process_action close_receipt [16:15:43]cmd_close_receipt [16:15:43]MH_GetDate [16:15:43]Write to MH i2c: F0 00 00 3B 38 62 [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: F0 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: F0 09 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: F0 09 00 3B 38 00 40 7E 16 67 05 11 DA 64 FA [16:15:43]GetLastDocTimeStamp 1729527283 [16:15:43]current date 1729527360 [16:15:43]FM_GetShiftState [16:15:43]SAM_PROTO_GetShiftState [16:15:43]wFMCommunicate request_size=4 [16:15:43]MH_SAM_APDU [16:15:43]CAPDU: 80 13 01 00 [16:15:43]Write to MH i2c: E2 08 00 3C 38 80 13 01 00 00 00 00 00 F1 [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:43]Read from MH i2c: E2 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 0E 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 0E 00 3C 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 BF [16:15:43]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:15:43]wFMCommunicate OK [16:15:43]SAM_PROTO_GetShiftState done [16:15:43]FM_GetShiftState done [16:15:43]opened in 1729470630 [16:15:43]opened+sec_in_day 1729557030 [16:15:43]quantity*price = 200025 [16:15:43]sum+1 = 200026 [16:15:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.25 ИТОГО: 2000.00 ВнеÑено: 2000.00 СДÐЧÐ: 0.00 ÐСП 1% : 17.70 ÐДС 12% : 212.42 Ðаличными: 2000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 74 21.10.2024 16:16 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40806 ФПД: 19725080002087 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161600&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40806&fm=19725080002087&tin=02508201610067®Number=0000000000098148&sum=200000 [16:15:44]StoreToDocumentArchive [16:15:44]shift 448 fd 40806 [16:15:44]save to /storage/0448/doc_00040806 [16:15:44]save last doc name /storage/0448/doc_00040806 to /storage/kkm_last_doc_name [16:15:44]save OK [16:15:44]Clear old archive folders... [16:15:44]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:15:44]tlvbuf is B6DBB890 [16:15:44]SAM_PROTO_ClearQueue [16:15:44]wFMCommunicate request_size=4 [16:15:44]MH_SAM_APDU [16:15:44]CAPDU: 80 09 00 00 [16:15:44]Write to MH i2c: E2 08 00 49 38 80 09 00 00 00 00 00 00 F3 [16:15:44]Write i2c OK [16:15:44]MH_I2C_Read... [16:15:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:15:44]Read from MH i2c: E2 [16:15:44]MH_I2C_Read... [16:15:44]Read from MH i2c: E2 03 00 [16:15:44]MH_I2C_Read... [16:15:44]Read from MH i2c: E2 03 00 49 38 00 90 00 F5 [16:15:44]RAPDU: 90 00 [16:15:44]wFMCommunicate OK [16:15:44]SAM_PROTO_ClearQueue done [16:15:44]KKMCreateOFDPacket [16:15:44]OFDProtocolAddRootSTLVToBuf [16:15:44]FM_MakeSignedData [16:15:44]FM_MakeSignedData [16:15:44]SAM_PROTO_SignData [16:15:44]wFMCommunicate request_size=4 [16:15:44]MH_SAM_APDU [16:15:44]CAPDU: 80 0D 01 02 [16:15:44]Write to MH i2c: E2 08 00 4A 38 80 0D 01 02 00 00 00 00 FB [16:15:44]Write i2c OK [16:15:44]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 4A 38 00 90 00 F6 [16:15:45]RAPDU: 90 00 [16:15:45]wFMCommunicate OK [16:15:45]wFMCommunicate request_size=255 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 40 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 66 9F 00 00 35 04 06 00 11 F0 9A 62 [16:15:45]Write to MH i2c: E2 02 01 4B 38 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 40 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 66 9F 00 00 35 04 06 00 11 F0 9A 62 00 00 BA [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 4B 38 00 90 00 F7 [16:15:45]RAPDU: 90 00 [16:15:45]wFMCommunicate OK [16:15:45]wFMCommunicate request_size=7 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 0D 02 02 02 FE 27 [16:15:45]Write to MH i2c: E2 0A 00 4C 38 80 0D 02 02 02 00 FE 27 00 00 27 [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 03 00 4C 38 00 90 00 F8 [16:15:45]RAPDU: 90 00 [16:15:45]wFMCommunicate OK [16:15:45]wFMCommunicate request_size=4 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 0D 03 02 [16:15:45]Write to MH i2c: E2 08 00 4D 38 80 0D 03 02 00 00 00 00 00 [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 0B 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 0B 00 4D 38 00 3D 9D FE 3D 7D 9C 2B D8 90 00 32 [16:15:45]RAPDU: 3D 9D FE 3D 7D 9C 2B D8 90 00 [16:15:45]wFMCommunicate OK [16:15:45]SAM_PROTO_SignData done [16:15:45]FM_MakeSignedData done [16:15:45]CreateOFDProtocolMessage [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 4E 38 80 11 00 00 00 00 00 00 00 [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 4E 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 55 [16:15:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:15:45]wFMCommunicate OK [16:15:45]CreateOFDProtocolMessage done [16:15:45]OFDSenderStorePacket 40806 [16:15:45]StoreOFDPacket docnum=40806 [16:15:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 77 7E 04 01 08 F6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 40 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 66 9F 00 00 35 04 06 00 11 F0 9A 62 FE 27 3D 9D FE 3D 7D 9C 2B D8 [16:15:45]CheckFolder [16:15:45]dirname=/storage/ofd_packets [16:15:45]CheckFolder done [16:15:45]ProducePacketName [16:15:45]name=ofd_packets/00040806 [16:15:45]NVStorageSaveData ofd_packets/00040806 [16:15:45]File name is /storage/ofd_packets/00040806 [16:15:45]Write 298 bytes [16:15:45]NVStorageSaveData done [16:15:45]OFDSenderStorePacket done [16:15:45]KKMCreateOFDPacket done [16:15:45]NVStorageSaveData kkm_last_timestamp [16:15:45]File name is /storage/kkm_last_timestamp [16:15:45]Write 4 bytes [16:15:45]NVStorageSaveData done [16:15:45]ExternCall_PrintAddStr [16:15:45]wPrintStart [16:15:45]Write to MH i2c: 01 00 00 4F 38 87 [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: 01 [16:15:45]MH_I2C_Read... [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 4F 38 00 00 00 00 00 FF 0F 9C [16:15:45]RasterBufferAndPrint [16:15:45]line Счет N : (1)808930 [16:15:45]line ИÐÐ: 02508201610067 [16:15:45]line Контрольно-КаÑÑовый Чек [16:15:45]line ПРОДÐЖР[16:15:45]line ТРК (МРК, ГÐК) : 31 [16:15:45]line Товар: 2710194210 [16:15:45]line ДТ-К-2 [16:15:45]line 26.250 * 76.20 [16:15:45]line = 2000.25 [16:15:45]line ÐДС 12% ÐСП 1% [16:15:45]line > о реализуемом товаре [16:15:45]line ОКРУГЛЕÐИЕ: -0.25 [16:15:45]line ИТОГО: 2000.00 [16:15:45]line ВнеÑено: 2000.00 [16:15:45]line СДÐЧÐ: 0.00 [16:15:45]line ÐСП 1% : 17.70 [16:15:45]line ÐДС 12% : 212.42 [16:15:45]line Ðаличными: 2000.00 [16:15:45]line Безнал.: 0.00 [16:15:45]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:15:45]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:15:45]line СÐО: Общий режим [16:15:45]line Чек 74 21.10.2024 16:16 [16:15:45]line Смена: 448 ФФД: 1.0 [16:15:45]line ЗÐМ: 0300000239 [16:15:45]line РÐМ: 0000000000098148 [16:15:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:15:45]line ФМ: 0000000000965374 [16:15:45]line ФД: 40806 [16:15:45]line ФПД: 19725080002087 [16:15:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161600&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40806&fm=19725080002087&tin=02508201610067®Number=0000000000098148&sum=200000 [16:15:45]OFD Sender: Processing packet 40806 [packets to send 4, broken 3] [16:15:45]ProducePacketName [16:15:45]name=ofd_packets/00040806 [16:15:45]OFD Sender: To server: ‡•öpG, [16:15:45]CommunicateWithHost lk.salyk.kg:30040 [16:15:45]ConnectInit lk.salyk.kg [16:15:45]written 0, free lines is 4095 [16:15:45]Connected sock=10 [16:15:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 77 7E 04 01 08 F6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 40 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 66 9F 00 00 35 04 06 00 11 F0 9A 62 FE 27 3D 9D FE 3D 7D 9C 2B D8 [16:15:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 9E AD 47 00 2C C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 66 9F 00 00 F4 03 04 00 20 24 16 67 B6 04 01 00 00 90 F9 04 61 11 6D 35 BD [16:15:46]CommunicateWithHost err = 0 [16:15:46]CheckOFDResponse [16:15:46]1017 (14) - 77093643461234 [16:15:46]1041 (16) - 0000000000965374 [16:15:46]1040 (4) - 40806 [16:15:46]1012 (4) - 21.10.2024 09:51 [16:15:46]1206 (1) - 0 [16:15:46]OFD Sender: Remove packet 40806 [16:15:46]ProducePacketName [16:15:46]name=ofd_packets/00040806 [16:15:46]NVStorageDeleteData [16:15:46]Write to MH i2c: 01 00 00 7A 38 B2 [16:15:46]Write i2c OK [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: 01 [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: 01 07 00 [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: 01 07 00 7A 38 00 00 00 00 00 09 0D CF [16:15:46]RasterBufferAndPrint [16:15:46]line [16:15:46]line [16:15:46]line [16:15:46]line [16:15:46]line [16:15:46]written 0, free lines is 3343 [16:15:46]MH_Cut [16:15:46]Write to MH i2c: D1 01 00 81 38 01 8B [16:15:46]Write i2c OK [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: D1 [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: D1 01 00 [16:15:46]MH_I2C_Read... [16:15:46]Read from MH i2c: D1 01 00 81 38 00 8A [16:15:46]Write to MH i2c: 01 00 00 82 38 BA [16:15:46]Write i2c OK [16:15:46]MH_I2C_Read... [16:15:46]OFD Sender: No OFD packet to send [16:15:46]*** Cut start [16:15:46]*** Partial cut [16:15:46]*** CUTSNS_PIN = 1 [16:15:46]*** CUTSNS_PIN = 0 [16:15:47]*** Brake cut motor [16:15:47]Read from MH i2c: 01 [16:15:47]MH_I2C_Read... [16:15:47]*** Stop cut motor [16:15:47]*** Cut end [16:15:47]Read from MH i2c: 01 07 00 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: 01 07 00 82 38 00 00 00 00 00 FF 0F CF [16:15:47]process_action close_receipt done [16:15:47]requested_data is exist [16:15:47]produce_requested_data [16:15:47]requested_item fm.sn is exist - process it [16:15:47]wFMCommunicate request_size=4 [16:15:47]MH_SAM_APDU [16:15:47]CAPDU: 80 11 00 00 [16:15:47]Write to MH i2c: E2 08 00 83 38 80 11 00 00 00 00 00 00 35 [16:15:47]Write i2c OK [16:15:47]MH_I2C_Read... [16:15:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:47]Read from MH i2c: E2 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 17 00 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 17 00 83 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8A [16:15:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:15:47]wFMCommunicate OK [16:15:47]requested_item fd.num is exist - process it [16:15:47]SAM_PROTO_GetFieldsCounters [16:15:47]wFMCommunicate request_size=4 [16:15:47]MH_SAM_APDU [16:15:47]CAPDU: 80 13 00 00 [16:15:47]Write to MH i2c: E2 08 00 84 38 80 13 00 00 00 00 00 00 38 [16:15:47]Write i2c OK [16:15:47]MH_I2C_Read... [16:15:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:15:47]Read from MH i2c: E2 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 62 00 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 62 00 84 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 66 9F 00 00 0E 04 04 00 C0 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 04 [16:15:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 66 9F 00 00 0E 04 04 00 C0 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 [16:15:47]wFMCommunicate OK [16:15:47]SAM_PROTO_GetFieldsCounters done [16:15:47]requested_item shift.num is exist - process it [16:15:47]requested_item shift.opened is exist - process it [16:15:47]req_shift_opened [16:15:47]FM_GetShiftState [16:15:47]SAM_PROTO_GetShiftState [16:15:47]wFMCommunicate request_size=4 [16:15:47]MH_SAM_APDU [16:15:47]CAPDU: 80 13 01 00 [16:15:47]Write to MH i2c: E2 08 00 85 38 80 13 01 00 00 00 00 00 3A [16:15:47]Write i2c OK [16:15:47]MH_I2C_Read... [16:15:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:47]Read from MH i2c: E2 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 0E 00 [16:15:47]MH_I2C_Read... [16:15:47]Read from MH i2c: E2 0E 00 85 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 08 [16:15:47]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:15:47]wFMCommunicate OK [16:15:47]SAM_PROTO_GetShiftState done [16:15:47]FM_GetShiftState done [16:15:47]req_shift_opened done [16:15:47]requested_item shift.open_date is exist - process it [16:15:47]req_shift_open_date [16:15:47]req_shift_open_date done [16:15:47]produce_requested_data done [16:15:47]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40806,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:15:47]process_action_free close_receipt [16:15:47]json_value_free [16:15:47]json_value_free done [16:15:47]process_json_proto returns [16:15:47]Send response to host [16:15:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40806,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:15:47]free response buf [16:15:47]execute_script done [16:15:47]execute_script returns [16:15:47]free content buf [16:15:47]Sock 9.Close socket [16:15:47]Sock 9.Thread stoped [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:17]accept exits with 7 [16:16:17]New connection [16:16:17]New thread 3067030884 created [16:16:17]Thread 3066887524 joined [16:16:17]Waiting for new connection... [16:16:17] Sock 7.Parse request [16:16:17]Sock 7.Check first char [16:16:17]Sock 7.First char is OK [16:16:17]request: POST /json_proto HTTP/1.0 [16:16:17]Method: POST [16:16:17]URL: /json_proto [16:16:17]Method is POST - this is cgi request [16:16:17]url: /json_proto [16:16:17]query_string will be loaded in cgi processing [16:16:17]execute_cgi json_proto POST (null) [16:16:17]execute_cgi path=json_proto method=POST [16:16:17]POST find Content-Length [16:16:17]Host: 172.17.53.4:8080 [16:16:17]Content-Length: 677 [16:16:17]Content-Type: application/json [16:16:17] [16:16:17]POST finish read [16:16:17]Found Content-Length = 677 [16:16:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808932", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:17]execute_script... [16:16:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808932", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:17]POST & json_proto [16:16:17]process_json_proto [16:16:17]json parsed OK: [16:16:17]protocol is kg_v1.0 [16:16:17]action value=close_receipt [16:16:17]process_action close_receipt [16:16:17]cmd_close_receipt [16:16:17]MH_GetDate [16:16:17]Write to MH i2c: F0 00 00 86 38 AD [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: F0 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: F0 09 00 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: F0 09 00 86 38 00 62 7E 16 67 05 11 DA 64 67 [16:16:17]GetLastDocTimeStamp 1729527360 [16:16:17]current date 1729527394 [16:16:17]FM_GetShiftState [16:16:17]SAM_PROTO_GetShiftState [16:16:17]wFMCommunicate request_size=4 [16:16:17]MH_SAM_APDU [16:16:17]CAPDU: 80 13 01 00 [16:16:17]Write to MH i2c: E2 08 00 87 38 80 13 01 00 00 00 00 00 3C [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:17]Read from MH i2c: E2 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 0E 00 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 0E 00 87 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0A [16:16:17]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:17]wFMCommunicate OK [16:16:17]SAM_PROTO_GetShiftState done [16:16:17]FM_GetShiftState done [16:16:17]opened in 1729470630 [16:16:17]opened+sec_in_day 1729557030 [16:16:17]quantity*price = 50041 [16:16:17]sum+1 = 50042 [16:16:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 75 21.10.2024 16:16 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40807 ФПД: 279457589233467 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161634&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40807&fm=279457589233467&tin=02508201610067®Number=0000000000098148&sum=50000 [16:16:18]StoreToDocumentArchive [16:16:18]shift 448 fd 40807 [16:16:18]save to /storage/0448/doc_00040807 [16:16:18]save last doc name /storage/0448/doc_00040807 to /storage/kkm_last_doc_name [16:16:18]save OK [16:16:18]Clear old archive folders... [16:16:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:16:18]tlvbuf is 0113D070 [16:16:18]SAM_PROTO_ClearQueue [16:16:18]wFMCommunicate request_size=4 [16:16:18]MH_SAM_APDU [16:16:18]CAPDU: 80 09 00 00 [16:16:18]Write to MH i2c: E2 08 00 94 38 80 09 00 00 00 00 00 00 3E [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 94 38 00 90 00 40 [16:16:19]RAPDU: 90 00 [16:16:19]wFMCommunicate OK [16:16:19]SAM_PROTO_ClearQueue done [16:16:19]KKMCreateOFDPacket [16:16:19]OFDProtocolAddRootSTLVToBuf [16:16:19]FM_MakeSignedData [16:16:19]FM_MakeSignedData [16:16:19]SAM_PROTO_SignData [16:16:19]wFMCommunicate request_size=4 [16:16:19]MH_SAM_APDU [16:16:19]CAPDU: 80 0D 01 02 [16:16:19]Write to MH i2c: E2 08 00 95 38 80 0D 01 02 00 00 00 00 46 [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 95 38 00 90 00 41 [16:16:19]RAPDU: 90 00 [16:16:19]wFMCommunicate OK [16:16:19]wFMCommunicate request_size=255 [16:16:19]MH_SAM_APDU [16:16:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 62 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 67 9F 00 00 35 04 06 00 FE [16:16:19]Write to MH i2c: E2 02 01 96 38 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 62 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 67 9F 00 00 35 04 06 00 FE 00 00 49 [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 96 38 00 90 00 42 [16:16:19]RAPDU: 90 00 [16:16:19]wFMCommunicate OK [16:16:19]wFMCommunicate request_size=10 [16:16:19]MH_SAM_APDU [16:16:19]CAPDU: 80 0D 02 02 05 2A 4A 56 07 3B [16:16:19]Write to MH i2c: E2 0D 00 97 38 80 0D 02 02 05 00 2A 4A 56 07 3B 00 00 5F [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 03 00 97 38 00 90 00 43 [16:16:19]RAPDU: 90 00 [16:16:19]wFMCommunicate OK [16:16:19]wFMCommunicate request_size=4 [16:16:19]MH_SAM_APDU [16:16:19]CAPDU: 80 0D 03 02 [16:16:19]Write to MH i2c: E2 08 00 98 38 80 0D 03 02 00 00 00 00 4B [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 0B 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 0B 00 98 38 00 BB 0C A2 67 CB A9 88 9B 90 00 B3 [16:16:19]RAPDU: BB 0C A2 67 CB A9 88 9B 90 00 [16:16:19]wFMCommunicate OK [16:16:19]SAM_PROTO_SignData done [16:16:19]FM_MakeSignedData done [16:16:19]CreateOFDProtocolMessage [16:16:19]wFMCommunicate request_size=4 [16:16:19]MH_SAM_APDU [16:16:19]CAPDU: 80 11 00 00 [16:16:19]Write to MH i2c: E2 08 00 99 38 80 11 00 00 00 00 00 00 4B [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:19]Read from MH i2c: E2 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 17 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: E2 17 00 99 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A0 [16:16:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:19]wFMCommunicate OK [16:16:19]CreateOFDProtocolMessage done [16:16:19]OFDSenderStorePacket 40807 [16:16:19]StoreOFDPacket docnum=40807 [16:16:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 01 08 07 01 DA CC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 62 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 67 9F 00 00 35 04 06 00 FE 2A 4A 56 07 3B BB 0C A2 67 CB A9 88 9B [16:16:19]CheckFolder [16:16:19]dirname=/storage/ofd_packets [16:16:19]CheckFolder done [16:16:19]ProducePacketName [16:16:19]name=ofd_packets/00040807 [16:16:19]NVStorageSaveData ofd_packets/00040807 [16:16:19]File name is /storage/ofd_packets/00040807 [16:16:19]Write 301 bytes [16:16:19]NVStorageSaveData done [16:16:19]OFDSenderStorePacket done [16:16:19]KKMCreateOFDPacket done [16:16:19]NVStorageSaveData kkm_last_timestamp [16:16:19]File name is /storage/kkm_last_timestamp [16:16:19]Write 4 bytes [16:16:19]NVStorageSaveData done [16:16:19]ExternCall_PrintAddStr [16:16:19]wPrintStart [16:16:19]Write to MH i2c: 01 00 00 9A 38 D2 [16:16:19]Write i2c OK [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: 01 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: 01 07 00 [16:16:19]MH_I2C_Read... [16:16:19]Read from MH i2c: 01 07 00 9A 38 00 00 00 00 00 FF 0F E7 [16:16:19]RasterBufferAndPrint [16:16:19]line Счет N : (1)808932 [16:16:19]line ИÐÐ: 02508201610067 [16:16:19]line Контрольно-КаÑÑовый Чек [16:16:19]line ПРОДÐЖР[16:16:19]line ТРК (МРК, ГÐК) : 53 [16:16:19]line Товар: 2710124130 [16:16:19]line Ðи-92-К-5 [16:16:19]line 7.480 * 66.90 [16:16:19]line = 500.41 [16:16:19]line ÐДС 12% ÐСП 1% [16:16:19]line > о реализуемом товаре [16:16:19]line ОКРУГЛЕÐИЕ: -0.41 [16:16:19]line ИТОГО: 500.00 [16:16:19]line ВнеÑено: 500.00 [16:16:19]line СДÐЧÐ: 0.00 [16:16:19]line ÐСП 1% : 4.43 [16:16:19]line ÐДС 12% : 53.14 [16:16:19]line Ðаличными: 500.00 [16:16:19]line Безнал.: 0.00 [16:16:19]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:16:19]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:16:19]line СÐО: Общий режим [16:16:19]line Чек 75 21.10.2024 16:16 [16:16:19]line Смена: 448 ФФД: 1.0 [16:16:19]line ЗÐМ: 0300000239 [16:16:19]line РÐМ: 0000000000098148 [16:16:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:16:19]line ФМ: 0000000000965374 [16:16:19]line ФД: 40807 [16:16:19]line ФПД: 279457589233467 [16:16:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161634&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40807&fm=279457589233467&tin=02508201610067®Number=0000000000098148&sum=50000 [16:16:19]written 0, free lines is 4095 [16:16:19]OFD Sender: Processing packet 40807 [packets to send 4, broken 3] [16:16:19]ProducePacketName [16:16:19]name=ofd_packets/00040807 [16:16:19]OFD Sender: To server: ‡•öpG, [16:16:19]CommunicateWithHost lk.salyk.kg:30040 [16:16:19]ConnectInit lk.salyk.kg [16:16:19]Connected sock=10 [16:16:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 01 08 07 01 DA CC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 62 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 67 9F 00 00 35 04 06 00 FE 2A 4A 56 07 3B BB 0C A2 67 CB A9 88 9B [16:16:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 7A AE 47 00 85 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 67 9F 00 00 F4 03 04 00 42 24 16 67 B6 04 01 00 00 DF 82 EA FD E7 41 46 71 [16:16:20]CommunicateWithHost err = 0 [16:16:20]CheckOFDResponse [16:16:20]1017 (14) - 77093643461234 [16:16:20]1041 (16) - 0000000000965374 [16:16:20]1040 (4) - 40807 [16:16:20]1012 (4) - 21.10.2024 09:52 [16:16:20]1206 (1) - 0 [16:16:20]OFD Sender: Remove packet 40807 [16:16:20]ProducePacketName [16:16:20]name=ofd_packets/00040807 [16:16:20]NVStorageDeleteData [16:16:20]Write to MH i2c: 01 00 00 C5 38 FD [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: 01 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: 01 07 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: 01 07 00 C5 38 00 00 00 00 00 F6 0C 06 [16:16:20]RasterBufferAndPrint [16:16:20]line [16:16:20]line [16:16:20]line [16:16:20]line [16:16:20]line [16:16:20]written 0, free lines is 3324 [16:16:20]MH_Cut [16:16:20]Write to MH i2c: D1 01 00 CC 38 01 D6 [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: D1 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: D1 01 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: D1 01 00 CC 38 00 D5 [16:16:20]Write to MH i2c: 01 00 00 CD 38 05 [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]OFD Sender: No OFD packet to send [16:16:20]*** Cut start [16:16:20]*** Partial cut [16:16:20]*** CUTSNS_PIN = 1 [16:16:20]*** CUTSNS_PIN = 0 [16:16:21]*** Brake cut motor [16:16:21]Read from MH i2c: 01 [16:16:21]MH_I2C_Read... [16:16:21]*** Stop cut motor [16:16:21]*** Cut end [16:16:21]Read from MH i2c: 01 07 00 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: 01 07 00 CD 38 00 00 00 00 00 FF 0F 1A [16:16:21]process_action close_receipt done [16:16:21]requested_data is exist [16:16:21]produce_requested_data [16:16:21]requested_item fm.sn is exist - process it [16:16:21]wFMCommunicate request_size=4 [16:16:21]MH_SAM_APDU [16:16:21]CAPDU: 80 11 00 00 [16:16:21]Write to MH i2c: E2 08 00 CE 38 80 11 00 00 00 00 00 00 80 [16:16:21]Write i2c OK [16:16:21]MH_I2C_Read... [16:16:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:21]Read from MH i2c: E2 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 17 00 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 17 00 CE 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D5 [16:16:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:21]wFMCommunicate OK [16:16:21]requested_item fd.num is exist - process it [16:16:21]SAM_PROTO_GetFieldsCounters [16:16:21]wFMCommunicate request_size=4 [16:16:21]MH_SAM_APDU [16:16:21]CAPDU: 80 13 00 00 [16:16:21]Write to MH i2c: E2 08 00 CF 38 80 13 00 00 00 00 00 00 83 [16:16:21]Write i2c OK [16:16:21]MH_I2C_Read... [16:16:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:16:21]Read from MH i2c: E2 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 62 00 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 62 00 CF 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 67 9F 00 00 0E 04 04 00 C0 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 53 [16:16:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 67 9F 00 00 0E 04 04 00 C0 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 [16:16:21]wFMCommunicate OK [16:16:21]SAM_PROTO_GetFieldsCounters done [16:16:21]requested_item shift.num is exist - process it [16:16:21]requested_item shift.opened is exist - process it [16:16:21]req_shift_opened [16:16:21]FM_GetShiftState [16:16:21]SAM_PROTO_GetShiftState [16:16:21]wFMCommunicate request_size=4 [16:16:21]MH_SAM_APDU [16:16:21]CAPDU: 80 13 01 00 [16:16:21]Write to MH i2c: E2 08 00 D0 38 80 13 01 00 00 00 00 00 85 [16:16:21]Write i2c OK [16:16:21]MH_I2C_Read... [16:16:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:21]Read from MH i2c: E2 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 0E 00 [16:16:21]MH_I2C_Read... [16:16:21]Read from MH i2c: E2 0E 00 D0 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 53 [16:16:21]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:21]wFMCommunicate OK [16:16:21]SAM_PROTO_GetShiftState done [16:16:21]FM_GetShiftState done [16:16:21]req_shift_opened done [16:16:21]requested_item shift.open_date is exist - process it [16:16:21]req_shift_open_date [16:16:21]req_shift_open_date done [16:16:21]produce_requested_data done [16:16:21]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40807,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:16:21]process_action_free close_receipt [16:16:21]json_value_free [16:16:21]json_value_free done [16:16:21]process_json_proto returns [16:16:21]Send response to host [16:16:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40807,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:16:21]free response buf [16:16:21]execute_script done [16:16:21]execute_script returns [16:16:21]free content buf [16:16:21]Sock 7.Close socket [16:16:21]Sock 7.Thread stoped [16:16:24]accept exits with 9 [16:16:24]New connection [16:16:24]New thread 3066887524 created [16:16:24]Thread 3067030884 joined [16:16:24]Waiting for new connection... [16:16:24] Sock 9.Parse request [16:16:24]Sock 9.Check first char [16:16:24]Sock 9.First char is OK [16:16:24]request: POST /json_proto HTTP/1.0 [16:16:24]Method: POST [16:16:24]URL: /json_proto [16:16:24]Method is POST - this is cgi request [16:16:24]url: /json_proto [16:16:24]query_string will be loaded in cgi processing [16:16:24]execute_cgi json_proto POST (null) [16:16:24]execute_cgi path=json_proto method=POST [16:16:24]POST find Content-Length [16:16:24]Host: 172.17.53.4:8080 [16:16:24]Content-Length: 674 [16:16:24]Content-Type: application/json [16:16:24] [16:16:24]POST finish read [16:16:24]Found Content-Length = 674 [16:16:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808931", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:24]execute_script... [16:16:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808931", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:24]POST & json_proto [16:16:24]process_json_proto [16:16:24]json parsed OK: [16:16:24]protocol is kg_v1.0 [16:16:24]action value=close_receipt [16:16:24]process_action close_receipt [16:16:24]cmd_close_receipt [16:16:24]MH_GetDate [16:16:24]Write to MH i2c: F0 00 00 D1 38 F8 [16:16:24]Write i2c OK [16:16:24]MH_I2C_Read... [16:16:24]Read from MH i2c: F0 [16:16:24]MH_I2C_Read... [16:16:24]Read from MH i2c: F0 09 00 [16:16:24]MH_I2C_Read... [16:16:24]Read from MH i2c: F0 09 00 D1 38 00 69 7E 16 67 05 11 DA 64 B9 [16:16:24]GetLastDocTimeStamp 1729527394 [16:16:24]current date 1729527401 [16:16:24]FM_GetShiftState [16:16:24]SAM_PROTO_GetShiftState [16:16:24]wFMCommunicate request_size=4 [16:16:24]MH_SAM_APDU [16:16:24]CAPDU: 80 13 01 00 [16:16:24]Write to MH i2c: E2 08 00 D2 38 80 13 01 00 00 00 00 00 87 [16:16:24]Write i2c OK [16:16:24]MH_I2C_Read... [16:16:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:24]Read from MH i2c: E2 [16:16:24]MH_I2C_Read... [16:16:24]Read from MH i2c: E2 0E 00 [16:16:24]MH_I2C_Read... [16:16:24]Read from MH i2c: E2 0E 00 D2 38 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 55 [16:16:24]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:24]wFMCommunicate OK [16:16:24]SAM_PROTO_GetShiftState done [16:16:24]FM_GetShiftState done [16:16:24]opened in 1729470630 [16:16:24]opened+sec_in_day 1729557030 [16:16:24]quantity*price = 60045 [16:16:24]sum+1 = 60047 [16:16:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.46 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.77 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 76 21.10.2024 16:16 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40808 ФПД: 210695344078113 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161641&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40808&fm=210695344078113&tin=02508201610067®Number=0000000000098148&sum=60000 [16:16:25]StoreToDocumentArchive [16:16:25]shift 448 fd 40808 [16:16:25]save to /storage/0448/doc_00040808 [16:16:25]save last doc name /storage/0448/doc_00040808 to /storage/kkm_last_doc_name [16:16:25]save OK [16:16:25]Clear old archive folders... [16:16:25]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:16:25]tlvbuf is 0107B580 [16:16:25]SAM_PROTO_ClearQueue [16:16:25]wFMCommunicate request_size=4 [16:16:25]MH_SAM_APDU [16:16:25]CAPDU: 80 09 00 00 [16:16:25]Write to MH i2c: E2 08 00 DF 38 80 09 00 00 00 00 00 00 89 [16:16:25]Write i2c OK [16:16:25]MH_I2C_Read... [16:16:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:16:25]Read from MH i2c: E2 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 DF 38 00 90 00 8B [16:16:25]RAPDU: 90 00 [16:16:25]wFMCommunicate OK [16:16:25]SAM_PROTO_ClearQueue done [16:16:25]KKMCreateOFDPacket [16:16:25]OFDProtocolAddRootSTLVToBuf [16:16:25]FM_MakeSignedData [16:16:25]FM_MakeSignedData [16:16:25]SAM_PROTO_SignData [16:16:25]wFMCommunicate request_size=4 [16:16:25]MH_SAM_APDU [16:16:25]CAPDU: 80 0D 01 02 [16:16:25]Write to MH i2c: E2 08 00 E0 38 80 0D 01 02 00 00 00 00 91 [16:16:25]Write i2c OK [16:16:25]MH_I2C_Read... [16:16:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:16:25]Read from MH i2c: E2 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 E0 38 00 90 00 8C [16:16:25]RAPDU: 90 00 [16:16:25]wFMCommunicate OK [16:16:25]wFMCommunicate request_size=255 [16:16:25]MH_SAM_APDU [16:16:25]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 69 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 68 9F 00 00 35 04 06 00 BF A0 55 23 [16:16:25]Write to MH i2c: E2 02 01 E1 38 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 69 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 68 9F 00 00 35 04 06 00 BF A0 55 23 00 00 2A [16:16:25]Write i2c OK [16:16:25]MH_I2C_Read... [16:16:25]OFD Sender: No OFD packet to send [16:16:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:25]Read from MH i2c: E2 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 E1 38 00 90 00 8D [16:16:25]RAPDU: 90 00 [16:16:25]wFMCommunicate OK [16:16:25]wFMCommunicate request_size=7 [16:16:25]MH_SAM_APDU [16:16:25]CAPDU: 80 0D 02 02 02 BD 21 [16:16:25]Write to MH i2c: E2 0A 00 E2 38 80 0D 02 02 02 00 BD 21 00 00 76 [16:16:25]Write i2c OK [16:16:25]MH_I2C_Read... [16:16:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:25]Read from MH i2c: E2 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 [16:16:25]MH_I2C_Read... [16:16:25]Read from MH i2c: E2 03 00 E2 38 00 90 00 8E [16:16:25]RAPDU: 90 00 [16:16:25]wFMCommunicate OK [16:16:25]wFMCommunicate request_size=4 [16:16:25]MH_SAM_APDU [16:16:25]CAPDU: 80 0D 03 02 [16:16:25]Write to MH i2c: E2 08 00 E3 38 80 0D 03 02 00 00 00 00 96 [16:16:25]Write i2c OK [16:16:25]MH_I2C_Read... [16:16:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:16:26]Read from MH i2c: E2 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: E2 0B 00 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: E2 0B 00 E3 38 00 93 56 61 28 0B 93 E7 C5 90 00 53 [16:16:26]RAPDU: 93 56 61 28 0B 93 E7 C5 90 00 [16:16:26]wFMCommunicate OK [16:16:26]SAM_PROTO_SignData done [16:16:26]FM_MakeSignedData done [16:16:26]CreateOFDProtocolMessage [16:16:26]wFMCommunicate request_size=4 [16:16:26]MH_SAM_APDU [16:16:26]CAPDU: 80 11 00 00 [16:16:26]Write to MH i2c: E2 08 00 E4 38 80 11 00 00 00 00 00 00 96 [16:16:26]Write i2c OK [16:16:26]MH_I2C_Read... [16:16:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:26]Read from MH i2c: E2 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: E2 17 00 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: E2 17 00 E4 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EB [16:16:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:26]wFMCommunicate OK [16:16:26]CreateOFDProtocolMessage done [16:16:26]OFDSenderStorePacket 40808 [16:16:26]StoreOFDPacket docnum=40808 [16:16:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 02 46 04 01 FD 2C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 69 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 68 9F 00 00 35 04 06 00 BF A0 55 23 BD 21 93 56 61 28 0B 93 E7 C5 [16:16:26]CheckFolder [16:16:26]dirname=/storage/ofd_packets [16:16:26]CheckFolder done [16:16:26]ProducePacketName [16:16:26]name=ofd_packets/00040808 [16:16:26]NVStorageSaveData ofd_packets/00040808 [16:16:26]File name is /storage/ofd_packets/00040808 [16:16:26]Write 298 bytes [16:16:26]NVStorageSaveData done [16:16:26]OFDSenderStorePacket done [16:16:26]KKMCreateOFDPacket done [16:16:26]NVStorageSaveData kkm_last_timestamp [16:16:26]File name is /storage/kkm_last_timestamp [16:16:26]Write 4 bytes [16:16:26]NVStorageSaveData done [16:16:26]ExternCall_PrintAddStr [16:16:26]wPrintStart [16:16:26]Write to MH i2c: 01 00 00 E5 38 1D [16:16:26]Write i2c OK [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 07 00 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 07 00 E5 38 00 00 00 00 00 FF 0F 32 [16:16:26]RasterBufferAndPrint [16:16:26]line Счет N : (1)808931 [16:16:26]line ИÐÐ: 02508201610067 [16:16:26]line Контрольно-КаÑÑовый Чек [16:16:26]line ПРОДÐЖР[16:16:26]line ТРК (МРК, ГÐК) : 41 [16:16:26]line Товар: 2710194210 [16:16:26]line ДТ-К-2 [16:16:26]line 7.880 * 76.20 [16:16:26]line = 600.46 [16:16:26]line ÐДС 12% ÐСП 1% [16:16:26]line > о реализуемом товаре [16:16:26]line ОКРУГЛЕÐИЕ: -0.46 [16:16:26]line ИТОГО: 600.00 [16:16:26]line ВнеÑено: 600.00 [16:16:26]line СДÐЧÐ: 0.00 [16:16:26]line ÐСП 1% : 5.31 [16:16:26]line ÐДС 12% : 63.77 [16:16:26]line Ðаличными: 600.00 [16:16:26]line Безнал.: 0.00 [16:16:26]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:16:26]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:16:26]line СÐО: Общий режим [16:16:26]line Чек 76 21.10.2024 16:16 [16:16:26]line Смена: 448 ФФД: 1.0 [16:16:26]line ЗÐМ: 0300000239 [16:16:26]line РÐМ: 0000000000098148 [16:16:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:16:26]line ФМ: 0000000000965374 [16:16:26]line ФД: 40808 [16:16:26]line ФПД: 210695344078113 [16:16:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161641&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40808&fm=210695344078113&tin=02508201610067®Number=0000000000098148&sum=60000 [16:16:26]OFD Sender: Processing packet 40808 [packets to send 4, broken 3] [16:16:26]ProducePacketName [16:16:26]name=ofd_packets/00040808 [16:16:26]OFD Sender: To server: ‡•öpG, [16:16:26]CommunicateWithHost lk.salyk.kg:30040 [16:16:26]ConnectInit lk.salyk.kg [16:16:26]written 0, free lines is 4095 [16:16:26]Connected sock=10 [16:16:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 02 46 04 01 FD 2C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 69 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 68 9F 00 00 35 04 06 00 BF A0 55 23 BD 21 93 56 61 28 0B 93 E7 C5 [16:16:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 DE 66 47 00 28 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 68 9F 00 00 F4 03 04 00 48 24 16 67 B6 04 01 00 00 20 49 E5 53 28 52 78 7E [16:16:26]CommunicateWithHost err = 0 [16:16:26]CheckOFDResponse [16:16:26]1017 (14) - 77093643461234 [16:16:26]1041 (16) - 0000000000965374 [16:16:26]1040 (4) - 40808 [16:16:26]1012 (4) - 21.10.2024 09:52 [16:16:26]1206 (1) - 0 [16:16:26]OFD Sender: Remove packet 40808 [16:16:26]ProducePacketName [16:16:26]name=ofd_packets/00040808 [16:16:26]NVStorageDeleteData [16:16:26]Write to MH i2c: 01 00 00 10 39 49 [16:16:26]Write i2c OK [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 07 00 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: 01 07 00 10 39 00 00 00 00 00 07 0D 64 [16:16:26]RasterBufferAndPrint [16:16:26]line [16:16:26]line [16:16:26]line [16:16:26]line [16:16:26]line [16:16:26]written 0, free lines is 3347 [16:16:26]MH_Cut [16:16:26]Write to MH i2c: D1 01 00 17 39 01 22 [16:16:26]Write i2c OK [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: D1 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: D1 01 00 [16:16:26]MH_I2C_Read... [16:16:26]Read from MH i2c: D1 01 00 17 39 00 21 [16:16:26]Write to MH i2c: 01 00 00 18 39 51 [16:16:26]Write i2c OK [16:16:26]MH_I2C_Read... [16:16:26]OFD Sender: No OFD packet to send [16:16:27]*** Cut start [16:16:27]*** Partial cut [16:16:27]*** CUTSNS_PIN = 1 [16:16:27]*** CUTSNS_PIN = 0 [16:16:27]*** Brake cut motor [16:16:27]Read from MH i2c: 01 [16:16:27]MH_I2C_Read... [16:16:27]*** Stop cut motor [16:16:27]*** Cut end [16:16:27]Read from MH i2c: 01 07 00 [16:16:27]MH_I2C_Read... [16:16:27]Read from MH i2c: 01 07 00 18 39 00 00 00 00 00 FF 0F 66 [16:16:27]process_action close_receipt done [16:16:27]requested_data is exist [16:16:27]produce_requested_data [16:16:27]requested_item fm.sn is exist - process it [16:16:27]wFMCommunicate request_size=4 [16:16:27]MH_SAM_APDU [16:16:27]CAPDU: 80 11 00 00 [16:16:27]Write to MH i2c: E2 08 00 19 39 80 11 00 00 00 00 00 00 CC [16:16:27]Write i2c OK [16:16:27]MH_I2C_Read... [16:16:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:27]Read from MH i2c: E2 [16:16:27]MH_I2C_Read... [16:16:27]Read from MH i2c: E2 17 00 [16:16:27]MH_I2C_Read... [16:16:27]Read from MH i2c: E2 17 00 19 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 21 [16:16:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:27]wFMCommunicate OK [16:16:27]requested_item fd.num is exist - process it [16:16:27]SAM_PROTO_GetFieldsCounters [16:16:27]wFMCommunicate request_size=4 [16:16:27]MH_SAM_APDU [16:16:27]CAPDU: 80 13 00 00 [16:16:27]Write to MH i2c: E2 08 00 1A 39 80 13 00 00 00 00 00 00 CF [16:16:27]Write i2c OK [16:16:27]MH_I2C_Read... [16:16:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:16:28]Read from MH i2c: E2 [16:16:28]MH_I2C_Read... [16:16:28]Read from MH i2c: E2 62 00 [16:16:28]MH_I2C_Read... [16:16:28]Read from MH i2c: E2 62 00 1A 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 68 9F 00 00 0E 04 04 00 C0 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 A3 [16:16:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 68 9F 00 00 0E 04 04 00 C0 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 [16:16:28]wFMCommunicate OK [16:16:28]SAM_PROTO_GetFieldsCounters done [16:16:28]requested_item shift.num is exist - process it [16:16:28]requested_item shift.opened is exist - process it [16:16:28]req_shift_opened [16:16:28]FM_GetShiftState [16:16:28]SAM_PROTO_GetShiftState [16:16:28]wFMCommunicate request_size=4 [16:16:28]MH_SAM_APDU [16:16:28]CAPDU: 80 13 01 00 [16:16:28]Write to MH i2c: E2 08 00 1B 39 80 13 01 00 00 00 00 00 D1 [16:16:28]Write i2c OK [16:16:28]MH_I2C_Read... [16:16:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:28]Read from MH i2c: E2 [16:16:28]MH_I2C_Read... [16:16:28]Read from MH i2c: E2 0E 00 [16:16:28]MH_I2C_Read... [16:16:28]Read from MH i2c: E2 0E 00 1B 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9F [16:16:28]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:28]wFMCommunicate OK [16:16:28]SAM_PROTO_GetShiftState done [16:16:28]FM_GetShiftState done [16:16:28]req_shift_opened done [16:16:28]requested_item shift.open_date is exist - process it [16:16:28]req_shift_open_date [16:16:28]req_shift_open_date done [16:16:28]produce_requested_data done [16:16:28]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40808,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:16:28]process_action_free close_receipt [16:16:28]json_value_free [16:16:28]json_value_free done [16:16:28]process_json_proto returns [16:16:28]Send response to host [16:16:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40808,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:16:28]free response buf [16:16:28]execute_script done [16:16:28]execute_script returns [16:16:28]free content buf [16:16:28]Sock 9.Close socket [16:16:28]Sock 9.Thread stoped [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:38]accept exits with 7 [16:16:38]New connection [16:16:38]New thread 3067030884 created [16:16:38]Thread 3066887524 joined [16:16:38]Waiting for new connection... [16:16:38] Sock 7.Parse request [16:16:38]Sock 7.Check first char [16:16:38]Sock 7.First char is OK [16:16:38]request: POST /json_proto HTTP/1.0 [16:16:38]Method: POST [16:16:38]URL: /json_proto [16:16:38]Method is POST - this is cgi request [16:16:38]url: /json_proto [16:16:38]query_string will be loaded in cgi processing [16:16:38]execute_cgi json_proto POST (null) [16:16:38]execute_cgi path=json_proto method=POST [16:16:38]POST find Content-Length [16:16:38]Host: 172.17.53.4:8080 [16:16:38]Content-Length: 677 [16:16:38]Content-Type: application/json [16:16:38] [16:16:38]POST finish read [16:16:38]Found Content-Length = 677 [16:16:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808933", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [16:16:38]execute_script... [16:16:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808933", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "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" ] } } [16:16:38]POST & json_proto [16:16:38]process_json_proto [16:16:38]json parsed OK: [16:16:38]protocol is kg_v1.0 [16:16:38]action value=close_receipt [16:16:38]process_action close_receipt [16:16:38]cmd_close_receipt [16:16:38]MH_GetDate [16:16:38]Write to MH i2c: F0 00 00 1C 39 44 [16:16:38]Write i2c OK [16:16:38]MH_I2C_Read... [16:16:38]Read from MH i2c: F0 [16:16:38]MH_I2C_Read... [16:16:38]Read from MH i2c: F0 09 00 [16:16:38]MH_I2C_Read... [16:16:38]Read from MH i2c: F0 09 00 1C 39 00 77 7E 16 67 05 11 DA 64 13 [16:16:38]GetLastDocTimeStamp 1729527401 [16:16:38]current date 1729527415 [16:16:38]FM_GetShiftState [16:16:38]SAM_PROTO_GetShiftState [16:16:38]wFMCommunicate request_size=4 [16:16:38]MH_SAM_APDU [16:16:38]CAPDU: 80 13 01 00 [16:16:38]Write to MH i2c: E2 08 00 1D 39 80 13 01 00 00 00 00 00 D3 [16:16:38]Write i2c OK [16:16:38]MH_I2C_Read... [16:16:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:38]Read from MH i2c: E2 [16:16:38]MH_I2C_Read... [16:16:38]Read from MH i2c: E2 0E 00 [16:16:38]MH_I2C_Read... [16:16:38]Read from MH i2c: E2 0E 00 1D 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A1 [16:16:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:38]wFMCommunicate OK [16:16:38]SAM_PROTO_GetShiftState done [16:16:38]FM_GetShiftState done [16:16:38]opened in 1729470630 [16:16:38]opened+sec_in_day 1729557030 [16:16:38]quantity*price = 40006 [16:16:38]sum+1 = 40007 [16:16:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.06 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 77 21.10.2024 16:16 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40809 ФПД: 92767799768739 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161655&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40809&fm=92767799768739&tin=02508201610067®Number=0000000000098148&sum=40000 [16:16:39]StoreToDocumentArchive [16:16:39]shift 448 fd 40809 [16:16:39]save to /storage/0448/doc_00040809 [16:16:39]save last doc name /storage/0448/doc_00040809 to /storage/kkm_last_doc_name [16:16:39]save OK [16:16:39]Clear old archive folders... [16:16:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:16:39]tlvbuf is 010A3430 [16:16:39]SAM_PROTO_ClearQueue [16:16:39]wFMCommunicate request_size=4 [16:16:39]MH_SAM_APDU [16:16:39]CAPDU: 80 09 00 00 [16:16:39]Write to MH i2c: E2 08 00 2A 39 80 09 00 00 00 00 00 00 D5 [16:16:39]Write i2c OK [16:16:39]MH_I2C_Read... [16:16:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:16:39]Read from MH i2c: E2 [16:16:39]MH_I2C_Read... [16:16:39]Read from MH i2c: E2 03 00 [16:16:39]MH_I2C_Read... [16:16:39]Read from MH i2c: E2 03 00 2A 39 00 90 00 D7 [16:16:39]RAPDU: 90 00 [16:16:39]wFMCommunicate OK [16:16:39]SAM_PROTO_ClearQueue done [16:16:39]KKMCreateOFDPacket [16:16:39]OFDProtocolAddRootSTLVToBuf [16:16:39]FM_MakeSignedData [16:16:39]FM_MakeSignedData [16:16:39]SAM_PROTO_SignData [16:16:39]wFMCommunicate request_size=4 [16:16:39]MH_SAM_APDU [16:16:39]CAPDU: 80 0D 01 02 [16:16:39]Write to MH i2c: E2 08 00 2B 39 80 0D 01 02 00 00 00 00 DD [16:16:39]Write i2c OK [16:16:39]MH_I2C_Read... [16:16:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:16:39]Read from MH i2c: E2 [16:16:39]MH_I2C_Read... [16:16:39]Read from MH i2c: E2 03 00 [16:16:39]MH_I2C_Read... [16:16:39]Read from MH i2c: E2 03 00 2B 39 00 90 00 D8 [16:16:39]RAPDU: 90 00 [16:16:39]wFMCommunicate OK [16:16:39]wFMCommunicate request_size=255 [16:16:39]MH_SAM_APDU [16:16:39]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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 77 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 69 9F 00 00 35 04 06 00 54 [16:16:39]Write to MH i2c: E2 02 01 2C 39 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 77 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 69 9F 00 00 35 04 06 00 54 00 00 1E [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:40]Read from MH i2c: E2 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 03 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 03 00 2C 39 00 90 00 D9 [16:16:40]RAPDU: 90 00 [16:16:40]wFMCommunicate OK [16:16:40]wFMCommunicate request_size=10 [16:16:40]MH_SAM_APDU [16:16:40]CAPDU: 80 0D 02 02 05 5F 2F C0 76 A3 [16:16:40]Write to MH i2c: E2 0D 00 2D 39 80 0D 02 02 05 00 5F 2F C0 76 A3 00 00 51 [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:40]Read from MH i2c: E2 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 03 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 03 00 2D 39 00 90 00 DA [16:16:40]RAPDU: 90 00 [16:16:40]wFMCommunicate OK [16:16:40]wFMCommunicate request_size=4 [16:16:40]MH_SAM_APDU [16:16:40]CAPDU: 80 0D 03 02 [16:16:40]Write to MH i2c: E2 08 00 2E 39 80 0D 03 02 00 00 00 00 E2 [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:16:40]Read from MH i2c: E2 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 0B 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 0B 00 2E 39 00 EF CD 73 DB A0 54 C3 C9 90 00 6D [16:16:40]RAPDU: EF CD 73 DB A0 54 C3 C9 90 00 [16:16:40]wFMCommunicate OK [16:16:40]SAM_PROTO_SignData done [16:16:40]FM_MakeSignedData done [16:16:40]CreateOFDProtocolMessage [16:16:40]wFMCommunicate request_size=4 [16:16:40]MH_SAM_APDU [16:16:40]CAPDU: 80 11 00 00 [16:16:40]Write to MH i2c: E2 08 00 2F 39 80 11 00 00 00 00 00 00 E2 [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:40]Read from MH i2c: E2 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 17 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: E2 17 00 2F 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 37 [16:16:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:40]wFMCommunicate OK [16:16:40]CreateOFDProtocolMessage done [16:16:40]OFDSenderStorePacket 40809 [16:16:40]StoreOFDPacket docnum=40809 [16:16:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 69 2E 07 01 23 16 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 77 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 69 9F 00 00 35 04 06 00 54 5F 2F C0 76 A3 EF CD 73 DB A0 54 C3 C9 [16:16:40]CheckFolder [16:16:40]dirname=/storage/ofd_packets [16:16:40]CheckFolder done [16:16:40]ProducePacketName [16:16:40]name=ofd_packets/00040809 [16:16:40]NVStorageSaveData ofd_packets/00040809 [16:16:40]File name is /storage/ofd_packets/00040809 [16:16:40]Write 301 bytes [16:16:40]NVStorageSaveData done [16:16:40]OFDSenderStorePacket done [16:16:40]KKMCreateOFDPacket done [16:16:40]NVStorageSaveData kkm_last_timestamp [16:16:40]File name is /storage/kkm_last_timestamp [16:16:40]Write 4 bytes [16:16:40]NVStorageSaveData done [16:16:40]ExternCall_PrintAddStr [16:16:40]wPrintStart [16:16:40]Write to MH i2c: 01 00 00 30 39 69 [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 07 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 07 00 30 39 00 00 00 00 00 FF 0F 7E [16:16:40]RasterBufferAndPrint [16:16:40]line Счет N : (1)808933 [16:16:40]line ИÐÐ: 02508201610067 [16:16:40]line Контрольно-КаÑÑовый Чек [16:16:40]line ПРОДÐЖР[16:16:40]line ТРК (МРК, ГÐК) : 63 [16:16:40]line Товар: 2710124130 [16:16:40]line Ðи-92-К-5 [16:16:40]line 5.980 * 66.90 [16:16:40]line = 400.06 [16:16:40]line ÐДС 12% ÐСП 1% [16:16:40]line > о реализуемом товаре [16:16:40]line ОКРУГЛЕÐИЕ: -0.06 [16:16:40]line ИТОГО: 400.00 [16:16:40]line ВнеÑено: 400.00 [16:16:40]line СДÐЧÐ: 0.00 [16:16:40]line ÐСП 1% : 3.54 [16:16:40]line ÐДС 12% : 42.48 [16:16:40]line Ðаличными: 400.00 [16:16:40]line Безнал.: 0.00 [16:16:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:16:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:16:40]line СÐО: Общий режим [16:16:40]line Чек 77 21.10.2024 16:16 [16:16:40]line Смена: 448 ФФД: 1.0 [16:16:40]line ЗÐМ: 0300000239 [16:16:40]line РÐМ: 0000000000098148 [16:16:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:16:40]line ФМ: 0000000000965374 [16:16:40]line ФД: 40809 [16:16:40]line ФПД: 92767799768739 [16:16:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T161655&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40809&fm=92767799768739&tin=02508201610067®Number=0000000000098148&sum=40000 [16:16:40]written 0, free lines is 4095 [16:16:40]OFD Sender: Processing packet 40809 [packets to send 4, broken 3] [16:16:40]ProducePacketName [16:16:40]name=ofd_packets/00040809 [16:16:40]OFD Sender: To server: ‡•öpG, [16:16:40]CommunicateWithHost lk.salyk.kg:30040 [16:16:40]ConnectInit lk.salyk.kg [16:16:40]Connected sock=10 [16:16:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 69 2E 07 01 23 16 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 77 7E 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 69 9F 00 00 35 04 06 00 54 5F 2F C0 76 A3 EF CD 73 DB A0 54 C3 C9 [16:16:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 93 82 47 00 1C E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 69 9F 00 00 F4 03 04 00 57 24 16 67 B6 04 01 00 00 78 6C DB 1B A2 EE AF 97 [16:16:40]CommunicateWithHost err = 0 [16:16:40]CheckOFDResponse [16:16:40]1017 (14) - 77093643461234 [16:16:40]1041 (16) - 0000000000965374 [16:16:40]1040 (4) - 40809 [16:16:40]1012 (4) - 21.10.2024 09:52 [16:16:40]1206 (1) - 0 [16:16:40]OFD Sender: Remove packet 40809 [16:16:40]ProducePacketName [16:16:40]name=ofd_packets/00040809 [16:16:40]NVStorageDeleteData [16:16:40]Write to MH i2c: 01 00 00 5B 39 94 [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 07 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: 01 07 00 5B 39 00 00 00 00 00 20 0D C8 [16:16:40]RasterBufferAndPrint [16:16:40]line [16:16:40]line [16:16:40]line [16:16:40]line [16:16:40]line [16:16:40]written 0, free lines is 3375 [16:16:40]MH_Cut [16:16:40]Write to MH i2c: D1 01 00 62 39 01 6D [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: D1 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: D1 01 00 [16:16:40]MH_I2C_Read... [16:16:40]Read from MH i2c: D1 01 00 62 39 00 6C [16:16:40]Write to MH i2c: 01 00 00 63 39 9C [16:16:40]Write i2c OK [16:16:40]MH_I2C_Read... [16:16:41]OFD Sender: No OFD packet to send [16:16:41]*** Cut start [16:16:41]*** Partial cut [16:16:41]*** CUTSNS_PIN = 1 [16:16:41]*** CUTSNS_PIN = 0 [16:16:41]*** Brake cut motor [16:16:42]Read from MH i2c: 01 [16:16:42]MH_I2C_Read... [16:16:42]*** Stop cut motor [16:16:42]*** Cut end [16:16:42]Read from MH i2c: 01 07 00 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: 01 07 00 63 39 00 00 00 00 00 FF 0F B1 [16:16:42]process_action close_receipt done [16:16:42]requested_data is exist [16:16:42]produce_requested_data [16:16:42]requested_item fm.sn is exist - process it [16:16:42]wFMCommunicate request_size=4 [16:16:42]MH_SAM_APDU [16:16:42]CAPDU: 80 11 00 00 [16:16:42]Write to MH i2c: E2 08 00 64 39 80 11 00 00 00 00 00 00 17 [16:16:42]Write i2c OK [16:16:42]MH_I2C_Read... [16:16:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:42]Read from MH i2c: E2 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 17 00 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 17 00 64 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 6C [16:16:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:16:42]wFMCommunicate OK [16:16:42]requested_item fd.num is exist - process it [16:16:42]SAM_PROTO_GetFieldsCounters [16:16:42]wFMCommunicate request_size=4 [16:16:42]MH_SAM_APDU [16:16:42]CAPDU: 80 13 00 00 [16:16:42]Write to MH i2c: E2 08 00 65 39 80 13 00 00 00 00 00 00 1A [16:16:42]Write i2c OK [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 [16:16:42]MH_I2C_Read... [16:16:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:16:42]Read from MH i2c: E2 62 00 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 62 00 65 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 69 9F 00 00 0E 04 04 00 C0 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 F2 [16:16:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 69 9F 00 00 0E 04 04 00 C0 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 [16:16:42]wFMCommunicate OK [16:16:42]SAM_PROTO_GetFieldsCounters done [16:16:42]requested_item shift.num is exist - process it [16:16:42]requested_item shift.opened is exist - process it [16:16:42]req_shift_opened [16:16:42]FM_GetShiftState [16:16:42]SAM_PROTO_GetShiftState [16:16:42]wFMCommunicate request_size=4 [16:16:42]MH_SAM_APDU [16:16:42]CAPDU: 80 13 01 00 [16:16:42]Write to MH i2c: E2 08 00 66 39 80 13 01 00 00 00 00 00 1C [16:16:42]Write i2c OK [16:16:42]MH_I2C_Read... [16:16:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:42]Read from MH i2c: E2 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 0E 00 [16:16:42]MH_I2C_Read... [16:16:42]Read from MH i2c: E2 0E 00 66 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 EA [16:16:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:16:42]wFMCommunicate OK [16:16:42]SAM_PROTO_GetShiftState done [16:16:42]FM_GetShiftState done [16:16:42]req_shift_opened done [16:16:42]requested_item shift.open_date is exist - process it [16:16:42]req_shift_open_date [16:16:42]req_shift_open_date done [16:16:42]produce_requested_data done [16:16:42]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40809,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:16:42]process_action_free close_receipt [16:16:42]json_value_free [16:16:42]json_value_free done [16:16:42]process_json_proto returns [16:16:42]Send response to host [16:16:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40809,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:16:42]free response buf [16:16:42]execute_script done [16:16:42]execute_script returns [16:16:42]free content buf [16:16:42]Sock 7.Close socket [16:16:42]Sock 7.Thread stoped [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:43]accept exits with 9 [16:23:43]New connection [16:23:43]New thread 3066887524 created [16:23:43]Thread 3067030884 joined [16:23:43]Waiting for new connection... [16:23:43] Sock 9.Parse request [16:23:43]Sock 9.Check first char [16:23:43]Sock 9.First char is OK [16:23:43]request: POST /json_proto HTTP/1.0 [16:23:43]Method: POST [16:23:43]URL: /json_proto [16:23:43]Method is POST - this is cgi request [16:23:43]url: /json_proto [16:23:43]query_string will be loaded in cgi processing [16:23:43]execute_cgi json_proto POST (null) [16:23:43]execute_cgi path=json_proto method=POST [16:23:43]POST find Content-Length [16:23:43]Host: 172.17.53.4:8080 [16:23:43]Content-Length: 675 [16:23:43]Content-Type: application/json [16:23:43] [16:23:43]POST finish read [16:23:43]Found Content-Length = 675 [16:23:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808934", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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" ] } } [16:23:43]execute_script... [16:23:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808934", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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" ] } } [16:23:43]POST & json_proto [16:23:43]process_json_proto [16:23:43]json parsed OK: [16:23:43]protocol is kg_v1.0 [16:23:43]action value=close_receipt [16:23:43]process_action close_receipt [16:23:43]cmd_close_receipt [16:23:43]MH_GetDate [16:23:43]Write to MH i2c: F0 00 00 67 39 8F [16:23:43]Write i2c OK [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: F0 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: F0 09 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: F0 09 00 67 39 00 20 80 16 67 05 11 DA 64 09 [16:23:43]GetLastDocTimeStamp 1729527415 [16:23:43]current date 1729527840 [16:23:43]FM_GetShiftState [16:23:43]SAM_PROTO_GetShiftState [16:23:43]wFMCommunicate request_size=4 [16:23:43]MH_SAM_APDU [16:23:43]CAPDU: 80 13 01 00 [16:23:43]Write to MH i2c: E2 08 00 68 39 80 13 01 00 00 00 00 00 1E [16:23:43]Write i2c OK [16:23:43]MH_I2C_Read... [16:23:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:43]Read from MH i2c: E2 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 0E 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 0E 00 68 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 EC [16:23:43]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:23:43]wFMCommunicate OK [16:23:43]SAM_PROTO_GetShiftState done [16:23:43]FM_GetShiftState done [16:23:43]opened in 1729470630 [16:23:43]opened+sec_in_day 1729557030 [16:23:43]quantity*price = 150001 [16:23:43]sum+1 = 150002 [16:23:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.01 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.27 ÐДС 12% : 159.29 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 78 21.10.2024 16:24 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40810 ФПД: 54337341630870 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162400&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40810&fm=54337341630870&tin=02508201610067®Number=0000000000098148&sum=150000 [16:23:44]StoreToDocumentArchive [16:23:44]shift 448 fd 40810 [16:23:44]save to /storage/0448/doc_00040810 [16:23:44]save last doc name /storage/0448/doc_00040810 to /storage/kkm_last_doc_name [16:23:44]save OK [16:23:44]Clear old archive folders... [16:23:44]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:23:44]tlvbuf is 010BFD90 [16:23:44]SAM_PROTO_ClearQueue [16:23:44]wFMCommunicate request_size=4 [16:23:44]MH_SAM_APDU [16:23:44]CAPDU: 80 09 00 00 [16:23:44]Write to MH i2c: E2 08 00 75 39 80 09 00 00 00 00 00 00 20 [16:23:44]Write i2c OK [16:23:44]MH_I2C_Read... [16:23:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:23:44]Read from MH i2c: E2 [16:23:44]MH_I2C_Read... [16:23:44]Read from MH i2c: E2 03 00 [16:23:44]MH_I2C_Read... [16:23:44]Read from MH i2c: E2 03 00 75 39 00 90 00 22 [16:23:44]RAPDU: 90 00 [16:23:44]wFMCommunicate OK [16:23:44]SAM_PROTO_ClearQueue done [16:23:44]KKMCreateOFDPacket [16:23:44]OFDProtocolAddRootSTLVToBuf [16:23:44]FM_MakeSignedData [16:23:44]FM_MakeSignedData [16:23:44]SAM_PROTO_SignData [16:23:44]wFMCommunicate request_size=4 [16:23:44]MH_SAM_APDU [16:23:44]CAPDU: 80 0D 01 02 [16:23:44]Write to MH i2c: E2 08 00 76 39 80 0D 01 02 00 00 00 00 28 [16:23:44]Write i2c OK [16:23:44]MH_I2C_Read... [16:23:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:23:44]Read from MH i2c: E2 [16:23:44]MH_I2C_Read... [16:23:44]Read from MH i2c: E2 03 00 [16:23:44]MH_I2C_Read... [16:23:44]Read from MH i2c: E2 03 00 76 39 00 90 00 23 [16:23:44]RAPDU: 90 00 [16:23:44]wFMCommunicate OK [16:23:44]wFMCommunicate request_size=255 [16:23:44]MH_SAM_APDU [16:23:44]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 4E 00 00 00 F4 03 04 00 20 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6A 9F 00 00 35 04 06 00 [16:23:44]Write to MH i2c: E2 02 01 77 39 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 4E 00 00 00 F4 03 04 00 20 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6A 9F 00 00 35 04 06 00 00 00 B9 [16:23:44]Write i2c OK [16:23:44]MH_I2C_Read... [16:23:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:45]Read from MH i2c: E2 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 03 00 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 03 00 77 39 00 90 00 24 [16:23:45]RAPDU: 90 00 [16:23:45]wFMCommunicate OK [16:23:45]wFMCommunicate request_size=11 [16:23:45]MH_SAM_APDU [16:23:45]CAPDU: 80 0D 02 02 06 31 6B 65 F2 29 96 [16:23:45]Write to MH i2c: E2 0E 00 78 39 80 0D 02 02 06 00 31 6B 65 F2 29 96 00 00 E9 [16:23:45]Write i2c OK [16:23:45]MH_I2C_Read... [16:23:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:45]Read from MH i2c: E2 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 03 00 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 03 00 78 39 00 90 00 25 [16:23:45]RAPDU: 90 00 [16:23:45]wFMCommunicate OK [16:23:45]wFMCommunicate request_size=4 [16:23:45]MH_SAM_APDU [16:23:45]CAPDU: 80 0D 03 02 [16:23:45]Write to MH i2c: E2 08 00 79 39 80 0D 03 02 00 00 00 00 2D [16:23:45]Write i2c OK [16:23:45]MH_I2C_Read... [16:23:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:23:45]Read from MH i2c: E2 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 0B 00 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 0B 00 79 39 00 D6 6C 24 64 68 F6 75 6B 90 00 36 [16:23:45]RAPDU: D6 6C 24 64 68 F6 75 6B 90 00 [16:23:45]wFMCommunicate OK [16:23:45]SAM_PROTO_SignData done [16:23:45]FM_MakeSignedData done [16:23:45]CreateOFDProtocolMessage [16:23:45]wFMCommunicate request_size=4 [16:23:45]MH_SAM_APDU [16:23:45]CAPDU: 80 11 00 00 [16:23:45]Write to MH i2c: E2 08 00 7A 39 80 11 00 00 00 00 00 00 2D [16:23:45]Write i2c OK [16:23:45]MH_I2C_Read... [16:23:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:45]Read from MH i2c: E2 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 17 00 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: E2 17 00 7A 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 82 [16:23:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:23:45]wFMCommunicate OK [16:23:45]CreateOFDProtocolMessage done [16:23:45]OFDSenderStorePacket 40810 [16:23:45]StoreOFDPacket docnum=40810 [16:23:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D4 A4 08 01 80 AA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 4E 00 00 00 F4 03 04 00 20 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6A 9F 00 00 35 04 06 00 31 6B 65 F2 29 96 D6 6C 24 64 68 F6 75 6B [16:23:45]CheckFolder [16:23:45]dirname=/storage/ofd_packets [16:23:45]CheckFolder done [16:23:45]ProducePacketName [16:23:45]name=ofd_packets/00040810 [16:23:45]NVStorageSaveData ofd_packets/00040810 [16:23:45]File name is /storage/ofd_packets/00040810 [16:23:45]Write 302 bytes [16:23:45]NVStorageSaveData done [16:23:45]OFDSenderStorePacket done [16:23:45]KKMCreateOFDPacket done [16:23:45]NVStorageSaveData kkm_last_timestamp [16:23:45]File name is /storage/kkm_last_timestamp [16:23:45]Write 4 bytes [16:23:45]NVStorageSaveData done [16:23:45]ExternCall_PrintAddStr [16:23:45]wPrintStart [16:23:45]Write to MH i2c: 01 00 00 7B 39 B4 [16:23:45]Write i2c OK [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: 01 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: 01 07 00 [16:23:45]MH_I2C_Read... [16:23:45]Read from MH i2c: 01 07 00 7B 39 00 00 00 00 00 FF 0F C9 [16:23:45]RasterBufferAndPrint [16:23:45]line Счет N : (1)808934 [16:23:45]line ИÐÐ: 02508201610067 [16:23:45]line Контрольно-КаÑÑовый Чек [16:23:45]line ПРОДÐЖР[16:23:45]line ТРК (МРК, ГÐК) : 32 [16:23:45]line Товар: 2710124130 [16:23:45]line Super 92-К-5 [16:23:45]line 21.930 * 68.40 [16:23:45]line = 1500.01 [16:23:45]line ÐДС 12% ÐСП 1% [16:23:45]line > о реализуемом товаре [16:23:45]line ОКРУГЛЕÐИЕ: -0.01 [16:23:45]line ИТОГО: 1500.00 [16:23:45]line ВнеÑено: 1500.00 [16:23:45]line СДÐЧÐ: 0.00 [16:23:45]line ÐСП 1% : 13.27 [16:23:45]line ÐДС 12% : 159.29 [16:23:45]line Ðаличными: 1500.00 [16:23:45]line Безнал.: 0.00 [16:23:45]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:23:45]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:23:45]line СÐО: Общий режим [16:23:45]line Чек 78 21.10.2024 16:24 [16:23:45]line Смена: 448 ФФД: 1.0 [16:23:45]line ЗÐМ: 0300000239 [16:23:45]line РÐМ: 0000000000098148 [16:23:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:23:45]line ФМ: 0000000000965374 [16:23:45]line ФД: 40810 [16:23:45]line ФПД: 54337341630870 [16:23:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162400&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40810&fm=54337341630870&tin=02508201610067®Number=0000000000098148&sum=150000 [16:23:45]OFD Sender: Processing packet 40810 [packets to send 4, broken 3] [16:23:45]ProducePacketName [16:23:45]name=ofd_packets/00040810 [16:23:45]OFD Sender: To server: ‡•öpG, [16:23:45]CommunicateWithHost lk.salyk.kg:30040 [16:23:45]ConnectInit lk.salyk.kg [16:23:45]written 0, free lines is 4095 [16:23:45]Connected sock=10 [16:23:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D4 A4 08 01 80 AA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 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 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 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 4E 00 00 00 F4 03 04 00 20 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6A 9F 00 00 35 04 06 00 31 6B 65 F2 29 96 D6 6C 24 64 68 F6 75 6B [16:23:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 90 27 47 00 CC 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6A 9F 00 00 F4 03 04 00 00 26 16 67 B6 04 01 00 00 55 23 3F B4 84 73 2B B5 [16:23:46]CommunicateWithHost err = 0 [16:23:46]CheckOFDResponse [16:23:46]1017 (14) - 77093643461234 [16:23:46]1041 (16) - 0000000000965374 [16:23:46]1040 (4) - 40810 [16:23:46]1012 (4) - 21.10.2024 09:59 [16:23:46]1206 (1) - 0 [16:23:46]OFD Sender: Remove packet 40810 [16:23:46]ProducePacketName [16:23:46]name=ofd_packets/00040810 [16:23:46]NVStorageDeleteData [16:23:46]Write to MH i2c: 01 00 00 A6 39 DF [16:23:46]Write i2c OK [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: 01 [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: 01 07 00 [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: 01 07 00 A6 39 00 00 00 00 00 04 0D F7 [16:23:46]RasterBufferAndPrint [16:23:46]line [16:23:46]line [16:23:46]line [16:23:46]line [16:23:46]line [16:23:46]written 0, free lines is 3339 [16:23:46]MH_Cut [16:23:46]Write to MH i2c: D1 01 00 AD 39 01 B8 [16:23:46]Write i2c OK [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: D1 [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: D1 01 00 [16:23:46]MH_I2C_Read... [16:23:46]Read from MH i2c: D1 01 00 AD 39 00 B7 [16:23:46]Write to MH i2c: 01 00 00 AE 39 E7 [16:23:46]Write i2c OK [16:23:46]MH_I2C_Read... [16:23:46]OFD Sender: No OFD packet to send [16:23:46]*** Cut start [16:23:46]*** Partial cut [16:23:46]*** CUTSNS_PIN = 1 [16:23:46]*** CUTSNS_PIN = 0 [16:23:47]*** Brake cut motor [16:23:47]Read from MH i2c: 01 [16:23:47]MH_I2C_Read... [16:23:47]*** Stop cut motor [16:23:47]*** Cut end [16:23:47]Read from MH i2c: 01 07 00 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: 01 07 00 AE 39 00 00 00 00 00 FF 0F FC [16:23:47]process_action close_receipt done [16:23:47]requested_data is exist [16:23:47]produce_requested_data [16:23:47]requested_item fm.sn is exist - process it [16:23:47]wFMCommunicate request_size=4 [16:23:47]MH_SAM_APDU [16:23:47]CAPDU: 80 11 00 00 [16:23:47]Write to MH i2c: E2 08 00 AF 39 80 11 00 00 00 00 00 00 62 [16:23:47]Write i2c OK [16:23:47]MH_I2C_Read... [16:23:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:47]Read from MH i2c: E2 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 17 00 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 17 00 AF 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B7 [16:23:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:23:47]wFMCommunicate OK [16:23:47]requested_item fd.num is exist - process it [16:23:47]SAM_PROTO_GetFieldsCounters [16:23:47]wFMCommunicate request_size=4 [16:23:47]MH_SAM_APDU [16:23:47]CAPDU: 80 13 00 00 [16:23:47]Write to MH i2c: E2 08 00 B0 39 80 13 00 00 00 00 00 00 65 [16:23:47]Write i2c OK [16:23:47]MH_I2C_Read... [16:23:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:23:47]Read from MH i2c: E2 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 62 00 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 62 00 B0 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6A 9F 00 00 0E 04 04 00 C0 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 41 [16:23:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6A 9F 00 00 0E 04 04 00 C0 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 [16:23:47]wFMCommunicate OK [16:23:47]SAM_PROTO_GetFieldsCounters done [16:23:47]requested_item shift.num is exist - process it [16:23:47]requested_item shift.opened is exist - process it [16:23:47]req_shift_opened [16:23:47]FM_GetShiftState [16:23:47]SAM_PROTO_GetShiftState [16:23:47]wFMCommunicate request_size=4 [16:23:47]MH_SAM_APDU [16:23:47]CAPDU: 80 13 01 00 [16:23:47]Write to MH i2c: E2 08 00 B1 39 80 13 01 00 00 00 00 00 67 [16:23:47]Write i2c OK [16:23:47]MH_I2C_Read... [16:23:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:47]Read from MH i2c: E2 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 0E 00 [16:23:47]MH_I2C_Read... [16:23:47]Read from MH i2c: E2 0E 00 B1 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 35 [16:23:47]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:23:47]wFMCommunicate OK [16:23:47]SAM_PROTO_GetShiftState done [16:23:47]FM_GetShiftState done [16:23:47]req_shift_opened done [16:23:47]requested_item shift.open_date is exist - process it [16:23:47]req_shift_open_date [16:23:47]req_shift_open_date done [16:23:47]produce_requested_data done [16:23:47]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40810,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:23:47]process_action_free close_receipt [16:23:47]json_value_free [16:23:47]json_value_free done [16:23:47]process_json_proto returns [16:23:47]Send response to host [16:23:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40810,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:23:47]free response buf [16:23:47]execute_script done [16:23:47]execute_script returns [16:23:47]free content buf [16:23:47]Sock 9.Close socket [16:23:47]Sock 9.Thread stoped [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:04]accept exits with 7 [16:25:04]New connection [16:25:04]New thread 3067030884 created [16:25:04]Thread 3066887524 joined [16:25:04]Waiting for new connection... [16:25:04] Sock 7.Parse request [16:25:04]Sock 7.Check first char [16:25:04]Sock 7.First char is OK [16:25:04]request: POST /json_proto HTTP/1.0 [16:25:04]Method: POST [16:25:04]URL: /json_proto [16:25:04]Method is POST - this is cgi request [16:25:04]url: /json_proto [16:25:04]query_string will be loaded in cgi processing [16:25:04]execute_cgi json_proto POST (null) [16:25:04]execute_cgi path=json_proto method=POST [16:25:04]POST find Content-Length [16:25:04]Host: 172.17.53.4:8080 [16:25:04]Content-Length: 682 [16:25:04]Content-Type: application/json [16:25:04] [16:25:04]POST finish read [16:25:04]Found Content-Length = 682 [16:25:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808935", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:04]execute_script... [16:25:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808935", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:04]POST & json_proto [16:25:04]process_json_proto [16:25:04]json parsed OK: [16:25:04]protocol is kg_v1.0 [16:25:04]action value=close_receipt [16:25:04]process_action close_receipt [16:25:04]cmd_close_receipt [16:25:04]MH_GetDate [16:25:04]Write to MH i2c: F0 00 00 B2 39 DA [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: F0 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: F0 09 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: F0 09 00 B2 39 00 70 80 16 67 05 11 DA 64 A4 [16:25:04]GetLastDocTimeStamp 1729527840 [16:25:04]current date 1729527920 [16:25:04]FM_GetShiftState [16:25:04]SAM_PROTO_GetShiftState [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 13 01 00 [16:25:04]Write to MH i2c: E2 08 00 B3 39 80 13 01 00 00 00 00 00 69 [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 0E 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 0E 00 B3 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 37 [16:25:04]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:25:04]wFMCommunicate OK [16:25:04]SAM_PROTO_GetShiftState done [16:25:04]FM_GetShiftState done [16:25:04]opened in 1729470630 [16:25:04]opened+sec_in_day 1729557030 [16:25:04]quantity*price = 100015 [16:25:04]sum+1 = 100017 [16:25:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.16 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 79 21.10.2024 16:25 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40811 ФПД: 108732745639908 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162520&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40811&fm=108732745639908&tin=02508201610067®Number=0000000000098148&sum=100000 [16:25:05]StoreToDocumentArchive [16:25:05]shift 448 fd 40811 [16:25:05]save to /storage/0448/doc_00040811 [16:25:05]save last doc name /storage/0448/doc_00040811 to /storage/kkm_last_doc_name [16:25:05]save OK [16:25:05]Clear old archive folders... [16:25:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:25:05]tlvbuf is B6F6B670 [16:25:05]SAM_PROTO_ClearQueue [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 09 00 00 [16:25:05]Write to MH i2c: E2 08 00 C0 39 80 09 00 00 00 00 00 00 6B [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 C0 39 00 90 00 6D [16:25:05]RAPDU: 90 00 [16:25:05]wFMCommunicate OK [16:25:05]SAM_PROTO_ClearQueue done [16:25:05]KKMCreateOFDPacket [16:25:05]OFDProtocolAddRootSTLVToBuf [16:25:05]FM_MakeSignedData [16:25:05]FM_MakeSignedData [16:25:05]SAM_PROTO_SignData [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 0D 01 02 [16:25:05]Write to MH i2c: E2 08 00 C1 39 80 0D 01 02 00 00 00 00 73 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 C1 39 00 90 00 6E [16:25:05]RAPDU: 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=255 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6B 9F 00 00 35 04 06 00 62 [16:25:05]Write to MH i2c: E2 02 01 C2 39 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6B 9F 00 00 35 04 06 00 62 00 00 EC [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 C2 39 00 90 00 6F [16:25:05]RAPDU: 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=10 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 0D 02 02 05 E4 50 AD E7 E4 [16:25:05]Write to MH i2c: E2 0D 00 C3 39 80 0D 02 02 05 00 E4 50 AD E7 E4 00 00 2C [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 C3 39 00 90 00 70 [16:25:05]RAPDU: 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 0D 03 02 [16:25:05]Write to MH i2c: E2 08 00 C4 39 80 0D 03 02 00 00 00 00 78 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 0B 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 0B 00 C4 39 00 E5 45 03 6C 80 37 FD 4E 90 00 14 [16:25:05]RAPDU: E5 45 03 6C 80 37 FD 4E 90 00 [16:25:05]wFMCommunicate OK [16:25:05]SAM_PROTO_SignData done [16:25:05]FM_MakeSignedData done [16:25:05]CreateOFDProtocolMessage [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 11 00 00 [16:25:05]Write to MH i2c: E2 08 00 C5 39 80 11 00 00 00 00 00 00 78 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 17 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 17 00 C5 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 CD [16:25:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:25:05]wFMCommunicate OK [16:25:05]CreateOFDProtocolMessage done [16:25:05]OFDSenderStorePacket 40811 [16:25:05]StoreOFDPacket docnum=40811 [16:25:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 38 CE 07 01 6F 55 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6B 9F 00 00 35 04 06 00 62 E4 50 AD E7 E4 E5 45 03 6C 80 37 FD 4E [16:25:05]CheckFolder [16:25:05]dirname=/storage/ofd_packets [16:25:05]CheckFolder done [16:25:05]ProducePacketName [16:25:05]name=ofd_packets/00040811 [16:25:05]NVStorageSaveData ofd_packets/00040811 [16:25:05]File name is /storage/ofd_packets/00040811 [16:25:05]Write 301 bytes [16:25:05]NVStorageSaveData done [16:25:05]OFDSenderStorePacket done [16:25:05]KKMCreateOFDPacket done [16:25:05]NVStorageSaveData kkm_last_timestamp [16:25:05]File name is /storage/kkm_last_timestamp [16:25:05]Write 4 bytes [16:25:05]NVStorageSaveData done [16:25:05]ExternCall_PrintAddStr [16:25:05]wPrintStart [16:25:05]Write to MH i2c: 01 00 00 C6 39 FF [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 07 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 07 00 C6 39 00 00 00 00 00 FF 0F 14 [16:25:05]RasterBufferAndPrint [16:25:05]line Счет N : (1)808935 [16:25:05]line ИÐÐ: 02508201610067 [16:25:05]line Контрольно-КаÑÑовый Чек [16:25:05]line ПРОДÐЖР[16:25:05]line ТРК (МРК, ГÐК) : 43 [16:25:05]line Товар: 2710124130 [16:25:05]line Ðи-92-К-5 [16:25:05]line 14.950 * 66.90 [16:25:05]line = 1000.16 [16:25:05]line ÐДС 12% ÐСП 1% [16:25:05]line > о реализуемом товаре [16:25:05]line ОКРУГЛЕÐИЕ: -0.16 [16:25:05]line ИТОГО: 1000.00 [16:25:05]line Ð’неÑено: 1000.00 [16:25:05]line СДÐЧÐ: 0.00 [16:25:05]line ÐСП 1% : 8.85 [16:25:05]line ÐДС 12% : 106.21 [16:25:05]line Ðаличными: 1000.00 [16:25:05]line Безнал.: 0.00 [16:25:05]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:25:05]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:25:05]line СÐО: Общий режим [16:25:05]line Чек 79 21.10.2024 16:25 [16:25:05]line Смена: 448 ФФД: 1.0 [16:25:05]line ЗÐМ: 0300000239 [16:25:05]line РÐМ: 0000000000098148 [16:25:05]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:25:05]line ФМ: 0000000000965374 [16:25:05]line ФД: 40811 [16:25:05]line ФПД: 108732745639908 [16:25:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162520&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40811&fm=108732745639908&tin=02508201610067®Number=0000000000098148&sum=100000 [16:25:06]OFD Sender: Processing packet 40811 [packets to send 4, broken 3] [16:25:06]ProducePacketName [16:25:06]name=ofd_packets/00040811 [16:25:06]OFD Sender: To server: ‡•öpG, [16:25:06]CommunicateWithHost lk.salyk.kg:30040 [16:25:06]ConnectInit lk.salyk.kg [16:25:06]written 0, free lines is 4095 [16:25:06]Connected sock=10 [16:25:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 38 CE 07 01 6F 55 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 70 80 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6B 9F 00 00 35 04 06 00 62 E4 50 AD E7 E4 E5 45 03 6C 80 37 FD 4E [16:25:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 33 93 47 00 8E C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6B 9F 00 00 F4 03 04 00 50 26 16 67 B6 04 01 00 00 11 28 2E 75 57 DF 37 2C [16:25:06]CommunicateWithHost err = 0 [16:25:06]CheckOFDResponse [16:25:06]1017 (14) - 77093643461234 [16:25:06]1041 (16) - 0000000000965374 [16:25:06]1040 (4) - 40811 [16:25:06]1012 (4) - 21.10.2024 10:00 [16:25:06]1206 (1) - 0 [16:25:06]OFD Sender: Remove packet 40811 [16:25:06]ProducePacketName [16:25:06]name=ofd_packets/00040811 [16:25:06]NVStorageDeleteData [16:25:06]Write to MH i2c: 01 00 00 F1 39 2A [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 07 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 07 00 F1 39 00 00 00 00 00 F5 0C 32 [16:25:06]RasterBufferAndPrint [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]written 0, free lines is 3323 [16:25:06]MH_Cut [16:25:06]Write to MH i2c: D1 01 00 F8 39 01 03 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: D1 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: D1 01 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: D1 01 00 F8 39 00 02 [16:25:06]Write to MH i2c: 01 00 00 F9 39 32 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]OFD Sender: No OFD packet to send [16:25:07]*** Cut start [16:25:07]*** Partial cut [16:25:07]*** CUTSNS_PIN = 1 [16:25:07]*** CUTSNS_PIN = 0 [16:25:07]*** Brake cut motor [16:25:07]Read from MH i2c: 01 [16:25:07]MH_I2C_Read... [16:25:07]*** Stop cut motor [16:25:07]*** Cut end [16:25:07]Read from MH i2c: 01 07 00 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: 01 07 00 F9 39 00 00 00 00 00 FF 0F 47 [16:25:07]process_action close_receipt done [16:25:07]requested_data is exist [16:25:07]produce_requested_data [16:25:07]requested_item fm.sn is exist - process it [16:25:07]wFMCommunicate request_size=4 [16:25:07]MH_SAM_APDU [16:25:07]CAPDU: 80 11 00 00 [16:25:07]Write to MH i2c: E2 08 00 FA 39 80 11 00 00 00 00 00 00 AD [16:25:07]Write i2c OK [16:25:07]MH_I2C_Read... [16:25:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:07]Read from MH i2c: E2 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 17 00 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 17 00 FA 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 02 [16:25:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:25:07]wFMCommunicate OK [16:25:07]requested_item fd.num is exist - process it [16:25:07]SAM_PROTO_GetFieldsCounters [16:25:07]wFMCommunicate request_size=4 [16:25:07]MH_SAM_APDU [16:25:07]CAPDU: 80 13 00 00 [16:25:07]Write to MH i2c: E2 08 00 FB 39 80 13 00 00 00 00 00 00 B0 [16:25:07]Write i2c OK [16:25:07]MH_I2C_Read... [16:25:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:07]Read from MH i2c: E2 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 62 00 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 62 00 FB 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6B 9F 00 00 0E 04 04 00 C0 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 90 [16:25:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6B 9F 00 00 0E 04 04 00 C0 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 [16:25:07]wFMCommunicate OK [16:25:07]SAM_PROTO_GetFieldsCounters done [16:25:07]requested_item shift.num is exist - process it [16:25:07]requested_item shift.opened is exist - process it [16:25:07]req_shift_opened [16:25:07]FM_GetShiftState [16:25:07]SAM_PROTO_GetShiftState [16:25:07]wFMCommunicate request_size=4 [16:25:07]MH_SAM_APDU [16:25:07]CAPDU: 80 13 01 00 [16:25:07]Write to MH i2c: E2 08 00 FC 39 80 13 01 00 00 00 00 00 B2 [16:25:07]Write i2c OK [16:25:07]MH_I2C_Read... [16:25:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:08]Read from MH i2c: E2 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 0E 00 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 0E 00 FC 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 80 [16:25:08]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:25:08]wFMCommunicate OK [16:25:08]SAM_PROTO_GetShiftState done [16:25:08]FM_GetShiftState done [16:25:08]req_shift_opened done [16:25:08]requested_item shift.open_date is exist - process it [16:25:08]req_shift_open_date [16:25:08]req_shift_open_date done [16:25:08]produce_requested_data done [16:25:08]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40811,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:25:08]process_action_free close_receipt [16:25:08]json_value_free [16:25:08]json_value_free done [16:25:08]process_json_proto returns [16:25:08]Send response to host [16:25:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40811,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:25:08]free response buf [16:25:08]execute_script done [16:25:08]execute_script returns [16:25:08]free content buf [16:25:08]Sock 7.Close socket [16:25:08]Sock 7.Thread stoped [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:03]accept exits with 9 [16:28:03]New connection [16:28:03]New thread 3066887524 created [16:28:03]Thread 3067030884 joined [16:28:03]Waiting for new connection... [16:28:03] Sock 9.Parse request [16:28:03]Sock 9.Check first char [16:28:03]Sock 9.First char is OK [16:28:03]request: POST /json_proto HTTP/1.0 [16:28:03]Method: POST [16:28:03]URL: /json_proto [16:28:03]Method is POST - this is cgi request [16:28:03]url: /json_proto [16:28:03]query_string will be loaded in cgi processing [16:28:03]execute_cgi json_proto POST (null) [16:28:03]execute_cgi path=json_proto method=POST [16:28:03]POST find Content-Length [16:28:03]Host: 172.17.53.4:8080 [16:28:03]Content-Length: 632 [16:28:03]Content-Type: application/json [16:28:03] [16:28:03]POST finish read [16:28:03]Found Content-Length = 632 [16:28:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808937", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:03]execute_script... [16:28:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808937", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:03]POST & json_proto [16:28:03]process_json_proto [16:28:03]json parsed OK: [16:28:03]protocol is kg_v1.0 [16:28:03]action value=close_receipt [16:28:03]process_action close_receipt [16:28:03]cmd_close_receipt [16:28:03]MH_GetDate [16:28:03]Write to MH i2c: F0 00 00 FD 39 25 [16:28:03]Write i2c OK [16:28:03]MH_I2C_Read... [16:28:03]Read from MH i2c: F0 [16:28:03]MH_I2C_Read... [16:28:03]Read from MH i2c: F0 09 00 [16:28:03]MH_I2C_Read... [16:28:03]Read from MH i2c: F0 09 00 FD 39 00 23 81 16 67 05 11 DA 64 A3 [16:28:03]GetLastDocTimeStamp 1729527920 [16:28:03]current date 1729528099 [16:28:03]FM_GetShiftState [16:28:03]SAM_PROTO_GetShiftState [16:28:03]wFMCommunicate request_size=4 [16:28:03]MH_SAM_APDU [16:28:03]CAPDU: 80 13 01 00 [16:28:03]Write to MH i2c: E2 08 00 FE 39 80 13 01 00 00 00 00 00 B4 [16:28:03]Write i2c OK [16:28:03]MH_I2C_Read... [16:28:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:03]Read from MH i2c: E2 [16:28:03]MH_I2C_Read... [16:28:03]Read from MH i2c: E2 0E 00 [16:28:03]MH_I2C_Read... [16:28:03]Read from MH i2c: E2 0E 00 FE 39 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 82 [16:28:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:28:03]wFMCommunicate OK [16:28:03]SAM_PROTO_GetShiftState done [16:28:03]FM_GetShiftState done [16:28:03]opened in 1729470630 [16:28:03]opened+sec_in_day 1729557030 [16:28:03]quantity*price = 50000 [16:28:03]sum+1 = 50001 [16:28:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 ÐСП 1% : 4.42 ÐДС 12% : 53.10 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 80 21.10.2024 16:28 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40812 ФПД: 99655023883506 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162820&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40812&fm=99655023883506&tin=02508201610067®Number=0000000000098148&sum=50000 [16:28:04]StoreToDocumentArchive [16:28:04]shift 448 fd 40812 [16:28:04]save to /storage/0448/doc_00040812 [16:28:04]save last doc name /storage/0448/doc_00040812 to /storage/kkm_last_doc_name [16:28:04]save OK [16:28:04]Clear old archive folders... [16:28:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:28:04]tlvbuf is 010AE390 [16:28:04]SAM_PROTO_ClearQueue [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 09 00 00 [16:28:04]Write to MH i2c: E2 08 00 0B 3A 80 09 00 00 00 00 00 00 B7 [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 0B 3A 00 90 00 B9 [16:28:04]RAPDU: 90 00 [16:28:04]wFMCommunicate OK [16:28:04]SAM_PROTO_ClearQueue done [16:28:04]KKMCreateOFDPacket [16:28:04]OFDProtocolAddRootSTLVToBuf [16:28:04]FM_MakeSignedData [16:28:04]FM_MakeSignedData [16:28:04]SAM_PROTO_SignData [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 0D 01 02 [16:28:04]Write to MH i2c: E2 08 00 0C 3A 80 0D 01 02 00 00 00 00 BF [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 0C 3A 00 90 00 BA [16:28:04]RAPDU: 90 00 [16:28:04]wFMCommunicate OK [16:28:04]wFMCommunicate request_size=255 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 24 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6C 9F 00 00 35 04 06 00 [16:28:04]Write to MH i2c: E2 02 01 0D 3A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 24 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6C 9F 00 00 35 04 06 00 00 00 6D [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 0D 3A 00 90 00 BB [16:28:04]RAPDU: 90 00 [16:28:04]wFMCommunicate OK [16:28:04]wFMCommunicate request_size=11 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 0D 02 02 06 5A A2 BE 4C 74 F2 [16:28:04]Write to MH i2c: E2 0E 00 0E 3A 80 0D 02 02 06 00 5A A2 BE 4C 74 F2 00 00 3A [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 03 00 0E 3A 00 90 00 BC [16:28:04]RAPDU: 90 00 [16:28:04]wFMCommunicate OK [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 0D 03 02 [16:28:04]Write to MH i2c: E2 08 00 0F 3A 80 0D 03 02 00 00 00 00 C4 [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0B 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0B 00 0F 3A 00 5D 08 20 57 9F 10 43 3E 90 00 D1 [16:28:04]RAPDU: 5D 08 20 57 9F 10 43 3E 90 00 [16:28:04]wFMCommunicate OK [16:28:04]SAM_PROTO_SignData done [16:28:04]FM_MakeSignedData done [16:28:04]CreateOFDProtocolMessage [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 11 00 00 [16:28:04]Write to MH i2c: E2 08 00 10 3A 80 11 00 00 00 00 00 00 C4 [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 17 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 17 00 10 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 19 [16:28:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:28:04]wFMCommunicate OK [16:28:04]CreateOFDProtocolMessage done [16:28:04]OFDSenderStorePacket 40812 [16:28:04]StoreOFDPacket docnum=40812 [16:28:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 13 81 08 01 D6 B0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 24 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6C 9F 00 00 35 04 06 00 5A A2 BE 4C 74 F2 5D 08 20 57 9F 10 43 3E [16:28:04]CheckFolder [16:28:04]dirname=/storage/ofd_packets [16:28:04]CheckFolder done [16:28:04]ProducePacketName [16:28:04]name=ofd_packets/00040812 [16:28:04]NVStorageSaveData ofd_packets/00040812 [16:28:04]File name is /storage/ofd_packets/00040812 [16:28:04]Write 302 bytes [16:28:04]NVStorageSaveData done [16:28:04]OFDSenderStorePacket done [16:28:04]KKMCreateOFDPacket done [16:28:04]NVStorageSaveData kkm_last_timestamp [16:28:04]File name is /storage/kkm_last_timestamp [16:28:04]Write 4 bytes [16:28:04]NVStorageSaveData done [16:28:04]ExternCall_PrintAddStr [16:28:04]wPrintStart [16:28:04]Write to MH i2c: 01 00 00 11 3A 4B [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: 01 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: 01 07 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: 01 07 00 11 3A 00 00 00 00 00 FF 0F 60 [16:28:04]RasterBufferAndPrint [16:28:04]line Счет N : (1)808937 [16:28:04]line ИÐÐ: 02508201610067 [16:28:04]line Контрольно-КаÑÑовый Чек [16:28:04]line ПРОДÐЖР[16:28:04]line ТРК (МРК, ГÐК) : 52 [16:28:04]line Товар: 2710124130 [16:28:04]line Super 92-К-5 [16:28:04]line 7.310 * 68.40 [16:28:04]line = 500.00 [16:28:04]line ÐДС 12% ÐСП 1% [16:28:04]line > о реализуемом товаре [16:28:04]line ИТОГО: 500.00 [16:28:04]line ÐСП 1% : 4.42 [16:28:04]line ÐДС 12% : 53.10 [16:28:04]line Ðаличными: 500.00 [16:28:04]line Безнал.: 0.00 [16:28:04]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:28:04]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:28:04]line СÐО: Общий режим [16:28:04]line Чек 80 21.10.2024 16:28 [16:28:04]line Смена: 448 ФФД: 1.0 [16:28:04]line ЗÐМ: 0300000239 [16:28:04]line РÐМ: 0000000000098148 [16:28:04]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:28:04]line ФМ: 0000000000965374 [16:28:04]line ФД: 40812 [16:28:04]line ФПД: 99655023883506 [16:28:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162820&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40812&fm=99655023883506&tin=02508201610067®Number=0000000000098148&sum=50000 [16:28:05]OFD Sender: Processing packet 40812 [packets to send 4, broken 3] [16:28:05]ProducePacketName [16:28:05]name=ofd_packets/00040812 [16:28:05]OFD Sender: To server: ‡•öpG, [16:28:05]CommunicateWithHost lk.salyk.kg:30040 [16:28:05]ConnectInit lk.salyk.kg [16:28:05]written 0, free lines is 4095 [16:28:05]Connected sock=10 [16:28:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 13 81 08 01 D6 B0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 24 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6C 9F 00 00 35 04 06 00 5A A2 BE 4C 74 F2 5D 08 20 57 9F 10 43 3E [16:28:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 72 4E 47 00 06 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6C 9F 00 00 F4 03 04 00 03 27 16 67 B6 04 01 00 00 52 A9 EE DD 99 84 F6 2E [16:28:05]CommunicateWithHost err = 0 [16:28:05]CheckOFDResponse [16:28:05]1017 (14) - 77093643461234 [16:28:05]1041 (16) - 0000000000965374 [16:28:05]1040 (4) - 40812 [16:28:05]1012 (4) - 21.10.2024 10:03 [16:28:05]1206 (1) - 0 [16:28:05]OFD Sender: Remove packet 40812 [16:28:05]ProducePacketName [16:28:05]name=ofd_packets/00040812 [16:28:05]NVStorageDeleteData [16:28:05]Write to MH i2c: 01 00 00 39 3A 73 [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: 01 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: 01 07 00 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: 01 07 00 39 3A 00 00 00 00 00 1F 0D A6 [16:28:05]RasterBufferAndPrint [16:28:05]line [16:28:05]line [16:28:05]line [16:28:05]line [16:28:05]line [16:28:05]written 0, free lines is 3365 [16:28:05]MH_Cut [16:28:05]Write to MH i2c: D1 01 00 40 3A 01 4C [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: D1 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: D1 01 00 [16:28:05]MH_I2C_Read... [16:28:05]Read from MH i2c: D1 01 00 40 3A 00 4B [16:28:05]Write to MH i2c: 01 00 00 41 3A 7B [16:28:05]Write i2c OK [16:28:05]MH_I2C_Read... [16:28:06]OFD Sender: No OFD packet to send [16:28:06]*** Cut start [16:28:06]*** Partial cut [16:28:06]*** CUTSNS_PIN = 1 [16:28:06]*** CUTSNS_PIN = 0 [16:28:06]*** Brake cut motor [16:28:06]Read from MH i2c: 01 [16:28:06]MH_I2C_Read... [16:28:06]*** Stop cut motor [16:28:06]*** Cut end [16:28:06]Read from MH i2c: 01 07 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: 01 07 00 41 3A 00 00 00 00 00 FF 0F 90 [16:28:06]process_action close_receipt done [16:28:06]requested_data is exist [16:28:06]produce_requested_data [16:28:06]requested_item fm.sn is exist - process it [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 11 00 00 [16:28:06]Write to MH i2c: E2 08 00 42 3A 80 11 00 00 00 00 00 00 F6 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 42 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 4B [16:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:28:06]wFMCommunicate OK [16:28:06]requested_item fd.num is exist - process it [16:28:06]SAM_PROTO_GetFieldsCounters [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 13 00 00 [16:28:06]Write to MH i2c: E2 08 00 43 3A 80 13 00 00 00 00 00 00 F9 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:28:07]Read from MH i2c: E2 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: E2 62 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: E2 62 00 43 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6C 9F 00 00 0E 04 04 00 C0 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 DD [16:28:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6C 9F 00 00 0E 04 04 00 C0 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 [16:28:07]wFMCommunicate OK [16:28:07]SAM_PROTO_GetFieldsCounters done [16:28:07]requested_item shift.num is exist - process it [16:28:07]requested_item shift.opened is exist - process it [16:28:07]req_shift_opened [16:28:07]FM_GetShiftState [16:28:07]SAM_PROTO_GetShiftState [16:28:07]wFMCommunicate request_size=4 [16:28:07]MH_SAM_APDU [16:28:07]CAPDU: 80 13 01 00 [16:28:07]Write to MH i2c: E2 08 00 44 3A 80 13 01 00 00 00 00 00 FB [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:07]Read from MH i2c: E2 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: E2 0E 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: E2 0E 00 44 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C9 [16:28:07]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:28:07]wFMCommunicate OK [16:28:07]SAM_PROTO_GetShiftState done [16:28:07]FM_GetShiftState done [16:28:07]req_shift_opened done [16:28:07]requested_item shift.open_date is exist - process it [16:28:07]req_shift_open_date [16:28:07]req_shift_open_date done [16:28:07]produce_requested_data done [16:28:07]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40812,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:28:07]process_action_free close_receipt [16:28:07]json_value_free [16:28:07]json_value_free done [16:28:07]process_json_proto returns [16:28:07]Send response to host [16:28:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40812,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:28:07]free response buf [16:28:07]execute_script done [16:28:07]execute_script returns [16:28:07]free content buf [16:28:07]Sock 9.Close socket [16:28:07]Sock 9.Thread stoped [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:25]accept exits with 7 [16:29:25]New connection [16:29:25]New thread 3067030884 created [16:29:25]Thread 3066887524 joined [16:29:25]Waiting for new connection... [16:29:25] Sock 7.Parse request [16:29:25]Sock 7.Check first char [16:29:25]Sock 7.First char is OK [16:29:25]request: POST /json_proto HTTP/1.0 [16:29:25]Method: POST [16:29:25]URL: /json_proto [16:29:25]Method is POST - this is cgi request [16:29:25]url: /json_proto [16:29:25]query_string will be loaded in cgi processing [16:29:25]execute_cgi json_proto POST (null) [16:29:25]execute_cgi path=json_proto method=POST [16:29:25]POST find Content-Length [16:29:25]Host: 172.17.53.4:8080 [16:29:25]Content-Length: 670 [16:29:25]Content-Type: application/json [16:29:25] [16:29:25]POST finish read [16:29:25]Found Content-Length = 670 [16:29:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808938", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:25]execute_script... [16:29:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808938", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:25]POST & json_proto [16:29:25]process_json_proto [16:29:25]json parsed OK: [16:29:25]protocol is kg_v1.0 [16:29:25]action value=close_receipt [16:29:25]process_action close_receipt [16:29:25]cmd_close_receipt [16:29:25]MH_GetDate [16:29:25]Write to MH i2c: F0 00 00 45 3A 6E [16:29:25]Write i2c OK [16:29:25]MH_I2C_Read... [16:29:25]Read from MH i2c: F0 [16:29:25]MH_I2C_Read... [16:29:25]Read from MH i2c: F0 09 00 [16:29:25]MH_I2C_Read... [16:29:25]Read from MH i2c: F0 09 00 45 3A 00 76 81 16 67 05 11 DA 64 3F [16:29:25]GetLastDocTimeStamp 1729528100 [16:29:25]current date 1729528182 [16:29:25]FM_GetShiftState [16:29:25]SAM_PROTO_GetShiftState [16:29:25]wFMCommunicate request_size=4 [16:29:25]MH_SAM_APDU [16:29:25]CAPDU: 80 13 01 00 [16:29:25]Write to MH i2c: E2 08 00 46 3A 80 13 01 00 00 00 00 00 FD [16:29:25]Write i2c OK [16:29:25]MH_I2C_Read... [16:29:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:25]Read from MH i2c: E2 [16:29:25]MH_I2C_Read... [16:29:25]Read from MH i2c: E2 0E 00 [16:29:25]MH_I2C_Read... [16:29:25]Read from MH i2c: E2 0E 00 46 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 CB [16:29:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:29:25]wFMCommunicate OK [16:29:25]SAM_PROTO_GetShiftState done [16:29:25]FM_GetShiftState done [16:29:25]opened in 1729470630 [16:29:25]opened+sec_in_day 1729557030 [16:29:25]quantity*price = 60055 [16:29:25]sum+1 = 60056 [16:29:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.55 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.77 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 81 21.10.2024 16:29 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40813 ФПД: 147665364323890 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162942&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40813&fm=147665364323890&tin=02508201610067®Number=0000000000098148&sum=60000 [16:29:26]StoreToDocumentArchive [16:29:26]shift 448 fd 40813 [16:29:26]save to /storage/0448/doc_00040813 [16:29:26]save last doc name /storage/0448/doc_00040813 to /storage/kkm_last_doc_name [16:29:26]save OK [16:29:26]Clear old archive folders... [16:29:26]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:29:26]tlvbuf is 010B66A0 [16:29:26]SAM_PROTO_ClearQueue [16:29:26]wFMCommunicate request_size=4 [16:29:26]MH_SAM_APDU [16:29:26]CAPDU: 80 09 00 00 [16:29:26]Write to MH i2c: E2 08 00 53 3A 80 09 00 00 00 00 00 00 FF [16:29:26]Write i2c OK [16:29:26]MH_I2C_Read... [16:29:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:29:26]Read from MH i2c: E2 [16:29:26]MH_I2C_Read... [16:29:26]Read from MH i2c: E2 03 00 [16:29:26]MH_I2C_Read... [16:29:26]Read from MH i2c: E2 03 00 53 3A 00 90 00 01 [16:29:26]RAPDU: 90 00 [16:29:26]wFMCommunicate OK [16:29:26]SAM_PROTO_ClearQueue done [16:29:26]KKMCreateOFDPacket [16:29:26]OFDProtocolAddRootSTLVToBuf [16:29:26]FM_MakeSignedData [16:29:26]FM_MakeSignedData [16:29:26]SAM_PROTO_SignData [16:29:26]wFMCommunicate request_size=4 [16:29:26]MH_SAM_APDU [16:29:26]CAPDU: 80 0D 01 02 [16:29:26]Write to MH i2c: E2 08 00 54 3A 80 0D 01 02 00 00 00 00 07 [16:29:26]Write i2c OK [16:29:26]MH_I2C_Read... [16:29:26]Read from MH i2c: E2 [16:29:26]MH_I2C_Read... [16:29:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:29:26]Read from MH i2c: E2 03 00 [16:29:26]MH_I2C_Read... [16:29:26]Read from MH i2c: E2 03 00 54 3A 00 90 00 02 [16:29:26]RAPDU: 90 00 [16:29:26]wFMCommunicate OK [16:29:26]wFMCommunicate request_size=255 [16:29:26]MH_SAM_APDU [16:29:26]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 76 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6D 9F 00 00 35 04 06 00 [16:29:26]Write to MH i2c: E2 02 01 55 3A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 76 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6D 9F 00 00 35 04 06 00 00 00 32 [16:29:26]Write i2c OK [16:29:26]MH_I2C_Read... [16:29:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:29:27]Read from MH i2c: E2 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 03 00 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 03 00 55 3A 00 90 00 03 [16:29:27]RAPDU: 90 00 [16:29:27]wFMCommunicate OK [16:29:27]wFMCommunicate request_size=11 [16:29:27]MH_SAM_APDU [16:29:27]CAPDU: 80 0D 02 02 06 86 4D 05 96 0E 32 [16:29:27]Write to MH i2c: E2 0E 00 56 3A 80 0D 02 02 06 00 86 4D 05 96 0E 32 00 00 C4 [16:29:27]Write i2c OK [16:29:27]MH_I2C_Read... [16:29:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:29:27]Read from MH i2c: E2 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 03 00 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 03 00 56 3A 00 90 00 04 [16:29:27]RAPDU: 90 00 [16:29:27]wFMCommunicate OK [16:29:27]wFMCommunicate request_size=4 [16:29:27]MH_SAM_APDU [16:29:27]CAPDU: 80 0D 03 02 [16:29:27]Write to MH i2c: E2 08 00 57 3A 80 0D 03 02 00 00 00 00 0C [16:29:27]Write i2c OK [16:29:27]MH_I2C_Read... [16:29:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:29:27]Read from MH i2c: E2 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 0B 00 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 0B 00 57 3A 00 E7 7A F8 59 76 FA ED 2B 90 00 47 [16:29:27]RAPDU: E7 7A F8 59 76 FA ED 2B 90 00 [16:29:27]wFMCommunicate OK [16:29:27]SAM_PROTO_SignData done [16:29:27]FM_MakeSignedData done [16:29:27]CreateOFDProtocolMessage [16:29:27]wFMCommunicate request_size=4 [16:29:27]MH_SAM_APDU [16:29:27]CAPDU: 80 11 00 00 [16:29:27]Write to MH i2c: E2 08 00 58 3A 80 11 00 00 00 00 00 00 0C [16:29:27]Write i2c OK [16:29:27]MH_I2C_Read... [16:29:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:29:27]Read from MH i2c: E2 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 17 00 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: E2 17 00 58 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 61 [16:29:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:29:27]wFMCommunicate OK [16:29:27]CreateOFDProtocolMessage done [16:29:27]OFDSenderStorePacket 40813 [16:29:27]StoreOFDPacket docnum=40813 [16:29:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 0E 09 08 01 54 45 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 76 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6D 9F 00 00 35 04 06 00 86 4D 05 96 0E 32 E7 7A F8 59 76 FA ED 2B [16:29:27]CheckFolder [16:29:27]dirname=/storage/ofd_packets [16:29:27]CheckFolder done [16:29:27]ProducePacketName [16:29:27]name=ofd_packets/00040813 [16:29:27]NVStorageSaveData ofd_packets/00040813 [16:29:27]File name is /storage/ofd_packets/00040813 [16:29:27]Write 302 bytes [16:29:27]NVStorageSaveData done [16:29:27]OFDSenderStorePacket done [16:29:27]KKMCreateOFDPacket done [16:29:27]NVStorageSaveData kkm_last_timestamp [16:29:27]File name is /storage/kkm_last_timestamp [16:29:27]Write 4 bytes [16:29:27]NVStorageSaveData done [16:29:27]ExternCall_PrintAddStr [16:29:27]wPrintStart [16:29:27]Write to MH i2c: 01 00 00 59 3A 93 [16:29:27]Write i2c OK [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: 01 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: 01 07 00 [16:29:27]MH_I2C_Read... [16:29:27]Read from MH i2c: 01 07 00 59 3A 00 00 00 00 00 FF 0F A8 [16:29:27]RasterBufferAndPrint [16:29:27]line Счет N : (1)808938 [16:29:27]line ИÐÐ: 02508201610067 [16:29:27]line Контрольно-КаÑÑовый Чек [16:29:27]line ПРОДÐЖР[16:29:27]line ТРК (МРК, ГÐК) : 42 [16:29:27]line Товар: 2710124130 [16:29:27]line Super 92-К-5 [16:29:27]line 8.780 * 68.40 [16:29:27]line = 600.55 [16:29:27]line ÐДС 12% ÐСП 1% [16:29:27]line > о реализуемом товаре [16:29:27]line ОКРУГЛЕÐИЕ: -0.55 [16:29:27]line ИТОГО: 600.00 [16:29:27]line ВнеÑено: 600.00 [16:29:27]line СДÐЧÐ: 0.00 [16:29:27]line ÐСП 1% : 5.31 [16:29:27]line ÐДС 12% : 63.77 [16:29:27]line Ðаличными: 600.00 [16:29:27]line Безнал.: 0.00 [16:29:27]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [16:29:27]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [16:29:27]line СÐО: Общий режим [16:29:27]line Чек 81 21.10.2024 16:29 [16:29:27]line Смена: 448 ФФД: 1.0 [16:29:27]line ЗÐМ: 0300000239 [16:29:27]line РÐМ: 0000000000098148 [16:29:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:29:27]line ФМ: 0000000000965374 [16:29:27]line ФД: 40813 [16:29:27]line ФПД: 147665364323890 [16:29:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162942&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40813&fm=147665364323890&tin=02508201610067®Number=0000000000098148&sum=60000 [16:29:27]OFD Sender: Processing packet 40813 [packets to send 4, broken 3] [16:29:27]ProducePacketName [16:29:27]name=ofd_packets/00040813 [16:29:27]OFD Sender: To server: ‡•öpG, [16:29:27]CommunicateWithHost lk.salyk.kg:30040 [16:29:27]ConnectInit lk.salyk.kg [16:29:27]written 0, free lines is 4095 [16:29:27]Connected sock=10 [16:29:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 0E 09 08 01 54 45 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 76 81 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6D 9F 00 00 35 04 06 00 86 4D 05 96 0E 32 E7 7A F8 59 76 FA ED 2B [16:29:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 E6 4A 47 00 5E BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6D 9F 00 00 F4 03 04 00 56 27 16 67 B6 04 01 00 00 6B 52 30 D1 F7 4F 6C 3C [16:29:28]CommunicateWithHost err = 0 [16:29:28]CheckOFDResponse [16:29:28]1017 (14) - 77093643461234 [16:29:28]1041 (16) - 0000000000965374 [16:29:28]1040 (4) - 40813 [16:29:28]1012 (4) - 21.10.2024 10:05 [16:29:28]1206 (1) - 0 [16:29:28]OFD Sender: Remove packet 40813 [16:29:28]ProducePacketName [16:29:28]name=ofd_packets/00040813 [16:29:28]NVStorageDeleteData [16:29:28]Write to MH i2c: 01 00 00 84 3A BE [16:29:28]Write i2c OK [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: 01 [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: 01 07 00 [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: 01 07 00 84 3A 00 00 00 00 00 F3 0C C4 [16:29:28]RasterBufferAndPrint [16:29:28]line [16:29:28]line [16:29:28]line [16:29:28]line [16:29:28]line [16:29:28]written 0, free lines is 3321 [16:29:28]MH_Cut [16:29:28]Write to MH i2c: D1 01 00 8B 3A 01 97 [16:29:28]Write i2c OK [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: D1 [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: D1 01 00 [16:29:28]MH_I2C_Read... [16:29:28]Read from MH i2c: D1 01 00 8B 3A 00 96 [16:29:28]Write to MH i2c: 01 00 00 8C 3A C6 [16:29:28]Write i2c OK [16:29:28]MH_I2C_Read... [16:29:28]OFD Sender: No OFD packet to send [16:29:28]*** Cut start [16:29:28]*** Partial cut [16:29:28]*** CUTSNS_PIN = 1 [16:29:28]*** CUTSNS_PIN = 0 [16:29:29]*** Brake cut motor [16:29:29]Read from MH i2c: 01 [16:29:29]MH_I2C_Read... [16:29:29]*** Stop cut motor [16:29:29]*** Cut end [16:29:29]Read from MH i2c: 01 07 00 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: 01 07 00 8C 3A 00 00 00 00 00 FF 0F DB [16:29:29]process_action close_receipt done [16:29:29]requested_data is exist [16:29:29]produce_requested_data [16:29:29]requested_item fm.sn is exist - process it [16:29:29]wFMCommunicate request_size=4 [16:29:29]MH_SAM_APDU [16:29:29]CAPDU: 80 11 00 00 [16:29:29]Write to MH i2c: E2 08 00 8D 3A 80 11 00 00 00 00 00 00 41 [16:29:29]Write i2c OK [16:29:29]MH_I2C_Read... [16:29:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:29:29]Read from MH i2c: E2 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 17 00 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 17 00 8D 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 96 [16:29:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [16:29:29]wFMCommunicate OK [16:29:29]requested_item fd.num is exist - process it [16:29:29]SAM_PROTO_GetFieldsCounters [16:29:29]wFMCommunicate request_size=4 [16:29:29]MH_SAM_APDU [16:29:29]CAPDU: 80 13 00 00 [16:29:29]Write to MH i2c: E2 08 00 8E 3A 80 13 00 00 00 00 00 00 44 [16:29:29]Write i2c OK [16:29:29]MH_I2C_Read... [16:29:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:29:29]Read from MH i2c: E2 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 62 00 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 62 00 8E 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6D 9F 00 00 0E 04 04 00 C0 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 2C [16:29:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6D 9F 00 00 0E 04 04 00 C0 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 [16:29:29]wFMCommunicate OK [16:29:29]SAM_PROTO_GetFieldsCounters done [16:29:29]requested_item shift.num is exist - process it [16:29:29]requested_item shift.opened is exist - process it [16:29:29]req_shift_opened [16:29:29]FM_GetShiftState [16:29:29]SAM_PROTO_GetShiftState [16:29:29]wFMCommunicate request_size=4 [16:29:29]MH_SAM_APDU [16:29:29]CAPDU: 80 13 01 00 [16:29:29]Write to MH i2c: E2 08 00 8F 3A 80 13 01 00 00 00 00 00 46 [16:29:29]Write i2c OK [16:29:29]MH_I2C_Read... [16:29:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:29]Read from MH i2c: E2 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 0E 00 [16:29:29]MH_I2C_Read... [16:29:29]Read from MH i2c: E2 0E 00 8F 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 14 [16:29:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [16:29:29]wFMCommunicate OK [16:29:29]SAM_PROTO_GetShiftState done [16:29:29]FM_GetShiftState done [16:29:29]req_shift_opened done [16:29:29]requested_item shift.open_date is exist - process it [16:29:29]req_shift_open_date [16:29:29]req_shift_open_date done [16:29:29]produce_requested_data done [16:29:29]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40813,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [16:29:29]process_action_free close_receipt [16:29:29]json_value_free [16:29:29]json_value_free done [16:29:29]process_json_proto returns [16:29:29]Send response to host [16:29:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40813,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [16:29:29]free response buf [16:29:29]execute_script done [16:29:29]execute_script returns [16:29:29]free content buf [16:29:29]Sock 7.Close socket [16:29:29]Sock 7.Thread stoped [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]OFD Sender: No OFD packet to send [16:58:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:35]OFD Sender: No OFD packet to send [17:02:40]OFD Sender: No OFD packet to send [17:02:45]OFD Sender: No OFD packet to send [17:02:50]OFD Sender: No OFD packet to send [17:02:55]OFD Sender: No OFD packet to send [17:03:00]OFD Sender: No OFD packet to send [17:03:05]OFD Sender: No OFD packet to send [17:03:10]OFD Sender: No OFD packet to send [17:03:15]OFD Sender: No OFD packet to send [17:03:20]OFD Sender: No OFD packet to send [17:03:25]OFD Sender: No OFD packet to send [17:03:30]OFD Sender: No OFD packet to send [17:03:35]OFD Sender: No OFD packet to send [17:03:40]OFD Sender: No OFD packet to send [17:03:45]OFD Sender: No OFD packet to send [17:03:50]OFD Sender: No OFD packet to send [17:03:55]OFD Sender: No OFD packet to send [17:04:00]OFD Sender: No OFD packet to send [17:04:05]OFD Sender: No OFD packet to send [17:04:10]OFD Sender: No OFD packet to send [17:04:15]OFD Sender: No OFD packet to send [17:04:20]OFD Sender: No OFD packet to send [17:04:25]OFD Sender: No OFD packet to send [17:04:30]OFD Sender: No OFD packet to send [17:04:35]OFD Sender: No OFD packet to send [17:04:40]OFD Sender: No OFD packet to send [17:04:45]OFD Sender: No OFD packet to send [17:04:50]OFD Sender: No OFD packet to send [17:04:55]OFD Sender: No OFD packet to send [17:05:00]OFD Sender: No OFD packet to send [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:20]OFD Sender: No OFD packet to send [17:10:25]OFD Sender: No OFD packet to send [17:10:30]OFD Sender: No OFD packet to send [17:10:35]OFD Sender: No OFD packet to send [17:10:40]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:55]OFD Sender: No OFD packet to send [17:11:00]OFD Sender: No OFD packet to send [17:11:05]OFD Sender: No OFD packet to send [17:11:10]OFD Sender: No OFD packet to send [17:11:15]OFD Sender: No OFD packet to send [17:11:20]OFD Sender: No OFD packet to send [17:11:25]OFD Sender: No OFD packet to send [17:11:30]OFD Sender: No OFD packet to send [17:11:35]OFD Sender: No OFD packet to send [17:11:40]OFD Sender: No OFD packet to send [17:11:45]OFD Sender: No OFD packet to send [17:11:50]OFD Sender: No OFD packet to send [17:11:55]OFD Sender: No OFD packet to send [17:12:00]OFD Sender: No OFD packet to send [17:12:05]OFD Sender: No OFD packet to send [17:12:10]OFD Sender: No OFD packet to send [17:12:15]OFD Sender: No OFD packet to send [17:12:20]OFD Sender: No OFD packet to send [17:12:25]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:10]OFD Sender: No OFD packet to send [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:35]OFD Sender: No OFD packet to send [17:15:40]OFD Sender: No OFD packet to send [17:15:45]OFD Sender: No OFD packet to send [17:15:50]OFD Sender: No OFD packet to send [17:15:55]OFD Sender: No OFD packet to send [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:10]OFD Sender: No OFD packet to send [17:16:15]OFD Sender: No OFD packet to send [17:16:20]OFD Sender: No OFD packet to send [17:16:25]OFD Sender: No OFD packet to send [17:16:30]OFD Sender: No OFD packet to send [17:16:35]OFD Sender: No OFD packet to send [17:16:40]OFD Sender: No OFD packet to send [17:16:45]OFD Sender: No OFD packet to send [17:16:50]OFD Sender: No OFD packet to send [17:16:55]OFD Sender: No OFD packet to send [17:17:00]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:20]OFD Sender: No OFD packet to send [17:17:25]OFD Sender: No OFD packet to send [17:17:30]OFD Sender: No OFD packet to send [17:17:35]OFD Sender: No OFD packet to send [17:17:40]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:21]OFD Sender: No OFD packet to send [17:24:26]OFD Sender: No OFD packet to send [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:46]OFD Sender: No OFD packet to send [17:24:51]OFD Sender: No OFD packet to send [17:24:56]OFD Sender: No OFD packet to send [17:25:01]OFD Sender: No OFD packet to send [17:25:06]OFD Sender: No OFD packet to send [17:25:11]OFD Sender: No OFD packet to send [17:25:16]OFD Sender: No OFD packet to send [17:25:21]OFD Sender: No OFD packet to send [17:25:26]OFD Sender: No OFD packet to send [17:25:31]OFD Sender: No OFD packet to send [17:25:36]OFD Sender: No OFD packet to send [17:25:41]OFD Sender: No OFD packet to send [17:25:46]OFD Sender: No OFD packet to send [17:25:51]OFD Sender: No OFD packet to send [17:25:56]OFD Sender: No OFD packet to send [17:26:01]OFD Sender: No OFD packet to send [17:26:06]OFD Sender: No OFD packet to send [17:26:11]OFD Sender: No OFD packet to send [17:26:16]OFD Sender: No OFD packet to send [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:36]OFD Sender: No OFD packet to send [17:26:41]OFD Sender: No OFD packet to send [17:26:46]OFD Sender: No OFD packet to send [17:26:51]OFD Sender: No OFD packet to send [17:26:56]OFD Sender: No OFD packet to send [17:27:01]OFD Sender: No OFD packet to send [17:27:06]OFD Sender: No OFD packet to send [17:27:11]OFD Sender: No OFD packet to send [17:27:16]OFD Sender: No OFD packet to send [17:27:21]OFD Sender: No OFD packet to send [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:01]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28:16]OFD Sender: No OFD packet to send [17:28:21]OFD Sender: No OFD packet to send [17:28:26]OFD Sender: No OFD packet to send [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:36]OFD Sender: No OFD packet to send [17:32:41]OFD Sender: No OFD packet to send [17:32:46]OFD Sender: No OFD packet to send [17:32:51]OFD Sender: No OFD packet to send [17:32:56]OFD Sender: No OFD packet to send [17:33:01]OFD Sender: No OFD packet to send [17:33:06]OFD Sender: No OFD packet to send [17:33:11]OFD Sender: No OFD packet to send [17:33:16]OFD Sender: No OFD packet to send [17:33:21]OFD Sender: No OFD packet to send [17:33:26]OFD Sender: No OFD packet to send [17:33:31]OFD Sender: No OFD packet to send [17:33:36]OFD Sender: No OFD packet to send [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]OFD Sender: No OFD packet to send [17:46:22]OFD Sender: No OFD packet to send [17:46:27]OFD Sender: No OFD packet to send [17:46:32]OFD Sender: No OFD packet to send [17:46:37]OFD Sender: No OFD packet to send [17:46:42]OFD Sender: No OFD packet to send [17:46:47]OFD Sender: No OFD packet to send [17:46:52]OFD Sender: No OFD packet to send [17:46:57]OFD Sender: No OFD packet to send [17:47:02]OFD Sender: No OFD packet to send [17:47:07]OFD Sender: No OFD packet to send [17:47:12]OFD Sender: No OFD packet to send [17:47:17]OFD Sender: No OFD packet to send [17:47:22]OFD Sender: No OFD packet to send [17:47:27]OFD Sender: No OFD packet to send [17:47:32]OFD Sender: No OFD packet to send [17:47:37]OFD Sender: No OFD packet to send [17:47:42]OFD Sender: No OFD packet to send [17:47:47]OFD Sender: No OFD packet to send [17:47:52]OFD Sender: No OFD packet to send [17:47:57]OFD Sender: No OFD packet to send [17:48:02]OFD Sender: No OFD packet to send [17:48:07]OFD Sender: No OFD packet to send [17:48:12]OFD Sender: No OFD packet to send [17:48:17]OFD Sender: No OFD packet to send [17:48:22]OFD Sender: No OFD packet to send [17:48:27]OFD Sender: No OFD packet to send [17:48:32]OFD Sender: No OFD packet to send [17:48:37]OFD Sender: No OFD packet to send [17:48:42]OFD Sender: No OFD packet to send [17:48:47]OFD Sender: No OFD packet to send [17:48:52]OFD Sender: No OFD packet to send [17:48:57]OFD Sender: No OFD packet to send [17:49:02]OFD Sender: No OFD packet to send [17:49:07]OFD Sender: No OFD packet to send [17:49:12]OFD Sender: No OFD packet to send [17:49:17]OFD Sender: No OFD packet to send [17:49:22]OFD Sender: No OFD packet to send [17:49:27]OFD Sender: No OFD packet to send [17:49:32]OFD Sender: No OFD packet to send [17:49:37]OFD Sender: No OFD packet to send [17:49:42]OFD Sender: No OFD packet to send [17:49:47]OFD Sender: No OFD packet to send [17:49:52]OFD Sender: No OFD packet to send [17:49:57]OFD Sender: No OFD packet to send [17:50:02]OFD Sender: No OFD packet to send [17:50:07]OFD Sender: No OFD packet to send [17:50:12]OFD Sender: No OFD packet to send [17:50:17]OFD Sender: No OFD packet to send [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:17]OFD Sender: No OFD packet to send [17:52:22]OFD Sender: No OFD packet to send [17:52:27]OFD Sender: No OFD packet to send [17:52:32]OFD Sender: No OFD packet to send [17:52:37]OFD Sender: No OFD packet to send [17:52:42]OFD Sender: No OFD packet to send [17:52:47]OFD Sender: No OFD packet to send [17:52:52]OFD Sender: No OFD packet to send [17:52:57]OFD Sender: No OFD packet to send [17:53:02]OFD Sender: No OFD packet to send [17:53:07]OFD Sender: No OFD packet to send [17:53:12]OFD Sender: No OFD packet to send [17:53:17]OFD Sender: No OFD packet to send [17:53:22]OFD Sender: No OFD packet to send [17:53:27]OFD Sender: No OFD packet to send [17:53:32]OFD Sender: No OFD packet to send [17:53:37]OFD Sender: No OFD packet to send [17:53:42]OFD Sender: No OFD packet to send [17:53:47]OFD Sender: No OFD packet to send [17:53:52]OFD Sender: No OFD packet to send [17:53:57]OFD Sender: No OFD packet to send [17:54:02]OFD Sender: No OFD packet to send [17:54:07]OFD Sender: No OFD packet to send [17:54:12]OFD Sender: No OFD packet to send [17:54:17]OFD Sender: No OFD packet to send [17:54:22]OFD Sender: No OFD packet to send [17:54:27]OFD Sender: No OFD packet to send [17:54:32]OFD Sender: No OFD packet to send [17:54:37]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:25]accept exits with 9 [17:56:25]New connection [17:56:25]New thread 3066887524 created [17:56:25]Thread 3067030884 joined [17:56:25]Waiting for new connection... [17:56:25] Sock 9.Parse request [17:56:25]Sock 9.Check first char [17:56:25]Sock 9.First char is OK [17:56:25]request: POST /json_proto HTTP/1.0 [17:56:25]Method: POST [17:56:25]URL: /json_proto [17:56:25]Method is POST - this is cgi request [17:56:25]url: /json_proto [17:56:25]query_string will be loaded in cgi processing [17:56:25]execute_cgi json_proto POST (null) [17:56:25]execute_cgi path=json_proto method=POST [17:56:25]POST find Content-Length [17:56:25]Host: 172.17.53.4:8080 [17:56:25]Content-Length: 677 [17:56:25]Content-Type: application/json [17:56:25] [17:56:25]POST finish read [17:56:25]Found Content-Length = 677 [17:56:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808997", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:25]execute_script... [17:56:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808997", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:25]POST & json_proto [17:56:25]process_json_proto [17:56:25]json parsed OK: [17:56:25]protocol is kg_v1.0 [17:56:25]action value=close_receipt [17:56:25]process_action close_receipt [17:56:25]cmd_close_receipt [17:56:25]MH_GetDate [17:56:25]Write to MH i2c: F0 00 00 90 3A B9 [17:56:25]Write i2c OK [17:56:25]MH_I2C_Read... [17:56:25]Read from MH i2c: F0 [17:56:25]MH_I2C_Read... [17:56:25]Read from MH i2c: F0 09 00 [17:56:25]MH_I2C_Read... [17:56:25]Read from MH i2c: F0 09 00 90 3A 00 DB 95 16 67 05 11 DA 64 03 [17:56:25]GetLastDocTimeStamp 1729528182 [17:56:25]current date 1729533403 [17:56:25]FM_GetShiftState [17:56:25]SAM_PROTO_GetShiftState [17:56:25]wFMCommunicate request_size=4 [17:56:25]MH_SAM_APDU [17:56:25]CAPDU: 80 13 01 00 [17:56:25]Write to MH i2c: E2 08 00 91 3A 80 13 01 00 00 00 00 00 48 [17:56:25]Write i2c OK [17:56:25]MH_I2C_Read... [17:56:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:25]Read from MH i2c: E2 [17:56:25]MH_I2C_Read... [17:56:25]Read from MH i2c: E2 0E 00 [17:56:25]MH_I2C_Read... [17:56:25]Read from MH i2c: E2 0E 00 91 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 16 [17:56:25]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:25]wFMCommunicate OK [17:56:25]SAM_PROTO_GetShiftState done [17:56:25]FM_GetShiftState done [17:56:25]opened in 1729470630 [17:56:25]opened+sec_in_day 1729557030 [17:56:25]quantity*price = 60009 [17:56:25]sum+1 = 60010 [17:56:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.09 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.73 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 82 21.10.2024 17:56 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40814 ФПД: 103430855072231 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175643&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40814&fm=103430855072231&tin=02508201610067®Number=0000000000098148&sum=60000 [17:56:27]StoreToDocumentArchive [17:56:27]shift 448 fd 40814 [17:56:27]save to /storage/0448/doc_00040814 [17:56:27]save last doc name /storage/0448/doc_00040814 to /storage/kkm_last_doc_name [17:56:27]save OK [17:56:27]Clear old archive folders... [17:56:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:56:27]tlvbuf is 01185E50 [17:56:27]SAM_PROTO_ClearQueue [17:56:27]wFMCommunicate request_size=4 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 09 00 00 [17:56:27]Write to MH i2c: E2 08 00 9E 3A 80 09 00 00 00 00 00 00 4A [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 9E 3A 00 90 00 4C [17:56:27]RAPDU: 90 00 [17:56:27]wFMCommunicate OK [17:56:27]SAM_PROTO_ClearQueue done [17:56:27]KKMCreateOFDPacket [17:56:27]OFDProtocolAddRootSTLVToBuf [17:56:27]FM_MakeSignedData [17:56:27]FM_MakeSignedData [17:56:27]SAM_PROTO_SignData [17:56:27]wFMCommunicate request_size=4 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 0D 01 02 [17:56:27]Write to MH i2c: E2 08 00 9F 3A 80 0D 01 02 00 00 00 00 52 [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 9F 3A 00 90 00 4D [17:56:27]RAPDU: 90 00 [17:56:27]wFMCommunicate OK [17:56:27]wFMCommunicate request_size=255 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 DB 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6E 9F 00 00 35 04 06 00 5E [17:56:27]Write to MH i2c: E2 02 01 A0 3A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 DB 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6E 9F 00 00 35 04 06 00 5E 00 00 30 [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 A0 3A 00 90 00 4E [17:56:27]RAPDU: 90 00 [17:56:27]wFMCommunicate OK [17:56:27]wFMCommunicate request_size=10 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 0D 02 02 05 11 DF 60 19 E7 [17:56:27]Write to MH i2c: E2 0D 00 A1 3A 80 0D 02 02 05 00 11 DF 60 19 E7 00 00 AF [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 03 00 A1 3A 00 90 00 4F [17:56:27]RAPDU: 90 00 [17:56:27]wFMCommunicate OK [17:56:27]wFMCommunicate request_size=4 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 0D 03 02 [17:56:27]Write to MH i2c: E2 08 00 A2 3A 80 0D 03 02 00 00 00 00 57 [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 0B 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 0B 00 A2 3A 00 EB 75 92 E9 98 38 7F BE 90 00 40 [17:56:27]RAPDU: EB 75 92 E9 98 38 7F BE 90 00 [17:56:27]wFMCommunicate OK [17:56:27]SAM_PROTO_SignData done [17:56:27]FM_MakeSignedData done [17:56:27]CreateOFDProtocolMessage [17:56:27]wFMCommunicate request_size=4 [17:56:27]MH_SAM_APDU [17:56:27]CAPDU: 80 11 00 00 [17:56:27]Write to MH i2c: E2 08 00 A3 3A 80 11 00 00 00 00 00 00 57 [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:27]Read from MH i2c: E2 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 17 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: E2 17 00 A3 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 AC [17:56:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:27]wFMCommunicate OK [17:56:27]CreateOFDProtocolMessage done [17:56:27]OFDSenderStorePacket 40814 [17:56:27]StoreOFDPacket docnum=40814 [17:56:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BD 82 07 01 D4 05 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 DB 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6E 9F 00 00 35 04 06 00 5E 11 DF 60 19 E7 EB 75 92 E9 98 38 7F BE [17:56:27]CheckFolder [17:56:27]dirname=/storage/ofd_packets [17:56:27]CheckFolder done [17:56:27]ProducePacketName [17:56:27]name=ofd_packets/00040814 [17:56:27]NVStorageSaveData ofd_packets/00040814 [17:56:27]File name is /storage/ofd_packets/00040814 [17:56:27]Write 301 bytes [17:56:27]NVStorageSaveData done [17:56:27]OFDSenderStorePacket done [17:56:27]KKMCreateOFDPacket done [17:56:27]NVStorageSaveData kkm_last_timestamp [17:56:27]File name is /storage/kkm_last_timestamp [17:56:27]Write 4 bytes [17:56:27]NVStorageSaveData done [17:56:27]ExternCall_PrintAddStr [17:56:27]wPrintStart [17:56:27]Write to MH i2c: 01 00 00 A4 3A DE [17:56:27]Write i2c OK [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: 01 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: 01 07 00 [17:56:27]MH_I2C_Read... [17:56:27]Read from MH i2c: 01 07 00 A4 3A 00 00 00 00 00 FF 0F F3 [17:56:27]RasterBufferAndPrint [17:56:27]line Счет N : (1)808997 [17:56:27]line ИÐÐ: 02508201610067 [17:56:27]line Контрольно-КаÑÑовый Чек [17:56:27]line ПРОДÐЖР[17:56:27]line ТРК (МРК, ГÐК) : 53 [17:56:27]line Товар: 2710124130 [17:56:27]line Ðи-92-К-5 [17:56:27]line 8.970 * 66.90 [17:56:27]line = 600.09 [17:56:27]line ÐДС 12% ÐСП 1% [17:56:27]line > о реализуемом товаре [17:56:27]line ОКРУГЛЕÐИЕ: -0.09 [17:56:27]line ИТОГО: 600.00 [17:56:27]line ВнеÑено: 600.00 [17:56:27]line СДÐЧÐ: 0.00 [17:56:27]line ÐСП 1% : 5.31 [17:56:27]line ÐДС 12% : 63.73 [17:56:27]line Ðаличными: 600.00 [17:56:27]line Безнал.: 0.00 [17:56:27]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:56:27]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:56:27]line СÐО: Общий режим [17:56:27]line Чек 82 21.10.2024 17:56 [17:56:27]line Смена: 448 ФФД: 1.0 [17:56:27]line ЗÐМ: 0300000239 [17:56:27]line РÐМ: 0000000000098148 [17:56:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:56:27]line ФМ: 0000000000965374 [17:56:27]line ФД: 40814 [17:56:27]line ФПД: 103430855072231 [17:56:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175643&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40814&fm=103430855072231&tin=02508201610067®Number=0000000000098148&sum=60000 [17:56:27]written 0, free lines is 4095 [17:56:27]OFD Sender: Processing packet 40814 [packets to send 4, broken 3] [17:56:27]ProducePacketName [17:56:27]name=ofd_packets/00040814 [17:56:27]OFD Sender: To server: ‡•öpG, [17:56:27]CommunicateWithHost lk.salyk.kg:30040 [17:56:27]ConnectInit lk.salyk.kg [17:56:28]Connected sock=11 [17:56:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BD 82 07 01 D4 05 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 DB 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6E 9F 00 00 35 04 06 00 5E 11 DF 60 19 E7 EB 75 92 E9 98 38 7F BE [17:56:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 6E 83 47 00 98 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6E 9F 00 00 F4 03 04 00 BA 3B 16 67 B6 04 01 00 00 7D 06 63 99 AF 86 DE EE [17:56:28]CommunicateWithHost err = 0 [17:56:28]CheckOFDResponse [17:56:28]1017 (14) - 77093643461234 [17:56:28]1041 (16) - 0000000000965374 [17:56:28]1040 (4) - 40814 [17:56:28]1012 (4) - 21.10.2024 11:32 [17:56:28]1206 (1) - 0 [17:56:28]OFD Sender: Remove packet 40814 [17:56:28]ProducePacketName [17:56:28]name=ofd_packets/00040814 [17:56:28]NVStorageDeleteData [17:56:28]Write to MH i2c: 01 00 00 CF 3A 09 [17:56:28]Write i2c OK [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: 01 [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: 01 07 00 [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: 01 07 00 CF 3A 00 00 00 00 00 EF 0C 0B [17:56:28]RasterBufferAndPrint [17:56:28]line [17:56:28]line [17:56:28]line [17:56:28]line [17:56:28]line [17:56:28]written 0, free lines is 3317 [17:56:28]MH_Cut [17:56:28]Write to MH i2c: D1 01 00 D6 3A 01 E2 [17:56:28]Write i2c OK [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: D1 [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: D1 01 00 [17:56:28]MH_I2C_Read... [17:56:28]Read from MH i2c: D1 01 00 D6 3A 00 E1 [17:56:28]Write to MH i2c: 01 00 00 D7 3A 11 [17:56:28]Write i2c OK [17:56:28]MH_I2C_Read... [17:56:28]OFD Sender: No OFD packet to send [17:56:29]*** Cut start [17:56:29]*** Partial cut [17:56:29]*** CUTSNS_PIN = 1 [17:56:29]*** CUTSNS_PIN = 0 [17:56:29]*** Brake cut motor [17:56:29]Read from MH i2c: 01 [17:56:29]MH_I2C_Read... [17:56:29]*** Stop cut motor [17:56:29]*** Cut end [17:56:29]Read from MH i2c: 01 07 00 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: 01 07 00 D7 3A 00 00 00 00 00 FF 0F 26 [17:56:29]process_action close_receipt done [17:56:29]requested_data is exist [17:56:29]produce_requested_data [17:56:29]requested_item fm.sn is exist - process it [17:56:29]wFMCommunicate request_size=4 [17:56:29]MH_SAM_APDU [17:56:29]CAPDU: 80 11 00 00 [17:56:29]Write to MH i2c: E2 08 00 D8 3A 80 11 00 00 00 00 00 00 8C [17:56:29]Write i2c OK [17:56:29]MH_I2C_Read... [17:56:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:29]Read from MH i2c: E2 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 17 00 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 17 00 D8 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E1 [17:56:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:29]wFMCommunicate OK [17:56:29]requested_item fd.num is exist - process it [17:56:29]SAM_PROTO_GetFieldsCounters [17:56:29]wFMCommunicate request_size=4 [17:56:29]MH_SAM_APDU [17:56:29]CAPDU: 80 13 00 00 [17:56:29]Write to MH i2c: E2 08 00 D9 3A 80 13 00 00 00 00 00 00 8F [17:56:29]Write i2c OK [17:56:29]MH_I2C_Read... [17:56:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:29]Read from MH i2c: E2 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 62 00 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 62 00 D9 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6E 9F 00 00 0E 04 04 00 C0 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 7B [17:56:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6E 9F 00 00 0E 04 04 00 C0 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 [17:56:29]wFMCommunicate OK [17:56:29]SAM_PROTO_GetFieldsCounters done [17:56:29]requested_item shift.num is exist - process it [17:56:29]requested_item shift.opened is exist - process it [17:56:29]req_shift_opened [17:56:29]FM_GetShiftState [17:56:29]SAM_PROTO_GetShiftState [17:56:29]wFMCommunicate request_size=4 [17:56:29]MH_SAM_APDU [17:56:29]CAPDU: 80 13 01 00 [17:56:29]Write to MH i2c: E2 08 00 DA 3A 80 13 01 00 00 00 00 00 91 [17:56:29]Write i2c OK [17:56:29]MH_I2C_Read... [17:56:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:29]Read from MH i2c: E2 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 0E 00 [17:56:29]MH_I2C_Read... [17:56:29]Read from MH i2c: E2 0E 00 DA 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5F [17:56:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:29]wFMCommunicate OK [17:56:29]SAM_PROTO_GetShiftState done [17:56:29]FM_GetShiftState done [17:56:29]req_shift_opened done [17:56:29]requested_item shift.open_date is exist - process it [17:56:29]req_shift_open_date [17:56:29]req_shift_open_date done [17:56:29]produce_requested_data done [17:56:29]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40814,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:56:29]process_action_free close_receipt [17:56:29]json_value_free [17:56:29]json_value_free done [17:56:29]process_json_proto returns [17:56:29]Send response to host [17:56:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40814,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:56:29]free response buf [17:56:29]execute_script done [17:56:29]execute_script returns [17:56:29]free content buf [17:56:29]Sock 9.Close socket [17:56:29]Sock 9.Thread stoped [17:56:30]accept exits with 7 [17:56:30]New connection [17:56:30]New thread 3067030884 created [17:56:30]Thread 3066887524 joined [17:56:30]Waiting for new connection... [17:56:30] Sock 7.Parse request [17:56:30]Sock 7.Check first char [17:56:30]Sock 7.First char is OK [17:56:30]request: POST /json_proto HTTP/1.0 [17:56:30]Method: POST [17:56:30]URL: /json_proto [17:56:30]Method is POST - this is cgi request [17:56:30]url: /json_proto [17:56:30]query_string will be loaded in cgi processing [17:56:30]execute_cgi json_proto POST (null) [17:56:30]execute_cgi path=json_proto method=POST [17:56:30]POST find Content-Length [17:56:30]Host: 172.17.53.4:8080 [17:56:30]Content-Length: 677 [17:56:30]Content-Type: application/json [17:56:30] [17:56:30]POST finish read [17:56:30]Found Content-Length = 677 [17:56:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808996", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:30]execute_script... [17:56:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808996", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:30]POST & json_proto [17:56:30]process_json_proto [17:56:30]json parsed OK: [17:56:30]protocol is kg_v1.0 [17:56:30]action value=close_receipt [17:56:30]process_action close_receipt [17:56:30]cmd_close_receipt [17:56:30]MH_GetDate [17:56:30]Write to MH i2c: F0 00 00 DB 3A 04 [17:56:30]Write i2c OK [17:56:30]MH_I2C_Read... [17:56:30]Read from MH i2c: F0 [17:56:30]MH_I2C_Read... [17:56:30]Read from MH i2c: F0 09 00 [17:56:30]MH_I2C_Read... [17:56:30]Read from MH i2c: F0 09 00 DB 3A 00 DF 95 16 67 05 11 DA 64 52 [17:56:30]GetLastDocTimeStamp 1729533403 [17:56:30]current date 1729533407 [17:56:30]FM_GetShiftState [17:56:30]SAM_PROTO_GetShiftState [17:56:30]wFMCommunicate request_size=4 [17:56:30]MH_SAM_APDU [17:56:30]CAPDU: 80 13 01 00 [17:56:30]Write to MH i2c: E2 08 00 DC 3A 80 13 01 00 00 00 00 00 93 [17:56:30]Write i2c OK [17:56:30]MH_I2C_Read... [17:56:30]Read from MH i2c: E2 [17:56:30]MH_I2C_Read... [17:56:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:30]Read from MH i2c: E2 0E 00 [17:56:30]MH_I2C_Read... [17:56:30]Read from MH i2c: E2 0E 00 DC 3A 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 61 [17:56:30]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:30]wFMCommunicate OK [17:56:30]SAM_PROTO_GetShiftState done [17:56:30]FM_GetShiftState done [17:56:30]opened in 1729470630 [17:56:30]opened+sec_in_day 1729557030 [17:56:30]quantity*price = 50041 [17:56:30]sum+1 = 50042 [17:56:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.41 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 83 21.10.2024 17:56 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40815 ФПД: 184436701879230 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175647&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40815&fm=184436701879230&tin=02508201610067®Number=0000000000098148&sum=50000 [17:56:32]StoreToDocumentArchive [17:56:32]shift 448 fd 40815 [17:56:32]save to /storage/0448/doc_00040815 [17:56:32]save last doc name /storage/0448/doc_00040815 to /storage/kkm_last_doc_name [17:56:32]save OK [17:56:32]Clear old archive folders... [17:56:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:56:32]tlvbuf is 01185770 [17:56:32]SAM_PROTO_ClearQueue [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 09 00 00 [17:56:32]Write to MH i2c: E2 08 00 E9 3A 80 09 00 00 00 00 00 00 95 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 E9 3A 00 90 00 97 [17:56:32]RAPDU: 90 00 [17:56:32]wFMCommunicate OK [17:56:32]SAM_PROTO_ClearQueue done [17:56:32]KKMCreateOFDPacket [17:56:32]OFDProtocolAddRootSTLVToBuf [17:56:32]FM_MakeSignedData [17:56:32]FM_MakeSignedData [17:56:32]SAM_PROTO_SignData [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 0D 01 02 [17:56:32]Write to MH i2c: E2 08 00 EA 3A 80 0D 01 02 00 00 00 00 9D [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 EA 3A 00 90 00 98 [17:56:32]RAPDU: 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=255 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 DF 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6F 9F 00 00 35 04 06 00 A7 [17:56:32]Write to MH i2c: E2 02 01 EB 3A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 DF 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6F 9F 00 00 35 04 06 00 A7 00 00 ED [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 EB 3A 00 90 00 99 [17:56:32]RAPDU: 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=10 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 0D 02 02 05 BE 84 19 5B BE [17:56:32]Write to MH i2c: E2 0D 00 EC 3A 80 0D 02 02 05 00 BE 84 19 5B BE 00 00 1E [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 03 00 EC 3A 00 90 00 9A [17:56:32]RAPDU: 90 00 [17:56:32]wFMCommunicate OK [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 0D 03 02 [17:56:32]Write to MH i2c: E2 08 00 ED 3A 80 0D 03 02 00 00 00 00 A2 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 0B 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 0B 00 ED 3A 00 8A B2 C6 43 FC 41 1E 3C 90 00 7F [17:56:32]RAPDU: 8A B2 C6 43 FC 41 1E 3C 90 00 [17:56:32]wFMCommunicate OK [17:56:32]SAM_PROTO_SignData done [17:56:32]FM_MakeSignedData done [17:56:32]CreateOFDProtocolMessage [17:56:32]wFMCommunicate request_size=4 [17:56:32]MH_SAM_APDU [17:56:32]CAPDU: 80 11 00 00 [17:56:32]Write to MH i2c: E2 08 00 EE 3A 80 11 00 00 00 00 00 00 A2 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:32]Read from MH i2c: E2 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 17 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: E2 17 00 EE 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F7 [17:56:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:32]wFMCommunicate OK [17:56:32]CreateOFDProtocolMessage done [17:56:32]OFDSenderStorePacket 40815 [17:56:32]StoreOFDPacket docnum=40815 [17:56:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CA C0 07 01 70 DA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 DF 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6F 9F 00 00 35 04 06 00 A7 BE 84 19 5B BE 8A B2 C6 43 FC 41 1E 3C [17:56:32]CheckFolder [17:56:32]dirname=/storage/ofd_packets [17:56:32]CheckFolder done [17:56:32]ProducePacketName [17:56:32]name=ofd_packets/00040815 [17:56:32]NVStorageSaveData ofd_packets/00040815 [17:56:32]File name is /storage/ofd_packets/00040815 [17:56:32]Write 301 bytes [17:56:32]NVStorageSaveData done [17:56:32]OFDSenderStorePacket done [17:56:32]KKMCreateOFDPacket done [17:56:32]NVStorageSaveData kkm_last_timestamp [17:56:32]File name is /storage/kkm_last_timestamp [17:56:32]Write 4 bytes [17:56:32]NVStorageSaveData done [17:56:32]ExternCall_PrintAddStr [17:56:32]wPrintStart [17:56:32]Write to MH i2c: 01 00 00 EF 3A 29 [17:56:32]Write i2c OK [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: 01 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: 01 07 00 [17:56:32]MH_I2C_Read... [17:56:32]Read from MH i2c: 01 07 00 EF 3A 00 00 00 00 00 FF 0F 3E [17:56:32]RasterBufferAndPrint [17:56:32]line Счет N : (1)808996 [17:56:32]line ИÐÐ: 02508201610067 [17:56:32]line Контрольно-КаÑÑовый Чек [17:56:32]line ПРОДÐЖР[17:56:32]line ТРК (МРК, ГÐК) : 63 [17:56:32]line Товар: 2710124130 [17:56:32]line Ðи-92-К-5 [17:56:32]line 7.480 * 66.90 [17:56:32]line = 500.41 [17:56:32]line ÐДС 12% ÐСП 1% [17:56:32]line > о реализуемом товаре [17:56:32]line ОКРУГЛЕÐИЕ: -0.41 [17:56:32]line ИТОГО: 500.00 [17:56:32]line ВнеÑено: 500.00 [17:56:32]line СДÐЧÐ: 0.00 [17:56:32]line ÐСП 1% : 4.43 [17:56:32]line ÐДС 12% : 53.14 [17:56:32]line Ðаличными: 500.00 [17:56:32]line Безнал.: 0.00 [17:56:32]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:56:32]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:56:32]line СÐО: Общий режим [17:56:32]line Чек 83 21.10.2024 17:56 [17:56:32]line Смена: 448 ФФД: 1.0 [17:56:32]line ЗÐМ: 0300000239 [17:56:32]line РÐМ: 0000000000098148 [17:56:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:56:32]line ФМ: 0000000000965374 [17:56:32]line ФД: 40815 [17:56:32]line ФПД: 184436701879230 [17:56:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175647&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40815&fm=184436701879230&tin=02508201610067®Number=0000000000098148&sum=50000 [17:56:32]OFD Sender: Processing packet 40815 [packets to send 4, broken 3] [17:56:32]ProducePacketName [17:56:32]name=ofd_packets/00040815 [17:56:32]OFD Sender: To server: ‡•öpG, [17:56:32]CommunicateWithHost lk.salyk.kg:30040 [17:56:32]ConnectInit lk.salyk.kg [17:56:32]written 0, free lines is 4095 [17:56:32]Connected sock=10 [17:56:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 CA C0 07 01 70 DA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 DF 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6F 9F 00 00 35 04 06 00 A7 BE 84 19 5B BE 8A B2 C6 43 FC 41 1E 3C [17:56:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 1E 4E 47 00 2A 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 6F 9F 00 00 F4 03 04 00 BF 3B 16 67 B6 04 01 00 00 06 B1 7D 7C 02 D9 79 27 [17:56:33]CommunicateWithHost err = 0 [17:56:33]CheckOFDResponse [17:56:33]1017 (14) - 77093643461234 [17:56:33]1041 (16) - 0000000000965374 [17:56:33]1040 (4) - 40815 [17:56:33]1012 (4) - 21.10.2024 11:32 [17:56:33]1206 (1) - 0 [17:56:33]OFD Sender: Remove packet 40815 [17:56:33]ProducePacketName [17:56:33]name=ofd_packets/00040815 [17:56:33]NVStorageDeleteData [17:56:33]Write to MH i2c: 01 00 00 1A 3B 55 [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: 01 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: 01 07 00 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: 01 07 00 1A 3B 00 00 00 00 00 06 0D 6F [17:56:33]RasterBufferAndPrint [17:56:33]line [17:56:33]line [17:56:33]line [17:56:33]line [17:56:33]line [17:56:33]written 0, free lines is 3346 [17:56:33]MH_Cut [17:56:33]Write to MH i2c: D1 01 00 21 3B 01 2E [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: D1 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: D1 01 00 [17:56:33]MH_I2C_Read... [17:56:33]Read from MH i2c: D1 01 00 21 3B 00 2D [17:56:33]Write to MH i2c: 01 00 00 22 3B 5D [17:56:33]Write i2c OK [17:56:33]MH_I2C_Read... [17:56:33]OFD Sender: No OFD packet to send [17:56:34]*** Cut start [17:56:34]*** Partial cut [17:56:34]*** CUTSNS_PIN = 1 [17:56:34]*** CUTSNS_PIN = 0 [17:56:34]*** Brake cut motor [17:56:34]Read from MH i2c: 01 [17:56:34]MH_I2C_Read... [17:56:34]*** Stop cut motor [17:56:34]*** Cut end [17:56:34]Read from MH i2c: 01 07 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: 01 07 00 22 3B 00 00 00 00 00 FF 0F 72 [17:56:34]process_action close_receipt done [17:56:34]requested_data is exist [17:56:34]produce_requested_data [17:56:34]requested_item fm.sn is exist - process it [17:56:34]wFMCommunicate request_size=4 [17:56:34]MH_SAM_APDU [17:56:34]CAPDU: 80 11 00 00 [17:56:34]Write to MH i2c: E2 08 00 23 3B 80 11 00 00 00 00 00 00 D8 [17:56:34]Write i2c OK [17:56:34]MH_I2C_Read... [17:56:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 17 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 17 00 23 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2D [17:56:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:34]wFMCommunicate OK [17:56:34]requested_item fd.num is exist - process it [17:56:34]SAM_PROTO_GetFieldsCounters [17:56:34]wFMCommunicate request_size=4 [17:56:34]MH_SAM_APDU [17:56:34]CAPDU: 80 13 00 00 [17:56:34]Write to MH i2c: E2 08 00 24 3B 80 13 00 00 00 00 00 00 DB [17:56:34]Write i2c OK [17:56:34]MH_I2C_Read... [17:56:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 62 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 62 00 24 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6F 9F 00 00 0E 04 04 00 C0 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 CB [17:56:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 6F 9F 00 00 0E 04 04 00 C0 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 [17:56:34]wFMCommunicate OK [17:56:34]SAM_PROTO_GetFieldsCounters done [17:56:34]requested_item shift.num is exist - process it [17:56:34]requested_item shift.opened is exist - process it [17:56:34]req_shift_opened [17:56:34]FM_GetShiftState [17:56:34]SAM_PROTO_GetShiftState [17:56:34]wFMCommunicate request_size=4 [17:56:34]MH_SAM_APDU [17:56:34]CAPDU: 80 13 01 00 [17:56:34]Write to MH i2c: E2 08 00 25 3B 80 13 01 00 00 00 00 00 DD [17:56:34]Write i2c OK [17:56:34]MH_I2C_Read... [17:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:34]Read from MH i2c: E2 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 0E 00 [17:56:34]MH_I2C_Read... [17:56:34]Read from MH i2c: E2 0E 00 25 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AB [17:56:34]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:34]wFMCommunicate OK [17:56:34]SAM_PROTO_GetShiftState done [17:56:34]FM_GetShiftState done [17:56:34]req_shift_opened done [17:56:34]requested_item shift.open_date is exist - process it [17:56:34]req_shift_open_date [17:56:34]req_shift_open_date done [17:56:34]produce_requested_data done [17:56:34]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40815,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:56:34]process_action_free close_receipt [17:56:34]json_value_free [17:56:34]json_value_free done [17:56:34]process_json_proto returns [17:56:34]Send response to host [17:56:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40815,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:56:34]free response buf [17:56:34]execute_script done [17:56:34]execute_script returns [17:56:34]free content buf [17:56:34]Sock 7.Close socket [17:56:34]Sock 7.Thread stoped [17:56:38]OFD Sender: No OFD packet to send [17:56:40]accept exits with 9 [17:56:40]New connection [17:56:40]New thread 3066887524 created [17:56:40]Thread 3067030884 joined [17:56:40]Waiting for new connection... [17:56:40] Sock 9.Parse request [17:56:40]Sock 9.Check first char [17:56:40]Sock 9.First char is OK [17:56:40]request: POST /json_proto HTTP/1.0 [17:56:40]Method: POST [17:56:40]URL: /json_proto [17:56:40]Method is POST - this is cgi request [17:56:40]url: /json_proto [17:56:40]query_string will be loaded in cgi processing [17:56:40]execute_cgi json_proto POST (null) [17:56:40]execute_cgi path=json_proto method=POST [17:56:40]POST find Content-Length [17:56:40]Host: 172.17.53.4:8080 [17:56:40]Content-Length: 674 [17:56:40]Content-Type: application/json [17:56:40] [17:56:40]POST finish read [17:56:40]Found Content-Length = 674 [17:56:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808998", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:40]execute_script... [17:56: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 : (1)808998", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 3.940, "sum" : 300.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:40]POST & json_proto [17:56:40]process_json_proto [17:56:40]json parsed OK: [17:56:40]protocol is kg_v1.0 [17:56:40]action value=close_receipt [17:56:40]process_action close_receipt [17:56:40]cmd_close_receipt [17:56:40]MH_GetDate [17:56:40]Write to MH i2c: F0 00 00 26 3B 50 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: F0 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: F0 09 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: F0 09 00 26 3B 00 E9 95 16 67 05 11 DA 64 A8 [17:56:40]GetLastDocTimeStamp 1729533407 [17:56:40]current date 1729533417 [17:56:40]FM_GetShiftState [17:56:40]SAM_PROTO_GetShiftState [17:56:40]wFMCommunicate request_size=4 [17:56:40]MH_SAM_APDU [17:56:40]CAPDU: 80 13 01 00 [17:56:40]Write to MH i2c: E2 08 00 27 3B 80 13 01 00 00 00 00 00 DF [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:40]Read from MH i2c: E2 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 0E 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: E2 0E 00 27 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AD [17:56:40]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:40]wFMCommunicate OK [17:56:40]SAM_PROTO_GetShiftState done [17:56:40]FM_GetShiftState done [17:56:40]opened in 1729470630 [17:56:40]opened+sec_in_day 1729557030 [17:56:40]quantity*price = 30022 [17:56:40]sum+1 = 30024 [17:56:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.88 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 84 21.10.2024 17:56 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40816 ФПД: 226134982613053 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175657&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40816&fm=226134982613053&tin=02508201610067®Number=0000000000098148&sum=30000 [17:56:41]StoreToDocumentArchive [17:56:41]shift 448 fd 40816 [17:56:41]save to /storage/0448/doc_00040816 [17:56:41]save last doc name /storage/0448/doc_00040816 to /storage/kkm_last_doc_name [17:56:41]save OK [17:56:41]Clear old archive folders... [17:56:41]ProcessDocumentItem done err = 0, tmpTLVsize=248 [17:56:41]tlvbuf is 0111C2C0 [17:56:41]SAM_PROTO_ClearQueue [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 09 00 00 [17:56:41]Write to MH i2c: E2 08 00 34 3B 80 09 00 00 00 00 00 00 E1 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 34 3B 00 90 00 E3 [17:56:41]RAPDU: 90 00 [17:56:41]wFMCommunicate OK [17:56:41]SAM_PROTO_ClearQueue done [17:56:41]KKMCreateOFDPacket [17:56:41]OFDProtocolAddRootSTLVToBuf [17:56:41]FM_MakeSignedData [17:56:41]FM_MakeSignedData [17:56:41]SAM_PROTO_SignData [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 0D 01 02 [17:56:41]Write to MH i2c: E2 08 00 35 3B 80 0D 01 02 00 00 00 00 E9 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 03 00 35 3B 00 90 00 E4 [17:56:41]RAPDU: 90 00 [17:56:41]wFMCommunicate OK [17:56:41]wFMCommunicate request_size=255 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 54 00 00 00 F4 03 04 00 E9 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 70 9F 00 00 35 04 06 00 CD AB 27 4F [17:56:41]Write to MH i2c: E2 02 01 36 3B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 54 00 00 00 F4 03 04 00 E9 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 70 9F 00 00 35 04 06 00 CD AB 27 4F 00 00 3C [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 36 3B 00 90 00 E5 [17:56:42]RAPDU: 90 00 [17:56:42]wFMCommunicate OK [17:56:42]wFMCommunicate request_size=7 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 0D 02 02 02 58 3D [17:56:42]Write to MH i2c: E2 0A 00 37 3B 80 0D 02 02 02 00 58 3D 00 00 85 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 03 00 37 3B 00 90 00 E6 [17:56:42]RAPDU: 90 00 [17:56:42]wFMCommunicate OK [17:56:42]wFMCommunicate request_size=4 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 0D 03 02 [17:56:42]Write to MH i2c: E2 08 00 38 3B 80 0D 03 02 00 00 00 00 EE [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 0B 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 0B 00 38 3B 00 C7 BD 01 E6 2D 75 B2 FB 90 00 A9 [17:56:42]RAPDU: C7 BD 01 E6 2D 75 B2 FB 90 00 [17:56:42]wFMCommunicate OK [17:56:42]SAM_PROTO_SignData done [17:56:42]FM_MakeSignedData done [17:56:42]CreateOFDProtocolMessage [17:56:42]wFMCommunicate request_size=4 [17:56:42]MH_SAM_APDU [17:56:42]CAPDU: 80 11 00 00 [17:56:42]Write to MH i2c: E2 08 00 39 3B 80 11 00 00 00 00 00 00 EE [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:42]Read from MH i2c: E2 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 17 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: E2 17 00 39 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 43 [17:56:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:42]wFMCommunicate OK [17:56:42]CreateOFDProtocolMessage done [17:56:42]OFDSenderStorePacket 40816 [17:56:42]StoreOFDPacket docnum=40816 [17:56:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 B3 9D 04 01 9A 67 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 54 00 00 00 F4 03 04 00 E9 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 70 9F 00 00 35 04 06 00 CD AB 27 4F 58 3D C7 BD 01 E6 2D 75 B2 FB [17:56:42]CheckFolder [17:56:42]dirname=/storage/ofd_packets [17:56:42]CheckFolder done [17:56:42]ProducePacketName [17:56:42]name=ofd_packets/00040816 [17:56:42]NVStorageSaveData ofd_packets/00040816 [17:56:42]File name is /storage/ofd_packets/00040816 [17:56:42]Write 298 bytes [17:56:42]NVStorageSaveData done [17:56:42]OFDSenderStorePacket done [17:56:42]KKMCreateOFDPacket done [17:56:42]NVStorageSaveData kkm_last_timestamp [17:56:42]File name is /storage/kkm_last_timestamp [17:56:42]Write 4 bytes [17:56:42]NVStorageSaveData done [17:56:42]ExternCall_PrintAddStr [17:56:42]wPrintStart [17:56:42]Write to MH i2c: 01 00 00 3A 3B 75 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 3A 3B 00 00 00 00 00 FF 0F 8A [17:56:42]RasterBufferAndPrint [17:56:42]line Счет N : (1)808998 [17:56:42]line ИÐÐ: 02508201610067 [17:56:42]line Контрольно-КаÑÑовый Чек [17:56:42]line ПРОДÐЖР[17:56:42]line ТРК (МРК, ГÐК) : 41 [17:56:42]line Товар: 2710194210 [17:56:42]line ДТ-К-2 [17:56:42]line 3.940 * 76.20 [17:56:42]line = 300.23 [17:56:42]line ÐДС 12% ÐСП 1% [17:56:42]line > о реализуемом товаре [17:56:42]line ОКРУГЛЕÐИЕ: -0.23 [17:56:42]line ИТОГО: 300.00 [17:56:42]line ВнеÑено: 300.00 [17:56:42]line СДÐЧÐ: 0.00 [17:56:42]line ÐСП 1% : 2.66 [17:56:42]line ÐДС 12% : 31.88 [17:56:42]line Ðаличными: 300.00 [17:56:42]line Безнал.: 0.00 [17:56:42]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:56:42]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:56:42]line СÐО: Общий режим [17:56:42]line Чек 84 21.10.2024 17:56 [17:56:42]line Смена: 448 ФФД: 1.0 [17:56:42]line ЗÐМ: 0300000239 [17:56:42]line РÐМ: 0000000000098148 [17:56:42]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:56:42]line ФМ: 0000000000965374 [17:56:42]line ФД: 40816 [17:56:42]line ФПД: 226134982613053 [17:56:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175657&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40816&fm=226134982613053&tin=02508201610067®Number=0000000000098148&sum=30000 [17:56:42]written 0, free lines is 4095 [17:56:42]OFD Sender: Processing packet 40816 [packets to send 4, broken 3] [17:56:42]ProducePacketName [17:56:42]name=ofd_packets/00040816 [17:56:42]OFD Sender: To server: ‡•öpG, [17:56:42]CommunicateWithHost lk.salyk.kg:30040 [17:56:42]ConnectInit lk.salyk.kg [17:56:42]Connected sock=10 [17:56:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 B3 9D 04 01 9A 67 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 64 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 47 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 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 54 00 00 00 F4 03 04 00 E9 95 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 70 9F 00 00 35 04 06 00 CD AB 27 4F 58 3D C7 BD 01 E6 2D 75 B2 FB [17:56:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 A2 64 47 00 54 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 70 9F 00 00 F4 03 04 00 C9 3B 16 67 B6 04 01 00 00 5D BB DF 0E 0E 04 04 89 [17:56:42]CommunicateWithHost err = 0 [17:56:42]CheckOFDResponse [17:56:42]1017 (14) - 77093643461234 [17:56:42]1041 (16) - 0000000000965374 [17:56:42]1040 (4) - 40816 [17:56:42]1012 (4) - 21.10.2024 11:32 [17:56:42]1206 (1) - 0 [17:56:42]OFD Sender: Remove packet 40816 [17:56:42]ProducePacketName [17:56:42]name=ofd_packets/00040816 [17:56:42]NVStorageDeleteData [17:56:42]Write to MH i2c: 01 00 00 65 3B A0 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: 01 07 00 65 3B 00 00 00 00 00 02 0D B6 [17:56:42]RasterBufferAndPrint [17:56:42]line [17:56:42]line [17:56:42]line [17:56:42]line [17:56:42]line [17:56:42]written 0, free lines is 3348 [17:56:42]MH_Cut [17:56:42]Write to MH i2c: D1 01 00 6C 3B 01 79 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: D1 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: D1 01 00 [17:56:42]MH_I2C_Read... [17:56:42]Read from MH i2c: D1 01 00 6C 3B 00 78 [17:56:42]Write to MH i2c: 01 00 00 6D 3B A8 [17:56:42]Write i2c OK [17:56:42]MH_I2C_Read... [17:56:43]OFD Sender: No OFD packet to send [17:56:43]*** Cut start [17:56:43]*** Partial cut [17:56:43]*** CUTSNS_PIN = 1 [17:56:43]*** CUTSNS_PIN = 0 [17:56:43]*** Brake cut motor [17:56:44]Read from MH i2c: 01 [17:56:44]MH_I2C_Read... [17:56:44]*** Stop cut motor [17:56:44]*** Cut end [17:56:44]Read from MH i2c: 01 07 00 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: 01 07 00 6D 3B 00 00 00 00 00 FF 0F BD [17:56:44]process_action close_receipt done [17:56:44]requested_data is exist [17:56:44]produce_requested_data [17:56:44]requested_item fm.sn is exist - process it [17:56:44]wFMCommunicate request_size=4 [17:56:44]MH_SAM_APDU [17:56:44]CAPDU: 80 11 00 00 [17:56:44]Write to MH i2c: E2 08 00 6E 3B 80 11 00 00 00 00 00 00 23 [17:56:44]Write i2c OK [17:56:44]MH_I2C_Read... [17:56:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:44]Read from MH i2c: E2 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 17 00 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 17 00 6E 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 78 [17:56:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:56:44]wFMCommunicate OK [17:56:44]requested_item fd.num is exist - process it [17:56:44]SAM_PROTO_GetFieldsCounters [17:56:44]wFMCommunicate request_size=4 [17:56:44]MH_SAM_APDU [17:56:44]CAPDU: 80 13 00 00 [17:56:44]Write to MH i2c: E2 08 00 6F 3B 80 13 00 00 00 00 00 00 26 [17:56:44]Write i2c OK [17:56:44]MH_I2C_Read... [17:56:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:44]Read from MH i2c: E2 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 62 00 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 62 00 6F 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 70 9F 00 00 0E 04 04 00 C0 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 1A [17:56:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 70 9F 00 00 0E 04 04 00 C0 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 [17:56:44]wFMCommunicate OK [17:56:44]SAM_PROTO_GetFieldsCounters done [17:56:44]requested_item shift.num is exist - process it [17:56:44]requested_item shift.opened is exist - process it [17:56:44]req_shift_opened [17:56:44]FM_GetShiftState [17:56:44]SAM_PROTO_GetShiftState [17:56:44]wFMCommunicate request_size=4 [17:56:44]MH_SAM_APDU [17:56:44]CAPDU: 80 13 01 00 [17:56:44]Write to MH i2c: E2 08 00 70 3B 80 13 01 00 00 00 00 00 28 [17:56:44]Write i2c OK [17:56:44]MH_I2C_Read... [17:56:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:44]Read from MH i2c: E2 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 0E 00 [17:56:44]MH_I2C_Read... [17:56:44]Read from MH i2c: E2 0E 00 70 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F6 [17:56:44]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:56:44]wFMCommunicate OK [17:56:44]SAM_PROTO_GetShiftState done [17:56:44]FM_GetShiftState done [17:56:44]req_shift_opened done [17:56:44]requested_item shift.open_date is exist - process it [17:56:44]req_shift_open_date [17:56:44]req_shift_open_date done [17:56:44]produce_requested_data done [17:56:44]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40816,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:56:44]process_action_free close_receipt [17:56:44]json_value_free [17:56:44]json_value_free done [17:56:44]process_json_proto returns [17:56:44]Send response to host [17:56:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40816,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:56:44]free response buf [17:56:44]execute_script done [17:56:44]execute_script returns [17:56:44]free content buf [17:56:44]Sock 9.Close socket [17:56:44]Sock 9.Thread stoped [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:48]OFD Sender: No OFD packet to send [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:15]accept exits with 7 [17:58:15]New connection [17:58:15]New thread 3067030884 created [17:58:15]Thread 3066887524 joined [17:58:15]Waiting for new connection... [17:58:15] Sock 7.Parse request [17:58:15]Sock 7.Check first char [17:58:15]Sock 7.First char is OK [17:58:15]request: POST /json_proto HTTP/1.0 [17:58:15]Method: POST [17:58:15]URL: /json_proto [17:58:15]Method is POST - this is cgi request [17:58:15]url: /json_proto [17:58:15]query_string will be loaded in cgi processing [17:58:15]execute_cgi json_proto POST (null) [17:58:15]execute_cgi path=json_proto method=POST [17:58:15]POST find Content-Length [17:58:15]Host: 172.17.53.4:8080 [17:58:15]Content-Length: 682 [17:58:15]Content-Type: application/json [17:58:15] [17:58:15]POST finish read [17:58:15]Found Content-Length = 682 [17:58:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808999", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:15]execute_script... [17:58:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)808999", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:15]POST & json_proto [17:58:15]process_json_proto [17:58:15]json parsed OK: [17:58:15]protocol is kg_v1.0 [17:58:15]action value=close_receipt [17:58:15]process_action close_receipt [17:58:15]cmd_close_receipt [17:58:15]MH_GetDate [17:58:15]Write to MH i2c: F0 00 00 71 3B 9B [17:58:15]Write i2c OK [17:58:15]MH_I2C_Read... [17:58:15]Read from MH i2c: F0 [17:58:15]MH_I2C_Read... [17:58:15]Read from MH i2c: F0 09 00 [17:58:15]MH_I2C_Read... [17:58:15]Read from MH i2c: F0 09 00 71 3B 00 48 96 16 67 05 11 DA 64 53 [17:58:15]GetLastDocTimeStamp 1729533417 [17:58:15]current date 1729533512 [17:58:15]FM_GetShiftState [17:58:15]SAM_PROTO_GetShiftState [17:58:15]wFMCommunicate request_size=4 [17:58:15]MH_SAM_APDU [17:58:15]CAPDU: 80 13 01 00 [17:58:15]Write to MH i2c: E2 08 00 72 3B 80 13 01 00 00 00 00 00 2A [17:58:15]Write i2c OK [17:58:15]MH_I2C_Read... [17:58:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:15]Read from MH i2c: E2 [17:58:15]MH_I2C_Read... [17:58:15]Read from MH i2c: E2 0E 00 [17:58:15]MH_I2C_Read... [17:58:15]Read from MH i2c: E2 0E 00 72 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F8 [17:58:15]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:15]wFMCommunicate OK [17:58:15]SAM_PROTO_GetShiftState done [17:58:15]FM_GetShiftState done [17:58:15]opened in 1729470630 [17:58:15]opened+sec_in_day 1729557030 [17:58:15]quantity*price = 100015 [17:58:15]sum+1 = 100017 [17:58:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.16 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 85 21.10.2024 17:58 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40817 ФПД: 26817015061653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175832&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40817&fm=26817015061653&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:16]StoreToDocumentArchive [17:58:16]shift 448 fd 40817 [17:58:16]save to /storage/0448/doc_00040817 [17:58:16]save last doc name /storage/0448/doc_00040817 to /storage/kkm_last_doc_name [17:58:16]save OK [17:58:16]Clear old archive folders... [17:58:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:58:16]tlvbuf is 01115420 [17:58:16]SAM_PROTO_ClearQueue [17:58:16]wFMCommunicate request_size=4 [17:58:16]MH_SAM_APDU [17:58:16]CAPDU: 80 09 00 00 [17:58:16]Write to MH i2c: E2 08 00 7F 3B 80 09 00 00 00 00 00 00 2C [17:58:16]Write i2c OK [17:58:16]MH_I2C_Read... [17:58:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:16]Read from MH i2c: E2 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 7F 3B 00 90 00 2E [17:58:16]RAPDU: 90 00 [17:58:16]wFMCommunicate OK [17:58:16]SAM_PROTO_ClearQueue done [17:58:16]KKMCreateOFDPacket [17:58:16]OFDProtocolAddRootSTLVToBuf [17:58:16]FM_MakeSignedData [17:58:16]FM_MakeSignedData [17:58:16]SAM_PROTO_SignData [17:58:16]wFMCommunicate request_size=4 [17:58:16]MH_SAM_APDU [17:58:16]CAPDU: 80 0D 01 02 [17:58:16]Write to MH i2c: E2 08 00 80 3B 80 0D 01 02 00 00 00 00 34 [17:58:16]Write i2c OK [17:58:16]MH_I2C_Read... [17:58:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:16]Read from MH i2c: E2 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 80 3B 00 90 00 2F [17:58:16]RAPDU: 90 00 [17:58:16]wFMCommunicate OK [17:58:16]wFMCommunicate request_size=255 [17:58:16]MH_SAM_APDU [17:58:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 48 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 71 9F 00 00 35 04 06 00 18 [17:58:16]Write to MH i2c: E2 02 01 81 3B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 48 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 71 9F 00 00 35 04 06 00 18 00 00 5D [17:58:16]Write i2c OK [17:58:16]MH_I2C_Read... [17:58:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:16]Read from MH i2c: E2 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 81 3B 00 90 00 30 [17:58:16]RAPDU: 90 00 [17:58:16]wFMCommunicate OK [17:58:16]wFMCommunicate request_size=10 [17:58:16]MH_SAM_APDU [17:58:16]CAPDU: 80 0D 02 02 05 63 D2 A8 1C 95 [17:58:16]Write to MH i2c: E2 0D 00 82 3B 80 0D 02 02 05 00 63 D2 A8 1C 95 00 00 CF [17:58:16]Write i2c OK [17:58:16]MH_I2C_Read... [17:58:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:16]Read from MH i2c: E2 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 [17:58:16]MH_I2C_Read... [17:58:16]Read from MH i2c: E2 03 00 82 3B 00 90 00 31 [17:58:16]RAPDU: 90 00 [17:58:16]wFMCommunicate OK [17:58:16]wFMCommunicate request_size=4 [17:58:16]MH_SAM_APDU [17:58:16]CAPDU: 80 0D 03 02 [17:58:16]Write to MH i2c: E2 08 00 83 3B 80 0D 03 02 00 00 00 00 39 [17:58:16]Write i2c OK [17:58:16]MH_I2C_Read... [17:58:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:17]Read from MH i2c: E2 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: E2 0B 00 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: E2 0B 00 83 3B 00 1E 48 C0 04 D0 FE 56 8C 90 00 14 [17:58:17]RAPDU: 1E 48 C0 04 D0 FE 56 8C 90 00 [17:58:17]wFMCommunicate OK [17:58:17]SAM_PROTO_SignData done [17:58:17]FM_MakeSignedData done [17:58:17]CreateOFDProtocolMessage [17:58:17]wFMCommunicate request_size=4 [17:58:17]MH_SAM_APDU [17:58:17]CAPDU: 80 11 00 00 [17:58:17]Write to MH i2c: E2 08 00 84 3B 80 11 00 00 00 00 00 00 39 [17:58:17]Write i2c OK [17:58:17]MH_I2C_Read... [17:58:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:17]Read from MH i2c: E2 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: E2 17 00 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: E2 17 00 84 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 8E [17:58:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:17]wFMCommunicate OK [17:58:17]CreateOFDProtocolMessage done [17:58:17]OFDSenderStorePacket 40817 [17:58:17]StoreOFDPacket docnum=40817 [17:58:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A 55 07 01 CE B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 48 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 71 9F 00 00 35 04 06 00 18 63 D2 A8 1C 95 1E 48 C0 04 D0 FE 56 8C [17:58:17]CheckFolder [17:58:17]dirname=/storage/ofd_packets [17:58:17]CheckFolder done [17:58:17]ProducePacketName [17:58:17]name=ofd_packets/00040817 [17:58:17]NVStorageSaveData ofd_packets/00040817 [17:58:17]File name is /storage/ofd_packets/00040817 [17:58:17]Write 301 bytes [17:58:17]NVStorageSaveData done [17:58:17]OFDSenderStorePacket done [17:58:17]KKMCreateOFDPacket done [17:58:17]NVStorageSaveData kkm_last_timestamp [17:58:17]File name is /storage/kkm_last_timestamp [17:58:17]Write 4 bytes [17:58:17]NVStorageSaveData done [17:58:17]ExternCall_PrintAddStr [17:58:17]wPrintStart [17:58:17]Write to MH i2c: 01 00 00 85 3B C0 [17:58:17]Write i2c OK [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 07 00 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 07 00 85 3B 00 00 00 00 00 FF 0F D5 [17:58:17]RasterBufferAndPrint [17:58:17]line Счет N : (1)808999 [17:58:17]line ИÐÐ: 02508201610067 [17:58:17]line Контрольно-КаÑÑовый Чек [17:58:17]line ПРОДÐЖР[17:58:17]line ТРК (МРК, ГÐК) : 33 [17:58:17]line Товар: 2710124130 [17:58:17]line Ðи-92-К-5 [17:58:17]line 14.950 * 66.90 [17:58:17]line = 1000.16 [17:58:17]line ÐДС 12% ÐСП 1% [17:58:17]line > о реализуемом товаре [17:58:17]line ОКРУГЛЕÐИЕ: -0.16 [17:58:17]line ИТОГО: 1000.00 [17:58:17]line ВнеÑено: 1000.00 [17:58:17]line СДÐЧÐ: 0.00 [17:58:17]line ÐСП 1% : 8.85 [17:58:17]line ÐДС 12% : 106.21 [17:58:17]line Ðаличными: 1000.00 [17:58:17]line Безнал.: 0.00 [17:58:17]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:58:17]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:58:17]line СÐО: Общий режим [17:58:17]line Чек 85 21.10.2024 17:58 [17:58:17]line Смена: 448 ФФД: 1.0 [17:58:17]line ЗÐМ: 0300000239 [17:58:17]line РÐМ: 0000000000098148 [17:58:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:58:17]line ФМ: 0000000000965374 [17:58:17]line ФД: 40817 [17:58:17]line ФПД: 26817015061653 [17:58:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175832&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40817&fm=26817015061653&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:17]OFD Sender: Processing packet 40817 [packets to send 4, broken 3] [17:58:17]ProducePacketName [17:58:17]name=ofd_packets/00040817 [17:58:17]OFD Sender: To server: ‡•öpG, [17:58:17]CommunicateWithHost lk.salyk.kg:30040 [17:58:17]ConnectInit lk.salyk.kg [17:58:17]written 0, free lines is 4095 [17:58:17]Connected sock=10 [17:58:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 3A 55 07 01 CE B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 48 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 71 9F 00 00 35 04 06 00 18 63 D2 A8 1C 95 1E 48 C0 04 D0 FE 56 8C [17:58:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 A0 A3 47 00 98 AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 71 9F 00 00 F4 03 04 00 28 3C 16 67 B6 04 01 00 00 64 26 4D D7 5C 59 51 6D [17:58:17]CommunicateWithHost err = 0 [17:58:17]CheckOFDResponse [17:58:17]1017 (14) - 77093643461234 [17:58:17]1041 (16) - 0000000000965374 [17:58:17]1040 (4) - 40817 [17:58:17]1012 (4) - 21.10.2024 11:34 [17:58:17]1206 (1) - 0 [17:58:17]OFD Sender: Remove packet 40817 [17:58:17]ProducePacketName [17:58:17]name=ofd_packets/00040817 [17:58:17]NVStorageDeleteData [17:58:17]Write to MH i2c: 01 00 00 B0 3B EB [17:58:17]Write i2c OK [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 07 00 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: 01 07 00 B0 3B 00 00 00 00 00 F3 0C F1 [17:58:17]RasterBufferAndPrint [17:58:17]line [17:58:17]line [17:58:17]line [17:58:17]line [17:58:17]line [17:58:17]written 0, free lines is 3321 [17:58:17]MH_Cut [17:58:17]Write to MH i2c: D1 01 00 B7 3B 01 C4 [17:58:17]Write i2c OK [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: D1 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: D1 01 00 [17:58:17]MH_I2C_Read... [17:58:17]Read from MH i2c: D1 01 00 B7 3B 00 C3 [17:58:17]Write to MH i2c: 01 00 00 B8 3B F3 [17:58:17]Write i2c OK [17:58:17]MH_I2C_Read... [17:58:18]OFD Sender: No OFD packet to send [17:58:18]*** Cut start [17:58:18]*** Partial cut [17:58:18]*** CUTSNS_PIN = 1 [17:58:18]*** CUTSNS_PIN = 0 [17:58:18]*** Brake cut motor [17:58:19]Read from MH i2c: 01 [17:58:19]MH_I2C_Read... [17:58:19]*** Stop cut motor [17:58:19]*** Cut end [17:58:19]Read from MH i2c: 01 07 00 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: 01 07 00 B8 3B 00 00 00 00 00 FF 0F 08 [17:58:19]process_action close_receipt done [17:58:19]requested_data is exist [17:58:19]produce_requested_data [17:58:19]requested_item fm.sn is exist - process it [17:58:19]wFMCommunicate request_size=4 [17:58:19]MH_SAM_APDU [17:58:19]CAPDU: 80 11 00 00 [17:58:19]Write to MH i2c: E2 08 00 B9 3B 80 11 00 00 00 00 00 00 6E [17:58:19]Write i2c OK [17:58:19]MH_I2C_Read... [17:58:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:19]Read from MH i2c: E2 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 17 00 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 17 00 B9 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C3 [17:58:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:19]wFMCommunicate OK [17:58:19]requested_item fd.num is exist - process it [17:58:19]SAM_PROTO_GetFieldsCounters [17:58:19]wFMCommunicate request_size=4 [17:58:19]MH_SAM_APDU [17:58:19]CAPDU: 80 13 00 00 [17:58:19]Write to MH i2c: E2 08 00 BA 3B 80 13 00 00 00 00 00 00 71 [17:58:19]Write i2c OK [17:58:19]MH_I2C_Read... [17:58:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:58:19]Read from MH i2c: E2 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 62 00 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 62 00 BA 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 71 9F 00 00 0E 04 04 00 C0 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 69 [17:58:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 71 9F 00 00 0E 04 04 00 C0 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 [17:58:19]wFMCommunicate OK [17:58:19]SAM_PROTO_GetFieldsCounters done [17:58:19]requested_item shift.num is exist - process it [17:58:19]requested_item shift.opened is exist - process it [17:58:19]req_shift_opened [17:58:19]FM_GetShiftState [17:58:19]SAM_PROTO_GetShiftState [17:58:19]wFMCommunicate request_size=4 [17:58:19]MH_SAM_APDU [17:58:19]CAPDU: 80 13 01 00 [17:58:19]Write to MH i2c: E2 08 00 BB 3B 80 13 01 00 00 00 00 00 73 [17:58:19]Write i2c OK [17:58:19]MH_I2C_Read... [17:58:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:19]Read from MH i2c: E2 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 0E 00 [17:58:19]MH_I2C_Read... [17:58:19]Read from MH i2c: E2 0E 00 BB 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 41 [17:58:19]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:19]wFMCommunicate OK [17:58:19]SAM_PROTO_GetShiftState done [17:58:19]FM_GetShiftState done [17:58:19]req_shift_opened done [17:58:19]requested_item shift.open_date is exist - process it [17:58:19]req_shift_open_date [17:58:19]req_shift_open_date done [17:58:19]produce_requested_data done [17:58:19]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40817,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:58:19]process_action_free close_receipt [17:58:19]json_value_free [17:58:19]json_value_free done [17:58:19]process_json_proto returns [17:58:19]Send response to host [17:58:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40817,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:58:19]free response buf [17:58:19]execute_script done [17:58:19]execute_script returns [17:58:19]free content buf [17:58:19]Sock 7.Close socket [17:58:19]Sock 7.Thread stoped [17:58:23]OFD Sender: No OFD packet to send [17:58:28]OFD Sender: No OFD packet to send [17:58:33]OFD Sender: No OFD packet to send [17:58:38]OFD Sender: No OFD packet to send [17:58:43]OFD Sender: No OFD packet to send [17:58:44]accept exits with 9 [17:58:44]New connection [17:58:44]New thread 3066887524 created [17:58:44]Thread 3067030884 joined [17:58:44]Waiting for new connection... [17:58:44] Sock 9.Parse request [17:58:44]Sock 9.Check first char [17:58:44]Sock 9.First char is OK [17:58:44]request: POST /json_proto HTTP/1.0 [17:58:44]Method: POST [17:58:44]URL: /json_proto [17:58:44]Method is POST - this is cgi request [17:58:44]url: /json_proto [17:58:44]query_string will be loaded in cgi processing [17:58:44]execute_cgi json_proto POST (null) [17:58:44]execute_cgi path=json_proto method=POST [17:58:44]POST find Content-Length [17:58:44]Host: 172.17.53.4:8080 [17:58:44]Content-Length: 682 [17:58:44]Content-Type: application/json [17:58:44] [17:58:44]POST finish read [17:58:44]Found Content-Length = 682 [17:58:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809000", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:44]execute_script... [17:58: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 : (1)809000", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:44]POST & json_proto [17:58:44]process_json_proto [17:58:44]json parsed OK: [17:58:44]protocol is kg_v1.0 [17:58:44]action value=close_receipt [17:58:44]process_action close_receipt [17:58:44]cmd_close_receipt [17:58:44]MH_GetDate [17:58:44]Write to MH i2c: F0 00 00 BC 3B E6 [17:58:44]Write i2c OK [17:58:44]MH_I2C_Read... [17:58:44]Read from MH i2c: F0 [17:58:44]MH_I2C_Read... [17:58:44]Read from MH i2c: F0 09 00 [17:58:44]MH_I2C_Read... [17:58:44]Read from MH i2c: F0 09 00 BC 3B 00 65 96 16 67 05 11 DA 64 BB [17:58:44]GetLastDocTimeStamp 1729533512 [17:58:44]current date 1729533541 [17:58:44]FM_GetShiftState [17:58:44]SAM_PROTO_GetShiftState [17:58:44]wFMCommunicate request_size=4 [17:58:44]MH_SAM_APDU [17:58:44]CAPDU: 80 13 01 00 [17:58:44]Write to MH i2c: E2 08 00 BD 3B 80 13 01 00 00 00 00 00 75 [17:58:44]Write i2c OK [17:58:44]MH_I2C_Read... [17:58:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:44]Read from MH i2c: E2 [17:58:44]MH_I2C_Read... [17:58:44]Read from MH i2c: E2 0E 00 [17:58:44]MH_I2C_Read... [17:58:44]Read from MH i2c: E2 0E 00 BD 3B 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 43 [17:58:44]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:44]wFMCommunicate OK [17:58:44]SAM_PROTO_GetShiftState done [17:58:44]FM_GetShiftState done [17:58:44]opened in 1729470630 [17:58:44]opened+sec_in_day 1729557030 [17:58:44]quantity*price = 100015 [17:58:44]sum+1 = 100017 [17:58:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.16 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 86 21.10.2024 17:59 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40818 ФПД: 280870734911663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175901&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40818&fm=280870734911663&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:45]StoreToDocumentArchive [17:58:45]shift 448 fd 40818 [17:58:45]save to /storage/0448/doc_00040818 [17:58:45]save last doc name /storage/0448/doc_00040818 to /storage/kkm_last_doc_name [17:58:45]save OK [17:58:45]Clear old archive folders... [17:58:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:58:45]tlvbuf is 010D4890 [17:58:45]SAM_PROTO_ClearQueue [17:58:45]wFMCommunicate request_size=4 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 09 00 00 [17:58:45]Write to MH i2c: E2 08 00 CA 3B 80 09 00 00 00 00 00 00 77 [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 [17:58:45]MH_I2C_Read... [17:58:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:45]Read from MH i2c: E2 03 00 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 CA 3B 00 90 00 79 [17:58:45]RAPDU: 90 00 [17:58:45]wFMCommunicate OK [17:58:45]SAM_PROTO_ClearQueue done [17:58:45]KKMCreateOFDPacket [17:58:45]OFDProtocolAddRootSTLVToBuf [17:58:45]FM_MakeSignedData [17:58:45]FM_MakeSignedData [17:58:45]SAM_PROTO_SignData [17:58:45]wFMCommunicate request_size=4 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 0D 01 02 [17:58:45]Write to MH i2c: E2 08 00 CB 3B 80 0D 01 02 00 00 00 00 7F [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:45]Read from MH i2c: E2 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 CB 3B 00 90 00 7A [17:58:45]RAPDU: 90 00 [17:58:45]wFMCommunicate OK [17:58:45]wFMCommunicate request_size=255 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 65 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 72 9F 00 00 35 04 06 00 FF [17:58:45]Write to MH i2c: E2 02 01 CC 3B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 65 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 72 9F 00 00 35 04 06 00 FF 00 00 AE [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:45]Read from MH i2c: E2 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 CC 3B 00 90 00 7B [17:58:45]RAPDU: 90 00 [17:58:45]wFMCommunicate OK [17:58:45]wFMCommunicate request_size=10 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 0D 02 02 05 73 50 61 D8 AF [17:58:45]Write to MH i2c: E2 0D 00 CD 3B 80 0D 02 02 05 00 73 50 61 D8 AF 00 00 37 [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:45]Read from MH i2c: E2 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 03 00 CD 3B 00 90 00 7C [17:58:45]RAPDU: 90 00 [17:58:45]wFMCommunicate OK [17:58:45]wFMCommunicate request_size=4 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 0D 03 02 [17:58:45]Write to MH i2c: E2 08 00 CE 3B 80 0D 03 02 00 00 00 00 84 [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:45]Read from MH i2c: E2 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 0B 00 [17:58:45]MH_I2C_Read... [17:58:45]Read from MH i2c: E2 0B 00 CE 3B 00 44 AE 78 0A 38 44 6E 09 90 00 EC [17:58:45]RAPDU: 44 AE 78 0A 38 44 6E 09 90 00 [17:58:45]wFMCommunicate OK [17:58:45]SAM_PROTO_SignData done [17:58:45]FM_MakeSignedData done [17:58:45]CreateOFDProtocolMessage [17:58:45]wFMCommunicate request_size=4 [17:58:45]MH_SAM_APDU [17:58:45]CAPDU: 80 11 00 00 [17:58:45]Write to MH i2c: E2 08 00 CF 3B 80 11 00 00 00 00 00 00 84 [17:58:45]Write i2c OK [17:58:45]MH_I2C_Read... [17:58:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:46]Read from MH i2c: E2 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: E2 17 00 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: E2 17 00 CF 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D9 [17:58:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:46]wFMCommunicate OK [17:58:46]CreateOFDProtocolMessage done [17:58:46]OFDSenderStorePacket 40818 [17:58:46]StoreOFDPacket docnum=40818 [17:58:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 96 22 07 01 61 15 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 65 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 72 9F 00 00 35 04 06 00 FF 73 50 61 D8 AF 44 AE 78 0A 38 44 6E 09 [17:58:46]CheckFolder [17:58:46]dirname=/storage/ofd_packets [17:58:46]CheckFolder done [17:58:46]ProducePacketName [17:58:46]name=ofd_packets/00040818 [17:58:46]NVStorageSaveData ofd_packets/00040818 [17:58:46]File name is /storage/ofd_packets/00040818 [17:58:46]Write 301 bytes [17:58:46]NVStorageSaveData done [17:58:46]OFDSenderStorePacket done [17:58:46]KKMCreateOFDPacket done [17:58:46]NVStorageSaveData kkm_last_timestamp [17:58:46]File name is /storage/kkm_last_timestamp [17:58:46]Write 4 bytes [17:58:46]NVStorageSaveData done [17:58:46]ExternCall_PrintAddStr [17:58:46]wPrintStart [17:58:46]Write to MH i2c: 01 00 00 D0 3B 0B [17:58:46]Write i2c OK [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 07 00 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 07 00 D0 3B 00 00 00 00 00 FF 0F 20 [17:58:46]RasterBufferAndPrint [17:58:46]line Счет N : (1)809000 [17:58:46]line ИÐÐ: 02508201610067 [17:58:46]line Контрольно-КаÑÑовый Чек [17:58:46]line ПРОДÐЖР[17:58:46]line ТРК (МРК, ГÐК) : 43 [17:58:46]line Товар: 2710124130 [17:58:46]line Ðи-92-К-5 [17:58:46]line 14.950 * 66.90 [17:58:46]line = 1000.16 [17:58:46]line ÐДС 12% ÐСП 1% [17:58:46]line > о реализуемом товаре [17:58:46]line ОКРУГЛЕÐИЕ: -0.16 [17:58:46]line ИТОГО: 1000.00 [17:58:46]line ВнеÑено: 1000.00 [17:58:46]line СДÐЧÐ: 0.00 [17:58:46]line ÐСП 1% : 8.85 [17:58:46]line ÐДС 12% : 106.21 [17:58:46]line Ðаличными: 1000.00 [17:58:46]line Безнал.: 0.00 [17:58:46]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:58:46]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:58:46]line СÐО: Общий режим [17:58:46]line Чек 86 21.10.2024 17:59 [17:58:46]line Смена: 448 ФФД: 1.0 [17:58:46]line ЗÐМ: 0300000239 [17:58:46]line РÐМ: 0000000000098148 [17:58:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:58:46]line ФМ: 0000000000965374 [17:58:46]line ФД: 40818 [17:58:46]line ФПД: 280870734911663 [17:58:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175901&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40818&fm=280870734911663&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:46]OFD Sender: Processing packet 40818 [packets to send 4, broken 3] [17:58:46]ProducePacketName [17:58:46]name=ofd_packets/00040818 [17:58:46]OFD Sender: To server: ‡•öpG, [17:58:46]CommunicateWithHost lk.salyk.kg:30040 [17:58:46]ConnectInit lk.salyk.kg [17:58:46]written 0, free lines is 4095 [17:58:46]Connected sock=10 [17:58:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 96 22 07 01 61 15 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 65 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 72 9F 00 00 35 04 06 00 FF 73 50 61 D8 AF 44 AE 78 0A 38 44 6E 09 [17:58:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 7A 20 47 00 19 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 72 9F 00 00 F4 03 04 00 45 3C 16 67 B6 04 01 00 00 80 B5 6E 04 C1 C5 B9 7B [17:58:46]CommunicateWithHost err = 0 [17:58:46]CheckOFDResponse [17:58:46]1017 (14) - 77093643461234 [17:58:46]1041 (16) - 0000000000965374 [17:58:46]1040 (4) - 40818 [17:58:46]1012 (4) - 21.10.2024 11:34 [17:58:46]1206 (1) - 0 [17:58:46]OFD Sender: Remove packet 40818 [17:58:46]ProducePacketName [17:58:46]name=ofd_packets/00040818 [17:58:46]NVStorageDeleteData [17:58:46]Write to MH i2c: 01 00 00 FB 3B 36 [17:58:46]Write i2c OK [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 07 00 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: 01 07 00 FB 3B 00 00 00 00 00 F2 0C 3B [17:58:46]RasterBufferAndPrint [17:58:46]line [17:58:46]line [17:58:46]line [17:58:46]line [17:58:46]line [17:58:46]written 0, free lines is 3321 [17:58:46]MH_Cut [17:58:46]Write to MH i2c: D1 01 00 02 3C 01 10 [17:58:46]Write i2c OK [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: D1 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: D1 01 00 [17:58:46]MH_I2C_Read... [17:58:46]Read from MH i2c: D1 01 00 02 3C 00 0F [17:58:46]Write to MH i2c: 01 00 00 03 3C 3F [17:58:46]Write i2c OK [17:58:46]MH_I2C_Read... [17:58:47]OFD Sender: No OFD packet to send [17:58:47]*** Cut start [17:58:47]*** Partial cut [17:58:47]*** CUTSNS_PIN = 1 [17:58:47]*** CUTSNS_PIN = 0 [17:58:47]*** Brake cut motor [17:58:48]Read from MH i2c: 01 [17:58:48]MH_I2C_Read... [17:58:48]*** Stop cut motor [17:58:48]*** Cut end [17:58:48]Read from MH i2c: 01 07 00 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: 01 07 00 03 3C 00 00 00 00 00 FF 0F 54 [17:58:48]process_action close_receipt done [17:58:48]requested_data is exist [17:58:48]produce_requested_data [17:58:48]requested_item fm.sn is exist - process it [17:58:48]wFMCommunicate request_size=4 [17:58:48]MH_SAM_APDU [17:58:48]CAPDU: 80 11 00 00 [17:58:48]Write to MH i2c: E2 08 00 04 3C 80 11 00 00 00 00 00 00 BA [17:58:48]Write i2c OK [17:58:48]MH_I2C_Read... [17:58:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:48]Read from MH i2c: E2 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 17 00 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 17 00 04 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 0F [17:58:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:48]wFMCommunicate OK [17:58:48]requested_item fd.num is exist - process it [17:58:48]SAM_PROTO_GetFieldsCounters [17:58:48]wFMCommunicate request_size=4 [17:58:48]MH_SAM_APDU [17:58:48]CAPDU: 80 13 00 00 [17:58:48]Write to MH i2c: E2 08 00 05 3C 80 13 00 00 00 00 00 00 BD [17:58:48]Write i2c OK [17:58:48]MH_I2C_Read... [17:58:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:58:48]Read from MH i2c: E2 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 62 00 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 62 00 05 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 72 9F 00 00 0E 04 04 00 C0 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 B9 [17:58:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 72 9F 00 00 0E 04 04 00 C0 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 [17:58:48]wFMCommunicate OK [17:58:48]SAM_PROTO_GetFieldsCounters done [17:58:48]requested_item shift.num is exist - process it [17:58:48]requested_item shift.opened is exist - process it [17:58:48]req_shift_opened [17:58:48]FM_GetShiftState [17:58:48]SAM_PROTO_GetShiftState [17:58:48]wFMCommunicate request_size=4 [17:58:48]MH_SAM_APDU [17:58:48]CAPDU: 80 13 01 00 [17:58:48]Write to MH i2c: E2 08 00 06 3C 80 13 01 00 00 00 00 00 BF [17:58:48]Write i2c OK [17:58:48]MH_I2C_Read... [17:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:48]Read from MH i2c: E2 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 0E 00 [17:58:48]MH_I2C_Read... [17:58:48]Read from MH i2c: E2 0E 00 06 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8D [17:58:48]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:48]wFMCommunicate OK [17:58:48]SAM_PROTO_GetShiftState done [17:58:48]FM_GetShiftState done [17:58:48]req_shift_opened done [17:58:48]requested_item shift.open_date is exist - process it [17:58:48]req_shift_open_date [17:58:48]req_shift_open_date done [17:58:48]produce_requested_data done [17:58:48]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40818,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:58:48]process_action_free close_receipt [17:58:48]json_value_free [17:58:48]json_value_free done [17:58:48]process_json_proto returns [17:58:48]Send response to host [17:58:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40818,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:58:48]free response buf [17:58:48]execute_script done [17:58:48]execute_script returns [17:58:48]free content buf [17:58:48]Sock 9.Close socket [17:58:48]Sock 9.Thread stoped [17:58:52]OFD Sender: No OFD packet to send [17:58:53]accept exits with 7 [17:58:53]New connection [17:58:53]New thread 3067030884 created [17:58:53]Thread 3066887524 joined [17:58:53]Waiting for new connection... [17:58:53] Sock 7.Parse request [17:58:53]Sock 7.Check first char [17:58:53]Sock 7.First char is OK [17:58:53]request: POST /json_proto HTTP/1.0 [17:58:53]Method: POST [17:58:53]URL: /json_proto [17:58:53]Method is POST - this is cgi request [17:58:53]url: /json_proto [17:58:53]query_string will be loaded in cgi processing [17:58:53]execute_cgi json_proto POST (null) [17:58:53]execute_cgi path=json_proto method=POST [17:58:53]POST find Content-Length [17:58:53]Host: 172.17.53.4:8080 [17:58:53]Content-Length: 682 [17:58:53]Content-Type: application/json [17:58:53] [17:58:53]POST finish read [17:58:53]Found Content-Length = 682 [17:58:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809001", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 54", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:53]execute_script... [17: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 : (1)809001", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 54", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:53]POST & json_proto [17:58:53]process_json_proto [17:58:53]json parsed OK: [17:58:53]protocol is kg_v1.0 [17:58:53]action value=close_receipt [17:58:53]process_action close_receipt [17:58:53]cmd_close_receipt [17:58:53]MH_GetDate [17:58:53]Write to MH i2c: F0 00 00 07 3C 32 [17:58:53]Write i2c OK [17:58:53]MH_I2C_Read... [17:58:53]Read from MH i2c: F0 [17:58:53]MH_I2C_Read... [17:58:53]Read from MH i2c: F0 09 00 [17:58:53]MH_I2C_Read... [17:58:53]Read from MH i2c: F0 09 00 07 3C 00 6E 96 16 67 05 11 DA 64 10 [17:58:53]GetLastDocTimeStamp 1729533541 [17:58:53]current date 1729533550 [17:58:53]FM_GetShiftState [17:58:53]SAM_PROTO_GetShiftState [17:58:53]wFMCommunicate request_size=4 [17:58:53]MH_SAM_APDU [17:58:53]CAPDU: 80 13 01 00 [17:58:53]Write to MH i2c: E2 08 00 08 3C 80 13 01 00 00 00 00 00 C1 [17:58:53]Write i2c OK [17:58:53]MH_I2C_Read... [17:58:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:53]Read from MH i2c: E2 [17:58:53]MH_I2C_Read... [17:58:53]Read from MH i2c: E2 0E 00 [17:58:53]MH_I2C_Read... [17:58:53]Read from MH i2c: E2 0E 00 08 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8F [17:58:53]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:53]wFMCommunicate OK [17:58:53]SAM_PROTO_GetShiftState done [17:58:53]FM_GetShiftState done [17:58:53]opened in 1729470630 [17:58:53]opened+sec_in_day 1729557030 [17:58:53]quantity*price = 100021 [17:58:53]sum+1 = 100023 [17:58:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.22 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 87 21.10.2024 17:59 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40819 ФПД: 261493543406279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175910&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40819&fm=261493543406279&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:54]StoreToDocumentArchive [17:58:54]shift 448 fd 40819 [17:58:54]save to /storage/0448/doc_00040819 [17:58:54]save last doc name /storage/0448/doc_00040819 to /storage/kkm_last_doc_name [17:58:54]save OK [17:58:54]Clear old archive folders... [17:58:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:58:54]tlvbuf is 010F1F70 [17:58:54]SAM_PROTO_ClearQueue [17:58:54]wFMCommunicate request_size=4 [17:58:54]MH_SAM_APDU [17:58:54]CAPDU: 80 09 00 00 [17:58:54]Write to MH i2c: E2 08 00 15 3C 80 09 00 00 00 00 00 00 C3 [17:58:54]Write i2c OK [17:58:54]MH_I2C_Read... [17:58:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:54]Read from MH i2c: E2 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 15 3C 00 90 00 C5 [17:58:54]RAPDU: 90 00 [17:58:54]wFMCommunicate OK [17:58:54]SAM_PROTO_ClearQueue done [17:58:54]KKMCreateOFDPacket [17:58:54]OFDProtocolAddRootSTLVToBuf [17:58:54]FM_MakeSignedData [17:58:54]FM_MakeSignedData [17:58:54]SAM_PROTO_SignData [17:58:54]wFMCommunicate request_size=4 [17:58:54]MH_SAM_APDU [17:58:54]CAPDU: 80 0D 01 02 [17:58:54]Write to MH i2c: E2 08 00 16 3C 80 0D 01 02 00 00 00 00 CB [17:58:54]Write i2c OK [17:58:54]MH_I2C_Read... [17:58:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:54]Read from MH i2c: E2 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 16 3C 00 90 00 C6 [17:58:54]RAPDU: 90 00 [17:58:54]wFMCommunicate OK [17:58:54]wFMCommunicate request_size=255 [17:58:54]MH_SAM_APDU [17:58:54]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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 6E 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 73 9F 00 00 35 04 06 00 ED [17:58:54]Write to MH i2c: E2 02 01 17 3C 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 6E 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 73 9F 00 00 35 04 06 00 ED 00 00 14 [17:58:54]Write i2c OK [17:58:54]MH_I2C_Read... [17:58:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:54]Read from MH i2c: E2 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 [17:58:54]MH_I2C_Read... [17:58:54]Read from MH i2c: E2 03 00 17 3C 00 90 00 C7 [17:58:54]RAPDU: 90 00 [17:58:54]wFMCommunicate OK [17:58:54]wFMCommunicate request_size=10 [17:58:54]MH_SAM_APDU [17:58:54]CAPDU: 80 0D 02 02 05 D3 B5 C4 0A C7 [17:58:54]Write to MH i2c: E2 0D 00 18 3C 80 0D 02 02 05 00 D3 B5 C4 0A C7 00 00 F5 [17:58:54]Write i2c OK [17:58:54]MH_I2C_Read... [17:58:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:55]Read from MH i2c: E2 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 03 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 03 00 18 3C 00 90 00 C8 [17:58:55]RAPDU: 90 00 [17:58:55]wFMCommunicate OK [17:58:55]wFMCommunicate request_size=4 [17:58:55]MH_SAM_APDU [17:58:55]CAPDU: 80 0D 03 02 [17:58:55]Write to MH i2c: E2 08 00 19 3C 80 0D 03 02 00 00 00 00 D0 [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:55]Read from MH i2c: E2 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 0B 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 0B 00 19 3C 00 DB 69 5B 12 86 00 AB 6F 90 00 22 [17:58:55]RAPDU: DB 69 5B 12 86 00 AB 6F 90 00 [17:58:55]wFMCommunicate OK [17:58:55]SAM_PROTO_SignData done [17:58:55]FM_MakeSignedData done [17:58:55]CreateOFDProtocolMessage [17:58:55]wFMCommunicate request_size=4 [17:58:55]MH_SAM_APDU [17:58:55]CAPDU: 80 11 00 00 [17:58:55]Write to MH i2c: E2 08 00 1A 3C 80 11 00 00 00 00 00 00 D0 [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:55]Read from MH i2c: E2 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 17 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 17 00 1A 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 25 [17:58:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:55]wFMCommunicate OK [17:58:55]CreateOFDProtocolMessage done [17:58:55]OFDSenderStorePacket 40819 [17:58:55]StoreOFDPacket docnum=40819 [17:58:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 30 C5 07 01 C0 6D 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 6E 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 73 9F 00 00 35 04 06 00 ED D3 B5 C4 0A C7 DB 69 5B 12 86 00 AB 6F [17:58:55]CheckFolder [17:58:55]dirname=/storage/ofd_packets [17:58:55]CheckFolder done [17:58:55]ProducePacketName [17:58:55]name=ofd_packets/00040819 [17:58:55]NVStorageSaveData ofd_packets/00040819 [17:58:55]File name is /storage/ofd_packets/00040819 [17:58:55]Write 301 bytes [17:58:55]NVStorageSaveData done [17:58:55]OFDSenderStorePacket done [17:58:55]KKMCreateOFDPacket done [17:58:55]NVStorageSaveData kkm_last_timestamp [17:58:55]File name is /storage/kkm_last_timestamp [17:58:55]Write 4 bytes [17:58:55]NVStorageSaveData done [17:58:55]ExternCall_PrintAddStr [17:58:55]wPrintStart [17:58:55]Write to MH i2c: 01 00 00 1B 3C 57 [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 07 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 07 00 1B 3C 00 00 00 00 00 FF 0F 6C [17:58:55]RasterBufferAndPrint [17:58:55]line Счет N : (1)809001 [17:58:55]line ИÐÐ: 02508201610067 [17:58:55]line Контрольно-КаÑÑовый Чек [17:58:55]line ПРОДÐЖР[17:58:55]line ТРК (МРК, ГÐК) : 54 [17:58:55]line Товар: 2710124500 [17:58:55]line Ðи-95-К-3 [17:58:55]line 13.480 * 74.20 [17:58:55]line = 1000.22 [17:58:55]line ÐДС 12% ÐСП 1% [17:58:55]line > о реализуемом товаре [17:58:55]line ОКРУГЛЕÐИЕ: -0.22 [17:58:55]line ИТОГО: 1000.00 [17:58:55]line ВнеÑено: 1000.00 [17:58:55]line СДÐЧÐ: 0.00 [17:58:55]line ÐСП 1% : 8.85 [17:58:55]line ÐДС 12% : 106.22 [17:58:55]line Ðаличными: 1000.00 [17:58:55]line Безнал.: 0.00 [17:58:55]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [17:58:55]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [17:58:55]line СÐО: Общий режим [17:58:55]line Чек 87 21.10.2024 17:59 [17:58:55]line Смена: 448 ФФД: 1.0 [17:58:55]line ЗÐМ: 0300000239 [17:58:55]line РÐМ: 0000000000098148 [17:58:55]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:58:55]line ФМ: 0000000000965374 [17:58:55]line ФД: 40819 [17:58:55]line ФПД: 261493543406279 [17:58:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175910&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40819&fm=261493543406279&tin=02508201610067®Number=0000000000098148&sum=100000 [17:58:55]written 0, free lines is 4095 [17:58:55]OFD Sender: Processing packet 40819 [packets to send 4, broken 3] [17:58:55]ProducePacketName [17:58:55]name=ofd_packets/00040819 [17:58:55]OFD Sender: To server: ‡•öpG, [17:58:55]CommunicateWithHost lk.salyk.kg:30040 [17:58:55]ConnectInit lk.salyk.kg [17:58:55]Connected sock=10 [17:58:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 30 C5 07 01 C0 6D 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 6E 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 73 9F 00 00 35 04 06 00 ED D3 B5 C4 0A C7 DB 69 5B 12 86 00 AB 6F [17:58:55]Write to MH i2c: 01 00 00 46 3C 82 [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 07 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: 01 07 00 46 3C 00 00 00 00 00 F9 0C 8E [17:58:55]RasterBufferAndPrint [17:58:55]line [17:58:55]line [17:58:55]line [17:58:55]line [17:58:55]line [17:58:55]written 0, free lines is 3328 [17:58:55]MH_Cut [17:58:55]Write to MH i2c: D1 01 00 4D 3C 01 5B [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: D1 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: D1 01 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: D1 01 00 4D 3C 00 5A [17:58:55]Write to MH i2c: 01 00 00 4E 3C 8A [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 3B DA 47 00 24 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 73 9F 00 00 F4 03 04 00 4E 3C 16 67 B6 04 01 00 00 C7 C0 B2 F2 1C 73 1B E1 [17:58:55]CommunicateWithHost err = 0 [17:58:55]CheckOFDResponse [17:58:55]1017 (14) - 77093643461234 [17:58:55]1041 (16) - 0000000000965374 [17:58:55]1040 (4) - 40819 [17:58:55]1012 (4) - 21.10.2024 11:34 [17:58:55]1206 (1) - 0 [17:58:55]OFD Sender: Remove packet 40819 [17:58:55]ProducePacketName [17:58:55]name=ofd_packets/00040819 [17:58:55]NVStorageDeleteData [17:58:56]*** Cut start [17:58:56]*** Partial cut [17:58:56]*** CUTSNS_PIN = 1 [17:58:56]*** CUTSNS_PIN = 0 [17:58:56]OFD Sender: No OFD packet to send [17:58:56]*** Brake cut motor [17:58:56]Read from MH i2c: 01 [17:58:56]MH_I2C_Read... [17:58:56]*** Stop cut motor [17:58:56]*** Cut end [17:58:56]Read from MH i2c: 01 07 00 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: 01 07 00 4E 3C 00 00 00 00 00 FF 0F 9F [17:58:56]process_action close_receipt done [17:58:56]requested_data is exist [17:58:56]produce_requested_data [17:58:56]requested_item fm.sn is exist - process it [17:58:56]wFMCommunicate request_size=4 [17:58:56]MH_SAM_APDU [17:58:56]CAPDU: 80 11 00 00 [17:58:56]Write to MH i2c: E2 08 00 4F 3C 80 11 00 00 00 00 00 00 05 [17:58:56]Write i2c OK [17:58:56]MH_I2C_Read... [17:58:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:56]Read from MH i2c: E2 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 17 00 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 17 00 4F 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 5A [17:58:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [17:58:56]wFMCommunicate OK [17:58:56]requested_item fd.num is exist - process it [17:58:56]SAM_PROTO_GetFieldsCounters [17:58:56]wFMCommunicate request_size=4 [17:58:56]MH_SAM_APDU [17:58:56]CAPDU: 80 13 00 00 [17:58:56]Write to MH i2c: E2 08 00 50 3C 80 13 00 00 00 00 00 00 08 [17:58:56]Write i2c OK [17:58:56]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 62 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 62 00 50 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 73 9F 00 00 0E 04 04 00 C0 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 08 [17:58:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 73 9F 00 00 0E 04 04 00 C0 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 [17:58:57]wFMCommunicate OK [17:58:57]SAM_PROTO_GetFieldsCounters done [17:58:57]requested_item shift.num is exist - process it [17:58:57]requested_item shift.opened is exist - process it [17:58:57]req_shift_opened [17:58:57]FM_GetShiftState [17:58:57]SAM_PROTO_GetShiftState [17:58:57]wFMCommunicate request_size=4 [17:58:57]MH_SAM_APDU [17:58:57]CAPDU: 80 13 01 00 [17:58:57]Write to MH i2c: E2 08 00 51 3C 80 13 01 00 00 00 00 00 0A [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0E 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0E 00 51 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 D8 [17:58:57]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [17:58:57]wFMCommunicate OK [17:58:57]SAM_PROTO_GetShiftState done [17:58:57]FM_GetShiftState done [17:58:57]req_shift_opened done [17:58:57]requested_item shift.open_date is exist - process it [17:58:57]req_shift_open_date [17:58:57]req_shift_open_date done [17:58:57]produce_requested_data done [17:58:57]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40819,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [17:58:57]process_action_free close_receipt [17:58:57]json_value_free [17:58:57]json_value_free done [17:58:57]process_json_proto returns [17:58:57]Send response to host [17:58:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40819,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [17:58:57]free response buf [17:58:57]execute_script done [17:58:57]execute_script returns [17:58:57]free content buf [17:58:57]Sock 7.Close socket [17:58:57]Sock 7.Thread stoped [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:24]accept exits with 9 [18:00:24]New connection [18:00:24]New thread 3066887524 created [18:00:24]Thread 3067030884 joined [18:00:24]Waiting for new connection... [18:00:24] Sock 9.Parse request [18:00:24]Sock 9.Check first char [18:00:24]Sock 9.First char is OK [18:00:24]request: POST /json_proto HTTP/1.0 [18:00:24]Method: POST [18:00:24]URL: /json_proto [18:00:24]Method is POST - this is cgi request [18:00:24]url: /json_proto [18:00:24]query_string will be loaded in cgi processing [18:00:24]execute_cgi json_proto POST (null) [18:00:24]execute_cgi path=json_proto method=POST [18:00:24]POST find Content-Length [18:00:24]Host: 172.17.53.4:8080 [18:00:24]Content-Length: 674 [18:00:24]Content-Type: application/json [18:00:24] [18:00:24]POST finish read [18:00:24]Found Content-Length = 674 [18:00:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809002", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [18:00:24]execute_script... [18:00:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809002", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "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" ] } } [18:00:24]POST & json_proto [18:00:24]process_json_proto [18:00:24]json parsed OK: [18:00:24]protocol is kg_v1.0 [18:00:24]action value=close_receipt [18:00:24]process_action close_receipt [18:00:24]cmd_close_receipt [18:00:24]MH_GetDate [18:00:24]Write to MH i2c: F0 00 00 52 3C 7D [18:00:24]Write i2c OK [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: F0 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: F0 09 00 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: F0 09 00 52 3C 00 C9 96 16 67 05 11 DA 64 B6 [18:00:24]GetLastDocTimeStamp 1729533550 [18:00:24]current date 1729533641 [18:00:24]FM_GetShiftState [18:00:24]SAM_PROTO_GetShiftState [18:00:24]wFMCommunicate request_size=4 [18:00:24]MH_SAM_APDU [18:00:24]CAPDU: 80 13 01 00 [18:00:24]Write to MH i2c: E2 08 00 53 3C 80 13 01 00 00 00 00 00 0C [18:00:24]Write i2c OK [18:00:24]MH_I2C_Read... [18:00:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:24]Read from MH i2c: E2 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: E2 0E 00 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: E2 0E 00 53 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 DA [18:00:24]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:00:24]wFMCommunicate OK [18:00:24]SAM_PROTO_GetShiftState done [18:00:24]FM_GetShiftState done [18:00:24]opened in 1729470630 [18:00:24]opened+sec_in_day 1729557030 [18:00:24]quantity*price = 50063 [18:00:24]sum+1 = 50064 [18:00:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.63 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.16 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 88 21.10.2024 18:00 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40820 ФПД: 145439578497794 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180041&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40820&fm=145439578497794&tin=02508201610067®Number=0000000000098148&sum=50000 [18:00:25]StoreToDocumentArchive [18:00:25]shift 448 fd 40820 [18:00:25]save to /storage/0448/doc_00040820 [18:00:25]save last doc name /storage/0448/doc_00040820 to /storage/kkm_last_doc_name [18:00:25]save OK [18:00:25]Clear old archive folders... [18:00:25]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:00:25]tlvbuf is 0107F760 [18:00:25]SAM_PROTO_ClearQueue [18:00:25]wFMCommunicate request_size=4 [18:00:25]MH_SAM_APDU [18:00:25]CAPDU: 80 09 00 00 [18:00:25]Write to MH i2c: E2 08 00 60 3C 80 09 00 00 00 00 00 00 0E [18:00:25]Write i2c OK [18:00:25]MH_I2C_Read... [18:00:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:25]Read from MH i2c: E2 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 03 00 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 03 00 60 3C 00 90 00 10 [18:00:25]RAPDU: 90 00 [18:00:25]wFMCommunicate OK [18:00:25]SAM_PROTO_ClearQueue done [18:00:25]KKMCreateOFDPacket [18:00:25]OFDProtocolAddRootSTLVToBuf [18:00:25]FM_MakeSignedData [18:00:25]FM_MakeSignedData [18:00:25]SAM_PROTO_SignData [18:00:25]wFMCommunicate request_size=4 [18:00:25]MH_SAM_APDU [18:00:25]CAPDU: 80 0D 01 02 [18:00:25]Write to MH i2c: E2 08 00 61 3C 80 0D 01 02 00 00 00 00 16 [18:00:25]Write i2c OK [18:00:25]MH_I2C_Read... [18:00:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:26]Read from MH i2c: E2 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 61 3C 00 90 00 11 [18:00:26]RAPDU: 90 00 [18:00:26]wFMCommunicate OK [18:00:26]wFMCommunicate request_size=255 [18:00:26]MH_SAM_APDU [18:00:26]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 C9 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 74 9F 00 00 35 04 06 00 84 46 CA 69 [18:00:26]Write to MH i2c: E2 02 01 62 3C 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 C9 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 74 9F 00 00 35 04 06 00 84 46 CA 69 00 00 2C [18:00:26]Write i2c OK [18:00:26]MH_I2C_Read... [18:00:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:26]Read from MH i2c: E2 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 62 3C 00 90 00 12 [18:00:26]RAPDU: 90 00 [18:00:26]wFMCommunicate OK [18:00:26]wFMCommunicate request_size=7 [18:00:26]MH_SAM_APDU [18:00:26]CAPDU: 80 0D 02 02 02 A3 02 [18:00:26]Write to MH i2c: E2 0A 00 63 3C 80 0D 02 02 02 00 A3 02 00 00 C2 [18:00:26]Write i2c OK [18:00:26]MH_I2C_Read... [18:00:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:26]Read from MH i2c: E2 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 03 00 63 3C 00 90 00 13 [18:00:26]RAPDU: 90 00 [18:00:26]wFMCommunicate OK [18:00:26]wFMCommunicate request_size=4 [18:00:26]MH_SAM_APDU [18:00:26]CAPDU: 80 0D 03 02 [18:00:26]Write to MH i2c: E2 08 00 64 3C 80 0D 03 02 00 00 00 00 1B [18:00:26]Write i2c OK [18:00:26]MH_I2C_Read... [18:00:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:26]Read from MH i2c: E2 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 0B 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 0B 00 64 3C 00 98 EB A1 0B 81 37 D3 F3 90 00 C9 [18:00:26]RAPDU: 98 EB A1 0B 81 37 D3 F3 90 00 [18:00:26]wFMCommunicate OK [18:00:26]SAM_PROTO_SignData done [18:00:26]FM_MakeSignedData done [18:00:26]CreateOFDProtocolMessage [18:00:26]wFMCommunicate request_size=4 [18:00:26]MH_SAM_APDU [18:00:26]CAPDU: 80 11 00 00 [18:00:26]Write to MH i2c: E2 08 00 65 3C 80 11 00 00 00 00 00 00 1B [18:00:26]Write i2c OK [18:00:26]MH_I2C_Read... [18:00:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:26]Read from MH i2c: E2 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 17 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: E2 17 00 65 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 70 [18:00:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:00:26]wFMCommunicate OK [18:00:26]CreateOFDProtocolMessage done [18:00:26]OFDSenderStorePacket 40820 [18:00:26]StoreOFDPacket docnum=40820 [18:00:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 52 B9 04 01 07 A0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 C9 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 74 9F 00 00 35 04 06 00 84 46 CA 69 A3 02 98 EB A1 0B 81 37 D3 F3 [18:00:26]CheckFolder [18:00:26]dirname=/storage/ofd_packets [18:00:26]CheckFolder done [18:00:26]ProducePacketName [18:00:26]name=ofd_packets/00040820 [18:00:26]NVStorageSaveData ofd_packets/00040820 [18:00:26]File name is /storage/ofd_packets/00040820 [18:00:26]Write 298 bytes [18:00:26]NVStorageSaveData done [18:00:26]OFDSenderStorePacket done [18:00:26]KKMCreateOFDPacket done [18:00:26]NVStorageSaveData kkm_last_timestamp [18:00:26]File name is /storage/kkm_last_timestamp [18:00:26]Write 4 bytes [18:00:26]NVStorageSaveData done [18:00:26]ExternCall_PrintAddStr [18:00:26]wPrintStart [18:00:26]Write to MH i2c: 01 00 00 66 3C A2 [18:00:26]Write i2c OK [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: 01 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: 01 07 00 [18:00:26]MH_I2C_Read... [18:00:26]Read from MH i2c: 01 07 00 66 3C 00 00 00 00 00 FF 0F B7 [18:00:26]RasterBufferAndPrint [18:00:26]line Счет N : (1)809002 [18:00:26]line ИÐÐ: 02508201610067 [18:00:26]line Контрольно-КаÑÑовый Чек [18:00:26]line ПРОДÐЖР[18:00:26]line ТРК (МРК, ГÐК) : 61 [18:00:26]line Товар: 2710194210 [18:00:26]line ДТ-К-2 [18:00:26]line 6.570 * 76.20 [18:00:26]line = 500.63 [18:00:26]line ÐДС 12% ÐСП 1% [18:00:26]line > о реализуемом товаре [18:00:26]line ОКРУГЛЕÐИЕ: -0.63 [18:00:26]line ИТОГО: 500.00 [18:00:26]line ВнеÑено: 500.00 [18:00:26]line СДÐЧÐ: 0.00 [18:00:26]line ÐСП 1% : 4.43 [18:00:26]line ÐДС 12% : 53.16 [18:00:26]line Ðаличными: 500.00 [18:00:26]line Безнал.: 0.00 [18:00:26]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:00:26]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:00:26]line СÐО: Общий режим [18:00:26]line Чек 88 21.10.2024 18:00 [18:00:26]line Смена: 448 ФФД: 1.0 [18:00:26]line ЗÐМ: 0300000239 [18:00:26]line РÐМ: 0000000000098148 [18:00:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:00:26]line ФМ: 0000000000965374 [18:00:26]line ФД: 40820 [18:00:26]line ФПД: 145439578497794 [18:00:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180041&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40820&fm=145439578497794&tin=02508201610067®Number=0000000000098148&sum=50000 [18:00:26]OFD Sender: Processing packet 40820 [packets to send 4, broken 3] [18:00:26]ProducePacketName [18:00:26]name=ofd_packets/00040820 [18:00:26]OFD Sender: To server: ‡•öpG, [18:00:26]CommunicateWithHost lk.salyk.kg:30040 [18:00:26]ConnectInit lk.salyk.kg [18:00:26]written 0, free lines is 4095 [18:00:26]Connected sock=10 [18:00:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 52 B9 04 01 07 A0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 C9 96 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 74 9F 00 00 35 04 06 00 84 46 CA 69 A3 02 98 EB A1 0B 81 37 D3 F3 [18:00:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 38 67 47 00 C2 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 74 9F 00 00 F4 03 04 00 A9 3C 16 67 B6 04 01 00 00 FF DB 52 64 A9 26 BC 02 [18:00:27]CommunicateWithHost err = 0 [18:00:27]CheckOFDResponse [18:00:27]1017 (14) - 77093643461234 [18:00:27]1041 (16) - 0000000000965374 [18:00:27]1040 (4) - 40820 [18:00:27]1012 (4) - 21.10.2024 11:36 [18:00:27]1206 (1) - 0 [18:00:27]OFD Sender: Remove packet 40820 [18:00:27]ProducePacketName [18:00:27]name=ofd_packets/00040820 [18:00:27]NVStorageDeleteData [18:00:27]Write to MH i2c: 01 00 00 91 3C CD [18:00:27]Write i2c OK [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: 01 [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: 01 07 00 [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: 01 07 00 91 3C 00 00 00 00 00 EB 0C CB [18:00:27]RasterBufferAndPrint [18:00:27]line [18:00:27]line [18:00:27]line [18:00:27]line [18:00:27]line [18:00:27]written 0, free lines is 3313 [18:00:27]MH_Cut [18:00:27]Write to MH i2c: D1 01 00 98 3C 01 A6 [18:00:27]Write i2c OK [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: D1 [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: D1 01 00 [18:00:27]MH_I2C_Read... [18:00:27]Read from MH i2c: D1 01 00 98 3C 00 A5 [18:00:27]Write to MH i2c: 01 00 00 99 3C D5 [18:00:27]Write i2c OK [18:00:27]MH_I2C_Read... [18:00:27]OFD Sender: No OFD packet to send [18:00:27]*** Cut start [18:00:27]*** Partial cut [18:00:27]*** CUTSNS_PIN = 1 [18:00:27]*** CUTSNS_PIN = 0 [18:00:28]*** Brake cut motor [18:00:28]Read from MH i2c: 01 [18:00:28]MH_I2C_Read... [18:00:28]*** Stop cut motor [18:00:28]*** Cut end [18:00:28]Read from MH i2c: 01 07 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: 01 07 00 99 3C 00 00 00 00 00 FF 0F EA [18:00:28]process_action close_receipt done [18:00:28]requested_data is exist [18:00:28]produce_requested_data [18:00:28]requested_item fm.sn is exist - process it [18:00:28]wFMCommunicate request_size=4 [18:00:28]MH_SAM_APDU [18:00:28]CAPDU: 80 11 00 00 [18:00:28]Write to MH i2c: E2 08 00 9A 3C 80 11 00 00 00 00 00 00 50 [18:00:28]Write i2c OK [18:00:28]MH_I2C_Read... [18:00:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:28]Read from MH i2c: E2 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 17 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 17 00 9A 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A5 [18:00:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:00:28]wFMCommunicate OK [18:00:28]requested_item fd.num is exist - process it [18:00:28]SAM_PROTO_GetFieldsCounters [18:00:28]wFMCommunicate request_size=4 [18:00:28]MH_SAM_APDU [18:00:28]CAPDU: 80 13 00 00 [18:00:28]Write to MH i2c: E2 08 00 9B 3C 80 13 00 00 00 00 00 00 53 [18:00:28]Write i2c OK [18:00:28]MH_I2C_Read... [18:00:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:28]Read from MH i2c: E2 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 62 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 62 00 9B 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 74 9F 00 00 0E 04 04 00 C0 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 57 [18:00:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 74 9F 00 00 0E 04 04 00 C0 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 [18:00:28]wFMCommunicate OK [18:00:28]SAM_PROTO_GetFieldsCounters done [18:00:28]requested_item shift.num is exist - process it [18:00:28]requested_item shift.opened is exist - process it [18:00:28]req_shift_opened [18:00:28]FM_GetShiftState [18:00:28]SAM_PROTO_GetShiftState [18:00:28]wFMCommunicate request_size=4 [18:00:28]MH_SAM_APDU [18:00:28]CAPDU: 80 13 01 00 [18:00:28]Write to MH i2c: E2 08 00 9C 3C 80 13 01 00 00 00 00 00 55 [18:00:28]Write i2c OK [18:00:28]MH_I2C_Read... [18:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:28]Read from MH i2c: E2 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 0E 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 0E 00 9C 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 23 [18:00:28]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:00:28]wFMCommunicate OK [18:00:28]SAM_PROTO_GetShiftState done [18:00:28]FM_GetShiftState done [18:00:28]req_shift_opened done [18:00:28]requested_item shift.open_date is exist - process it [18:00:28]req_shift_open_date [18:00:28]req_shift_open_date done [18:00:28]produce_requested_data done [18:00:28]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40820,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:00:28]process_action_free close_receipt [18:00:28]json_value_free [18:00:28]json_value_free done [18:00:28]process_json_proto returns [18:00:28]Send response to host [18:00:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40820,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:00:28]free response buf [18:00:28]execute_script done [18:00:28]execute_script returns [18:00:28]free content buf [18:00:28]Sock 9.Close socket [18:00:28]Sock 9.Thread stoped [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:26]accept exits with 7 [18:02:26]New connection [18:02:26]New thread 3067030884 created [18:02:26]Thread 3066887524 joined [18:02:26]Waiting for new connection... [18:02:26] Sock 7.Parse request [18:02:26]Sock 7.Check first char [18:02:26]Sock 7.First char is OK [18:02:26]request: POST /json_proto HTTP/1.0 [18:02:26]Method: POST [18:02:26]URL: /json_proto [18:02:26]Method is POST - this is cgi request [18:02:26]url: /json_proto [18:02:26]query_string will be loaded in cgi processing [18:02:26]execute_cgi json_proto POST (null) [18:02:26]execute_cgi path=json_proto method=POST [18:02:26]POST find Content-Length [18:02:26]Host: 172.17.53.4:8080 [18:02:26]Content-Length: 816 [18:02:26]Content-Type: application/json [18:02:26] [18:02:26]POST finish read [18:02:26]Found Content-Length = 816 [18:02:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809003", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:26]execute_script... [18:02:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809003", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:26]POST & json_proto [18:02:26]process_json_proto [18:02:26]json parsed OK: [18:02:26]protocol is kg_v1.0 [18:02:26]action value=close_receipt [18:02:26]process_action close_receipt [18:02:26]cmd_close_receipt [18:02:26]MH_GetDate [18:02:26]Write to MH i2c: F0 00 00 9D 3C C8 [18:02:26]Write i2c OK [18:02:26]MH_I2C_Read... [18:02:26]Read from MH i2c: F0 [18:02:26]MH_I2C_Read... [18:02:26]Read from MH i2c: F0 09 00 [18:02:26]MH_I2C_Read... [18:02:26]Read from MH i2c: F0 09 00 9D 3C 00 43 97 16 67 05 11 DA 64 7C [18:02:26]GetLastDocTimeStamp 1729533641 [18:02:26]current date 1729533763 [18:02:26]FM_GetShiftState [18:02:26]SAM_PROTO_GetShiftState [18:02:26]wFMCommunicate request_size=4 [18:02:26]MH_SAM_APDU [18:02:26]CAPDU: 80 13 01 00 [18:02:26]Write to MH i2c: E2 08 00 9E 3C 80 13 01 00 00 00 00 00 57 [18:02:26]Write i2c OK [18:02:26]MH_I2C_Read... [18:02:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:26]Read from MH i2c: E2 [18:02:26]MH_I2C_Read... [18:02:26]Read from MH i2c: E2 0E 00 [18:02:26]MH_I2C_Read... [18:02:26]Read from MH i2c: E2 0E 00 9E 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 25 [18:02:26]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:02:26]wFMCommunicate OK [18:02:26]SAM_PROTO_GetShiftState done [18:02:26]FM_GetShiftState done [18:02:26]opened in 1729470630 [18:02:26]opened+sec_in_day 1729557030 [18:02:26]quantity*price = 50041 [18:02:26]sum+1 = 50042 [18:02:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.41 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 0.00 Безнал.: 500.41 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 89 21.10.2024 18:02 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40821 ФПД: 242825690617462 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180244&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40821&fm=242825690617462&tin=02508201610067®Number=0000000000098148&sum=50041 [18:02:27]StoreToDocumentArchive [18:02:27]shift 448 fd 40821 [18:02:27]save to /storage/0448/doc_00040821 [18:02:27]save last doc name /storage/0448/doc_00040821 to /storage/kkm_last_doc_name [18:02:27]save OK [18:02:27]Clear old archive folders... [18:02:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:02:27]tlvbuf is 010DEC30 [18:02:27]SAM_PROTO_ClearQueue [18:02:27]wFMCommunicate request_size=4 [18:02:27]MH_SAM_APDU [18:02:27]CAPDU: 80 09 00 00 [18:02:27]Write to MH i2c: E2 08 00 AB 3C 80 09 00 00 00 00 00 00 59 [18:02:27]Write i2c OK [18:02:27]MH_I2C_Read... [18:02:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:02:27]Read from MH i2c: E2 [18:02:27]MH_I2C_Read... [18:02:27]Read from MH i2c: E2 03 00 [18:02:27]MH_I2C_Read... [18:02:27]Read from MH i2c: E2 03 00 AB 3C 00 90 00 5B [18:02:27]RAPDU: 90 00 [18:02:27]wFMCommunicate OK [18:02:27]SAM_PROTO_ClearQueue done [18:02:27]KKMCreateOFDPacket [18:02:27]OFDProtocolAddRootSTLVToBuf [18:02:27]FM_MakeSignedData [18:02:27]FM_MakeSignedData [18:02:27]SAM_PROTO_SignData [18:02:27]wFMCommunicate request_size=4 [18:02:27]MH_SAM_APDU [18:02:27]CAPDU: 80 0D 01 02 [18:02:27]Write to MH i2c: E2 08 00 AC 3C 80 0D 01 02 00 00 00 00 61 [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:02:28]Read from MH i2c: E2 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 03 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 03 00 AC 3C 00 90 00 5C [18:02:28]RAPDU: 90 00 [18:02:28]wFMCommunicate OK [18:02:28]wFMCommunicate request_size=255 [18:02:28]MH_SAM_APDU [18:02:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 44 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 75 9F 00 00 35 04 06 00 DC [18:02:28]Write to MH i2c: E2 02 01 AD 3C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 44 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 75 9F 00 00 35 04 06 00 DC 00 00 AB [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 [18:02:28]MH_I2C_Read... [18:02:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:28]Read from MH i2c: E2 03 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 03 00 AD 3C 00 90 00 5D [18:02:28]RAPDU: 90 00 [18:02:28]wFMCommunicate OK [18:02:28]wFMCommunicate request_size=10 [18:02:28]MH_SAM_APDU [18:02:28]CAPDU: 80 0D 02 02 05 D9 43 08 16 76 [18:02:28]Write to MH i2c: E2 0D 00 AE 3C 80 0D 02 02 05 00 D9 43 08 16 76 00 00 1E [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:28]Read from MH i2c: E2 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 03 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 03 00 AE 3C 00 90 00 5E [18:02:28]RAPDU: 90 00 [18:02:28]wFMCommunicate OK [18:02:28]wFMCommunicate request_size=4 [18:02:28]MH_SAM_APDU [18:02:28]CAPDU: 80 0D 03 02 [18:02:28]Write to MH i2c: E2 08 00 AF 3C 80 0D 03 02 00 00 00 00 66 [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:02:28]Read from MH i2c: E2 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 0B 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 0B 00 AF 3C 00 D1 46 3D C9 C7 3A A3 27 90 00 4F [18:02:28]RAPDU: D1 46 3D C9 C7 3A A3 27 90 00 [18:02:28]wFMCommunicate OK [18:02:28]SAM_PROTO_SignData done [18:02:28]FM_MakeSignedData done [18:02:28]CreateOFDProtocolMessage [18:02:28]wFMCommunicate request_size=4 [18:02:28]MH_SAM_APDU [18:02:28]CAPDU: 80 11 00 00 [18:02:28]Write to MH i2c: E2 08 00 B0 3C 80 11 00 00 00 00 00 00 66 [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:28]Read from MH i2c: E2 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 17 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: E2 17 00 B0 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 BB [18:02:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:02:28]wFMCommunicate OK [18:02:28]CreateOFDProtocolMessage done [18:02:28]OFDSenderStorePacket 40821 [18:02:28]StoreOFDPacket docnum=40821 [18:02:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 07 EA 07 01 A5 EF 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 44 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 75 9F 00 00 35 04 06 00 DC D9 43 08 16 76 D1 46 3D C9 C7 3A A3 27 [18:02:28]CheckFolder [18:02:28]dirname=/storage/ofd_packets [18:02:28]CheckFolder done [18:02:28]ProducePacketName [18:02:28]name=ofd_packets/00040821 [18:02:28]NVStorageSaveData ofd_packets/00040821 [18:02:28]File name is /storage/ofd_packets/00040821 [18:02:28]Write 301 bytes [18:02:28]NVStorageSaveData done [18:02:28]OFDSenderStorePacket done [18:02:28]KKMCreateOFDPacket done [18:02:28]NVStorageSaveData kkm_last_timestamp [18:02:28]File name is /storage/kkm_last_timestamp [18:02:28]Write 4 bytes [18:02:28]NVStorageSaveData done [18:02:28]ExternCall_PrintAddStr [18:02:28]wPrintStart [18:02:28]Write to MH i2c: 01 00 00 B1 3C ED [18:02:28]Write i2c OK [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: 01 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: 01 07 00 [18:02:28]MH_I2C_Read... [18:02:28]Read from MH i2c: 01 07 00 B1 3C 00 00 00 00 00 FF 0F 02 [18:02:28]RasterBufferAndPrint [18:02:28]line Счет N : (1)809003 [18:02:28]line ИÐÐ: 02508201610067 [18:02:28]line Контрольно-КаÑÑовый Чек [18:02:28]line ПРОДÐЖР[18:02:28]line ТРК (МРК, ГÐК) : 43 [18:02:28]line Товар: 2710124130 [18:02:28]line Ðи-92-К-5 [18:02:28]line 7.480 * 66.90 [18:02:28]line = 500.41 [18:02:28]line ÐДС 12% ÐСП 1% [18:02:28]line > о реализуемом товаре [18:02:28]line ИТОГО: 500.41 [18:02:28]line ÐСП 1% : 4.43 [18:02:28]line ÐДС 12% : 53.14 [18:02:28]line Ðаличными: 0.00 [18:02:28]line Безнал.: 500.41 [18:02:28]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:02:28]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:02:28]line СÐО: Общий режим [18:02:28]line Чек 89 21.10.2024 18:02 [18:02:28]line Смена: 448 ФФД: 1.0 [18:02:28]line ЗÐМ: 0300000239 [18:02:28]line РÐМ: 0000000000098148 [18:02:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:02:28]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [18:02:28]line ФМ: 0000000000965374 [18:02:28]line ФД: 40821 [18:02:28]line ФПД: 242825690617462 [18:02:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180244&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40821&fm=242825690617462&tin=02508201610067®Number=0000000000098148&sum=50041 [18:02:28]OFD Sender: Processing packet 40821 [packets to send 4, broken 3] [18:02:28]ProducePacketName [18:02:28]name=ofd_packets/00040821 [18:02:28]OFD Sender: To server: ‡•öpG, [18:02:28]CommunicateWithHost lk.salyk.kg:30040 [18:02:28]ConnectInit lk.salyk.kg [18:02:28]written 0, free lines is 4095 [18:02:28]Connected sock=10 [18:02:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 07 EA 07 01 A5 EF 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 44 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 75 9F 00 00 35 04 06 00 DC D9 43 08 16 76 D1 46 3D C9 C7 3A A3 27 [18:02:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 47 5A 47 00 DF E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 75 9F 00 00 F4 03 04 00 23 3D 16 67 B6 04 01 00 00 26 18 85 C2 25 26 C9 93 [18:02:29]CommunicateWithHost err = 0 [18:02:29]CheckOFDResponse [18:02:29]1017 (14) - 77093643461234 [18:02:29]1041 (16) - 0000000000965374 [18:02:29]1040 (4) - 40821 [18:02:29]1012 (4) - 21.10.2024 11:38 [18:02:29]1206 (1) - 0 [18:02:29]OFD Sender: Remove packet 40821 [18:02:29]ProducePacketName [18:02:29]name=ofd_packets/00040821 [18:02:29]NVStorageDeleteData [18:02:29]Write to MH i2c: 01 00 00 DB 3C 17 [18:02:29]Write i2c OK [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: 01 [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: 01 07 00 [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: 01 07 00 DB 3C 00 00 00 00 00 0A 0D 35 [18:02:29]RasterBufferAndPrint [18:02:29]line [18:02:29]line [18:02:29]line [18:02:29]line [18:02:29]line [18:02:29]written 0, free lines is 3344 [18:02:29]MH_Cut [18:02:29]Write to MH i2c: D1 01 00 E2 3C 01 F0 [18:02:29]Write i2c OK [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: D1 [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: D1 01 00 [18:02:29]MH_I2C_Read... [18:02:29]Read from MH i2c: D1 01 00 E2 3C 00 EF [18:02:29]Write to MH i2c: 01 00 00 E3 3C 1F [18:02:29]Write i2c OK [18:02:29]MH_I2C_Read... [18:02:29]OFD Sender: No OFD packet to send [18:02:29]*** Cut start [18:02:29]*** Partial cut [18:02:29]*** CUTSNS_PIN = 1 [18:02:29]*** CUTSNS_PIN = 0 [18:02:30]*** Brake cut motor [18:02:30]Read from MH i2c: 01 [18:02:30]MH_I2C_Read... [18:02:30]*** Stop cut motor [18:02:30]*** Cut end [18:02:30]Read from MH i2c: 01 07 00 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: 01 07 00 E3 3C 00 00 00 00 00 FF 0F 34 [18:02:30]process_action close_receipt done [18:02:30]requested_data is exist [18:02:30]produce_requested_data [18:02:30]requested_item fm.sn is exist - process it [18:02:30]wFMCommunicate request_size=4 [18:02:30]MH_SAM_APDU [18:02:30]CAPDU: 80 11 00 00 [18:02:30]Write to MH i2c: E2 08 00 E4 3C 80 11 00 00 00 00 00 00 9A [18:02:30]Write i2c OK [18:02:30]MH_I2C_Read... [18:02:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:30]Read from MH i2c: E2 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 17 00 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 17 00 E4 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EF [18:02:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:02:30]wFMCommunicate OK [18:02:30]requested_item fd.num is exist - process it [18:02:30]SAM_PROTO_GetFieldsCounters [18:02:30]wFMCommunicate request_size=4 [18:02:30]MH_SAM_APDU [18:02:30]CAPDU: 80 13 00 00 [18:02:30]Write to MH i2c: E2 08 00 E5 3C 80 13 00 00 00 00 00 00 9D [18:02:30]Write i2c OK [18:02:30]MH_I2C_Read... [18:02:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:02:30]Read from MH i2c: E2 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 62 00 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 62 00 E5 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 75 9F 00 00 0E 04 04 00 C0 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 A5 [18:02:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 75 9F 00 00 0E 04 04 00 C0 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 [18:02:30]wFMCommunicate OK [18:02:30]SAM_PROTO_GetFieldsCounters done [18:02:30]requested_item shift.num is exist - process it [18:02:30]requested_item shift.opened is exist - process it [18:02:30]req_shift_opened [18:02:30]FM_GetShiftState [18:02:30]SAM_PROTO_GetShiftState [18:02:30]wFMCommunicate request_size=4 [18:02:30]MH_SAM_APDU [18:02:30]CAPDU: 80 13 01 00 [18:02:30]Write to MH i2c: E2 08 00 E6 3C 80 13 01 00 00 00 00 00 9F [18:02:30]Write i2c OK [18:02:30]MH_I2C_Read... [18:02:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:30]Read from MH i2c: E2 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 0E 00 [18:02:30]MH_I2C_Read... [18:02:30]Read from MH i2c: E2 0E 00 E6 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6D [18:02:30]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:02:30]wFMCommunicate OK [18:02:30]SAM_PROTO_GetShiftState done [18:02:30]FM_GetShiftState done [18:02:30]req_shift_opened done [18:02:30]requested_item shift.open_date is exist - process it [18:02:30]req_shift_open_date [18:02:30]req_shift_open_date done [18:02:30]produce_requested_data done [18:02:30]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40821,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:02:30]process_action_free close_receipt [18:02:30]json_value_free [18:02:30]json_value_free done [18:02:30]process_json_proto returns [18:02:30]Send response to host [18:02:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40821,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:02:30]free response buf [18:02:30]execute_script done [18:02:30]execute_script returns [18:02:30]free content buf [18:02:30]Sock 7.Close socket [18:02:30]Sock 7.Thread stoped [18:02:34]OFD Sender: No OFD packet to send [18:02:35]accept exits with 9 [18:02:35]New connection [18:02:35]New thread 3066887524 created [18:02:35]Thread 3067030884 joined [18:02:35]Waiting for new connection... [18:02:35] Sock 9.Parse request [18:02:35]Sock 9.Check first char [18:02:35]Sock 9.First char is OK [18:02:35]request: POST /json_proto HTTP/1.0 [18:02:35]Method: POST [18:02:35]URL: /json_proto [18:02:35]Method is POST - this is cgi request [18:02:35]url: /json_proto [18:02:35]query_string will be loaded in cgi processing [18:02:35]execute_cgi json_proto POST (null) [18:02:35]execute_cgi path=json_proto method=POST [18:02:35]POST find Content-Length [18:02:35]Host: 172.17.53.4:8080 [18:02:35]Content-Length: 677 [18:02:35]Content-Type: application/json [18:02:35] [18:02:35]POST finish read [18:02:35]Found Content-Length = 677 [18:02:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809005", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.540, "sum" : 370.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:35]execute_script... [18:02:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809005", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.540, "sum" : 370.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:35]POST & json_proto [18:02:35]process_json_proto [18:02:35]json parsed OK: [18:02:35]protocol is kg_v1.0 [18:02:35]action value=close_receipt [18:02:35]process_action close_receipt [18:02:35]cmd_close_receipt [18:02:35]MH_GetDate [18:02:35]Write to MH i2c: F0 00 00 E7 3C 12 [18:02:35]Write i2c OK [18:02:35]MH_I2C_Read... [18:02:35]Read from MH i2c: F0 [18:02:35]MH_I2C_Read... [18:02:35]Read from MH i2c: F0 09 00 [18:02:35]MH_I2C_Read... [18:02:35]Read from MH i2c: F0 09 00 E7 3C 00 4C 97 16 67 05 11 DA 64 CF [18:02:35]GetLastDocTimeStamp 1729533764 [18:02:35]current date 1729533772 [18:02:35]FM_GetShiftState [18:02:35]SAM_PROTO_GetShiftState [18:02:35]wFMCommunicate request_size=4 [18:02:35]MH_SAM_APDU [18:02:35]CAPDU: 80 13 01 00 [18:02:35]Write to MH i2c: E2 08 00 E8 3C 80 13 01 00 00 00 00 00 A1 [18:02:35]Write i2c OK [18:02:35]MH_I2C_Read... [18:02:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:35]Read from MH i2c: E2 [18:02:35]MH_I2C_Read... [18:02:35]Read from MH i2c: E2 0E 00 [18:02:35]MH_I2C_Read... [18:02:35]Read from MH i2c: E2 0E 00 E8 3C 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6F [18:02:35]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:02:35]wFMCommunicate OK [18:02:35]SAM_PROTO_GetShiftState done [18:02:35]FM_GetShiftState done [18:02:35]opened in 1729470630 [18:02:35]opened+sec_in_day 1729557030 [18:02:35]quantity*price = 37062 [18:02:35]sum+1 = 37064 [18:02:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.63 ИТОГО: 370.00 ВнеÑено: 370.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.28 ÐДС 12% : 39.36 Ðаличными: 370.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 90 21.10.2024 18:02 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40822 ФПД: 214275220466277 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180252&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40822&fm=214275220466277&tin=02508201610067®Number=0000000000098148&sum=37000 [18:02:36]StoreToDocumentArchive [18:02:36]shift 448 fd 40822 [18:02:36]save to /storage/0448/doc_00040822 [18:02:36]save last doc name /storage/0448/doc_00040822 to /storage/kkm_last_doc_name [18:02:36]save OK [18:02:36]Clear old archive folders... [18:02:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:02:36]tlvbuf is 01064530 [18:02:36]SAM_PROTO_ClearQueue [18:02:36]wFMCommunicate request_size=4 [18:02:36]MH_SAM_APDU [18:02:36]CAPDU: 80 09 00 00 [18:02:36]Write to MH i2c: E2 08 00 F5 3C 80 09 00 00 00 00 00 00 A3 [18:02:36]Write i2c OK [18:02:36]MH_I2C_Read... [18:02:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:02:36]Read from MH i2c: E2 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 03 00 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 03 00 F5 3C 00 90 00 A5 [18:02:36]RAPDU: 90 00 [18:02:36]wFMCommunicate OK [18:02:36]SAM_PROTO_ClearQueue done [18:02:36]KKMCreateOFDPacket [18:02:36]OFDProtocolAddRootSTLVToBuf [18:02:36]FM_MakeSignedData [18:02:36]FM_MakeSignedData [18:02:36]SAM_PROTO_SignData [18:02:36]wFMCommunicate request_size=4 [18:02:36]MH_SAM_APDU [18:02:36]CAPDU: 80 0D 01 02 [18:02:36]Write to MH i2c: E2 08 00 F6 3C 80 0D 01 02 00 00 00 00 AB [18:02:36]Write i2c OK [18:02:36]MH_I2C_Read... [18:02:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:02:36]Read from MH i2c: E2 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 03 00 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 03 00 F6 3C 00 90 00 A6 [18:02:36]RAPDU: 90 00 [18:02:36]wFMCommunicate OK [18:02:36]wFMCommunicate request_size=255 [18:02:36]MH_SAM_APDU [18:02:36]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 A4 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 C7 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 4C 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 76 9F 00 00 35 04 06 00 C2 [18:02:36]Write to MH i2c: E2 02 01 F7 3C 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 A4 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 C7 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 4C 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 76 9F 00 00 35 04 06 00 C2 00 00 42 [18:02:36]Write i2c OK [18:02:36]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 F7 3C 00 90 00 A7 [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]wFMCommunicate request_size=10 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 0D 02 02 05 E1 D6 66 6A 65 [18:02:37]Write to MH i2c: E2 0D 00 F8 3C 80 0D 02 02 05 00 E1 D6 66 6A 65 00 00 A4 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 F8 3C 00 90 00 A8 [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 0D 03 02 [18:02:37]Write to MH i2c: E2 08 00 F9 3C 80 0D 03 02 00 00 00 00 B0 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 0B 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 0B 00 F9 3C 00 79 7E E6 76 F3 F0 70 B3 90 00 0A [18:02:37]RAPDU: 79 7E E6 76 F3 F0 70 B3 90 00 [18:02:37]wFMCommunicate OK [18:02:37]SAM_PROTO_SignData done [18:02:37]FM_MakeSignedData done [18:02:37]CreateOFDProtocolMessage [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 11 00 00 [18:02:37]Write to MH i2c: E2 08 00 FA 3C 80 11 00 00 00 00 00 00 B0 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 17 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 17 00 FA 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 05 [18:02:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:02:37]wFMCommunicate OK [18:02:37]CreateOFDProtocolMessage done [18:02:37]OFDSenderStorePacket 40822 [18:02:37]StoreOFDPacket docnum=40822 [18:02:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 78 D1 07 01 21 D8 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 A4 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 C7 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 4C 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 76 9F 00 00 35 04 06 00 C2 E1 D6 66 6A 65 79 7E E6 76 F3 F0 70 B3 [18:02:37]CheckFolder [18:02:37]dirname=/storage/ofd_packets [18:02:37]CheckFolder done [18:02:37]ProducePacketName [18:02:37]name=ofd_packets/00040822 [18:02:37]NVStorageSaveData ofd_packets/00040822 [18:02:37]File name is /storage/ofd_packets/00040822 [18:02:37]Write 301 bytes [18:02:37]NVStorageSaveData done [18:02:37]OFDSenderStorePacket done [18:02:37]KKMCreateOFDPacket done [18:02:37]NVStorageSaveData kkm_last_timestamp [18:02:37]File name is /storage/kkm_last_timestamp [18:02:37]Write 4 bytes [18:02:37]NVStorageSaveData done [18:02:37]ExternCall_PrintAddStr [18:02:37]wPrintStart [18:02:37]Write to MH i2c: 01 00 00 FB 3C 37 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 07 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 07 00 FB 3C 00 00 00 00 00 FF 0F 4C [18:02:37]RasterBufferAndPrint [18:02:37]line Счет N : (1)809005 [18:02:37]line ИÐÐ: 02508201610067 [18:02:37]line Контрольно-КаÑÑовый Чек [18:02:37]line ПРОДÐЖР[18:02:37]line ТРК (МРК, ГÐК) : 53 [18:02:37]line Товар: 2710124130 [18:02:37]line Ðи-92-К-5 [18:02:37]line 5.540 * 66.90 [18:02:37]line = 370.63 [18:02:37]line ÐДС 12% ÐСП 1% [18:02:37]line > о реализуемом товаре [18:02:37]line ОКРУГЛЕÐИЕ: -0.63 [18:02:37]line ИТОГО: 370.00 [18:02:37]line ВнеÑено: 370.00 [18:02:37]line СДÐЧÐ: 0.00 [18:02:37]line ÐСП 1% : 3.28 [18:02:37]line ÐДС 12% : 39.36 [18:02:37]line Ðаличными: 370.00 [18:02:37]line Безнал.: 0.00 [18:02:37]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:02:37]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:02:37]line СÐО: Общий режим [18:02:37]line Чек 90 21.10.2024 18:02 [18:02:37]line Смена: 448 ФФД: 1.0 [18:02:37]line ЗÐМ: 0300000239 [18:02:37]line РÐМ: 0000000000098148 [18:02:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:02:37]line ФМ: 0000000000965374 [18:02:37]line ФД: 40822 [18:02:37]line ФПД: 214275220466277 [18:02:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180252&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40822&fm=214275220466277&tin=02508201610067®Number=0000000000098148&sum=37000 [18:02:37]written 0, free lines is 4095 [18:02:37]OFD Sender: Processing packet 40822 [packets to send 4, broken 3] [18:02:37]ProducePacketName [18:02:37]name=ofd_packets/00040822 [18:02:37]OFD Sender: To server: ‡•öpG, [18:02:37]CommunicateWithHost lk.salyk.kg:30040 [18:02:37]ConnectInit lk.salyk.kg [18:02:37]Connected sock=11 [18:02:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 78 D1 07 01 21 D8 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 A4 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 C7 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 4C 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 76 9F 00 00 35 04 06 00 C2 E1 D6 66 6A 65 79 7E E6 76 F3 F0 70 B3 [18:02:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 C5 21 47 00 08 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 76 9F 00 00 F4 03 04 00 2C 3D 16 67 B6 04 01 00 00 34 FF BF 66 61 B0 36 94 [18:02:37]CommunicateWithHost err = 0 [18:02:37]CheckOFDResponse [18:02:37]1017 (14) - 77093643461234 [18:02:37]1041 (16) - 0000000000965374 [18:02:37]1040 (4) - 40822 [18:02:37]1012 (4) - 21.10.2024 11:38 [18:02:37]1206 (1) - 0 [18:02:37]OFD Sender: Remove packet 40822 [18:02:37]ProducePacketName [18:02:37]name=ofd_packets/00040822 [18:02:37]NVStorageDeleteData [18:02:37]Write to MH i2c: 01 00 00 26 3D 63 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 07 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: 01 07 00 26 3D 00 00 00 00 00 00 0D 77 [18:02:37]RasterBufferAndPrint [18:02:37]line [18:02:37]line [18:02:37]line [18:02:37]line [18:02:37]line [18:02:37]written 0, free lines is 3337 [18:02:37]MH_Cut [18:02:37]Write to MH i2c: D1 01 00 2D 3D 01 3C [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: D1 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: D1 01 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: D1 01 00 2D 3D 00 3B [18:02:37]Write to MH i2c: 01 00 00 2E 3D 6B [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:38]OFD Sender: No OFD packet to send [18:02:38]*** Cut start [18:02:38]*** Partial cut [18:02:38]*** CUTSNS_PIN = 1 [18:02:38]*** CUTSNS_PIN = 0 [18:02:38]*** Brake cut motor [18:02:39]Read from MH i2c: 01 [18:02:39]MH_I2C_Read... [18:02:39]*** Stop cut motor [18:02:39]*** Cut end [18:02:39]Read from MH i2c: 01 07 00 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: 01 07 00 2E 3D 00 00 00 00 00 FF 0F 80 [18:02:39]process_action close_receipt done [18:02:39]requested_data is exist [18:02:39]produce_requested_data [18:02:39]requested_item fm.sn is exist - process it [18:02:39]wFMCommunicate request_size=4 [18:02:39]MH_SAM_APDU [18:02:39]CAPDU: 80 11 00 00 [18:02:39]Write to MH i2c: E2 08 00 2F 3D 80 11 00 00 00 00 00 00 E6 [18:02:39]Write i2c OK [18:02:39]MH_I2C_Read... [18:02:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:39]Read from MH i2c: E2 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 17 00 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 17 00 2F 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 3B [18:02:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:02:39]wFMCommunicate OK [18:02:39]requested_item fd.num is exist - process it [18:02:39]SAM_PROTO_GetFieldsCounters [18:02:39]wFMCommunicate request_size=4 [18:02:39]MH_SAM_APDU [18:02:39]CAPDU: 80 13 00 00 [18:02:39]Write to MH i2c: E2 08 00 30 3D 80 13 00 00 00 00 00 00 E9 [18:02:39]Write i2c OK [18:02:39]MH_I2C_Read... [18:02:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:02:39]Read from MH i2c: E2 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 62 00 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 62 00 30 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 76 9F 00 00 0E 04 04 00 C0 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 F5 [18:02:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 76 9F 00 00 0E 04 04 00 C0 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 [18:02:39]wFMCommunicate OK [18:02:39]SAM_PROTO_GetFieldsCounters done [18:02:39]requested_item shift.num is exist - process it [18:02:39]requested_item shift.opened is exist - process it [18:02:39]req_shift_opened [18:02:39]FM_GetShiftState [18:02:39]SAM_PROTO_GetShiftState [18:02:39]wFMCommunicate request_size=4 [18:02:39]MH_SAM_APDU [18:02:39]CAPDU: 80 13 01 00 [18:02:39]Write to MH i2c: E2 08 00 31 3D 80 13 01 00 00 00 00 00 EB [18:02:39]Write i2c OK [18:02:39]MH_I2C_Read... [18:02:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:39]Read from MH i2c: E2 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 0E 00 [18:02:39]MH_I2C_Read... [18:02:39]Read from MH i2c: E2 0E 00 31 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 B9 [18:02:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:02:39]wFMCommunicate OK [18:02:39]SAM_PROTO_GetShiftState done [18:02:39]FM_GetShiftState done [18:02:39]req_shift_opened done [18:02:39]requested_item shift.open_date is exist - process it [18:02:39]req_shift_open_date [18:02:39]req_shift_open_date done [18:02:39]produce_requested_data done [18:02:39]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40822,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:02:39]process_action_free close_receipt [18:02:39]json_value_free [18:02:39]json_value_free done [18:02:39]process_json_proto returns [18:02:39]Send response to host [18:02:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40822,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:02:39]free response buf [18:02:39]execute_script done [18:02:39]execute_script returns [18:02:39]free content buf [18:02:39]Sock 9.Close socket [18:02:39]Sock 9.Thread stoped [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:43]OFD Sender: No OFD packet to send [18:03:48]OFD Sender: No OFD packet to send [18:03:53]OFD Sender: No OFD packet to send [18:03:57]accept exits with 7 [18:03:57]New connection [18:03:57]New thread 3067030884 created [18:03:57]Thread 3066887524 joined [18:03:57]Waiting for new connection... [18:03:57] Sock 7.Parse request [18:03:57]Sock 7.Check first char [18:03:57]Sock 7.First char is OK [18:03:57]request: POST /json_proto HTTP/1.0 [18:03:57]Method: POST [18:03:57]URL: /json_proto [18:03:57]Method is POST - this is cgi request [18:03:57]url: /json_proto [18:03:57]query_string will be loaded in cgi processing [18:03:57]execute_cgi json_proto POST (null) [18:03:57]execute_cgi path=json_proto method=POST [18:03:57]POST find Content-Length [18:03:57]Host: 172.17.53.4:8080 [18:03:57]Content-Length: 682 [18:03:57]Content-Type: application/json [18:03:57] [18:03:57]POST finish read [18:03:57]Found Content-Length = 682 [18:03:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809006", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 20.930, "sum" : 1400.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1400.00, "total" : 1400.00, "payments": [ { "type": 0, "sum" : 1400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:57]execute_script... [18:03:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809006", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 20.930, "sum" : 1400.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1400.00, "total" : 1400.00, "payments": [ { "type": 0, "sum" : 1400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:57]POST & json_proto [18:03:57]process_json_proto [18:03:57]json parsed OK: [18:03:57]protocol is kg_v1.0 [18:03:57]action value=close_receipt [18:03:57]process_action close_receipt [18:03:57]cmd_close_receipt [18:03:57]MH_GetDate [18:03:57]Write to MH i2c: F0 00 00 32 3D 5E [18:03:57]Write i2c OK [18:03:57]MH_I2C_Read... [18:03:57]Read from MH i2c: F0 [18:03:57]MH_I2C_Read... [18:03:57]Read from MH i2c: F0 09 00 [18:03:57]MH_I2C_Read... [18:03:57]Read from MH i2c: F0 09 00 32 3D 00 9E 97 16 67 05 11 DA 64 6D [18:03:57]GetLastDocTimeStamp 1729533772 [18:03:57]current date 1729533854 [18:03:57]FM_GetShiftState [18:03:57]SAM_PROTO_GetShiftState [18:03:57]wFMCommunicate request_size=4 [18:03:57]MH_SAM_APDU [18:03:57]CAPDU: 80 13 01 00 [18:03:57]Write to MH i2c: E2 08 00 33 3D 80 13 01 00 00 00 00 00 ED [18:03:57]Write i2c OK [18:03:57]MH_I2C_Read... [18:03:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:57]Read from MH i2c: E2 [18:03:57]MH_I2C_Read... [18:03:57]Read from MH i2c: E2 0E 00 [18:03:57]MH_I2C_Read... [18:03:57]Read from MH i2c: E2 0E 00 33 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 BB [18:03:57]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:03:57]wFMCommunicate OK [18:03:57]SAM_PROTO_GetShiftState done [18:03:57]FM_GetShiftState done [18:03:57]opened in 1729470630 [18:03:57]opened+sec_in_day 1729557030 [18:03:57]quantity*price = 140021 [18:03:57]sum+1 = 140023 [18:03:57]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.22 ИТОГО: 1400.00 ВнеÑено: 1400.00 СДÐЧÐ: 0.00 ÐСП 1% : 12.39 ÐДС 12% : 148.70 Ðаличными: 1400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 91 21.10.2024 18:04 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40823 ФПД: 255178867153621 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180414&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40823&fm=255178867153621&tin=02508201610067®Number=0000000000098148&sum=140000 [18:03:58]StoreToDocumentArchive [18:03:58]shift 448 fd 40823 [18:03:58]save to /storage/0448/doc_00040823 [18:03:58]save last doc name /storage/0448/doc_00040823 to /storage/kkm_last_doc_name [18:03:58]save OK [18:03:58]Clear old archive folders... [18:03:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:03:58]tlvbuf is 010ADFC0 [18:03:58]SAM_PROTO_ClearQueue [18:03:58]wFMCommunicate request_size=4 [18:03:58]MH_SAM_APDU [18:03:58]CAPDU: 80 09 00 00 [18:03:58]Write to MH i2c: E2 08 00 40 3D 80 09 00 00 00 00 00 00 EF [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:58]Read from MH i2c: E2 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 40 3D 00 90 00 F1 [18:03:58]RAPDU: 90 00 [18:03:58]wFMCommunicate OK [18:03:58]SAM_PROTO_ClearQueue done [18:03:58]KKMCreateOFDPacket [18:03:58]OFDProtocolAddRootSTLVToBuf [18:03:58]FM_MakeSignedData [18:03:58]FM_MakeSignedData [18:03:58]SAM_PROTO_SignData [18:03:58]wFMCommunicate request_size=4 [18:03:58]MH_SAM_APDU [18:03:58]CAPDU: 80 0D 01 02 [18:03:58]Write to MH i2c: E2 08 00 41 3D 80 0D 01 02 00 00 00 00 F7 [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:58]Read from MH i2c: E2 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 41 3D 00 90 00 F2 [18:03:58]RAPDU: 90 00 [18:03:58]wFMCommunicate OK [18:03:58]wFMCommunicate request_size=255 [18:03:58]MH_SAM_APDU [18:03: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 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 E0 22 02 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 9E 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 77 9F 00 00 35 04 06 00 E8 [18:03:58]Write to MH i2c: E2 02 01 42 3D 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 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 E0 22 02 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 9E 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 77 9F 00 00 35 04 06 00 E8 00 00 70 [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:58]Read from MH i2c: E2 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 42 3D 00 90 00 F3 [18:03:58]RAPDU: 90 00 [18:03:58]wFMCommunicate OK [18:03:58]wFMCommunicate request_size=10 [18:03:58]MH_SAM_APDU [18:03:58]CAPDU: 80 0D 02 02 05 15 75 BB 1A D5 [18:03:58]Write to MH i2c: E2 0D 00 43 3D 80 0D 02 02 05 00 15 75 BB 1A D5 00 00 38 [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:58]Read from MH i2c: E2 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 03 00 43 3D 00 90 00 F4 [18:03:58]RAPDU: 90 00 [18:03:58]wFMCommunicate OK [18:03:58]wFMCommunicate request_size=4 [18:03:58]MH_SAM_APDU [18:03:58]CAPDU: 80 0D 03 02 [18:03:58]Write to MH i2c: E2 08 00 44 3D 80 0D 03 02 00 00 00 00 FC [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:58]Read from MH i2c: E2 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 0B 00 [18:03:58]MH_I2C_Read... [18:03:58]Read from MH i2c: E2 0B 00 44 3D 00 5F 23 58 D8 36 3B 9A C0 90 00 7A [18:03:58]RAPDU: 5F 23 58 D8 36 3B 9A C0 90 00 [18:03:58]wFMCommunicate OK [18:03:58]SAM_PROTO_SignData done [18:03:58]FM_MakeSignedData done [18:03:58]CreateOFDProtocolMessage [18:03:58]wFMCommunicate request_size=4 [18:03:58]MH_SAM_APDU [18:03:58]CAPDU: 80 11 00 00 [18:03:58]Write to MH i2c: E2 08 00 45 3D 80 11 00 00 00 00 00 00 FC [18:03:58]Write i2c OK [18:03:58]MH_I2C_Read... [18:03:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:59]Read from MH i2c: E2 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: E2 17 00 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: E2 17 00 45 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 51 [18:03:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:03:59]wFMCommunicate OK [18:03:59]CreateOFDProtocolMessage done [18:03:59]OFDSenderStorePacket 40823 [18:03:59]StoreOFDPacket docnum=40823 [18:03:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 1B 42 07 01 62 4D 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 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 E0 22 02 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 9E 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 77 9F 00 00 35 04 06 00 E8 15 75 BB 1A D5 5F 23 58 D8 36 3B 9A C0 [18:03:59]CheckFolder [18:03:59]dirname=/storage/ofd_packets [18:03:59]CheckFolder done [18:03:59]ProducePacketName [18:03:59]name=ofd_packets/00040823 [18:03:59]NVStorageSaveData ofd_packets/00040823 [18:03:59]File name is /storage/ofd_packets/00040823 [18:03:59]Write 301 bytes [18:03:59]NVStorageSaveData done [18:03:59]OFDSenderStorePacket done [18:03:59]KKMCreateOFDPacket done [18:03:59]NVStorageSaveData kkm_last_timestamp [18:03:59]File name is /storage/kkm_last_timestamp [18:03:59]Write 4 bytes [18:03:59]NVStorageSaveData done [18:03:59]ExternCall_PrintAddStr [18:03:59]wPrintStart [18:03:59]Write to MH i2c: 01 00 00 46 3D 83 [18:03:59]Write i2c OK [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 07 00 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 07 00 46 3D 00 00 00 00 00 FF 0F 98 [18:03:59]RasterBufferAndPrint [18:03:59]line Счет N : (1)809006 [18:03:59]line ИÐÐ: 02508201610067 [18:03:59]line Контрольно-КаÑÑовый Чек [18:03:59]line ПРОДÐЖР[18:03:59]line ТРК (МРК, ГÐК) : 33 [18:03:59]line Товар: 2710124130 [18:03:59]line Ðи-92-К-5 [18:03:59]line 20.930 * 66.90 [18:03:59]line = 1400.22 [18:03:59]line ÐДС 12% ÐСП 1% [18:03:59]line > о реализуемом товаре [18:03:59]line ОКРУГЛЕÐИЕ: -0.22 [18:03:59]line ИТОГО: 1400.00 [18:03:59]line ВнеÑено: 1400.00 [18:03:59]line СДÐЧÐ: 0.00 [18:03:59]line ÐСП 1% : 12.39 [18:03:59]line ÐДС 12% : 148.70 [18:03:59]line Ðаличными: 1400.00 [18:03:59]line Безнал.: 0.00 [18:03:59]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:03:59]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:03:59]line СÐО: Общий режим [18:03:59]line Чек 91 21.10.2024 18:04 [18:03:59]line Смена: 448 ФФД: 1.0 [18:03:59]line ЗÐМ: 0300000239 [18:03:59]line РÐМ: 0000000000098148 [18:03:59]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:03:59]line ФМ: 0000000000965374 [18:03:59]line ФД: 40823 [18:03:59]line ФПД: 255178867153621 [18:03:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180414&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40823&fm=255178867153621&tin=02508201610067®Number=0000000000098148&sum=140000 [18:03:59]OFD Sender: Processing packet 40823 [packets to send 4, broken 3] [18:03:59]ProducePacketName [18:03:59]name=ofd_packets/00040823 [18:03:59]OFD Sender: To server: ‡•öpG, [18:03:59]CommunicateWithHost lk.salyk.kg:30040 [18:03:59]ConnectInit lk.salyk.kg [18:03:59]written 0, free lines is 4095 [18:03:59]Connected sock=10 [18:03:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 1B 42 07 01 62 4D 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 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 E0 22 02 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 9E 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 77 9F 00 00 35 04 06 00 E8 15 75 BB 1A D5 5F 23 58 D8 36 3B 9A C0 [18:03:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 63 FC 47 00 3F C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 77 9F 00 00 F4 03 04 00 7E 3D 16 67 B6 04 01 00 00 4D 7F CB 47 E1 AC D6 B8 [18:03:59]CommunicateWithHost err = 0 [18:03:59]CheckOFDResponse [18:03:59]1017 (14) - 77093643461234 [18:03:59]1041 (16) - 0000000000965374 [18:03:59]1040 (4) - 40823 [18:03:59]1012 (4) - 21.10.2024 11:39 [18:03:59]1206 (1) - 0 [18:03:59]OFD Sender: Remove packet 40823 [18:03:59]ProducePacketName [18:03:59]name=ofd_packets/00040823 [18:03:59]NVStorageDeleteData [18:03:59]Write to MH i2c: 01 00 00 71 3D AE [18:03:59]Write i2c OK [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 07 00 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: 01 07 00 71 3D 00 00 00 00 00 F4 0C B5 [18:03:59]RasterBufferAndPrint [18:03:59]line [18:03:59]line [18:03:59]line [18:03:59]line [18:03:59]line [18:03:59]written 0, free lines is 3322 [18:03:59]MH_Cut [18:03:59]Write to MH i2c: D1 01 00 78 3D 01 87 [18:03:59]Write i2c OK [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: D1 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: D1 01 00 [18:03:59]MH_I2C_Read... [18:03:59]Read from MH i2c: D1 01 00 78 3D 00 86 [18:03:59]Write to MH i2c: 01 00 00 79 3D B6 [18:03:59]Write i2c OK [18:03:59]MH_I2C_Read... [18:04:00]OFD Sender: No OFD packet to send [18:04:00]*** Cut start [18:04:00]*** Partial cut [18:04:00]*** CUTSNS_PIN = 1 [18:04:00]*** CUTSNS_PIN = 0 [18:04:00]*** Brake cut motor [18:04:01]Read from MH i2c: 01 [18:04:01]MH_I2C_Read... [18:04:01]*** Stop cut motor [18:04:01]*** Cut end [18:04:01]Read from MH i2c: 01 07 00 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: 01 07 00 79 3D 00 00 00 00 00 FF 0F CB [18:04:01]process_action close_receipt done [18:04:01]requested_data is exist [18:04:01]produce_requested_data [18:04:01]requested_item fm.sn is exist - process it [18:04:01]wFMCommunicate request_size=4 [18:04:01]MH_SAM_APDU [18:04:01]CAPDU: 80 11 00 00 [18:04:01]Write to MH i2c: E2 08 00 7A 3D 80 11 00 00 00 00 00 00 31 [18:04:01]Write i2c OK [18:04:01]MH_I2C_Read... [18:04:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:01]Read from MH i2c: E2 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 17 00 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 17 00 7A 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 86 [18:04:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:04:01]wFMCommunicate OK [18:04:01]requested_item fd.num is exist - process it [18:04:01]SAM_PROTO_GetFieldsCounters [18:04:01]wFMCommunicate request_size=4 [18:04:01]MH_SAM_APDU [18:04:01]CAPDU: 80 13 00 00 [18:04:01]Write to MH i2c: E2 08 00 7B 3D 80 13 00 00 00 00 00 00 34 [18:04:01]Write i2c OK [18:04:01]MH_I2C_Read... [18:04:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:01]Read from MH i2c: E2 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 62 00 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 62 00 7B 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 77 9F 00 00 0E 04 04 00 C0 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 44 [18:04:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 77 9F 00 00 0E 04 04 00 C0 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 [18:04:01]wFMCommunicate OK [18:04:01]SAM_PROTO_GetFieldsCounters done [18:04:01]requested_item shift.num is exist - process it [18:04:01]requested_item shift.opened is exist - process it [18:04:01]req_shift_opened [18:04:01]FM_GetShiftState [18:04:01]SAM_PROTO_GetShiftState [18:04:01]wFMCommunicate request_size=4 [18:04:01]MH_SAM_APDU [18:04:01]CAPDU: 80 13 01 00 [18:04:01]Write to MH i2c: E2 08 00 7C 3D 80 13 01 00 00 00 00 00 36 [18:04:01]Write i2c OK [18:04:01]MH_I2C_Read... [18:04:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:01]Read from MH i2c: E2 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 0E 00 [18:04:01]MH_I2C_Read... [18:04:01]Read from MH i2c: E2 0E 00 7C 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 04 [18:04:01]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:04:01]wFMCommunicate OK [18:04:01]SAM_PROTO_GetShiftState done [18:04:01]FM_GetShiftState done [18:04:01]req_shift_opened done [18:04:01]requested_item shift.open_date is exist - process it [18:04:01]req_shift_open_date [18:04:01]req_shift_open_date done [18:04:01]produce_requested_data done [18:04:01]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40823,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:04:01]process_action_free close_receipt [18:04:01]json_value_free [18:04:01]json_value_free done [18:04:01]process_json_proto returns [18:04:01]Send response to host [18:04:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40823,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:04:01]free response buf [18:04:01]execute_script done [18:04:01]execute_script returns [18:04:01]free content buf [18:04:01]Sock 7.Close socket [18:04:01]Sock 7.Thread stoped [18:04:05]OFD Sender: No OFD packet to send [18:04:08]accept exits with 9 [18:04:08]New connection [18:04:08]New thread 3066887524 created [18:04:08]Thread 3067030884 joined [18:04:08]Waiting for new connection... [18:04:08] Sock 9.Parse request [18:04:08]Sock 9.Check first char [18:04:08]Sock 9.First char is OK [18:04:08]request: POST /json_proto HTTP/1.0 [18:04:08]Method: POST [18:04:08]URL: /json_proto [18:04:08]Method is POST - this is cgi request [18:04:08]url: /json_proto [18:04:08]query_string will be loaded in cgi processing [18:04:08]execute_cgi json_proto POST (null) [18:04:08]execute_cgi path=json_proto method=POST [18:04:08]POST find Content-Length [18:04:08]Host: 172.17.53.4:8080 [18:04:08]Content-Length: 677 [18:04:08]Content-Type: application/json [18:04:08] [18:04:08]POST finish read [18:04:08]Found Content-Length = 677 [18:04:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809007", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:08]execute_script... [18:04:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809007", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:08]POST & json_proto [18:04:08]process_json_proto [18:04:08]json parsed OK: [18:04:08]protocol is kg_v1.0 [18:04:08]action value=close_receipt [18:04:08]process_action close_receipt [18:04:08]cmd_close_receipt [18:04:08]MH_GetDate [18:04:08]Write to MH i2c: F0 00 00 7D 3D A9 [18:04:08]Write i2c OK [18:04:08]MH_I2C_Read... [18:04:08]Read from MH i2c: F0 [18:04:08]MH_I2C_Read... [18:04:08]Read from MH i2c: F0 09 00 [18:04:08]MH_I2C_Read... [18:04:08]Read from MH i2c: F0 09 00 7D 3D 00 A9 97 16 67 05 11 DA 64 C3 [18:04:08]GetLastDocTimeStamp 1729533854 [18:04:08]current date 1729533865 [18:04:08]FM_GetShiftState [18:04:08]SAM_PROTO_GetShiftState [18:04:08]wFMCommunicate request_size=4 [18:04:08]MH_SAM_APDU [18:04:08]CAPDU: 80 13 01 00 [18:04:08]Write to MH i2c: E2 08 00 7E 3D 80 13 01 00 00 00 00 00 38 [18:04:08]Write i2c OK [18:04:08]MH_I2C_Read... [18:04:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:08]Read from MH i2c: E2 [18:04:08]MH_I2C_Read... [18:04:08]Read from MH i2c: E2 0E 00 [18:04:08]MH_I2C_Read... [18:04:08]Read from MH i2c: E2 0E 00 7E 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 06 [18:04:08]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:04:08]wFMCommunicate OK [18:04:08]SAM_PROTO_GetShiftState done [18:04:08]FM_GetShiftState done [18:04:08]opened in 1729470630 [18:04:08]opened+sec_in_day 1729557030 [18:04:08]quantity*price = 20003 [18:04:08]sum+1 = 20004 [18:04:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.24 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 92 21.10.2024 18:04 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40824 ФПД: 124620977498521 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180425&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40824&fm=124620977498521&tin=02508201610067®Number=0000000000098148&sum=20000 [18:04:09]StoreToDocumentArchive [18:04:09]shift 448 fd 40824 [18:04:09]save to /storage/0448/doc_00040824 [18:04:09]save last doc name /storage/0448/doc_00040824 to /storage/kkm_last_doc_name [18:04:09]save OK [18:04:09]Clear old archive folders... [18:04:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:04:09]tlvbuf is B6F6B8B0 [18:04:09]SAM_PROTO_ClearQueue [18:04:09]wFMCommunicate request_size=4 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 09 00 00 [18:04:09]Write to MH i2c: E2 08 00 8B 3D 80 09 00 00 00 00 00 00 3A [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 8B 3D 00 90 00 3C [18:04:09]RAPDU: 90 00 [18:04:09]wFMCommunicate OK [18:04:09]SAM_PROTO_ClearQueue done [18:04:09]KKMCreateOFDPacket [18:04:09]OFDProtocolAddRootSTLVToBuf [18:04:09]FM_MakeSignedData [18:04:09]FM_MakeSignedData [18:04:09]SAM_PROTO_SignData [18:04:09]wFMCommunicate request_size=4 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 0D 01 02 [18:04:09]Write to MH i2c: E2 08 00 8C 3D 80 0D 01 02 00 00 00 00 42 [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 8C 3D 00 90 00 3D [18:04:09]RAPDU: 90 00 [18:04:09]wFMCommunicate OK [18:04:09]wFMCommunicate request_size=255 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 5C 00 00 00 F4 03 04 00 A9 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 78 9F 00 00 35 04 06 00 71 [18:04:09]Write to MH i2c: E2 02 01 8D 3D 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 5C 00 00 00 F4 03 04 00 A9 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 78 9F 00 00 35 04 06 00 71 00 00 FC [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 8D 3D 00 90 00 3E [18:04:09]RAPDU: 90 00 [18:04:09]wFMCommunicate OK [18:04:09]wFMCommunicate request_size=10 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 0D 02 02 05 57 95 18 69 99 [18:04:09]Write to MH i2c: E2 0D 00 8E 3D 80 0D 02 02 05 00 57 95 18 69 99 00 00 55 [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 03 00 8E 3D 00 90 00 3F [18:04:09]RAPDU: 90 00 [18:04:09]wFMCommunicate OK [18:04:09]wFMCommunicate request_size=4 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 0D 03 02 [18:04:09]Write to MH i2c: E2 08 00 8F 3D 80 0D 03 02 00 00 00 00 47 [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 0B 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 0B 00 8F 3D 00 C4 02 5B 5D C7 9E 0C EC 90 00 23 [18:04:09]RAPDU: C4 02 5B 5D C7 9E 0C EC 90 00 [18:04:09]wFMCommunicate OK [18:04:09]SAM_PROTO_SignData done [18:04:09]FM_MakeSignedData done [18:04:09]CreateOFDProtocolMessage [18:04:09]wFMCommunicate request_size=4 [18:04:09]MH_SAM_APDU [18:04:09]CAPDU: 80 11 00 00 [18:04:09]Write to MH i2c: E2 08 00 90 3D 80 11 00 00 00 00 00 00 47 [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:09]Read from MH i2c: E2 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 17 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: E2 17 00 90 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 9C [18:04:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:04:09]wFMCommunicate OK [18:04:09]CreateOFDProtocolMessage done [18:04:09]OFDSenderStorePacket 40824 [18:04:09]StoreOFDPacket docnum=40824 [18:04:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 43 61 07 01 7F 80 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 5C 00 00 00 F4 03 04 00 A9 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 78 9F 00 00 35 04 06 00 71 57 95 18 69 99 C4 02 5B 5D C7 9E 0C EC [18:04:09]CheckFolder [18:04:09]dirname=/storage/ofd_packets [18:04:09]CheckFolder done [18:04:09]ProducePacketName [18:04:09]name=ofd_packets/00040824 [18:04:09]NVStorageSaveData ofd_packets/00040824 [18:04:09]File name is /storage/ofd_packets/00040824 [18:04:09]Write 301 bytes [18:04:09]NVStorageSaveData done [18:04:09]OFDSenderStorePacket done [18:04:09]KKMCreateOFDPacket done [18:04:09]NVStorageSaveData kkm_last_timestamp [18:04:09]File name is /storage/kkm_last_timestamp [18:04:09]Write 4 bytes [18:04:09]NVStorageSaveData done [18:04:09]ExternCall_PrintAddStr [18:04:09]wPrintStart [18:04:09]Write to MH i2c: 01 00 00 91 3D CE [18:04:09]Write i2c OK [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: 01 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: 01 07 00 [18:04:09]MH_I2C_Read... [18:04:09]Read from MH i2c: 01 07 00 91 3D 00 00 00 00 00 FF 0F E3 [18:04:09]RasterBufferAndPrint [18:04:09]line Счет N : (1)809007 [18:04:09]line ИÐÐ: 02508201610067 [18:04:09]line Контрольно-КаÑÑовый Чек [18:04:09]line ПРОДÐЖР[18:04:09]line ТРК (МРК, ГÐК) : 63 [18:04:09]line Товар: 2710124130 [18:04:09]line Ðи-92-К-5 [18:04:09]line 2.990 * 66.90 [18:04:09]line = 200.03 [18:04:09]line ÐДС 12% ÐСП 1% [18:04:09]line > о реализуемом товаре [18:04:09]line ОКРУГЛЕÐИЕ: -0.03 [18:04:09]line ИТОГО: 200.00 [18:04:09]line ВнеÑено: 200.00 [18:04:09]line СДÐЧÐ: 0.00 [18:04:09]line ÐСП 1% : 1.77 [18:04:09]line ÐДС 12% : 21.24 [18:04:09]line Ðаличными: 200.00 [18:04:09]line Безнал.: 0.00 [18:04:09]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:04:09]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:04:09]line СÐО: Общий режим [18:04:09]line Чек 92 21.10.2024 18:04 [18:04:09]line Смена: 448 ФФД: 1.0 [18:04:09]line ЗÐМ: 0300000239 [18:04:09]line РÐМ: 0000000000098148 [18:04:09]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:04:09]line ФМ: 0000000000965374 [18:04:09]line ФД: 40824 [18:04:09]line ФПД: 124620977498521 [18:04:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180425&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40824&fm=124620977498521&tin=02508201610067®Number=0000000000098148&sum=20000 [18:04:09]written 0, free lines is 4095 [18:04:09]OFD Sender: Processing packet 40824 [packets to send 4, broken 3] [18:04:09]ProducePacketName [18:04:09]name=ofd_packets/00040824 [18:04:09]OFD Sender: To server: ‡•öpG, [18:04:09]CommunicateWithHost lk.salyk.kg:30040 [18:04:09]ConnectInit lk.salyk.kg [18:04:09]Connected sock=10 [18:04:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 43 61 07 01 7F 80 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 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 4C 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 5C 00 00 00 F4 03 04 00 A9 97 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 78 9F 00 00 35 04 06 00 71 57 95 18 69 99 C4 02 5B 5D C7 9E 0C EC [18:04:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 D4 7E 47 00 E4 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 78 9F 00 00 F4 03 04 00 88 3D 16 67 B6 04 01 00 00 04 A7 1A 93 22 F5 79 2B [18:04:10]CommunicateWithHost err = 0 [18:04:10]CheckOFDResponse [18:04:10]1017 (14) - 77093643461234 [18:04:10]1041 (16) - 0000000000965374 [18:04:10]1040 (4) - 40824 [18:04:10]1012 (4) - 21.10.2024 11:39 [18:04:10]1206 (1) - 0 [18:04:10]OFD Sender: Remove packet 40824 [18:04:10]ProducePacketName [18:04:10]name=ofd_packets/00040824 [18:04:10]NVStorageDeleteData [18:04:10]Write to MH i2c: 01 00 00 BC 3D F9 [18:04:10]Write i2c OK [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: 01 [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: 01 07 00 [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: 01 07 00 BC 3D 00 00 00 00 00 00 0D 0D [18:04:10]RasterBufferAndPrint [18:04:10]line [18:04:10]line [18:04:10]line [18:04:10]line [18:04:10]line [18:04:10]written 0, free lines is 3340 [18:04:10]MH_Cut [18:04:10]Write to MH i2c: D1 01 00 C3 3D 01 D2 [18:04:10]Write i2c OK [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: D1 [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: D1 01 00 [18:04:10]MH_I2C_Read... [18:04:10]Read from MH i2c: D1 01 00 C3 3D 00 D1 [18:04:10]Write to MH i2c: 01 00 00 C4 3D 01 [18:04:10]Write i2c OK [18:04:10]MH_I2C_Read... [18:04:10]OFD Sender: No OFD packet to send [18:04:10]*** Cut start [18:04:10]*** Partial cut [18:04:10]*** CUTSNS_PIN = 1 [18:04:10]*** CUTSNS_PIN = 0 [18:04:11]*** Brake cut motor [18:04:11]Read from MH i2c: 01 [18:04:11]MH_I2C_Read... [18:04:11]*** Stop cut motor [18:04:11]*** Cut end [18:04:11]Read from MH i2c: 01 07 00 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: 01 07 00 C4 3D 00 00 00 00 00 FF 0F 16 [18:04:11]process_action close_receipt done [18:04:11]requested_data is exist [18:04:11]produce_requested_data [18:04:11]requested_item fm.sn is exist - process it [18:04:11]wFMCommunicate request_size=4 [18:04:11]MH_SAM_APDU [18:04:11]CAPDU: 80 11 00 00 [18:04:11]Write to MH i2c: E2 08 00 C5 3D 80 11 00 00 00 00 00 00 7C [18:04:11]Write i2c OK [18:04:11]MH_I2C_Read... [18:04:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:11]Read from MH i2c: E2 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 17 00 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 17 00 C5 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D1 [18:04:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:04:11]wFMCommunicate OK [18:04:11]requested_item fd.num is exist - process it [18:04:11]SAM_PROTO_GetFieldsCounters [18:04:11]wFMCommunicate request_size=4 [18:04:11]MH_SAM_APDU [18:04:11]CAPDU: 80 13 00 00 [18:04:11]Write to MH i2c: E2 08 00 C6 3D 80 13 00 00 00 00 00 00 7F [18:04:11]Write i2c OK [18:04:11]MH_I2C_Read... [18:04:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:11]Read from MH i2c: E2 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 62 00 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 62 00 C6 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 78 9F 00 00 0E 04 04 00 C0 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 93 [18:04:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 78 9F 00 00 0E 04 04 00 C0 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 [18:04:11]wFMCommunicate OK [18:04:11]SAM_PROTO_GetFieldsCounters done [18:04:11]requested_item shift.num is exist - process it [18:04:11]requested_item shift.opened is exist - process it [18:04:11]req_shift_opened [18:04:11]FM_GetShiftState [18:04:11]SAM_PROTO_GetShiftState [18:04:11]wFMCommunicate request_size=4 [18:04:11]MH_SAM_APDU [18:04:11]CAPDU: 80 13 01 00 [18:04:11]Write to MH i2c: E2 08 00 C7 3D 80 13 01 00 00 00 00 00 81 [18:04:11]Write i2c OK [18:04:11]MH_I2C_Read... [18:04:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:11]Read from MH i2c: E2 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 0E 00 [18:04:11]MH_I2C_Read... [18:04:11]Read from MH i2c: E2 0E 00 C7 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 4F [18:04:11]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:04:11]wFMCommunicate OK [18:04:11]SAM_PROTO_GetShiftState done [18:04:11]FM_GetShiftState done [18:04:11]req_shift_opened done [18:04:11]requested_item shift.open_date is exist - process it [18:04:11]req_shift_open_date [18:04:11]req_shift_open_date done [18:04:11]produce_requested_data done [18:04:11]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40824,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:04:11]process_action_free close_receipt [18:04:11]json_value_free [18:04:11]json_value_free done [18:04:11]process_json_proto returns [18:04:11]Send response to host [18:04:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40824,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:04:11]free response buf [18:04:11]execute_script done [18:04:11]execute_script returns [18:04:11]free content buf [18:04:11]Sock 9.Close socket [18:04:11]Sock 9.Thread stoped [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:34]accept exits with 7 [18:09:34]New connection [18:09:34]New thread 3067030884 created [18:09:34]Thread 3066887524 joined [18:09:34]Waiting for new connection... [18:09:34] Sock 7.Parse request [18:09:34]Sock 7.Check first char [18:09:34]Sock 7.First char is OK [18:09:34]request: POST /json_proto HTTP/1.0 [18:09:34]Method: POST [18:09:34]URL: /json_proto [18:09:34]Method is POST - this is cgi request [18:09:34]url: /json_proto [18:09:34]query_string will be loaded in cgi processing [18:09:34]execute_cgi json_proto POST (null) [18:09:34]execute_cgi path=json_proto method=POST [18:09:34]POST find Content-Length [18:09:34]Host: 172.17.53.4:8080 [18:09:34]Content-Length: 679 [18:09:34]Content-Type: application/json [18:09:34] [18:09:34]POST finish read [18:09:34]Found Content-Length = 679 [18:09:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809008", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 40.030, "sum" : 3050.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3050.00, "total" : 3050.00, "payments": [ { "type": 0, "sum" : 3050.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:34]execute_script... [18:09:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809008", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 40.030, "sum" : 3050.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3050.00, "total" : 3050.00, "payments": [ { "type": 0, "sum" : 3050.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:34]POST & json_proto [18:09:34]process_json_proto [18:09:34]json parsed OK: [18:09:34]protocol is kg_v1.0 [18:09:34]action value=close_receipt [18:09:34]process_action close_receipt [18:09:34]cmd_close_receipt [18:09:34]MH_GetDate [18:09:34]Write to MH i2c: F0 00 00 C8 3D F4 [18:09:34]Write i2c OK [18:09:34]MH_I2C_Read... [18:09:34]Read from MH i2c: F0 [18:09:34]MH_I2C_Read... [18:09:34]Read from MH i2c: F0 09 00 [18:09:34]MH_I2C_Read... [18:09:34]Read from MH i2c: F0 09 00 C8 3D 00 EF 98 16 67 05 11 DA 64 55 [18:09:34]GetLastDocTimeStamp 1729533865 [18:09:34]current date 1729534191 [18:09:34]FM_GetShiftState [18:09:34]SAM_PROTO_GetShiftState [18:09:34]wFMCommunicate request_size=4 [18:09:34]MH_SAM_APDU [18:09:34]CAPDU: 80 13 01 00 [18:09:34]Write to MH i2c: E2 08 00 C9 3D 80 13 01 00 00 00 00 00 83 [18:09:34]Write i2c OK [18:09:34]MH_I2C_Read... [18:09:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:34]Read from MH i2c: E2 [18:09:34]MH_I2C_Read... [18:09:34]Read from MH i2c: E2 0E 00 [18:09:34]MH_I2C_Read... [18:09:34]Read from MH i2c: E2 0E 00 C9 3D 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 51 [18:09:34]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:09:34]wFMCommunicate OK [18:09:34]SAM_PROTO_GetShiftState done [18:09:34]FM_GetShiftState done [18:09:34]opened in 1729470630 [18:09:34]opened+sec_in_day 1729557030 [18:09:34]quantity*price = 305028 [18:09:34]sum+1 = 305030 [18:09:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 3050.00 ВнеÑено: 3050.00 СДÐЧÐ: 0.00 ÐСП 1% : 26.99 ÐДС 12% : 323.92 Ðаличными: 3050.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 93 21.10.2024 18:09 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40825 ФПД: 240363819475400 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180951&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40825&fm=240363819475400&tin=02508201610067®Number=0000000000098148&sum=305000 [18:09:35]StoreToDocumentArchive [18:09:35]shift 448 fd 40825 [18:09:35]save to /storage/0448/doc_00040825 [18:09:35]save last doc name /storage/0448/doc_00040825 to /storage/kkm_last_doc_name [18:09:35]save OK [18:09:35]Clear old archive folders... [18:09:35]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:09:35]tlvbuf is 01197DD0 [18:09:35]SAM_PROTO_ClearQueue [18:09:35]wFMCommunicate request_size=4 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 09 00 00 [18:09:35]Write to MH i2c: E2 08 00 D6 3D 80 09 00 00 00 00 00 00 85 [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 D6 3D 00 90 00 87 [18:09:35]RAPDU: 90 00 [18:09:35]wFMCommunicate OK [18:09:35]SAM_PROTO_ClearQueue done [18:09:35]KKMCreateOFDPacket [18:09:35]OFDProtocolAddRootSTLVToBuf [18:09:35]FM_MakeSignedData [18:09:35]FM_MakeSignedData [18:09:35]SAM_PROTO_SignData [18:09:35]wFMCommunicate request_size=4 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 0D 01 02 [18:09:35]Write to MH i2c: E2 08 00 D7 3D 80 0D 01 02 00 00 00 00 8D [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 D7 3D 00 90 00 88 [18:09:35]RAPDU: 90 00 [18:09:35]wFMCommunicate OK [18:09:35]wFMCommunicate request_size=255 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 5E 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 85 A7 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A7 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 7E 00 00 00 00 07 04 06 00 68 A7 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 EF 98 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 79 9F 00 00 35 04 06 00 DA 9C 10 13 [18:09:35]Write to MH i2c: E2 02 01 D8 3D 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 5E 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 85 A7 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A7 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 7E 00 00 00 00 07 04 06 00 68 A7 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 EF 98 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 79 9F 00 00 35 04 06 00 DA 9C 10 13 00 00 8D [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:35]Read from MH i2c: E2 03 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 D8 3D 00 90 00 89 [18:09:35]RAPDU: 90 00 [18:09:35]wFMCommunicate OK [18:09:35]wFMCommunicate request_size=7 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 0D 02 02 02 A1 C8 [18:09:35]Write to MH i2c: E2 0A 00 D9 3D 80 0D 02 02 02 00 A1 C8 00 00 FD [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 03 00 D9 3D 00 90 00 8A [18:09:35]RAPDU: 90 00 [18:09:35]wFMCommunicate OK [18:09:35]wFMCommunicate request_size=4 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 0D 03 02 [18:09:35]Write to MH i2c: E2 08 00 DA 3D 80 0D 03 02 00 00 00 00 92 [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 0B 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 0B 00 DA 3D 00 03 9B 12 AF 9A 4A 8B A3 90 00 04 [18:09:35]RAPDU: 03 9B 12 AF 9A 4A 8B A3 90 00 [18:09:35]wFMCommunicate OK [18:09:35]SAM_PROTO_SignData done [18:09:35]FM_MakeSignedData done [18:09:35]CreateOFDProtocolMessage [18:09:35]wFMCommunicate request_size=4 [18:09:35]MH_SAM_APDU [18:09:35]CAPDU: 80 11 00 00 [18:09:35]Write to MH i2c: E2 08 00 DB 3D 80 11 00 00 00 00 00 00 92 [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:35]Read from MH i2c: E2 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 17 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: E2 17 00 DB 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 E7 [18:09:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:09:35]wFMCommunicate OK [18:09:35]CreateOFDProtocolMessage done [18:09:35]OFDSenderStorePacket 40825 [18:09:35]StoreOFDPacket docnum=40825 [18:09:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 A3 E4 04 01 B9 43 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 5E 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 85 A7 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A7 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 7E 00 00 00 00 07 04 06 00 68 A7 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 EF 98 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 79 9F 00 00 35 04 06 00 DA 9C 10 13 A1 C8 03 9B 12 AF 9A 4A 8B A3 [18:09:35]CheckFolder [18:09:35]dirname=/storage/ofd_packets [18:09:35]CheckFolder done [18:09:35]ProducePacketName [18:09:35]name=ofd_packets/00040825 [18:09:35]NVStorageSaveData ofd_packets/00040825 [18:09:35]File name is /storage/ofd_packets/00040825 [18:09:35]Write 298 bytes [18:09:35]NVStorageSaveData done [18:09:35]OFDSenderStorePacket done [18:09:35]KKMCreateOFDPacket done [18:09:35]NVStorageSaveData kkm_last_timestamp [18:09:35]File name is /storage/kkm_last_timestamp [18:09:35]Write 4 bytes [18:09:35]NVStorageSaveData done [18:09:35]ExternCall_PrintAddStr [18:09:35]wPrintStart [18:09:35]Write to MH i2c: 01 00 00 DC 3D 19 [18:09:35]Write i2c OK [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: 01 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: 01 07 00 [18:09:35]MH_I2C_Read... [18:09:35]Read from MH i2c: 01 07 00 DC 3D 00 00 00 00 00 FF 0F 2E [18:09:35]RasterBufferAndPrint [18:09:35]line Счет N : (1)809008 [18:09:35]line ИÐÐ: 02508201610067 [18:09:35]line Контрольно-КаÑÑовый Чек [18:09:35]line ПРОДÐЖР[18:09:35]line ТРК (МРК, ГÐК) : 41 [18:09:35]line Товар: 2710194210 [18:09:35]line ДТ-К-2 [18:09:35]line 40.030 * 76.20 [18:09:35]line = 3050.29 [18:09:35]line ÐДС 12% ÐСП 1% [18:09:35]line > о реализуемом товаре [18:09:35]line ОКРУГЛЕÐИЕ: -0.29 [18:09:35]line ИТОГО: 3050.00 [18:09:35]line ВнеÑено: 3050.00 [18:09:35]line СДÐЧÐ: 0.00 [18:09:35]line ÐСП 1% : 26.99 [18:09:35]line ÐДС 12% : 323.92 [18:09:35]line Ðаличными: 3050.00 [18:09:35]line Безнал.: 0.00 [18:09:35]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [18:09:35]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [18:09:35]line СÐО: Общий режим [18:09:35]line Чек 93 21.10.2024 18:09 [18:09:35]line Смена: 448 ФФД: 1.0 [18:09:35]line ЗÐМ: 0300000239 [18:09:35]line РÐМ: 0000000000098148 [18:09:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:09:35]line ФМ: 0000000000965374 [18:09:35]line ФД: 40825 [18:09:35]line ФПД: 240363819475400 [18:09:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180951&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40825&fm=240363819475400&tin=02508201610067®Number=0000000000098148&sum=305000 [18:09:36]OFD Sender: Processing packet 40825 [packets to send 4, broken 3] [18:09:36]ProducePacketName [18:09:36]name=ofd_packets/00040825 [18:09:36]OFD Sender: To server: ‡•öpG, [18:09:36]CommunicateWithHost lk.salyk.kg:30040 [18:09:36]ConnectInit lk.salyk.kg [18:09:36]written 0, free lines is 4095 [18:09:36]Connected sock=10 [18:09:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 A3 E4 04 01 B9 43 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 5E 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 85 A7 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 A7 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 7E 00 00 00 00 07 04 06 00 68 A7 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 EF 98 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 79 9F 00 00 35 04 06 00 DA 9C 10 13 A1 C8 03 9B 12 AF 9A 4A 8B A3 [18:09:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 97 A2 47 00 9D B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 79 9F 00 00 F4 03 04 00 CE 3E 16 67 B6 04 01 00 00 30 03 50 A4 7F F1 08 04 [18:09:36]CommunicateWithHost err = 0 [18:09:36]CheckOFDResponse [18:09:36]1017 (14) - 77093643461234 [18:09:36]1041 (16) - 0000000000965374 [18:09:36]1040 (4) - 40825 [18:09:36]1012 (4) - 21.10.2024 11:45 [18:09:36]1206 (1) - 0 [18:09:36]OFD Sender: Remove packet 40825 [18:09:36]ProducePacketName [18:09:36]name=ofd_packets/00040825 [18:09:36]NVStorageDeleteData [18:09:36]Write to MH i2c: 01 00 00 07 3E 45 [18:09:36]Write i2c OK [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: 01 [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: 01 07 00 [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: 01 07 00 07 3E 00 00 00 00 00 FB 0C 53 [18:09:36]RasterBufferAndPrint [18:09:36]line [18:09:36]line [18:09:36]line [18:09:36]line [18:09:36]line [18:09:36]written 0, free lines is 3329 [18:09:36]MH_Cut [18:09:36]Write to MH i2c: D1 01 00 0E 3E 01 1E [18:09:36]Write i2c OK [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: D1 [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: D1 01 00 [18:09:36]MH_I2C_Read... [18:09:36]Read from MH i2c: D1 01 00 0E 3E 00 1D [18:09:36]Write to MH i2c: 01 00 00 0F 3E 4D [18:09:36]Write i2c OK [18:09:36]MH_I2C_Read... [18:09:37]OFD Sender: No OFD packet to send [18:09:37]*** Cut start [18:09:37]*** Partial cut [18:09:37]*** CUTSNS_PIN = 1 [18:09:37]*** CUTSNS_PIN = 0 [18:09:37]*** Brake cut motor [18:09:37]Read from MH i2c: 01 [18:09:37]MH_I2C_Read... [18:09:37]*** Stop cut motor [18:09:37]*** Cut end [18:09:37]Read from MH i2c: 01 07 00 [18:09:37]MH_I2C_Read... [18:09:37]Read from MH i2c: 01 07 00 0F 3E 00 00 00 00 00 FF 0F 62 [18:09:37]process_action close_receipt done [18:09:37]requested_data is exist [18:09:37]produce_requested_data [18:09:37]requested_item fm.sn is exist - process it [18:09:37]wFMCommunicate request_size=4 [18:09:37]MH_SAM_APDU [18:09:37]CAPDU: 80 11 00 00 [18:09:37]Write to MH i2c: E2 08 00 10 3E 80 11 00 00 00 00 00 00 C8 [18:09:37]Write i2c OK [18:09:37]MH_I2C_Read... [18:09:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:37]Read from MH i2c: E2 [18:09:37]MH_I2C_Read... [18:09:37]Read from MH i2c: E2 17 00 [18:09:37]MH_I2C_Read... [18:09:37]Read from MH i2c: E2 17 00 10 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 1D [18:09:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [18:09:37]wFMCommunicate OK [18:09:37]requested_item fd.num is exist - process it [18:09:37]SAM_PROTO_GetFieldsCounters [18:09:37]wFMCommunicate request_size=4 [18:09:37]MH_SAM_APDU [18:09:37]CAPDU: 80 13 00 00 [18:09:37]Write to MH i2c: E2 08 00 11 3E 80 13 00 00 00 00 00 00 CB [18:09:37]Write i2c OK [18:09:37]MH_I2C_Read... [18:09:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:09:38]Read from MH i2c: E2 [18:09:38]MH_I2C_Read... [18:09:38]Read from MH i2c: E2 62 00 [18:09:38]MH_I2C_Read... [18:09:38]Read from MH i2c: E2 62 00 11 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 79 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [18:09:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 79 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:09:38]wFMCommunicate OK [18:09:38]SAM_PROTO_GetFieldsCounters done [18:09:38]requested_item shift.num is exist - process it [18:09:38]requested_item shift.opened is exist - process it [18:09:38]req_shift_opened [18:09:38]FM_GetShiftState [18:09:38]SAM_PROTO_GetShiftState [18:09:38]wFMCommunicate request_size=4 [18:09:38]MH_SAM_APDU [18:09:38]CAPDU: 80 13 01 00 [18:09:38]Write to MH i2c: E2 08 00 12 3E 80 13 01 00 00 00 00 00 CD [18:09:38]Write i2c OK [18:09:38]MH_I2C_Read... [18:09:38]Read from MH i2c: E2 [18:09:38]MH_I2C_Read... [18:09:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:38]Read from MH i2c: E2 0E 00 [18:09:38]MH_I2C_Read... [18:09:38]Read from MH i2c: E2 0E 00 12 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9B [18:09:38]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [18:09:38]wFMCommunicate OK [18:09:38]SAM_PROTO_GetShiftState done [18:09:38]FM_GetShiftState done [18:09:38]req_shift_opened done [18:09:38]requested_item shift.open_date is exist - process it [18:09:38]req_shift_open_date [18:09:38]req_shift_open_date done [18:09:38]produce_requested_data done [18:09:38]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40825,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [18:09:38]process_action_free close_receipt [18:09:38]json_value_free [18:09:38]json_value_free done [18:09:38]process_json_proto returns [18:09:38]Send response to host [18:09:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40825,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [18:09:38]free response buf [18:09:38]execute_script done [18:09:38]execute_script returns [18:09:38]free content buf [18:09:38]Sock 7.Close socket [18:09:38]Sock 7.Thread stoped [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:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:40]OFD Sender: No OFD packet to send [19:12:45]OFD Sender: No OFD packet to send [19:12:50]OFD Sender: No OFD packet to send [19:12:55]OFD Sender: No OFD packet to send [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:55]OFD Sender: No OFD packet to send [19:16:00]OFD Sender: No OFD packet to send [19:16:05]OFD Sender: No OFD packet to send [19:16:10]OFD Sender: No OFD packet to send [19:16:15]OFD Sender: No OFD packet to send [19:16:20]OFD Sender: No OFD packet to send [19:16:25]OFD Sender: No OFD packet to send [19:16:30]OFD Sender: No OFD packet to send [19:16:35]OFD Sender: No OFD packet to send [19:16:40]OFD Sender: No OFD packet to send [19:16:45]OFD Sender: No OFD packet to send [19:16:50]OFD Sender: No OFD packet to send [19:16:55]OFD Sender: No OFD packet to send [19:17:00]OFD Sender: No OFD packet to send [19:17:05]OFD Sender: No OFD packet to send [19:17:10]OFD Sender: No OFD packet to send [19:17:15]OFD Sender: No OFD packet to send [19:17:20]OFD Sender: No OFD packet to send [19:17:25]OFD Sender: No OFD packet to send [19:17:30]OFD Sender: No OFD packet to send [19:17:35]OFD Sender: No OFD packet to send [19:17:40]OFD Sender: No OFD packet to send [19:17:45]OFD Sender: No OFD packet to send [19:17:50]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]OFD Sender: No OFD packet to send [19:19:05]OFD Sender: No OFD packet to send [19:19:10]OFD Sender: No OFD packet to send [19:19:15]OFD Sender: No OFD packet to send [19:19:20]OFD Sender: No OFD packet to send [19:19:25]OFD Sender: No OFD packet to send [19:19:30]OFD Sender: No OFD packet to send [19:19:35]OFD Sender: No OFD packet to send [19:19:40]OFD Sender: No OFD packet to send [19:19:45]OFD Sender: No OFD packet to send [19:19:50]OFD Sender: No OFD packet to send [19:19:55]OFD Sender: No OFD packet to send [19:20:00]OFD Sender: No OFD packet to send [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]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:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:56]OFD Sender: No OFD packet to send [19:48:01]OFD Sender: No OFD packet to send [19:48:06]OFD Sender: No OFD packet to send [19:48:11]OFD Sender: No OFD packet to send [19:48:16]OFD Sender: No OFD packet to send [19:48:21]OFD Sender: No OFD packet to send [19:48:26]OFD Sender: No OFD packet to send [19:48:31]OFD Sender: No OFD packet to send [19:48:36]OFD Sender: No OFD packet to send [19:48:41]OFD Sender: No OFD packet to send [19:48:46]OFD Sender: No OFD packet to send [19:48:51]OFD Sender: No OFD packet to send [19:48:56]OFD Sender: No OFD packet to send [19:49:01]OFD Sender: No OFD packet to send [19:49:06]OFD Sender: No OFD packet to send [19:49:11]OFD Sender: No OFD packet to send [19:49:16]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]OFD Sender: No OFD packet to send [19:49:46]OFD Sender: No OFD packet to send [19:49:51]OFD Sender: No OFD packet to send [19:49:56]OFD Sender: No OFD packet to send [19:50:01]OFD Sender: No OFD packet to send [19:50:06]OFD Sender: No OFD packet to send [19:50:11]OFD Sender: No OFD packet to send [19:50:16]OFD Sender: No OFD packet to send [19:50:21]OFD Sender: No OFD packet to send [19:50:26]OFD Sender: No OFD packet to send [19:50:31]OFD Sender: No OFD packet to send [19:50:36]OFD Sender: No OFD packet to send [19:50:41]OFD Sender: No OFD packet to send [19:50:46]OFD Sender: No OFD packet to send [19:50:51]OFD Sender: No OFD packet to send [19:50:56]OFD Sender: No OFD packet to send [19:51:01]OFD Sender: No OFD packet to send [19:51:06]OFD Sender: No OFD packet to send [19:51:11]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]OFD Sender: No OFD packet to send [19:51:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]OFD Sender: No OFD packet to send [20:18:03]OFD Sender: No OFD packet to send [20:18:08]OFD Sender: No OFD packet to send [20:18:13]OFD Sender: No OFD packet to send [20:18:18]OFD Sender: No OFD packet to send [20:18:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:56]recv_with_timeout no data received [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:23]OFD Sender: No OFD packet to send [20:32:28]OFD Sender: No OFD packet to send [20:32:33]OFD Sender: No OFD packet to send [20:32:38]OFD Sender: No OFD packet to send [20:32:43]OFD Sender: No OFD packet to send [20:32:48]OFD Sender: No OFD packet to send [20:32:53]OFD Sender: No OFD packet to send [20:32:58]OFD Sender: No OFD packet to send [20:33:03]OFD Sender: No OFD packet to send [20:33:08]OFD Sender: No OFD packet to send [20:33:13]OFD Sender: No OFD packet to send [20:33:18]OFD Sender: No OFD packet to send [20:33:23]OFD Sender: No OFD packet to send [20:33:28]OFD Sender: No OFD packet to send [20:33:33]OFD Sender: No OFD packet to send [20:33:38]OFD Sender: No OFD packet to send [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [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:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52: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:41]accept exits with 9 [20:58:41]New connection [20:58:41]New thread 3066887524 created [20:58:41]Thread 3067030884 joined [20:58:41]Waiting for new connection... [20:58:41] Sock 9.Parse request [20:58:41]Sock 9.Check first char [20:58:41]Sock 9.First char is OK [20:58:41]request: POST /json_proto HTTP/1.0 [20:58:41]Method: POST [20:58:41]URL: /json_proto [20:58:41]Method is POST - this is cgi request [20:58:41]url: /json_proto [20:58:41]query_string will be loaded in cgi processing [20:58:41]execute_cgi json_proto POST (null) [20:58:41]execute_cgi path=json_proto method=POST [20:58:41]POST find Content-Length [20:58:41]Host: 172.17.53.4:8080 [20:58:41]Content-Length: 682 [20:58:41]Content-Type: application/json [20:58:41] [20:58:41]POST finish read [20:58:41]Found Content-Length = 682 [20:58:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809162", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:41]execute_script... [20:58: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)809162", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:41]POST & json_proto [20:58:41]process_json_proto [20:58:41]json parsed OK: [20:58:41]protocol is kg_v1.0 [20:58:41]action value=close_receipt [20:58:41]process_action close_receipt [20:58:41]cmd_close_receipt [20:58:41]MH_GetDate [20:58:41]Write to MH i2c: F0 00 00 13 3E 40 [20:58:41]Write i2c OK [20:58:41]MH_I2C_Read... [20:58:41]Read from MH i2c: F0 [20:58:41]MH_I2C_Read... [20:58:41]Read from MH i2c: F0 09 00 [20:58:41]MH_I2C_Read... [20:58:41]Read from MH i2c: F0 09 00 13 3E 00 93 C0 16 67 05 11 DA 64 6D [20:58:41]GetLastDocTimeStamp 1729534191 [20:58:41]current date 1729544339 [20:58:41]FM_GetShiftState [20:58:41]SAM_PROTO_GetShiftState [20:58:41]wFMCommunicate request_size=4 [20:58:41]MH_SAM_APDU [20:58:41]CAPDU: 80 13 01 00 [20:58:41]Write to MH i2c: E2 08 00 14 3E 80 13 01 00 00 00 00 00 CF [20:58:41]Write i2c OK [20:58:41]MH_I2C_Read... [20:58:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:41]Read from MH i2c: E2 [20:58:41]MH_I2C_Read... [20:58:41]Read from MH i2c: E2 0E 00 [20:58:41]MH_I2C_Read... [20:58:41]Read from MH i2c: E2 0E 00 14 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 9D [20:58:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [20:58:41]wFMCommunicate OK [20:58:41]SAM_PROTO_GetShiftState done [20:58:41]FM_GetShiftState done [20:58:41]opened in 1729470630 [20:58:41]opened+sec_in_day 1729557030 [20:58:41]quantity*price = 100021 [20:58:41]sum+1 = 100023 [20:58:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.22 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 94 21.10.2024 20:58 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40826 ФПД: 28261733068442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205859&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40826&fm=28261733068442&tin=02508201610067®Number=0000000000098148&sum=100000 [20:58:42]StoreToDocumentArchive [20:58:42]shift 448 fd 40826 [20:58:42]save to /storage/0448/doc_00040826 [20:58:42]save last doc name /storage/0448/doc_00040826 to /storage/kkm_last_doc_name [20:58:42]save OK [20:58:42]Clear old archive folders... [20:58:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:58:42]tlvbuf is 010C0320 [20:58:42]SAM_PROTO_ClearQueue [20:58:42]wFMCommunicate request_size=4 [20:58:42]MH_SAM_APDU [20:58:42]CAPDU: 80 09 00 00 [20:58:42]Write to MH i2c: E2 08 00 21 3E 80 09 00 00 00 00 00 00 D1 [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 21 3E 00 90 00 D3 [20:58:42]RAPDU: 90 00 [20:58:42]wFMCommunicate OK [20:58:42]SAM_PROTO_ClearQueue done [20:58:42]KKMCreateOFDPacket [20:58:42]OFDProtocolAddRootSTLVToBuf [20:58:42]FM_MakeSignedData [20:58:42]FM_MakeSignedData [20:58:42]SAM_PROTO_SignData [20:58:42]wFMCommunicate request_size=4 [20:58:42]MH_SAM_APDU [20:58:42]CAPDU: 80 0D 01 02 [20:58:42]Write to MH i2c: E2 08 00 22 3E 80 0D 01 02 00 00 00 00 D9 [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 22 3E 00 90 00 D4 [20:58:42]RAPDU: 90 00 [20:58:42]wFMCommunicate OK [20:58:42]wFMCommunicate request_size=255 [20:58:42]MH_SAM_APDU [20:58:42]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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 93 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7A 9F 00 00 35 04 06 00 19 [20:58:42]Write to MH i2c: E2 02 01 23 3E 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 93 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7A 9F 00 00 35 04 06 00 19 00 00 AB [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 23 3E 00 90 00 D5 [20:58:42]RAPDU: 90 00 [20:58:42]wFMCommunicate OK [20:58:42]wFMCommunicate request_size=10 [20:58:42]MH_SAM_APDU [20:58:42]CAPDU: 80 0D 02 02 05 B4 32 8F 6E 9A [20:58:42]Write to MH i2c: E2 0D 00 24 3E 80 0D 02 02 05 00 B4 32 8F 6E 9A 00 00 63 [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 03 00 24 3E 00 90 00 D6 [20:58:42]RAPDU: 90 00 [20:58:42]wFMCommunicate OK [20:58:42]wFMCommunicate request_size=4 [20:58:42]MH_SAM_APDU [20:58:42]CAPDU: 80 0D 03 02 [20:58:42]Write to MH i2c: E2 08 00 25 3E 80 0D 03 02 00 00 00 00 DE [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 0B 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 0B 00 25 3E 00 85 55 EC BE 8F 26 2A A0 90 00 E2 [20:58:42]RAPDU: 85 55 EC BE 8F 26 2A A0 90 00 [20:58:42]wFMCommunicate OK [20:58:42]SAM_PROTO_SignData done [20:58:42]FM_MakeSignedData done [20:58:42]CreateOFDProtocolMessage [20:58:42]wFMCommunicate request_size=4 [20:58:42]MH_SAM_APDU [20:58:42]CAPDU: 80 11 00 00 [20:58:42]Write to MH i2c: E2 08 00 26 3E 80 11 00 00 00 00 00 00 DE [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:42]Read from MH i2c: E2 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 17 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: E2 17 00 26 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 33 [20:58:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [20:58:42]wFMCommunicate OK [20:58:42]CreateOFDProtocolMessage done [20:58:42]OFDSenderStorePacket 40826 [20:58:42]StoreOFDPacket docnum=40826 [20:58:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 AA 22 07 01 59 88 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 93 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7A 9F 00 00 35 04 06 00 19 B4 32 8F 6E 9A 85 55 EC BE 8F 26 2A A0 [20:58:42]CheckFolder [20:58:42]dirname=/storage/ofd_packets [20:58:42]CheckFolder done [20:58:42]ProducePacketName [20:58:42]name=ofd_packets/00040826 [20:58:42]NVStorageSaveData ofd_packets/00040826 [20:58:42]File name is /storage/ofd_packets/00040826 [20:58:42]Write 301 bytes [20:58:42]NVStorageSaveData done [20:58:42]OFDSenderStorePacket done [20:58:42]KKMCreateOFDPacket done [20:58:42]NVStorageSaveData kkm_last_timestamp [20:58:42]File name is /storage/kkm_last_timestamp [20:58:42]Write 4 bytes [20:58:42]NVStorageSaveData done [20:58:42]ExternCall_PrintAddStr [20:58:42]wPrintStart [20:58:42]Write to MH i2c: 01 00 00 27 3E 65 [20:58:42]Write i2c OK [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: 01 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: 01 07 00 [20:58:42]MH_I2C_Read... [20:58:42]Read from MH i2c: 01 07 00 27 3E 00 00 00 00 00 FF 0F 7A [20:58:42]RasterBufferAndPrint [20:58:42]line Счет N : (1)809162 [20:58:42]line ИÐÐ: 02508201610067 [20:58:42]line Контрольно-КаÑÑовый Чек [20:58:42]line ПРОДÐЖР[20:58:42]line ТРК (МРК, ГÐК) : 44 [20:58:42]line Товар: 2710124500 [20:58:42]line Ðи-95-К-3 [20:58:42]line 13.480 * 74.20 [20:58:42]line = 1000.22 [20:58:42]line ÐДС 12% ÐСП 1% [20:58:42]line > о реализуемом товаре [20:58:42]line ОКРУГЛЕÐИЕ: -0.22 [20:58:42]line ИТОГО: 1000.00 [20:58:42]line ВнеÑено: 1000.00 [20:58:42]line СДÐЧÐ: 0.00 [20:58:42]line ÐСП 1% : 8.85 [20:58:42]line ÐДС 12% : 106.22 [20:58:42]line Ðаличными: 1000.00 [20:58:42]line Безнал.: 0.00 [20:58:42]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [20:58:42]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [20:58:42]line СÐО: Общий режим [20:58:42]line Чек 94 21.10.2024 20:58 [20:58:42]line Смена: 448 ФФД: 1.0 [20:58:42]line ЗÐМ: 0300000239 [20:58:42]line РÐМ: 0000000000098148 [20:58:42]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:58:42]line ФМ: 0000000000965374 [20:58:42]line ФД: 40826 [20:58:42]line ФПД: 28261733068442 [20:58:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205859&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40826&fm=28261733068442&tin=02508201610067®Number=0000000000098148&sum=100000 [20:58:43]OFD Sender: Processing packet 40826 [packets to send 4, broken 3] [20:58:43]ProducePacketName [20:58:43]name=ofd_packets/00040826 [20:58:43]OFD Sender: To server: ‡•öpG, [20:58:43]CommunicateWithHost lk.salyk.kg:30040 [20:58:43]ConnectInit lk.salyk.kg [20:58:43]written 0, free lines is 4095 [20:58:43]Connected sock=10 [20:58:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 AA 22 07 01 59 88 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 93 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7A 9F 00 00 35 04 06 00 19 B4 32 8F 6E 9A 85 55 EC BE 8F 26 2A A0 [20:58:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 40 A7 47 00 43 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7A 9F 00 00 F4 03 04 00 72 66 16 67 B6 04 01 00 00 CB 11 B2 EB 68 59 FD 20 [20:58:43]CommunicateWithHost err = 0 [20:58:43]CheckOFDResponse [20:58:43]1017 (14) - 77093643461234 [20:58:43]1041 (16) - 0000000000965374 [20:58:43]1040 (4) - 40826 [20:58:43]1012 (4) - 21.10.2024 14:34 [20:58:43]1206 (1) - 0 [20:58:43]OFD Sender: Remove packet 40826 [20:58:43]ProducePacketName [20:58:43]name=ofd_packets/00040826 [20:58:43]NVStorageDeleteData [20:58:43]Write to MH i2c: 01 00 00 52 3E 90 [20:58:43]Write i2c OK [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: 01 [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: 01 07 00 [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: 01 07 00 52 3E 00 00 00 00 00 F3 0C 96 [20:58:43]RasterBufferAndPrint [20:58:43]line [20:58:43]line [20:58:43]line [20:58:43]line [20:58:43]line [20:58:43]written 0, free lines is 3321 [20:58:43]MH_Cut [20:58:43]Write to MH i2c: D1 01 00 59 3E 01 69 [20:58:43]Write i2c OK [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: D1 [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: D1 01 00 [20:58:43]MH_I2C_Read... [20:58:43]Read from MH i2c: D1 01 00 59 3E 00 68 [20:58:43]Write to MH i2c: 01 00 00 5A 3E 98 [20:58:43]Write i2c OK [20:58:43]MH_I2C_Read... [20:58:44]OFD Sender: No OFD packet to send [20:58:44]*** Cut start [20:58:44]*** Partial cut [20:58:44]*** CUTSNS_PIN = 1 [20:58:44]*** CUTSNS_PIN = 0 [20:58:44]*** Brake cut motor [20:58:44]Read from MH i2c: 01 [20:58:44]MH_I2C_Read... [20:58:44]*** Stop cut motor [20:58:44]*** Cut end [20:58:44]Read from MH i2c: 01 07 00 [20:58:44]MH_I2C_Read... [20:58:44]Read from MH i2c: 01 07 00 5A 3E 00 00 00 00 00 FF 0F AD [20:58:44]process_action close_receipt done [20:58:44]requested_data is exist [20:58:44]produce_requested_data [20:58:44]requested_item fm.sn is exist - process it [20:58:44]wFMCommunicate request_size=4 [20:58:44]MH_SAM_APDU [20:58:44]CAPDU: 80 11 00 00 [20:58:44]Write to MH i2c: E2 08 00 5B 3E 80 11 00 00 00 00 00 00 13 [20:58:44]Write i2c OK [20:58:44]MH_I2C_Read... [20:58:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:44]Read from MH i2c: E2 [20:58:44]MH_I2C_Read... [20:58:44]Read from MH i2c: E2 17 00 [20:58:44]MH_I2C_Read... [20:58:44]Read from MH i2c: E2 17 00 5B 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 68 [20:58:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [20:58:45]wFMCommunicate OK [20:58:45]requested_item fd.num is exist - process it [20:58:45]SAM_PROTO_GetFieldsCounters [20:58:45]wFMCommunicate request_size=4 [20:58:45]MH_SAM_APDU [20:58:45]CAPDU: 80 13 00 00 [20:58:45]Write to MH i2c: E2 08 00 5C 3E 80 13 00 00 00 00 00 00 16 [20:58:45]Write i2c OK [20:58:45]MH_I2C_Read... [20:58:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:45]Read from MH i2c: E2 [20:58:45]MH_I2C_Read... [20:58:45]Read from MH i2c: E2 62 00 [20:58:45]MH_I2C_Read... [20:58:45]Read from MH i2c: E2 62 00 5C 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7A 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [20:58:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7A 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:45]wFMCommunicate OK [20:58:45]SAM_PROTO_GetFieldsCounters done [20:58:45]requested_item shift.num is exist - process it [20:58:45]requested_item shift.opened is exist - process it [20:58:45]req_shift_opened [20:58:45]FM_GetShiftState [20:58:45]SAM_PROTO_GetShiftState [20:58:45]wFMCommunicate request_size=4 [20:58:45]MH_SAM_APDU [20:58:45]CAPDU: 80 13 01 00 [20:58:45]Write to MH i2c: E2 08 00 5D 3E 80 13 01 00 00 00 00 00 18 [20:58:45]Write i2c OK [20:58:45]MH_I2C_Read... [20:58:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:45]Read from MH i2c: E2 [20:58:45]MH_I2C_Read... [20:58:45]Read from MH i2c: E2 0E 00 [20:58:45]MH_I2C_Read... [20:58:45]Read from MH i2c: E2 0E 00 5D 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E6 [20:58:45]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [20:58:45]wFMCommunicate OK [20:58:45]SAM_PROTO_GetShiftState done [20:58:45]FM_GetShiftState done [20:58:45]req_shift_opened done [20:58:45]requested_item shift.open_date is exist - process it [20:58:45]req_shift_open_date [20:58:45]req_shift_open_date done [20:58:45]produce_requested_data done [20:58:45]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40826,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [20:58:45]process_action_free close_receipt [20:58:45]json_value_free [20:58:45]json_value_free done [20:58:45]process_json_proto returns [20:58:45]Send response to host [20:58:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40826,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [20:58:45]free response buf [20:58:45]execute_script done [20:58:45]execute_script returns [20:58:45]free content buf [20:58:45]Sock 9.Close socket [20:58:45]Sock 9.Thread stoped [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:58]accept exits with 7 [20:58:58]New connection [20:58:58]New thread 3067030884 created [20:58:58]Thread 3066887524 joined [20:58:58]Waiting for new connection... [20:58:58] Sock 7.Parse request [20:58:58]Sock 7.Check first char [20:58:58]Sock 7.First char is OK [20:58:58]request: POST /json_proto HTTP/1.0 [20:58:58]Method: POST [20:58:58]URL: /json_proto [20:58:58]Method is POST - this is cgi request [20:58:58]url: /json_proto [20:58:58]query_string will be loaded in cgi processing [20:58:58]execute_cgi json_proto POST (null) [20:58:58]execute_cgi path=json_proto method=POST [20:58:58]POST find Content-Length [20:58:58]Host: 172.17.53.4:8080 [20:58:58]Content-Length: 809 [20:58:58]Content-Type: application/json [20:58:58] [20:58:58]POST finish read [20:58:58]Found Content-Length = 809 [20:58:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 200.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:58]execute_script... [20:58:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 200.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:58]POST & json_proto [20:58:58]process_json_proto [20:58:58]json parsed OK: [20:58:58]protocol is kg_v1.0 [20:58:58]action value=close_receipt [20:58:58]process_action close_receipt [20:58:58]cmd_close_receipt [20:58:58]MH_GetDate [20:58:58]Write to MH i2c: F0 00 00 5E 3E 8B [20:58:58]Write i2c OK [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: F0 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: F0 09 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: F0 09 00 5E 3E 00 A4 C0 16 67 05 11 DA 64 C9 [20:58:58]GetLastDocTimeStamp 1729544339 [20:58:58]current date 1729544356 [20:58:58]FM_GetShiftState [20:58:58]SAM_PROTO_GetShiftState [20:58:58]wFMCommunicate request_size=4 [20:58:58]MH_SAM_APDU [20:58:58]CAPDU: 80 13 01 00 [20:58:58]Write to MH i2c: E2 08 00 5F 3E 80 13 01 00 00 00 00 00 1A [20:58:58]Write i2c OK [20:58:58]MH_I2C_Read... [20:58:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:58]Read from MH i2c: E2 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 0E 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 0E 00 5F 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 E8 [20:58:58]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [20:58:58]wFMCommunicate OK [20:58:58]SAM_PROTO_GetShiftState done [20:58:58]FM_GetShiftState done [20:58:58]opened in 1729470630 [20:58:58]opened+sec_in_day 1729557030 [20:58:58]quantity*price = 20041 [20:58:58]sum+1 = 20042 [20:58:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.41 ÐСП 1% : 1.77 ÐДС 12% : 21.28 Ðаличными: 0.00 Безнал.: 200.41 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 95 21.10.2024 20:59 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40827 ФПД: 234513350567984 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205916&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40827&fm=234513350567984&tin=02508201610067®Number=0000000000098148&sum=20041 [20:58:59]StoreToDocumentArchive [20:58:59]shift 448 fd 40827 [20:58:59]save to /storage/0448/doc_00040827 [20:58:59]save last doc name /storage/0448/doc_00040827 to /storage/kkm_last_doc_name [20:58:59]save OK [20:58:59]Clear old archive folders... [20:58:59]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:58:59]tlvbuf is 010BFEE0 [20:58:59]SAM_PROTO_ClearQueue [20:58:59]wFMCommunicate request_size=4 [20:58:59]MH_SAM_APDU [20:58:59]CAPDU: 80 09 00 00 [20:58:59]Write to MH i2c: E2 08 00 6C 3E 80 09 00 00 00 00 00 00 1C [20:58:59]Write i2c OK [20:58:59]MH_I2C_Read... [20:58:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:59]Read from MH i2c: E2 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 6C 3E 00 90 00 1E [20:58:59]RAPDU: 90 00 [20:58:59]wFMCommunicate OK [20:58:59]SAM_PROTO_ClearQueue done [20:58:59]KKMCreateOFDPacket [20:58:59]OFDProtocolAddRootSTLVToBuf [20:58:59]FM_MakeSignedData [20:58:59]FM_MakeSignedData [20:58:59]SAM_PROTO_SignData [20:58:59]wFMCommunicate request_size=4 [20:58:59]MH_SAM_APDU [20:58:59]CAPDU: 80 0D 01 02 [20:58:59]Write to MH i2c: E2 08 00 6D 3E 80 0D 01 02 00 00 00 00 24 [20:58:59]Write i2c OK [20:58:59]MH_I2C_Read... [20:58:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:59]Read from MH i2c: E2 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 6D 3E 00 90 00 1F [20:58:59]RAPDU: 90 00 [20:58:59]wFMCommunicate OK [20:58:59]wFMCommunicate request_size=255 [20:58:59]MH_SAM_APDU [20:58:59]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 49 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 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 49 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 A4 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7B 9F 00 00 35 04 06 00 [20:58:59]Write to MH i2c: E2 02 01 6E 3E 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 49 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 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 49 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 A4 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7B 9F 00 00 35 04 06 00 00 00 8A [20:58:59]Write i2c OK [20:58:59]MH_I2C_Read... [20:58:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:59]Read from MH i2c: E2 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 [20:58:59]MH_I2C_Read... [20:58:59]Read from MH i2c: E2 03 00 6E 3E 00 90 00 20 [20:58:59]RAPDU: 90 00 [20:58:59]wFMCommunicate OK [20:58:59]wFMCommunicate request_size=11 [20:58:59]MH_SAM_APDU [20:58:59]CAPDU: 80 0D 02 02 06 D5 49 E4 F4 A8 30 [20:58:59]Write to MH i2c: E2 0E 00 6F 3E 80 0D 02 02 06 00 D5 49 E4 F4 A8 30 00 00 01 [20:58:59]Write i2c OK [20:58:59]MH_I2C_Read... [20:59:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:00]Read from MH i2c: E2 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 03 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 03 00 6F 3E 00 90 00 21 [20:59:00]RAPDU: 90 00 [20:59:00]wFMCommunicate OK [20:59:00]wFMCommunicate request_size=4 [20:59:00]MH_SAM_APDU [20:59:00]CAPDU: 80 0D 03 02 [20:59:00]Write to MH i2c: E2 08 00 70 3E 80 0D 03 02 00 00 00 00 29 [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:00]Read from MH i2c: E2 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 0B 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 0B 00 70 3E 00 6E 85 54 EE B5 A7 F0 87 90 00 32 [20:59:00]RAPDU: 6E 85 54 EE B5 A7 F0 87 90 00 [20:59:00]wFMCommunicate OK [20:59:00]SAM_PROTO_SignData done [20:59:00]FM_MakeSignedData done [20:59:00]CreateOFDProtocolMessage [20:59:00]wFMCommunicate request_size=4 [20:59:00]MH_SAM_APDU [20:59:00]CAPDU: 80 11 00 00 [20:59:00]Write to MH i2c: E2 08 00 71 3E 80 11 00 00 00 00 00 00 29 [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:00]Read from MH i2c: E2 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 17 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: E2 17 00 71 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 7E [20:59:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [20:59:00]wFMCommunicate OK [20:59:00]CreateOFDProtocolMessage done [20:59:00]OFDSenderStorePacket 40827 [20:59:00]StoreOFDPacket docnum=40827 [20:59:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 5D 6A 08 01 1A D3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 49 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 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 49 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 A4 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7B 9F 00 00 35 04 06 00 D5 49 E4 F4 A8 30 6E 85 54 EE B5 A7 F0 87 [20:59:00]CheckFolder [20:59:00]dirname=/storage/ofd_packets [20:59:00]CheckFolder done [20:59:00]ProducePacketName [20:59:00]name=ofd_packets/00040827 [20:59:00]NVStorageSaveData ofd_packets/00040827 [20:59:00]File name is /storage/ofd_packets/00040827 [20:59:00]Write 302 bytes [20:59:00]NVStorageSaveData done [20:59:00]OFDSenderStorePacket done [20:59:00]KKMCreateOFDPacket done [20:59:00]NVStorageSaveData kkm_last_timestamp [20:59:00]File name is /storage/kkm_last_timestamp [20:59:00]Write 4 bytes [20:59:00]NVStorageSaveData done [20:59:00]ExternCall_PrintAddStr [20:59:00]wPrintStart [20:59:00]Write to MH i2c: 01 00 00 72 3E B0 [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 07 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 07 00 72 3E 00 00 00 00 00 FF 0F C5 [20:59:00]RasterBufferAndPrint [20:59:00]line Счет N : (1)809163 [20:59:00]line ИÐÐ: 02508201610067 [20:59:00]line Контрольно-КаÑÑовый Чек [20:59:00]line ПРОДÐЖР[20:59:00]line ТРК (МРК, ГÐК) : 62 [20:59:00]line Товар: 2710124130 [20:59:00]line Super 92-К-5 [20:59:00]line 2.930 * 68.40 [20:59:00]line = 200.41 [20:59:00]line ÐДС 12% ÐСП 1% [20:59:00]line > о реализуемом товаре [20:59:00]line ИТОГО: 200.41 [20:59:00]line ÐСП 1% : 1.77 [20:59:00]line ÐДС 12% : 21.28 [20:59:00]line Ðаличными: 0.00 [20:59:00]line Безнал.: 200.41 [20:59:00]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [20:59:00]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [20:59:00]line СÐО: Общий режим [20:59:00]line Чек 95 21.10.2024 20:59 [20:59:00]line Смена: 448 ФФД: 1.0 [20:59:00]line ЗÐМ: 0300000239 [20:59:00]line РÐМ: 0000000000098148 [20:59:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:59:00]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [20:59:00]line ФМ: 0000000000965374 [20:59:00]line ФД: 40827 [20:59:00]line ФПД: 234513350567984 [20:59:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205916&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40827&fm=234513350567984&tin=02508201610067®Number=0000000000098148&sum=20041 [20:59:00]OFD Sender: Processing packet 40827 [packets to send 4, broken 3] [20:59:00]ProducePacketName [20:59:00]name=ofd_packets/00040827 [20:59:00]OFD Sender: To server: ‡•öpG, [20:59:00]CommunicateWithHost lk.salyk.kg:30040 [20:59:00]ConnectInit lk.salyk.kg [20:59:00]written 0, free lines is 4095 [20:59:00]Connected sock=10 [20:59:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 5D 6A 08 01 1A D3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 49 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 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 49 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 A4 C0 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7B 9F 00 00 35 04 06 00 D5 49 E4 F4 A8 30 6E 85 54 EE B5 A7 F0 87 [20:59:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 62 F1 47 00 52 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7B 9F 00 00 F4 03 04 00 83 66 16 67 B6 04 01 00 00 97 CE 50 5C 25 4A 98 5F [20:59:00]CommunicateWithHost err = 0 [20:59:00]CheckOFDResponse [20:59:00]1017 (14) - 77093643461234 [20:59:00]1041 (16) - 0000000000965374 [20:59:00]1040 (4) - 40827 [20:59:00]1012 (4) - 21.10.2024 14:34 [20:59:00]1206 (1) - 0 [20:59:00]OFD Sender: Remove packet 40827 [20:59:00]ProducePacketName [20:59:00]name=ofd_packets/00040827 [20:59:00]NVStorageDeleteData [20:59:00]Write to MH i2c: 01 00 00 9C 3E DA [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 07 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: 01 07 00 9C 3E 00 00 00 00 00 03 0D F1 [20:59:00]RasterBufferAndPrint [20:59:00]line [20:59:00]line [20:59:00]line [20:59:00]line [20:59:00]line [20:59:00]written 0, free lines is 3337 [20:59:00]MH_Cut [20:59:00]Write to MH i2c: D1 01 00 A3 3E 01 B3 [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: D1 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: D1 01 00 [20:59:00]MH_I2C_Read... [20:59:00]Read from MH i2c: D1 01 00 A3 3E 00 B2 [20:59:00]Write to MH i2c: 01 00 00 A4 3E E2 [20:59:00]Write i2c OK [20:59:00]MH_I2C_Read... [20:59:01]OFD Sender: No OFD packet to send [20:59:01]*** Cut start [20:59:01]*** Partial cut [20:59:01]*** CUTSNS_PIN = 1 [20:59:01]*** CUTSNS_PIN = 0 [20:59:01]*** Brake cut motor [20:59:02]Read from MH i2c: 01 [20:59:02]MH_I2C_Read... [20:59:02]*** Stop cut motor [20:59:02]*** Cut end [20:59:02]Read from MH i2c: 01 07 00 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: 01 07 00 A4 3E 00 00 00 00 00 FF 0F F7 [20:59:02]process_action close_receipt done [20:59:02]requested_data is exist [20:59:02]produce_requested_data [20:59:02]requested_item fm.sn is exist - process it [20:59:02]wFMCommunicate request_size=4 [20:59:02]MH_SAM_APDU [20:59:02]CAPDU: 80 11 00 00 [20:59:02]Write to MH i2c: E2 08 00 A5 3E 80 11 00 00 00 00 00 00 5D [20:59:02]Write i2c OK [20:59:02]MH_I2C_Read... [20:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:02]Read from MH i2c: E2 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 17 00 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 17 00 A5 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 B2 [20:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [20:59:02]wFMCommunicate OK [20:59:02]requested_item fd.num is exist - process it [20:59:02]SAM_PROTO_GetFieldsCounters [20:59:02]wFMCommunicate request_size=4 [20:59:02]MH_SAM_APDU [20:59:02]CAPDU: 80 13 00 00 [20:59:02]Write to MH i2c: E2 08 00 A6 3E 80 13 00 00 00 00 00 00 60 [20:59:02]Write i2c OK [20:59:02]MH_I2C_Read... [20:59:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:02]Read from MH i2c: E2 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 62 00 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 62 00 A6 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7B 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [20:59:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7B 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:59:02]wFMCommunicate OK [20:59:02]SAM_PROTO_GetFieldsCounters done [20:59:02]requested_item shift.num is exist - process it [20:59:02]requested_item shift.opened is exist - process it [20:59:02]req_shift_opened [20:59:02]FM_GetShiftState [20:59:02]SAM_PROTO_GetShiftState [20:59:02]wFMCommunicate request_size=4 [20:59:02]MH_SAM_APDU [20:59:02]CAPDU: 80 13 01 00 [20:59:02]Write to MH i2c: E2 08 00 A7 3E 80 13 01 00 00 00 00 00 62 [20:59:02]Write i2c OK [20:59:02]MH_I2C_Read... [20:59:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:02]Read from MH i2c: E2 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 0E 00 [20:59:02]MH_I2C_Read... [20:59:02]Read from MH i2c: E2 0E 00 A7 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 30 [20:59:02]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [20:59:02]wFMCommunicate OK [20:59:02]SAM_PROTO_GetShiftState done [20:59:02]FM_GetShiftState done [20:59:02]req_shift_opened done [20:59:02]requested_item shift.open_date is exist - process it [20:59:02]req_shift_open_date [20:59:02]req_shift_open_date done [20:59:02]produce_requested_data done [20:59:02]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40827,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [20:59:02]process_action_free close_receipt [20:59:02]json_value_free [20:59:02]json_value_free done [20:59:02]process_json_proto returns [20:59:02]Send response to host [20:59:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40827,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [20:59:02]free response buf [20:59:02]execute_script done [20:59:02]execute_script returns [20:59:02]free content buf [20:59:02]Sock 7.Close socket [20:59:02]Sock 7.Thread stoped [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:30]ConnectInit Can't connect to host [21:04:31]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:53]ConnectInit Can't connect to host [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:29]accept exits with 9 [21:25:29]New connection [21:25:29]New thread 3066887524 created [21:25:29]Thread 3067030884 joined [21:25:29]Waiting for new connection... [21:25:29] Sock 9.Parse request [21:25:29]Sock 9.Check first char [21:25:29]Sock 9.First char is OK [21:25:29]request: POST /json_proto HTTP/1.0 [21:25:29]Method: POST [21:25:29]URL: /json_proto [21:25:29]Method is POST - this is cgi request [21:25:29]url: /json_proto [21:25:29]query_string will be loaded in cgi processing [21:25:29]execute_cgi json_proto POST (null) [21:25:29]execute_cgi path=json_proto method=POST [21:25:29]POST find Content-Length [21:25:29]Host: 172.17.53.4:8080 [21:25:29]Content-Length: 840 [21:25:29]Content-Type: application/json [21:25:29] [21:25:29]POST finish read [21:25:29]Found Content-Length = 840 [21:25:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809173", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:29]execute_script... [21:25:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809173", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:29]POST & json_proto [21:25:29]process_json_proto [21:25:29]json parsed OK: [21:25:29]protocol is kg_v1.0 [21:25:29]action value=close_receipt [21:25:29]process_action close_receipt [21:25:29]cmd_close_receipt [21:25:29]MH_GetDate [21:25:29]Write to MH i2c: F0 00 00 A8 3E D5 [21:25:29]Write i2c OK [21:25:29]MH_I2C_Read... [21:25:29]Read from MH i2c: F0 [21:25:29]MH_I2C_Read... [21:25:29]Read from MH i2c: F0 09 00 [21:25:29]MH_I2C_Read... [21:25:29]Read from MH i2c: F0 09 00 A8 3E 00 DB C6 16 67 05 11 DA 64 50 [21:25:29]GetLastDocTimeStamp 1729544356 [21:25:29]current date 1729545947 [21:25:29]FM_GetShiftState [21:25:29]SAM_PROTO_GetShiftState [21:25:29]wFMCommunicate request_size=4 [21:25:29]MH_SAM_APDU [21:25:29]CAPDU: 80 13 01 00 [21:25:29]Write to MH i2c: E2 08 00 A9 3E 80 13 01 00 00 00 00 00 64 [21:25:29]Write i2c OK [21:25:29]MH_I2C_Read... [21:25:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:29]Read from MH i2c: E2 [21:25:29]MH_I2C_Read... [21:25:29]Read from MH i2c: E2 0E 00 [21:25:29]MH_I2C_Read... [21:25:29]Read from MH i2c: E2 0E 00 A9 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 32 [21:25:29]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:25:29]wFMCommunicate OK [21:25:29]SAM_PROTO_GetShiftState done [21:25:29]FM_GetShiftState done [21:25:29]opened in 1729470630 [21:25:29]opened+sec_in_day 1729557030 [21:25:29]quantity*price = 50010 [21:25:29]sum+1 = 50012 [21:25:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.11 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 0.00 Безнал.: 500.11 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 96 21.10.2024 21:25 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан ФМ: 0000000000965374 ФД: 40828 ФПД: 253269557936910 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212547&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40828&fm=253269557936910&tin=02508201610067®Number=0000000000098148&sum=50011 [21:25:31]StoreToDocumentArchive [21:25:31]shift 448 fd 40828 [21:25:31]save to /storage/0448/doc_00040828 [21:25:31]save last doc name /storage/0448/doc_00040828 to /storage/kkm_last_doc_name [21:25:31]save OK [21:25:31]Clear old archive folders... [21:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:25:31]tlvbuf is 0104BC00 [21:25:31]SAM_PROTO_ClearQueue [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 09 00 00 [21:25:31]Write to MH i2c: E2 08 00 B6 3E 80 09 00 00 00 00 00 00 66 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 B6 3E 00 90 00 68 [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]SAM_PROTO_ClearQueue done [21:25:31]KKMCreateOFDPacket [21:25:31]OFDProtocolAddRootSTLVToBuf [21:25:31]FM_MakeSignedData [21:25:31]FM_MakeSignedData [21:25:31]SAM_PROTO_SignData [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 01 02 [21:25:31]Write to MH i2c: E2 08 00 B7 3E 80 0D 01 02 00 00 00 00 6E [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 B7 3E 00 90 00 69 [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=255 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 DB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7C 9F 00 00 35 04 06 00 E6 [21:25:31]Write to MH i2c: E2 02 01 B8 3E 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 DB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7C 9F 00 00 35 04 06 00 E6 00 00 30 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 B8 3E 00 90 00 6A [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=10 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 02 02 05 58 EA 08 83 0E [21:25:31]Write to MH i2c: E2 0D 00 B9 3E 80 0D 02 02 05 00 58 EA 08 83 0E 00 00 56 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 B9 3E 00 90 00 6B [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 03 02 [21:25:31]Write to MH i2c: E2 08 00 BA 3E 80 0D 03 02 00 00 00 00 73 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 0B 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 0B 00 BA 3E 00 12 4F 58 97 A6 99 C3 07 90 00 CD [21:25:31]RAPDU: 12 4F 58 97 A6 99 C3 07 90 00 [21:25:31]wFMCommunicate OK [21:25:31]SAM_PROTO_SignData done [21:25:31]FM_MakeSignedData done [21:25:31]CreateOFDProtocolMessage [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 11 00 00 [21:25:31]Write to MH i2c: E2 08 00 BB 3E 80 11 00 00 00 00 00 00 73 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 17 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 17 00 BB 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 C8 [21:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:25:31]wFMCommunicate OK [21:25:31]CreateOFDProtocolMessage done [21:25:31]OFDSenderStorePacket 40828 [21:25:31]StoreOFDPacket docnum=40828 [21:25:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 75 D5 07 01 C7 C4 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 DB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7C 9F 00 00 35 04 06 00 E6 58 EA 08 83 0E 12 4F 58 97 A6 99 C3 07 [21:25:31]CheckFolder [21:25:31]dirname=/storage/ofd_packets [21:25:31]CheckFolder done [21:25:31]ProducePacketName [21:25:31]name=ofd_packets/00040828 [21:25:31]NVStorageSaveData ofd_packets/00040828 [21:25:31]File name is /storage/ofd_packets/00040828 [21:25:31]Write 301 bytes [21:25:31]NVStorageSaveData done [21:25:31]OFDSenderStorePacket done [21:25:31]KKMCreateOFDPacket done [21:25:31]NVStorageSaveData kkm_last_timestamp [21:25:31]File name is /storage/kkm_last_timestamp [21:25:31]Write 4 bytes [21:25:31]NVStorageSaveData done [21:25:31]ExternCall_PrintAddStr [21:25:31]wPrintStart [21:25:31]Write to MH i2c: 01 00 00 BC 3E FA [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 07 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 07 00 BC 3E 00 00 00 00 00 FF 0F 0F [21:25:31]RasterBufferAndPrint [21:25:31]line Счет N : (1)809173 [21:25:31]line ИÐÐ: 02508201610067 [21:25:31]line Контрольно-КаÑÑовый Чек [21:25:31]line ПРОДÐЖР[21:25:31]line ТРК (МРК, ГÐК) : 34 [21:25:31]line Товар: 2710124500 [21:25:31]line Ðи-95-К-3 [21:25:31]line 6.740 * 74.20 [21:25:31]line = 500.11 [21:25:31]line ÐДС 12% ÐСП 1% [21:25:31]line > о реализуемом товаре [21:25:31]line ИТОГО: 500.11 [21:25:31]line ÐСП 1% : 4.43 [21:25:31]line ÐДС 12% : 53.11 [21:25:31]line Ðаличными: 0.00 [21:25:31]line Безнал.: 500.11 [21:25:31]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:25:31]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:25:31]line СÐО: Общий режим [21:25:31]line Чек 96 21.10.2024 21:25 [21:25:31]line Смена: 448 ФФД: 1.0 [21:25:31]line ЗÐМ: 0300000239 [21:25:31]line РÐМ: 0000000000098148 [21:25:31]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:25:31]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: ÐКБ КыргызÑтан [21:25:31]line ФМ: 0000000000965374 [21:25:31]line ФД: 40828 [21:25:31]line ФПД: 253269557936910 [21:25:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212547&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40828&fm=253269557936910&tin=02508201610067®Number=0000000000098148&sum=50011 [21:25:31]written 0, free lines is 4095 [21:25:31]OFD Sender: Processing packet 40828 [packets to send 4, broken 3] [21:25:31]ProducePacketName [21:25:31]name=ofd_packets/00040828 [21:25:31]OFD Sender: To server: ‡•öpG, [21:25:31]CommunicateWithHost lk.salyk.kg:30040 [21:25:31]ConnectInit lk.salyk.kg [21:25:31]Connected sock=11 [21:25:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 75 D5 07 01 C7 C4 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 DB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7C 9F 00 00 35 04 06 00 E6 58 EA 08 83 0E 12 4F 58 97 A6 99 C3 07 [21:25:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 82 18 47 00 1A 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 39 36 35 33 37 34 10 04 04 00 7C 9F 00 00 F4 03 04 00 BA 6C 16 67 B6 04 01 00 00 BE AB 24 7D 0A 12 D6 28 [21:25:31]CommunicateWithHost err = 0 [21:25:31]CheckOFDResponse [21:25:31]1017 (14) - 77093643461234 [21:25:31]1041 (16) - 0000000000965374 [21:25:31]1040 (4) - 40828 [21:25:31]1012 (4) - 21.10.2024 15:01 [21:25:31]1206 (1) - 0 [21:25:31]OFD Sender: Remove packet 40828 [21:25:31]ProducePacketName [21:25:31]name=ofd_packets/00040828 [21:25:31]NVStorageDeleteData [21:25:32]Write to MH i2c: 01 00 00 E6 3E 24 [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 07 00 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 07 00 E6 3E 00 00 00 00 00 0A 0D 42 [21:25:32]RasterBufferAndPrint [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]written 0, free lines is 3344 [21:25:32]MH_Cut [21:25:32]Write to MH i2c: D1 01 00 ED 3E 01 FD [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 01 00 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 01 00 ED 3E 00 FC [21:25:32]Write to MH i2c: 01 00 00 EE 3E 2C [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]OFD Sender: No OFD packet to send [21:25:32]*** Cut start [21:25:32]*** Partial cut [21:25:32]*** CUTSNS_PIN = 1 [21:25:32]*** CUTSNS_PIN = 0 [21:25:32]*** Brake cut motor [21:25:33]Read from MH i2c: 01 [21:25:33]MH_I2C_Read... [21:25:33]*** Stop cut motor [21:25:33]*** Cut end [21:25:33]Read from MH i2c: 01 07 00 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: 01 07 00 EE 3E 00 00 00 00 00 FF 0F 41 [21:25:33]process_action close_receipt done [21:25:33]requested_data is exist [21:25:33]produce_requested_data [21:25:33]requested_item fm.sn is exist - process it [21:25:33]wFMCommunicate request_size=4 [21:25:33]MH_SAM_APDU [21:25:33]CAPDU: 80 11 00 00 [21:25:33]Write to MH i2c: E2 08 00 EF 3E 80 11 00 00 00 00 00 00 A7 [21:25:33]Write i2c OK [21:25:33]MH_I2C_Read... [21:25:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:33]Read from MH i2c: E2 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 17 00 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 17 00 EF 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 FC [21:25:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:25:33]wFMCommunicate OK [21:25:33]requested_item fd.num is exist - process it [21:25:33]SAM_PROTO_GetFieldsCounters [21:25:33]wFMCommunicate request_size=4 [21:25:33]MH_SAM_APDU [21:25:33]CAPDU: 80 13 00 00 [21:25:33]Write to MH i2c: E2 08 00 F0 3E 80 13 00 00 00 00 00 00 AA [21:25:33]Write i2c OK [21:25:33]MH_I2C_Read... [21:25:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:25:33]Read from MH i2c: E2 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 62 00 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 62 00 F0 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7C 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [21:25:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7C 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:25:33]wFMCommunicate OK [21:25:33]SAM_PROTO_GetFieldsCounters done [21:25:33]requested_item shift.num is exist - process it [21:25:33]requested_item shift.opened is exist - process it [21:25:33]req_shift_opened [21:25:33]FM_GetShiftState [21:25:33]SAM_PROTO_GetShiftState [21:25:33]wFMCommunicate request_size=4 [21:25:33]MH_SAM_APDU [21:25:33]CAPDU: 80 13 01 00 [21:25:33]Write to MH i2c: E2 08 00 F1 3E 80 13 01 00 00 00 00 00 AC [21:25:33]Write i2c OK [21:25:33]MH_I2C_Read... [21:25:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:33]Read from MH i2c: E2 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 0E 00 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: E2 0E 00 F1 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 7A [21:25:33]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:25:33]wFMCommunicate OK [21:25:33]SAM_PROTO_GetShiftState done [21:25:33]FM_GetShiftState done [21:25:33]req_shift_opened done [21:25:33]requested_item shift.open_date is exist - process it [21:25:33]req_shift_open_date [21:25:33]req_shift_open_date done [21:25:33]produce_requested_data done [21:25:33]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40828,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:25:33]process_action_free close_receipt [21:25:33]json_value_free [21:25:33]json_value_free done [21:25:33]process_json_proto returns [21:25:33]Send response to host [21:25:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40828,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:25:33]free response buf [21:25:33]execute_script done [21:25:33]execute_script returns [21:25:33]free content buf [21:25:33]Sock 9.Close socket [21:25:33]Sock 9.Thread stoped [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:01]accept exits with 7 [21:26:01]New connection [21:26:01]New thread 3067030884 created [21:26:01]Thread 3066887524 joined [21:26:01]Waiting for new connection... [21:26:01] Sock 7.Parse request [21:26:01]Sock 7.Check first char [21:26:01]Sock 7.First char is OK [21:26:01]request: POST /json_proto HTTP/1.0 [21:26:01]Method: POST [21:26:01]URL: /json_proto [21:26:01]Method is POST - this is cgi request [21:26:01]url: /json_proto [21:26:01]query_string will be loaded in cgi processing [21:26:01]execute_cgi json_proto POST (null) [21:26:01]execute_cgi path=json_proto method=POST [21:26:01]POST find Content-Length [21:26:01]Host: 172.17.53.4:8080 [21:26:01]Content-Length: 677 [21:26:01]Content-Type: application/json [21:26:01] [21:26:01]POST finish read [21:26:01]Found Content-Length = 677 [21:26:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:01]execute_script... [21:26:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:01]POST & json_proto [21:26:01]process_json_proto [21:26:01]json parsed OK: [21:26:01]protocol is kg_v1.0 [21:26:01]action value=close_receipt [21:26:01]process_action close_receipt [21:26:01]cmd_close_receipt [21:26:01]MH_GetDate [21:26:01]Write to MH i2c: F0 00 00 F2 3E 1F [21:26:01]Write i2c OK [21:26:01]MH_I2C_Read... [21:26:01]Read from MH i2c: F0 [21:26:01]MH_I2C_Read... [21:26:01]Read from MH i2c: F0 09 00 [21:26:01]MH_I2C_Read... [21:26:01]Read from MH i2c: F0 09 00 F2 3E 00 FB C6 16 67 05 11 DA 64 BA [21:26:01]GetLastDocTimeStamp 1729545947 [21:26:01]current date 1729545979 [21:26:01]FM_GetShiftState [21:26:01]SAM_PROTO_GetShiftState [21:26:01]wFMCommunicate request_size=4 [21:26:01]MH_SAM_APDU [21:26:01]CAPDU: 80 13 01 00 [21:26:01]Write to MH i2c: E2 08 00 F3 3E 80 13 01 00 00 00 00 00 AE [21:26:01]Write i2c OK [21:26:01]MH_I2C_Read... [21:26:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:01]Read from MH i2c: E2 [21:26:01]MH_I2C_Read... [21:26:01]Read from MH i2c: E2 0E 00 [21:26:01]MH_I2C_Read... [21:26:01]Read from MH i2c: E2 0E 00 F3 3E 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 7C [21:26:01]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:26:01]wFMCommunicate OK [21:26:01]SAM_PROTO_GetShiftState done [21:26:01]FM_GetShiftState done [21:26:01]opened in 1729470630 [21:26:01]opened+sec_in_day 1729557030 [21:26:01]quantity*price = 50010 [21:26:01]sum+1 = 50012 [21:26:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.11 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 97 21.10.2024 21:26 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40829 ФПД: 230455714715543 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212619&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40829&fm=230455714715543&tin=02508201610067®Number=0000000000098148&sum=50000 [21:26:02]StoreToDocumentArchive [21:26:02]shift 448 fd 40829 [21:26:02]save to /storage/0448/doc_00040829 [21:26:02]save last doc name /storage/0448/doc_00040829 to /storage/kkm_last_doc_name [21:26:02]save OK [21:26:02]Clear old archive folders... [21:26:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:26:02]tlvbuf is 0104C110 [21:26:02]SAM_PROTO_ClearQueue [21:26:02]wFMCommunicate request_size=4 [21:26:02]MH_SAM_APDU [21:26:02]CAPDU: 80 09 00 00 [21:26:02]Write to MH i2c: E2 08 00 00 3F 80 09 00 00 00 00 00 00 B1 [21:26:02]Write i2c OK [21:26:02]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 00 3F 00 90 00 B3 [21:26:03]RAPDU: 90 00 [21:26:03]wFMCommunicate OK [21:26:03]SAM_PROTO_ClearQueue done [21:26:03]KKMCreateOFDPacket [21:26:03]OFDProtocolAddRootSTLVToBuf [21:26:03]FM_MakeSignedData [21:26:03]FM_MakeSignedData [21:26:03]SAM_PROTO_SignData [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 0D 01 02 [21:26:03]Write to MH i2c: E2 08 00 01 3F 80 0D 01 02 00 00 00 00 B9 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 01 3F 00 90 00 B4 [21:26:03]RAPDU: 90 00 [21:26:03]wFMCommunicate OK [21:26:03]wFMCommunicate request_size=255 [21:26:03]MH_SAM_APDU [21:26: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 FB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7D 9F 00 00 35 04 06 00 D1 [21:26:03]Write to MH i2c: E2 02 01 02 3F 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 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 FB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7D 9F 00 00 35 04 06 00 D1 00 00 72 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 02 3F 00 90 00 B5 [21:26:03]RAPDU: 90 00 [21:26:03]wFMCommunicate OK [21:26:03]wFMCommunicate request_size=10 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 0D 02 02 05 99 27 03 17 97 [21:26:03]Write to MH i2c: E2 0D 00 03 3F 80 0D 02 02 05 00 99 27 03 17 97 00 00 37 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:03]Read from MH i2c: E2 03 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 03 00 03 3F 00 90 00 B6 [21:26:03]RAPDU: 90 00 [21:26:03]wFMCommunicate OK [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 0D 03 02 [21:26:03]Write to MH i2c: E2 08 00 04 3F 80 0D 03 02 00 00 00 00 BE [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 0B 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 0B 00 04 3F 00 1B 4E B0 7B 8F 1A B5 CA 90 00 7B [21:26:03]RAPDU: 1B 4E B0 7B 8F 1A B5 CA 90 00 [21:26:03]wFMCommunicate OK [21:26:03]SAM_PROTO_SignData done [21:26:03]FM_MakeSignedData done [21:26:03]CreateOFDProtocolMessage [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 11 00 00 [21:26:03]Write to MH i2c: E2 08 00 05 3F 80 11 00 00 00 00 00 00 BE [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 17 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 17 00 05 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 13 [21:26:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:26:03]wFMCommunicate OK [21:26:03]CreateOFDProtocolMessage done [21:26:03]OFDSenderStorePacket 40829 [21:26:03]StoreOFDPacket docnum=40829 [21:26:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A0 3C 07 01 4C 94 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 FB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7D 9F 00 00 35 04 06 00 D1 99 27 03 17 97 1B 4E B0 7B 8F 1A B5 CA [21:26:03]CheckFolder [21:26:03]dirname=/storage/ofd_packets [21:26:03]CheckFolder done [21:26:03]ProducePacketName [21:26:03]name=ofd_packets/00040829 [21:26:03]NVStorageSaveData ofd_packets/00040829 [21:26:03]File name is /storage/ofd_packets/00040829 [21:26:03]Write 301 bytes [21:26:03]NVStorageSaveData done [21:26:03]OFDSenderStorePacket done [21:26:03]KKMCreateOFDPacket done [21:26:03]NVStorageSaveData kkm_last_timestamp [21:26:03]File name is /storage/kkm_last_timestamp [21:26:03]Write 4 bytes [21:26:03]NVStorageSaveData done [21:26:03]ExternCall_PrintAddStr [21:26:03]wPrintStart [21:26:03]Write to MH i2c: 01 00 00 06 3F 45 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: 01 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: 01 07 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: 01 07 00 06 3F 00 00 00 00 00 FF 0F 5A [21:26:03]RasterBufferAndPrint [21:26:03]line Счет N : (1)809174 [21:26:03]line ИÐÐ: 02508201610067 [21:26:03]line Контрольно-КаÑÑовый Чек [21:26:03]line ПРОДÐЖР[21:26:03]line ТРК (МРК, ГÐК) : 34 [21:26:03]line Товар: 2710124500 [21:26:03]line Ðи-95-К-3 [21:26:03]line 6.740 * 74.20 [21:26:03]line = 500.11 [21:26:03]line ÐДС 12% ÐСП 1% [21:26:03]line > о реализуемом товаре [21:26:03]line ОКРУГЛЕÐИЕ: -0.11 [21:26:03]line ИТОГО: 500.00 [21:26:03]line ВнеÑено: 500.00 [21:26:03]line СДÐЧÐ: 0.00 [21:26:03]line ÐСП 1% : 4.43 [21:26:03]line ÐДС 12% : 53.11 [21:26:03]line Ðаличными: 500.00 [21:26:03]line Безнал.: 0.00 [21:26:03]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:26:03]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:26:03]line СÐО: Общий режим [21:26:03]line Чек 97 21.10.2024 21:26 [21:26:03]line Смена: 448 ФФД: 1.0 [21:26:03]line ЗÐМ: 0300000239 [21:26:03]line РÐМ: 0000000000098148 [21:26:03]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:26:03]line ФМ: 0000000000965374 [21:26:03]line ФД: 40829 [21:26:03]line ФПД: 230455714715543 [21:26:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212619&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40829&fm=230455714715543&tin=02508201610067®Number=0000000000098148&sum=50000 [21:26:03]written 0, free lines is 4095 [21:26:03]OFD Sender: Processing packet 40829 [packets to send 4, broken 3] [21:26:03]ProducePacketName [21:26:03]name=ofd_packets/00040829 [21:26:03]OFD Sender: To server: ‡•öpG, [21:26:03]CommunicateWithHost lk.salyk.kg:30040 [21:26:03]ConnectInit lk.salyk.kg [21:26:03]Connected sock=10 [21:26:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 A0 3C 07 01 4C 94 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 FB C6 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7D 9F 00 00 35 04 06 00 D1 99 27 03 17 97 1B 4E B0 7B 8F 1A B5 CA [21:26:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 97 C1 47 00 92 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7D 9F 00 00 F4 03 04 00 DA 6C 16 67 B6 04 01 00 00 F7 6F FE CE E8 EE 6B EE [21:26:04]CommunicateWithHost err = 0 [21:26:04]CheckOFDResponse [21:26:04]1017 (14) - 77093643461234 [21:26:04]1041 (16) - 0000000000965374 [21:26:04]1040 (4) - 40829 [21:26:04]1012 (4) - 21.10.2024 15:01 [21:26:04]1206 (1) - 0 [21:26:04]OFD Sender: Remove packet 40829 [21:26:04]ProducePacketName [21:26:04]name=ofd_packets/00040829 [21:26:04]NVStorageDeleteData [21:26:04]Write to MH i2c: 01 00 00 31 3F 70 [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: 01 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: 01 07 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: 01 07 00 31 3F 00 00 00 00 00 EC 0C 6F [21:26:04]RasterBufferAndPrint [21:26:04]line [21:26:04]line [21:26:04]line [21:26:04]line [21:26:04]line [21:26:04]written 0, free lines is 3314 [21:26:04]MH_Cut [21:26:04]Write to MH i2c: D1 01 00 38 3F 01 49 [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: D1 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: D1 01 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: D1 01 00 38 3F 00 48 [21:26:04]Write to MH i2c: 01 00 00 39 3F 78 [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]OFD Sender: No OFD packet to send [21:26:04]*** Cut start [21:26:04]*** Partial cut [21:26:04]*** CUTSNS_PIN = 1 [21:26:04]*** CUTSNS_PIN = 0 [21:26:05]*** Brake cut motor [21:26:05]Read from MH i2c: 01 [21:26:05]MH_I2C_Read... [21:26:05]*** Stop cut motor [21:26:05]*** Cut end [21:26:05]Read from MH i2c: 01 07 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: 01 07 00 39 3F 00 00 00 00 00 FF 0F 8D [21:26:05]process_action close_receipt done [21:26:05]requested_data is exist [21:26:05]produce_requested_data [21:26:05]requested_item fm.sn is exist - process it [21:26:05]wFMCommunicate request_size=4 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 11 00 00 [21:26:05]Write to MH i2c: E2 08 00 3A 3F 80 11 00 00 00 00 00 00 F3 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 17 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 17 00 3A 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 48 [21:26:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:26:05]wFMCommunicate OK [21:26:05]requested_item fd.num is exist - process it [21:26:05]SAM_PROTO_GetFieldsCounters [21:26:05]wFMCommunicate request_size=4 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 13 00 00 [21:26:05]Write to MH i2c: E2 08 00 3B 3F 80 13 00 00 00 00 00 00 F6 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 62 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 62 00 3B 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7D 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [21:26:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7D 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:26:05]wFMCommunicate OK [21:26:05]SAM_PROTO_GetFieldsCounters done [21:26:05]requested_item shift.num is exist - process it [21:26:05]requested_item shift.opened is exist - process it [21:26:05]req_shift_opened [21:26:05]FM_GetShiftState [21:26:05]SAM_PROTO_GetShiftState [21:26:05]wFMCommunicate request_size=4 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 13 01 00 [21:26:05]Write to MH i2c: E2 08 00 3C 3F 80 13 01 00 00 00 00 00 F8 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 0E 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 0E 00 3C 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C6 [21:26:05]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:26:05]wFMCommunicate OK [21:26:05]SAM_PROTO_GetShiftState done [21:26:05]FM_GetShiftState done [21:26:05]req_shift_opened done [21:26:05]requested_item shift.open_date is exist - process it [21:26:05]req_shift_open_date [21:26:05]req_shift_open_date done [21:26:05]produce_requested_data done [21:26:05]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40829,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:26:05]process_action_free close_receipt [21:26:05]json_value_free [21:26:05]json_value_free done [21:26:05]process_json_proto returns [21:26:05]Send response to host [21:26:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40829,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:26:05]free response buf [21:26:05]execute_script done [21:26:05]execute_script returns [21:26:05]free content buf [21:26:05]Sock 7.Close socket [21:26:05]Sock 7.Thread stoped [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:41]accept exits with 9 [21:27:41]New connection [21:27:41]New thread 3066887524 created [21:27:41]Thread 3067030884 joined [21:27:41]Waiting for new connection... [21:27:41] Sock 9.Parse request [21:27:41]Sock 9.Check first char [21:27:41]Sock 9.First char is OK [21:27:41]request: POST /json_proto HTTP/1.0 [21:27:41]Method: POST [21:27:41]URL: /json_proto [21:27:41]Method is POST - this is cgi request [21:27:41]url: /json_proto [21:27:41]query_string will be loaded in cgi processing [21:27:41]execute_cgi json_proto POST (null) [21:27:41]execute_cgi path=json_proto method=POST [21:27:41]POST find Content-Length [21:27:41]Host: 172.17.53.4:8080 [21:27:41]Content-Length: 675 [21:27:41]Content-Type: application/json [21:27:41] [21:27:41]POST finish read [21:27:41]Found Content-Length = 675 [21:27:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809175", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:27:41]execute_script... [21:27: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)809175", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:27:41]POST & json_proto [21:27:41]process_json_proto [21:27:41]json parsed OK: [21:27:41]protocol is kg_v1.0 [21:27:41]action value=close_receipt [21:27:41]process_action close_receipt [21:27:41]cmd_close_receipt [21:27:41]MH_GetDate [21:27:41]Write to MH i2c: F0 00 00 3D 3F 6B [21:27:41]Write i2c OK [21:27:41]MH_I2C_Read... [21:27:41]Read from MH i2c: F0 [21:27:41]MH_I2C_Read... [21:27:41]Read from MH i2c: F0 09 00 [21:27:41]MH_I2C_Read... [21:27:41]Read from MH i2c: F0 09 00 3D 3F 00 5F C7 16 67 05 11 DA 64 6B [21:27:41]GetLastDocTimeStamp 1729545979 [21:27:41]current date 1729546079 [21:27:41]FM_GetShiftState [21:27:41]SAM_PROTO_GetShiftState [21:27:41]wFMCommunicate request_size=4 [21:27:41]MH_SAM_APDU [21:27:41]CAPDU: 80 13 01 00 [21:27:41]Write to MH i2c: E2 08 00 3E 3F 80 13 01 00 00 00 00 00 FA [21:27:41]Write i2c OK [21:27:41]MH_I2C_Read... [21:27:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:27:41]Read from MH i2c: E2 [21:27:41]MH_I2C_Read... [21:27:41]Read from MH i2c: E2 0E 00 [21:27:41]MH_I2C_Read... [21:27:41]Read from MH i2c: E2 0E 00 3E 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 C8 [21:27:41]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:27:41]wFMCommunicate OK [21:27:41]SAM_PROTO_GetShiftState done [21:27:41]FM_GetShiftState done [21:27:41]opened in 1729470630 [21:27:41]opened+sec_in_day 1729557030 [21:27:41]quantity*price = 100000 [21:27:41]sum+1 = 100002 [21:27:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.01 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 98 21.10.2024 21:27 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40830 ФПД: 274228192269128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212759&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40830&fm=274228192269128&tin=02508201610067®Number=0000000000098148&sum=100000 [21:27:42]StoreToDocumentArchive [21:27:42]shift 448 fd 40830 [21:27:42]save to /storage/0448/doc_00040830 [21:27:42]save last doc name /storage/0448/doc_00040830 to /storage/kkm_last_doc_name [21:27:42]save OK [21:27:42]Clear old archive folders... [21:27:42]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:27:42]tlvbuf is B6DBB690 [21:27:42]SAM_PROTO_ClearQueue [21:27:42]wFMCommunicate request_size=4 [21:27:42]MH_SAM_APDU [21:27:42]CAPDU: 80 09 00 00 [21:27:42]Write to MH i2c: E2 08 00 4B 3F 80 09 00 00 00 00 00 00 FC [21:27:42]Write i2c OK [21:27:42]MH_I2C_Read... [21:27:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:27:42]Read from MH i2c: E2 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 4B 3F 00 90 00 FE [21:27:42]RAPDU: 90 00 [21:27:42]wFMCommunicate OK [21:27:42]SAM_PROTO_ClearQueue done [21:27:42]KKMCreateOFDPacket [21:27:42]OFDProtocolAddRootSTLVToBuf [21:27:42]FM_MakeSignedData [21:27:42]FM_MakeSignedData [21:27:42]SAM_PROTO_SignData [21:27:42]wFMCommunicate request_size=4 [21:27:42]MH_SAM_APDU [21:27:42]CAPDU: 80 0D 01 02 [21:27:42]Write to MH i2c: E2 08 00 4C 3F 80 0D 01 02 00 00 00 00 04 [21:27:42]Write i2c OK [21:27:42]MH_I2C_Read... [21:27:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:27:42]Read from MH i2c: E2 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 4C 3F 00 90 00 FF [21:27:42]RAPDU: 90 00 [21:27:42]wFMCommunicate OK [21:27:42]wFMCommunicate request_size=255 [21:27:42]MH_SAM_APDU [21:27: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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 5F C7 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7E 9F 00 00 35 04 06 00 [21:27:42]Write to MH i2c: E2 02 01 4D 3F 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 5F C7 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7E 9F 00 00 35 04 06 00 00 00 CF [21:27:42]Write i2c OK [21:27:42]MH_I2C_Read... [21:27:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:27:42]Read from MH i2c: E2 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 4D 3F 00 90 00 00 [21:27:42]RAPDU: 90 00 [21:27:42]wFMCommunicate OK [21:27:42]wFMCommunicate request_size=11 [21:27:42]MH_SAM_APDU [21:27:42]CAPDU: 80 0D 02 02 06 F9 68 B9 FC D3 48 [21:27:42]Write to MH i2c: E2 0E 00 4E 3F 80 0D 02 02 06 00 F9 68 B9 FC D3 48 00 00 44 [21:27:42]Write i2c OK [21:27:42]MH_I2C_Read... [21:27:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:27:42]Read from MH i2c: E2 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 [21:27:42]MH_I2C_Read... [21:27:42]Read from MH i2c: E2 03 00 4E 3F 00 90 00 01 [21:27:42]RAPDU: 90 00 [21:27:42]wFMCommunicate OK [21:27:42]wFMCommunicate request_size=4 [21:27:42]MH_SAM_APDU [21:27:42]CAPDU: 80 0D 03 02 [21:27:42]Write to MH i2c: E2 08 00 4F 3F 80 0D 03 02 00 00 00 00 09 [21:27:42]Write i2c OK [21:27:42]MH_I2C_Read... [21:27:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:27:43]Read from MH i2c: E2 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: E2 0B 00 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: E2 0B 00 4F 3F 00 AA 75 D8 25 8B C5 52 D2 90 00 9A [21:27:43]RAPDU: AA 75 D8 25 8B C5 52 D2 90 00 [21:27:43]wFMCommunicate OK [21:27:43]SAM_PROTO_SignData done [21:27:43]FM_MakeSignedData done [21:27:43]CreateOFDProtocolMessage [21:27:43]wFMCommunicate request_size=4 [21:27:43]MH_SAM_APDU [21:27:43]CAPDU: 80 11 00 00 [21:27:43]Write to MH i2c: E2 08 00 50 3F 80 11 00 00 00 00 00 00 09 [21:27:43]Write i2c OK [21:27:43]MH_I2C_Read... [21:27:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:27:43]Read from MH i2c: E2 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: E2 17 00 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: E2 17 00 50 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 5E [21:27:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:27:43]wFMCommunicate OK [21:27:43]CreateOFDProtocolMessage done [21:27:43]OFDSenderStorePacket 40830 [21:27:43]StoreOFDPacket docnum=40830 [21:27:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 FB D8 08 01 D9 AB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 5F C7 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7E 9F 00 00 35 04 06 00 F9 68 B9 FC D3 48 AA 75 D8 25 8B C5 52 D2 [21:27:43]CheckFolder [21:27:43]dirname=/storage/ofd_packets [21:27:43]CheckFolder done [21:27:43]ProducePacketName [21:27:43]name=ofd_packets/00040830 [21:27:43]NVStorageSaveData ofd_packets/00040830 [21:27:43]File name is /storage/ofd_packets/00040830 [21:27:43]Write 302 bytes [21:27:43]NVStorageSaveData done [21:27:43]OFDSenderStorePacket done [21:27:43]KKMCreateOFDPacket done [21:27:43]NVStorageSaveData kkm_last_timestamp [21:27:43]File name is /storage/kkm_last_timestamp [21:27:43]Write 4 bytes [21:27:43]NVStorageSaveData done [21:27:43]ExternCall_PrintAddStr [21:27:43]wPrintStart [21:27:43]Write to MH i2c: 01 00 00 51 3F 90 [21:27:43]Write i2c OK [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 07 00 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 07 00 51 3F 00 00 00 00 00 FF 0F A5 [21:27:43]RasterBufferAndPrint [21:27:43]line Счет N : (1)809175 [21:27:43]line ИÐÐ: 02508201610067 [21:27:43]line Контрольно-КаÑÑовый Чек [21:27:43]line ПРОДÐЖР[21:27:43]line ТРК (МРК, ГÐК) : 42 [21:27:43]line Товар: 2710124130 [21:27:43]line Super 92-К-5 [21:27:43]line 14.620 * 68.40 [21:27:43]line = 1000.01 [21:27:43]line ÐДС 12% ÐСП 1% [21:27:43]line > о реализуемом товаре [21:27:43]line ОКРУГЛЕÐИЕ: -0.01 [21:27:43]line ИТОГО: 1000.00 [21:27:43]line ВнеÑено: 1000.00 [21:27:43]line СДÐЧÐ: 0.00 [21:27:43]line ÐСП 1% : 8.85 [21:27:43]line ÐДС 12% : 106.20 [21:27:43]line Ðаличными: 1000.00 [21:27:43]line Безнал.: 0.00 [21:27:43]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:27:43]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:27:43]line СÐО: Общий режим [21:27:43]line Чек 98 21.10.2024 21:27 [21:27:43]line Смена: 448 ФФД: 1.0 [21:27:43]line ЗÐМ: 0300000239 [21:27:43]line РÐМ: 0000000000098148 [21:27:43]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:27:43]line ФМ: 0000000000965374 [21:27:43]line ФД: 40830 [21:27:43]line ФПД: 274228192269128 [21:27:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212759&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40830&fm=274228192269128&tin=02508201610067®Number=0000000000098148&sum=100000 [21:27:43]OFD Sender: Processing packet 40830 [packets to send 4, broken 3] [21:27:43]ProducePacketName [21:27:43]name=ofd_packets/00040830 [21:27:43]OFD Sender: To server: ‡•öpG, [21:27:43]CommunicateWithHost lk.salyk.kg:30040 [21:27:43]ConnectInit lk.salyk.kg [21:27:43]written 0, free lines is 4095 [21:27:43]Connected sock=10 [21:27:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 FB D8 08 01 D9 AB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 5F C7 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7E 9F 00 00 35 04 06 00 F9 68 B9 FC D3 48 AA 75 D8 25 8B C5 52 D2 [21:27:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 26 97 47 00 DA 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7E 9F 00 00 F4 03 04 00 3E 6D 16 67 B6 04 01 00 00 F2 F4 8E F2 52 7D 3E 63 [21:27:43]CommunicateWithHost err = 0 [21:27:43]CheckOFDResponse [21:27:43]1017 (14) - 77093643461234 [21:27:43]1041 (16) - 0000000000965374 [21:27:43]1040 (4) - 40830 [21:27:43]1012 (4) - 21.10.2024 15:03 [21:27:43]1206 (1) - 0 [21:27:43]OFD Sender: Remove packet 40830 [21:27:43]ProducePacketName [21:27:43]name=ofd_packets/00040830 [21:27:43]NVStorageDeleteData [21:27:43]Write to MH i2c: 01 00 00 7C 3F BB [21:27:43]Write i2c OK [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 07 00 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: 01 07 00 7C 3F 00 00 00 00 00 F5 0C C3 [21:27:43]RasterBufferAndPrint [21:27:43]line [21:27:43]line [21:27:43]line [21:27:43]line [21:27:43]line [21:27:43]written 0, free lines is 3323 [21:27:43]MH_Cut [21:27:43]Write to MH i2c: D1 01 00 83 3F 01 94 [21:27:43]Write i2c OK [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: D1 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: D1 01 00 [21:27:43]MH_I2C_Read... [21:27:43]Read from MH i2c: D1 01 00 83 3F 00 93 [21:27:43]Write to MH i2c: 01 00 00 84 3F C3 [21:27:43]Write i2c OK [21:27:43]MH_I2C_Read... [21:27:44]OFD Sender: No OFD packet to send [21:27:44]*** Cut start [21:27:44]*** Partial cut [21:27:44]*** CUTSNS_PIN = 1 [21:27:44]*** CUTSNS_PIN = 0 [21:27:44]*** Brake cut motor [21:27:45]Read from MH i2c: 01 [21:27:45]MH_I2C_Read... [21:27:45]*** Stop cut motor [21:27:45]*** Cut end [21:27:45]Read from MH i2c: 01 07 00 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: 01 07 00 84 3F 00 00 00 00 00 FF 0F D8 [21:27:45]process_action close_receipt done [21:27:45]requested_data is exist [21:27:45]produce_requested_data [21:27:45]requested_item fm.sn is exist - process it [21:27:45]wFMCommunicate request_size=4 [21:27:45]MH_SAM_APDU [21:27:45]CAPDU: 80 11 00 00 [21:27:45]Write to MH i2c: E2 08 00 85 3F 80 11 00 00 00 00 00 00 3E [21:27:45]Write i2c OK [21:27:45]MH_I2C_Read... [21:27:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:27:45]Read from MH i2c: E2 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 17 00 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 17 00 85 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 93 [21:27:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:27:45]wFMCommunicate OK [21:27:45]requested_item fd.num is exist - process it [21:27:45]SAM_PROTO_GetFieldsCounters [21:27:45]wFMCommunicate request_size=4 [21:27:45]MH_SAM_APDU [21:27:45]CAPDU: 80 13 00 00 [21:27:45]Write to MH i2c: E2 08 00 86 3F 80 13 00 00 00 00 00 00 41 [21:27:45]Write i2c OK [21:27:45]MH_I2C_Read... [21:27:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:27:45]Read from MH i2c: E2 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 62 00 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 62 00 86 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7E 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [21:27:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7E 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:27:45]wFMCommunicate OK [21:27:45]SAM_PROTO_GetFieldsCounters done [21:27:45]requested_item shift.num is exist - process it [21:27:45]requested_item shift.opened is exist - process it [21:27:45]req_shift_opened [21:27:45]FM_GetShiftState [21:27:45]SAM_PROTO_GetShiftState [21:27:45]wFMCommunicate request_size=4 [21:27:45]MH_SAM_APDU [21:27:45]CAPDU: 80 13 01 00 [21:27:45]Write to MH i2c: E2 08 00 87 3F 80 13 01 00 00 00 00 00 43 [21:27:45]Write i2c OK [21:27:45]MH_I2C_Read... [21:27:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:27:45]Read from MH i2c: E2 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 0E 00 [21:27:45]MH_I2C_Read... [21:27:45]Read from MH i2c: E2 0E 00 87 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 11 [21:27:45]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:27:45]wFMCommunicate OK [21:27:45]SAM_PROTO_GetShiftState done [21:27:45]FM_GetShiftState done [21:27:45]req_shift_opened done [21:27:45]requested_item shift.open_date is exist - process it [21:27:45]req_shift_open_date [21:27:45]req_shift_open_date done [21:27:45]produce_requested_data done [21:27:45]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40830,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:27:45]process_action_free close_receipt [21:27:45]json_value_free [21:27:45]json_value_free done [21:27:45]process_json_proto returns [21:27:45]Send response to host [21:27:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40830,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:27:45]free response buf [21:27:45]execute_script done [21:27:45]execute_script returns [21:27:45]free content buf [21:27:45]Sock 9.Close socket [21:27:45]Sock 9.Thread stoped [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:28]accept exits with 7 [21:30:28]New connection [21:30:28]New thread 3067030884 created [21:30:28]Thread 3066887524 joined [21:30:28]Waiting for new connection... [21:30:28] Sock 7.Parse request [21:30:28]Sock 7.Check first char [21:30:28]Sock 7.First char is OK [21:30:28]request: POST /json_proto HTTP/1.0 [21:30:28]Method: POST [21:30:28]URL: /json_proto [21:30:28]Method is POST - this is cgi request [21:30:28]url: /json_proto [21:30:28]query_string will be loaded in cgi processing [21:30:28]execute_cgi json_proto POST (null) [21:30:28]execute_cgi path=json_proto method=POST [21:30:28]POST find Content-Length [21:30:28]Host: 172.17.53.4:8080 [21:30:28]Content-Length: 682 [21:30:28]Content-Type: application/json [21:30:28] [21:30:28]POST finish read [21:30:28]Found Content-Length = 682 [21:30:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809177", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:28]execute_script... [21:30:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809177", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:28]POST & json_proto [21:30:28]process_json_proto [21:30:28]json parsed OK: [21:30:28]protocol is kg_v1.0 [21:30:28]action value=close_receipt [21:30:28]process_action close_receipt [21:30:28]cmd_close_receipt [21:30:28]MH_GetDate [21:30:28]Write to MH i2c: F0 00 00 88 3F B6 [21:30:28]Write i2c OK [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: F0 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: F0 09 00 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: F0 09 00 88 3F 00 06 C8 16 67 05 11 DA 64 5E [21:30:28]GetLastDocTimeStamp 1729546079 [21:30:28]current date 1729546246 [21:30:28]FM_GetShiftState [21:30:28]SAM_PROTO_GetShiftState [21:30:28]wFMCommunicate request_size=4 [21:30:28]MH_SAM_APDU [21:30:28]CAPDU: 80 13 01 00 [21:30:28]Write to MH i2c: E2 08 00 89 3F 80 13 01 00 00 00 00 00 45 [21:30:28]Write i2c OK [21:30:28]MH_I2C_Read... [21:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:28]Read from MH i2c: E2 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: E2 0E 00 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: E2 0E 00 89 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 13 [21:30:28]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:28]wFMCommunicate OK [21:30:28]SAM_PROTO_GetShiftState done [21:30:28]FM_GetShiftState done [21:30:28]opened in 1729470630 [21:30:28]opened+sec_in_day 1729557030 [21:30:28]quantity*price = 100021 [21:30:28]sum+1 = 100023 [21:30:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.22 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 99 21.10.2024 21:30 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40831 ФПД: 155846952741777 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213046&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40831&fm=155846952741777&tin=02508201610067®Number=0000000000098148&sum=100000 [21:30:29]StoreToDocumentArchive [21:30:29]shift 448 fd 40831 [21:30:29]save to /storage/0448/doc_00040831 [21:30:29]save last doc name /storage/0448/doc_00040831 to /storage/kkm_last_doc_name [21:30:29]save OK [21:30:29]Clear old archive folders... [21:30:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:30:29]tlvbuf is 01162340 [21:30:29]SAM_PROTO_ClearQueue [21:30:29]wFMCommunicate request_size=4 [21:30:29]MH_SAM_APDU [21:30:29]CAPDU: 80 09 00 00 [21:30:29]Write to MH i2c: E2 08 00 96 3F 80 09 00 00 00 00 00 00 47 [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:29]Read from MH i2c: E2 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 03 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 03 00 96 3F 00 90 00 49 [21:30:29]RAPDU: 90 00 [21:30:29]wFMCommunicate OK [21:30:29]SAM_PROTO_ClearQueue done [21:30:29]KKMCreateOFDPacket [21:30:29]OFDProtocolAddRootSTLVToBuf [21:30:29]FM_MakeSignedData [21:30:29]FM_MakeSignedData [21:30:29]SAM_PROTO_SignData [21:30:29]wFMCommunicate request_size=4 [21:30:29]MH_SAM_APDU [21:30:29]CAPDU: 80 0D 01 02 [21:30:29]Write to MH i2c: E2 08 00 97 3F 80 0D 01 02 00 00 00 00 4F [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:29]Read from MH i2c: E2 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 03 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 03 00 97 3F 00 90 00 4A [21:30:29]RAPDU: 90 00 [21:30:29]wFMCommunicate OK [21:30:29]wFMCommunicate request_size=255 [21:30:29]MH_SAM_APDU [21:30:29]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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 06 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7F 9F 00 00 35 04 06 00 8D [21:30:29]Write to MH i2c: E2 02 01 98 3F 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 06 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7F 9F 00 00 35 04 06 00 8D 00 00 1A [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:30]Read from MH i2c: E2 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 03 00 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 03 00 98 3F 00 90 00 4B [21:30:30]RAPDU: 90 00 [21:30:30]wFMCommunicate OK [21:30:30]wFMCommunicate request_size=10 [21:30:30]MH_SAM_APDU [21:30:30]CAPDU: 80 0D 02 02 05 BD F2 41 EB 91 [21:30:30]Write to MH i2c: E2 0D 00 99 3F 80 0D 02 02 05 00 BD F2 41 EB 91 00 00 C8 [21:30:30]Write i2c OK [21:30:30]MH_I2C_Read... [21:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:30]Read from MH i2c: E2 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 03 00 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 03 00 99 3F 00 90 00 4C [21:30:30]RAPDU: 90 00 [21:30:30]wFMCommunicate OK [21:30:30]wFMCommunicate request_size=4 [21:30:30]MH_SAM_APDU [21:30:30]CAPDU: 80 0D 03 02 [21:30:30]Write to MH i2c: E2 08 00 9A 3F 80 0D 03 02 00 00 00 00 54 [21:30:30]Write i2c OK [21:30:30]MH_I2C_Read... [21:30:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:30]Read from MH i2c: E2 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 0B 00 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 0B 00 9A 3F 00 53 99 7C B3 AA A8 0D F7 90 00 C6 [21:30:30]RAPDU: 53 99 7C B3 AA A8 0D F7 90 00 [21:30:30]wFMCommunicate OK [21:30:30]SAM_PROTO_SignData done [21:30:30]FM_MakeSignedData done [21:30:30]CreateOFDProtocolMessage [21:30:30]wFMCommunicate request_size=4 [21:30:30]MH_SAM_APDU [21:30:30]CAPDU: 80 11 00 00 [21:30:30]Write to MH i2c: E2 08 00 9B 3F 80 11 00 00 00 00 00 00 54 [21:30:30]Write i2c OK [21:30:30]MH_I2C_Read... [21:30:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:30]Read from MH i2c: E2 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 17 00 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: E2 17 00 9B 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A9 [21:30:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:30]wFMCommunicate OK [21:30:30]CreateOFDProtocolMessage done [21:30:30]OFDSenderStorePacket 40831 [21:30:30]StoreOFDPacket docnum=40831 [21:30:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BF A2 07 01 B9 46 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 06 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7F 9F 00 00 35 04 06 00 8D BD F2 41 EB 91 53 99 7C B3 AA A8 0D F7 [21:30:30]CheckFolder [21:30:30]dirname=/storage/ofd_packets [21:30:30]CheckFolder done [21:30:30]ProducePacketName [21:30:30]name=ofd_packets/00040831 [21:30:30]NVStorageSaveData ofd_packets/00040831 [21:30:30]File name is /storage/ofd_packets/00040831 [21:30:30]Write 301 bytes [21:30:30]NVStorageSaveData done [21:30:30]OFDSenderStorePacket done [21:30:30]KKMCreateOFDPacket done [21:30:30]NVStorageSaveData kkm_last_timestamp [21:30:30]File name is /storage/kkm_last_timestamp [21:30:30]Write 4 bytes [21:30:30]NVStorageSaveData done [21:30:30]ExternCall_PrintAddStr [21:30:30]wPrintStart [21:30:30]Write to MH i2c: 01 00 00 9C 3F DB [21:30:30]Write i2c OK [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: 01 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: 01 07 00 [21:30:30]MH_I2C_Read... [21:30:30]Read from MH i2c: 01 07 00 9C 3F 00 00 00 00 00 FF 0F F0 [21:30:30]RasterBufferAndPrint [21:30:30]line Счет N : (1)809177 [21:30:30]line ИÐÐ: 02508201610067 [21:30:30]line Контрольно-КаÑÑовый Чек [21:30:30]line ПРОДÐЖР[21:30:30]line ТРК (МРК, ГÐК) : 44 [21:30:30]line Товар: 2710124500 [21:30:30]line Ðи-95-К-3 [21:30:30]line 13.480 * 74.20 [21:30:30]line = 1000.22 [21:30:30]line ÐДС 12% ÐСП 1% [21:30:30]line > о реализуемом товаре [21:30:30]line ОКРУГЛЕÐИЕ: -0.22 [21:30:30]line ИТОГО: 1000.00 [21:30:30]line ВнеÑено: 1000.00 [21:30:30]line СДÐЧÐ: 0.00 [21:30:30]line ÐСП 1% : 8.85 [21:30:30]line ÐДС 12% : 106.22 [21:30:30]line Ðаличными: 1000.00 [21:30:30]line Безнал.: 0.00 [21:30:30]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:30:30]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:30:30]line СÐО: Общий режим [21:30:30]line Чек 99 21.10.2024 21:30 [21:30:30]line Смена: 448 ФФД: 1.0 [21:30:30]line ЗÐМ: 0300000239 [21:30:30]line РÐМ: 0000000000098148 [21:30:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:30:30]line ФМ: 0000000000965374 [21:30:30]line ФД: 40831 [21:30:30]line ФПД: 155846952741777 [21:30:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213046&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40831&fm=155846952741777&tin=02508201610067®Number=0000000000098148&sum=100000 [21:30:30]OFD Sender: Processing packet 40831 [packets to send 4, broken 3] [21:30:30]ProducePacketName [21:30:30]name=ofd_packets/00040831 [21:30:30]OFD Sender: To server: ‡•öpG, [21:30:30]CommunicateWithHost lk.salyk.kg:30040 [21:30:30]ConnectInit lk.salyk.kg [21:30:30]written 0, free lines is 4095 [21:30:30]Connected sock=10 [21:30:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0F 01 00 00 BF A2 07 01 B9 46 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 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 06 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7F 9F 00 00 35 04 06 00 8D BD F2 41 EB 91 53 99 7C B3 AA A8 0D F7 [21:30:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 FC 44 47 00 EF B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 7F 9F 00 00 F4 03 04 00 E5 6D 16 67 B6 04 01 00 00 07 81 50 E0 96 81 C9 FB [21:30:30]CommunicateWithHost err = 0 [21:30:30]CheckOFDResponse [21:30:30]1017 (14) - 77093643461234 [21:30:30]1041 (16) - 0000000000965374 [21:30:30]1040 (4) - 40831 [21:30:30]1012 (4) - 21.10.2024 15:06 [21:30:30]1206 (1) - 0 [21:30:30]OFD Sender: Remove packet 40831 [21:30:30]ProducePacketName [21:30:30]name=ofd_packets/00040831 [21:30:30]NVStorageDeleteData [21:30:31]Write to MH i2c: 01 00 00 C7 3F 06 [21:30:31]Write i2c OK [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: 01 [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: 01 07 00 [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: 01 07 00 C7 3F 00 00 00 00 00 F8 0C 11 [21:30:31]RasterBufferAndPrint [21:30:31]line [21:30:31]line [21:30:31]line [21:30:31]line [21:30:31]line [21:30:31]written 0, free lines is 3327 [21:30:31]MH_Cut [21:30:31]Write to MH i2c: D1 01 00 CE 3F 01 DF [21:30:31]Write i2c OK [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: D1 [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: D1 01 00 [21:30:31]MH_I2C_Read... [21:30:31]Read from MH i2c: D1 01 00 CE 3F 00 DE [21:30:31]Write to MH i2c: 01 00 00 CF 3F 0E [21:30:31]Write i2c OK [21:30:31]MH_I2C_Read... [21:30:31]OFD Sender: No OFD packet to send [21:30:31]*** Cut start [21:30:31]*** Partial cut [21:30:31]*** CUTSNS_PIN = 1 [21:30:31]*** CUTSNS_PIN = 0 [21:30:31]*** Brake cut motor [21:30:32]Read from MH i2c: 01 [21:30:32]MH_I2C_Read... [21:30:32]*** Stop cut motor [21:30:32]*** Cut end [21:30:32]Read from MH i2c: 01 07 00 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: 01 07 00 CF 3F 00 00 00 00 00 FF 0F 23 [21:30:32]process_action close_receipt done [21:30:32]requested_data is exist [21:30:32]produce_requested_data [21:30:32]requested_item fm.sn is exist - process it [21:30:32]wFMCommunicate request_size=4 [21:30:32]MH_SAM_APDU [21:30:32]CAPDU: 80 11 00 00 [21:30:32]Write to MH i2c: E2 08 00 D0 3F 80 11 00 00 00 00 00 00 89 [21:30:32]Write i2c OK [21:30:32]MH_I2C_Read... [21:30:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:32]Read from MH i2c: E2 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 17 00 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 17 00 D0 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DE [21:30:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:32]wFMCommunicate OK [21:30:32]requested_item fd.num is exist - process it [21:30:32]SAM_PROTO_GetFieldsCounters [21:30:32]wFMCommunicate request_size=4 [21:30:32]MH_SAM_APDU [21:30:32]CAPDU: 80 13 00 00 [21:30:32]Write to MH i2c: E2 08 00 D1 3F 80 13 00 00 00 00 00 00 8C [21:30:32]Write i2c OK [21:30:32]MH_I2C_Read... [21:30:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:32]Read from MH i2c: E2 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 62 00 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 62 00 D1 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [21:30:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 7F 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:30:32]wFMCommunicate OK [21:30:32]SAM_PROTO_GetFieldsCounters done [21:30:32]requested_item shift.num is exist - process it [21:30:32]requested_item shift.opened is exist - process it [21:30:32]req_shift_opened [21:30:32]FM_GetShiftState [21:30:32]SAM_PROTO_GetShiftState [21:30:32]wFMCommunicate request_size=4 [21:30:32]MH_SAM_APDU [21:30:32]CAPDU: 80 13 01 00 [21:30:32]Write to MH i2c: E2 08 00 D2 3F 80 13 01 00 00 00 00 00 8E [21:30:32]Write i2c OK [21:30:32]MH_I2C_Read... [21:30:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:32]Read from MH i2c: E2 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 0E 00 [21:30:32]MH_I2C_Read... [21:30:32]Read from MH i2c: E2 0E 00 D2 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5C [21:30:32]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:32]wFMCommunicate OK [21:30:32]SAM_PROTO_GetShiftState done [21:30:32]FM_GetShiftState done [21:30:32]req_shift_opened done [21:30:32]requested_item shift.open_date is exist - process it [21:30:32]req_shift_open_date [21:30:32]req_shift_open_date done [21:30:32]produce_requested_data done [21:30:32]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40831,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:30:32]process_action_free close_receipt [21:30:32]json_value_free [21:30:32]json_value_free done [21:30:32]process_json_proto returns [21:30:32]Send response to host [21:30:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40831,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:30:32]free response buf [21:30:32]execute_script done [21:30:32]execute_script returns [21:30:32]free content buf [21:30:32]Sock 7.Close socket [21:30:32]Sock 7.Thread stoped [21:30:36]OFD Sender: No OFD packet to send [21:30:39]accept exits with 9 [21:30:39]New connection [21:30:39]New thread 3066887524 created [21:30:39]Thread 3067030884 joined [21:30:39]Waiting for new connection... [21:30:39] Sock 9.Parse request [21:30:39]Sock 9.Check first char [21:30:39]Sock 9.First char is OK [21:30:39]request: POST /json_proto HTTP/1.0 [21:30:39]Method: POST [21:30:39]URL: /json_proto [21:30:39]Method is POST - this is cgi request [21:30:39]url: /json_proto [21:30:39]query_string will be loaded in cgi processing [21:30:39]execute_cgi json_proto POST (null) [21:30:39]execute_cgi path=json_proto method=POST [21:30:39]POST find Content-Length [21:30:39]Host: 172.17.53.4:8080 [21:30:39]Content-Length: 671 [21:30:39]Content-Type: application/json [21:30:39] [21:30:39]POST finish read [21:30:39]Found Content-Length = 671 [21:30:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809178", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 10.240, "sum" : 700.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:39]execute_script... [21:30:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809178", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 10.240, "sum" : 700.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:39]POST & json_proto [21:30:39]process_json_proto [21:30:39]json parsed OK: [21:30:39]protocol is kg_v1.0 [21:30:39]action value=close_receipt [21:30:39]process_action close_receipt [21:30:39]cmd_close_receipt [21:30:39]MH_GetDate [21:30:39]Write to MH i2c: F0 00 00 D3 3F 01 [21:30:39]Write i2c OK [21:30:39]MH_I2C_Read... [21:30:39]Read from MH i2c: F0 [21:30:39]MH_I2C_Read... [21:30:39]Read from MH i2c: F0 09 00 [21:30:39]MH_I2C_Read... [21:30:39]Read from MH i2c: F0 09 00 D3 3F 00 11 C8 16 67 05 11 DA 64 B4 [21:30:39]GetLastDocTimeStamp 1729546246 [21:30:39]current date 1729546257 [21:30:39]FM_GetShiftState [21:30:39]SAM_PROTO_GetShiftState [21:30:39]wFMCommunicate request_size=4 [21:30:39]MH_SAM_APDU [21:30:39]CAPDU: 80 13 01 00 [21:30:39]Write to MH i2c: E2 08 00 D4 3F 80 13 01 00 00 00 00 00 90 [21:30:39]Write i2c OK [21:30:39]MH_I2C_Read... [21:30:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:39]Read from MH i2c: E2 [21:30:39]MH_I2C_Read... [21:30:39]Read from MH i2c: E2 0E 00 [21:30:39]MH_I2C_Read... [21:30:39]Read from MH i2c: E2 0E 00 D4 3F 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5E [21:30:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:39]wFMCommunicate OK [21:30:39]SAM_PROTO_GetShiftState done [21:30:39]FM_GetShiftState done [21:30:39]opened in 1729470630 [21:30:39]opened+sec_in_day 1729557030 [21:30:39]quantity*price = 70041 [21:30:39]sum+1 = 70043 [21:30:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.42 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 100 21.10.2024 21:30 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965374 ФД: 40832 ФПД: 261362593622008 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213057&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40832&fm=261362593622008&tin=02508201610067®Number=0000000000098148&sum=70000 [21:30:40]StoreToDocumentArchive [21:30:40]shift 448 fd 40832 [21:30:40]save to /storage/0448/doc_00040832 [21:30:40]save last doc name /storage/0448/doc_00040832 to /storage/kkm_last_doc_name [21:30:40]save OK [21:30:40]Clear old archive folders... [21:30:40]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:30:40]tlvbuf is 0104E7D0 [21:30:40]SAM_PROTO_ClearQueue [21:30:40]wFMCommunicate request_size=4 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 09 00 00 [21:30:40]Write to MH i2c: E2 08 00 E1 3F 80 09 00 00 00 00 00 00 92 [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 E1 3F 00 90 00 94 [21:30:40]RAPDU: 90 00 [21:30:40]wFMCommunicate OK [21:30:40]SAM_PROTO_ClearQueue done [21:30:40]KKMCreateOFDPacket [21:30:40]OFDProtocolAddRootSTLVToBuf [21:30:40]FM_MakeSignedData [21:30:40]FM_MakeSignedData [21:30:40]SAM_PROTO_SignData [21:30:40]wFMCommunicate request_size=4 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 0D 01 02 [21:30:40]Write to MH i2c: E2 08 00 E2 3F 80 0D 01 02 00 00 00 00 9A [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 E2 3F 00 90 00 95 [21:30:40]RAPDU: 90 00 [21:30:40]wFMCommunicate OK [21:30:40]wFMCommunicate request_size=255 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 11 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 80 9F 00 00 35 04 06 00 [21:30:40]Write to MH i2c: E2 02 01 E3 3F 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 11 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 80 9F 00 00 35 04 06 00 00 00 A5 [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:40]Read from MH i2c: E2 03 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 E3 3F 00 90 00 96 [21:30:40]RAPDU: 90 00 [21:30:40]wFMCommunicate OK [21:30:40]wFMCommunicate request_size=11 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 0D 02 02 06 ED B5 38 8C E7 F8 [21:30:40]Write to MH i2c: E2 0E 00 E4 3F 80 0D 02 02 06 00 ED B5 38 8C E7 F8 00 00 EE [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 03 00 E4 3F 00 90 00 97 [21:30:40]RAPDU: 90 00 [21:30:40]wFMCommunicate OK [21:30:40]wFMCommunicate request_size=4 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 0D 03 02 [21:30:40]Write to MH i2c: E2 08 00 E5 3F 80 0D 03 02 00 00 00 00 9F [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 0B 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 0B 00 E5 3F 00 0C BA 6F 30 F2 53 C8 E4 90 00 F6 [21:30:40]RAPDU: 0C BA 6F 30 F2 53 C8 E4 90 00 [21:30:40]wFMCommunicate OK [21:30:40]SAM_PROTO_SignData done [21:30:40]FM_MakeSignedData done [21:30:40]CreateOFDProtocolMessage [21:30:40]wFMCommunicate request_size=4 [21:30:40]MH_SAM_APDU [21:30:40]CAPDU: 80 11 00 00 [21:30:40]Write to MH i2c: E2 08 00 E6 3F 80 11 00 00 00 00 00 00 9F [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:40]Read from MH i2c: E2 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 17 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: E2 17 00 E6 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F4 [21:30:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:40]wFMCommunicate OK [21:30:40]CreateOFDProtocolMessage done [21:30:40]OFDSenderStorePacket 40832 [21:30:40]StoreOFDPacket docnum=40832 [21:30:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D7 FD 08 01 D2 05 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 11 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 80 9F 00 00 35 04 06 00 ED B5 38 8C E7 F8 0C BA 6F 30 F2 53 C8 E4 [21:30:40]CheckFolder [21:30:40]dirname=/storage/ofd_packets [21:30:40]CheckFolder done [21:30:40]ProducePacketName [21:30:40]name=ofd_packets/00040832 [21:30:40]NVStorageSaveData ofd_packets/00040832 [21:30:40]File name is /storage/ofd_packets/00040832 [21:30:40]Write 302 bytes [21:30:40]NVStorageSaveData done [21:30:40]OFDSenderStorePacket done [21:30:40]KKMCreateOFDPacket done [21:30:40]NVStorageSaveData kkm_last_timestamp [21:30:40]File name is /storage/kkm_last_timestamp [21:30:40]Write 4 bytes [21:30:40]NVStorageSaveData done [21:30:40]ExternCall_PrintAddStr [21:30:40]wPrintStart [21:30:40]Write to MH i2c: 01 00 00 E7 3F 26 [21:30:40]Write i2c OK [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: 01 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: 01 07 00 [21:30:40]MH_I2C_Read... [21:30:40]Read from MH i2c: 01 07 00 E7 3F 00 00 00 00 00 FF 0F 3B [21:30:40]RasterBufferAndPrint [21:30:40]line Счет N : (1)809178 [21:30:40]line ИÐÐ: 02508201610067 [21:30:40]line Контрольно-КаÑÑовый Чек [21:30:40]line ПРОДÐЖР[21:30:40]line ТРК (МРК, ГÐК) : 32 [21:30:40]line Товар: 2710124130 [21:30:40]line Super 92-К-5 [21:30:40]line 10.240 * 68.40 [21:30:40]line = 700.42 [21:30:40]line ÐДС 12% ÐСП 1% [21:30:40]line > о реализуемом товаре [21:30:40]line ОКРУГЛЕÐИЕ: -0.42 [21:30:40]line ИТОГО: 700.00 [21:30:40]line ВнеÑено: 700.00 [21:30:40]line СДÐЧÐ: 0.00 [21:30:40]line ÐСП 1% : 6.20 [21:30:40]line ÐДС 12% : 74.38 [21:30:40]line Ðаличными: 700.00 [21:30:40]line Безнал.: 0.00 [21:30:40]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:30:40]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:30:40]line СÐО: Общий режим [21:30:40]line Чек 100 21.10.2024 21:30 [21:30:40]line Смена: 448 ФФД: 1.0 [21:30:40]line ЗÐМ: 0300000239 [21:30:40]line РÐМ: 0000000000098148 [21:30:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:30:40]line ФМ: 0000000000965374 [21:30:40]line ФД: 40832 [21:30:40]line ФПД: 261362593622008 [21:30:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213057&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40832&fm=261362593622008&tin=02508201610067®Number=0000000000098148&sum=70000 [21:30:40]written 0, free lines is 4095 [21:30:41]OFD Sender: Processing packet 40832 [packets to send 4, broken 3] [21:30:41]ProducePacketName [21:30:41]name=ofd_packets/00040832 [21:30:41]OFD Sender: To server: ‡•öpG, [21:30:41]CommunicateWithHost lk.salyk.kg:30040 [21:30:41]ConnectInit lk.salyk.kg [21:30:41]Connected sock=10 [21:30:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 01 00 00 D7 FD 08 01 D2 05 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 11 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 80 9F 00 00 35 04 06 00 ED B5 38 8C E7 F8 0C BA 6F 30 F2 53 C8 E4 [21:30:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 9C D4 47 00 75 AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 80 9F 00 00 F4 03 04 00 F0 6D 16 67 B6 04 01 00 00 EA 14 22 AA 35 19 D6 4F [21:30:41]CommunicateWithHost err = 0 [21:30:41]CheckOFDResponse [21:30:41]1017 (14) - 77093643461234 [21:30:41]1041 (16) - 0000000000965374 [21:30:41]1040 (4) - 40832 [21:30:41]1012 (4) - 21.10.2024 15:06 [21:30:41]1206 (1) - 0 [21:30:41]OFD Sender: Remove packet 40832 [21:30:41]ProducePacketName [21:30:41]name=ofd_packets/00040832 [21:30:41]NVStorageDeleteData [21:30:41]Write to MH i2c: 01 00 00 12 40 52 [21:30:41]Write i2c OK [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: 01 [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: 01 07 00 [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: 01 07 00 12 40 00 00 00 00 00 FC 0C 61 [21:30:41]RasterBufferAndPrint [21:30:41]line [21:30:41]line [21:30:41]line [21:30:41]line [21:30:41]line [21:30:41]written 0, free lines is 3336 [21:30:41]MH_Cut [21:30:41]Write to MH i2c: D1 01 00 19 40 01 2B [21:30:41]Write i2c OK [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: D1 [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: D1 01 00 [21:30:41]MH_I2C_Read... [21:30:41]Read from MH i2c: D1 01 00 19 40 00 2A [21:30:41]Write to MH i2c: 01 00 00 1A 40 5A [21:30:41]Write i2c OK [21:30:41]MH_I2C_Read... [21:30:41]OFD Sender: No OFD packet to send [21:30:42]*** Cut start [21:30:42]*** Partial cut [21:30:42]*** CUTSNS_PIN = 1 [21:30:42]*** CUTSNS_PIN = 0 [21:30:42]*** Brake cut motor [21:30:42]Read from MH i2c: 01 [21:30:42]MH_I2C_Read... [21:30:42]*** Stop cut motor [21:30:42]*** Cut end [21:30:42]Read from MH i2c: 01 07 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: 01 07 00 1A 40 00 00 00 00 00 FF 0F 6F [21:30:42]process_action close_receipt done [21:30:42]requested_data is exist [21:30:42]produce_requested_data [21:30:42]requested_item fm.sn is exist - process it [21:30:42]wFMCommunicate request_size=4 [21:30:42]MH_SAM_APDU [21:30:42]CAPDU: 80 11 00 00 [21:30:42]Write to MH i2c: E2 08 00 1B 40 80 11 00 00 00 00 00 00 D5 [21:30:42]Write i2c OK [21:30:42]MH_I2C_Read... [21:30:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:42]Read from MH i2c: E2 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 17 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 17 00 1B 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 2A [21:30:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:42]wFMCommunicate OK [21:30:42]requested_item fd.num is exist - process it [21:30:42]SAM_PROTO_GetFieldsCounters [21:30:42]wFMCommunicate request_size=4 [21:30:42]MH_SAM_APDU [21:30:42]CAPDU: 80 13 00 00 [21:30:42]Write to MH i2c: E2 08 00 1C 40 80 13 00 00 00 00 00 00 D8 [21:30:42]Write i2c OK [21:30:42]MH_I2C_Read... [21:30:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:42]Read from MH i2c: E2 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 62 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 62 00 1C 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 80 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [21:30:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 80 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:30:42]wFMCommunicate OK [21:30:42]SAM_PROTO_GetFieldsCounters done [21:30:42]requested_item shift.num is exist - process it [21:30:42]requested_item shift.opened is exist - process it [21:30:42]req_shift_opened [21:30:42]FM_GetShiftState [21:30:42]SAM_PROTO_GetShiftState [21:30:42]wFMCommunicate request_size=4 [21:30:42]MH_SAM_APDU [21:30:42]CAPDU: 80 13 01 00 [21:30:42]Write to MH i2c: E2 08 00 1D 40 80 13 01 00 00 00 00 00 DA [21:30:42]Write i2c OK [21:30:42]MH_I2C_Read... [21:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:42]Read from MH i2c: E2 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 0E 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 0E 00 1D 40 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 A8 [21:30:42]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:42]wFMCommunicate OK [21:30:42]SAM_PROTO_GetShiftState done [21:30:42]FM_GetShiftState done [21:30:42]req_shift_opened done [21:30:42]requested_item shift.open_date is exist - process it [21:30:42]req_shift_open_date [21:30:42]req_shift_open_date done [21:30:42]produce_requested_data done [21:30:42]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40832,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:30:42]process_action_free close_receipt [21:30:42]json_value_free [21:30:42]json_value_free done [21:30:42]process_json_proto returns [21:30:42]Send response to host [21:30:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40832,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:30:42]free response buf [21:30:42]execute_script done [21:30:42]execute_script returns [21:30:42]free content buf [21:30:42]Sock 9.Close socket [21:30:42]Sock 9.Thread stoped [21:30:44]accept exits with 7 [21:30:44]New connection [21:30:44]New thread 3067030884 created [21:30:44]Thread 3066887524 joined [21:30:44]Waiting for new connection... [21:30:44] Sock 7.Parse request [21:30:44]Sock 7.Check first char [21:30:44]Sock 7.First char is OK [21:30:44]request: POST /json_proto HTTP/1.0 [21:30:44]Method: POST [21:30:44]URL: /json_proto [21:30:44]Method is POST - this is cgi request [21:30:44]url: /json_proto [21:30:44]query_string will be loaded in cgi processing [21:30:44]execute_cgi json_proto POST (null) [21:30:44]execute_cgi path=json_proto method=POST [21:30:44]POST find Content-Length [21:30:44]Host: 172.17.53.4:8080 [21:30:44]Content-Length: 816 [21:30:44]Content-Type: application/json [21:30:44] [21:30:44]POST finish read [21:30:44]Found Content-Length = 816 [21:30:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)809176", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:44]execute_script... [21:30: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 : (1)809176", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:44]POST & json_proto [21:30:44]process_json_proto [21:30:44]json parsed OK: [21:30:44]protocol is kg_v1.0 [21:30:44]action value=close_receipt [21:30:44]process_action close_receipt [21:30:44]cmd_close_receipt [21:30:44]MH_GetDate [21:30:44]Write to MH i2c: F0 00 00 1E 40 4D [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: F0 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: F0 09 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: F0 09 00 1E 40 00 16 C8 16 67 05 11 DA 64 05 [21:30:44]GetLastDocTimeStamp 1729546257 [21:30:44]current date 1729546262 [21:30:44]FM_GetShiftState [21:30:44]SAM_PROTO_GetShiftState [21:30:44]wFMCommunicate request_size=4 [21:30:44]MH_SAM_APDU [21:30:44]CAPDU: 80 13 01 00 [21:30:44]Write to MH i2c: E2 08 00 1F 40 80 13 01 00 00 00 00 00 DC [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:45]Read from MH i2c: E2 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: E2 0E 00 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: E2 0E 00 1F 40 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 AA [21:30:45]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:45]wFMCommunicate OK [21:30:45]SAM_PROTO_GetShiftState done [21:30:45]FM_GetShiftState done [21:30:45]opened in 1729470630 [21:30:45]opened+sec_in_day 1729557030 [21:30:45]quantity*price = 100050 [21:30:45]sum+1 = 100052 [21:30:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.51 ÐСП 1% : 8.85 ÐДС 12% : 106.25 Ðаличными: 0.00 Безнал.: 1000.51 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 СÐО: Общий режим Чек 101 21.10.2024 21:31 Смена: 448 ФФД: 1.0 ЗÐМ: 0300000239 РÐМ: 0000000000098148 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000965374 ФД: 40833 ФПД: 45028829845565 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213103&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40833&fm=45028829845565&tin=02508201610067®Number=0000000000098148&sum=100051 [21:30:45]StoreToDocumentArchive [21:30:45]shift 448 fd 40833 [21:30:45]save to /storage/0448/doc_00040833 [21:30:45]save last doc name /storage/0448/doc_00040833 to /storage/kkm_last_doc_name [21:30:45]save OK [21:30:45]Clear old archive folders... [21:30:45]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:30:45]tlvbuf is 011B9160 [21:30:45]SAM_PROTO_ClearQueue [21:30:45]wFMCommunicate request_size=4 [21:30:45]MH_SAM_APDU [21:30:45]CAPDU: 80 09 00 00 [21:30:45]Write to MH i2c: E2 08 00 2C 40 80 09 00 00 00 00 00 00 DE [21:30:45]Write i2c OK [21:30:45]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 2C 40 00 90 00 E0 [21:30:46]RAPDU: 90 00 [21:30:46]wFMCommunicate OK [21:30:46]SAM_PROTO_ClearQueue done [21:30:46]KKMCreateOFDPacket [21:30:46]OFDProtocolAddRootSTLVToBuf [21:30:46]FM_MakeSignedData [21:30:46]FM_MakeSignedData [21:30:46]SAM_PROTO_SignData [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 0D 01 02 [21:30:46]Write to MH i2c: E2 08 00 2D 40 80 0D 01 02 00 00 00 00 E6 [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 2D 40 00 90 00 E1 [21:30:46]RAPDU: 90 00 [21:30:46]wFMCommunicate OK [21:30:46]wFMCommunicate request_size=255 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 17 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 81 9F 00 00 35 04 06 00 28 F4 17 68 [21:30:46]Write to MH i2c: E2 02 01 2E 40 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 17 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 81 9F 00 00 35 04 06 00 28 F4 17 68 00 00 12 [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 2E 40 00 90 00 E2 [21:30:46]RAPDU: 90 00 [21:30:46]wFMCommunicate OK [21:30:46]wFMCommunicate request_size=7 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 0D 02 02 02 58 3D [21:30:46]Write to MH i2c: E2 0A 00 2F 40 80 0D 02 02 02 00 58 3D 00 00 82 [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 03 00 2F 40 00 90 00 E3 [21:30:46]RAPDU: 90 00 [21:30:46]wFMCommunicate OK [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 0D 03 02 [21:30:46]Write to MH i2c: E2 08 00 30 40 80 0D 03 02 00 00 00 00 EB [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 0B 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 0B 00 30 40 00 9A 56 2B F6 67 5A A5 18 90 00 7B [21:30:46]RAPDU: 9A 56 2B F6 67 5A A5 18 90 00 [21:30:46]wFMCommunicate OK [21:30:46]SAM_PROTO_SignData done [21:30:46]FM_MakeSignedData done [21:30:46]CreateOFDProtocolMessage [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 11 00 00 [21:30:46]Write to MH i2c: E2 08 00 31 40 80 11 00 00 00 00 00 00 EB [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 17 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 17 00 31 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 40 [21:30:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:46]wFMCommunicate OK [21:30:46]CreateOFDProtocolMessage done [21:30:46]OFDSenderStorePacket 40833 [21:30:46]StoreOFDPacket docnum=40833 [21:30:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CA DE 04 01 62 96 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 17 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 81 9F 00 00 35 04 06 00 28 F4 17 68 58 3D 9A 56 2B F6 67 5A A5 18 [21:30:46]CheckFolder [21:30:46]dirname=/storage/ofd_packets [21:30:46]CheckFolder done [21:30:46]ProducePacketName [21:30:46]name=ofd_packets/00040833 [21:30:46]NVStorageSaveData ofd_packets/00040833 [21:30:46]File name is /storage/ofd_packets/00040833 [21:30:46]Write 298 bytes [21:30:46]NVStorageSaveData done [21:30:46]OFDSenderStorePacket done [21:30:46]KKMCreateOFDPacket done [21:30:46]NVStorageSaveData kkm_last_timestamp [21:30:46]File name is /storage/kkm_last_timestamp [21:30:46]Write 4 bytes [21:30:46]NVStorageSaveData done [21:30:46]ExternCall_PrintAddStr [21:30:46]wPrintStart [21:30:46]Write to MH i2c: 01 00 00 32 40 72 [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: 01 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: 01 07 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: 01 07 00 32 40 00 00 00 00 00 FF 0F 87 [21:30:46]RasterBufferAndPrint [21:30:46]line Счет N : (1)809176 [21:30:46]line ИÐÐ: 02508201610067 [21:30:46]line Контрольно-КаÑÑовый Чек [21:30:46]line ПРОДÐЖР[21:30:46]line ТРК (МРК, ГÐК) : 51 [21:30:46]line Товар: 2710194210 [21:30:46]line ДТ-К-2 [21:30:46]line 13.130 * 76.20 [21:30:46]line = 1000.51 [21:30:46]line ÐДС 12% ÐСП 1% [21:30:46]line > о реализуемом товаре [21:30:46]line ИТОГО: 1000.51 [21:30:46]line ÐСП 1% : 8.85 [21:30:46]line ÐДС 12% : 106.25 [21:30:46]line Ðаличными: 0.00 [21:30:46]line Безнал.: 1000.51 [21:30:46]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [21:30:46]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [21:30:46]line СÐО: Общий режим [21:30:46]line Чек 101 21.10.2024 21:31 [21:30:46]line Смена: 448 ФФД: 1.0 [21:30:46]line ЗÐМ: 0300000239 [21:30:46]line РÐМ: 0000000000098148 [21:30:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:30:46]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [21:30:46]line ФМ: 0000000000965374 [21:30:46]line ФД: 40833 [21:30:46]line ФПД: 45028829845565 [21:30:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213103&type=1&operation_type=1&fn_number=0000000000965374&fd_number=40833&fm=45028829845565&tin=02508201610067®Number=0000000000098148&sum=100051 [21:30:46]written 0, free lines is 4095 [21:30:46]OFD Sender: Processing packet 40833 [packets to send 4, broken 3] [21:30:46]ProducePacketName [21:30:46]name=ofd_packets/00040833 [21:30:46]OFD Sender: To server: ‡•öpG, [21:30:46]CommunicateWithHost lk.salyk.kg:30040 [21:30:46]ConnectInit lk.salyk.kg [21:30:46]Connected sock=10 [21:30:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0C 01 00 00 CA DE 04 01 62 96 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 17 C8 16 67 0E 04 04 00 C0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 81 9F 00 00 35 04 06 00 28 F4 17 68 58 3D 9A 56 2B F6 67 5A A5 18 [21:30:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 F2 FD 47 00 97 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 81 9F 00 00 F4 03 04 00 F5 6D 16 67 B6 04 01 00 00 77 7C EE F1 97 0D 13 9A [21:30:47]CommunicateWithHost err = 0 [21:30:47]CheckOFDResponse [21:30:47]1017 (14) - 77093643461234 [21:30:47]1041 (16) - 0000000000965374 [21:30:47]1040 (4) - 40833 [21:30:47]1012 (4) - 21.10.2024 15:06 [21:30:47]1206 (1) - 0 [21:30:47]OFD Sender: Remove packet 40833 [21:30:47]ProducePacketName [21:30:47]name=ofd_packets/00040833 [21:30:47]NVStorageDeleteData [21:30:47]Write to MH i2c: 01 00 00 5C 40 9C [21:30:47]Write i2c OK [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: 01 [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: 01 07 00 [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: 01 07 00 5C 40 00 00 00 00 00 13 0D C3 [21:30:47]RasterBufferAndPrint [21:30:47]line [21:30:47]line [21:30:47]line [21:30:47]line [21:30:47]line [21:30:47]written 0, free lines is 3366 [21:30:47]MH_Cut [21:30:47]Write to MH i2c: D1 01 00 63 40 01 75 [21:30:47]Write i2c OK [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: D1 [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: D1 01 00 [21:30:47]MH_I2C_Read... [21:30:47]Read from MH i2c: D1 01 00 63 40 00 74 [21:30:47]Write to MH i2c: 01 00 00 64 40 A4 [21:30:47]Write i2c OK [21:30:47]MH_I2C_Read... [21:30:47]OFD Sender: No OFD packet to send [21:30:47]*** Cut start [21:30:47]*** Partial cut [21:30:47]*** CUTSNS_PIN = 1 [21:30:47]*** CUTSNS_PIN = 0 [21:30:47]*** Brake cut motor [21:30:48]Read from MH i2c: 01 [21:30:48]MH_I2C_Read... [21:30:48]*** Stop cut motor [21:30:48]*** Cut end [21:30:48]Read from MH i2c: 01 07 00 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: 01 07 00 64 40 00 00 00 00 00 FF 0F B9 [21:30:48]process_action close_receipt done [21:30:48]requested_data is exist [21:30:48]produce_requested_data [21:30:48]requested_item fm.sn is exist - process it [21:30:48]wFMCommunicate request_size=4 [21:30:48]MH_SAM_APDU [21:30:48]CAPDU: 80 11 00 00 [21:30:48]Write to MH i2c: E2 08 00 65 40 80 11 00 00 00 00 00 00 1F [21:30:48]Write i2c OK [21:30:48]MH_I2C_Read... [21:30:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:48]Read from MH i2c: E2 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 17 00 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 17 00 65 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 74 [21:30:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [21:30:48]wFMCommunicate OK [21:30:48]requested_item fd.num is exist - process it [21:30:48]SAM_PROTO_GetFieldsCounters [21:30:48]wFMCommunicate request_size=4 [21:30:48]MH_SAM_APDU [21:30:48]CAPDU: 80 13 00 00 [21:30:48]Write to MH i2c: E2 08 00 66 40 80 13 00 00 00 00 00 00 22 [21:30:48]Write i2c OK [21:30:48]MH_I2C_Read... [21:30:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:48]Read from MH i2c: E2 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 62 00 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 62 00 66 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [21:30:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:30:48]wFMCommunicate OK [21:30:48]SAM_PROTO_GetFieldsCounters done [21:30:48]requested_item shift.num is exist - process it [21:30:48]requested_item shift.opened is exist - process it [21:30:48]req_shift_opened [21:30:48]FM_GetShiftState [21:30:48]SAM_PROTO_GetShiftState [21:30:48]wFMCommunicate request_size=4 [21:30:48]MH_SAM_APDU [21:30:48]CAPDU: 80 13 01 00 [21:30:48]Write to MH i2c: E2 08 00 67 40 80 13 01 00 00 00 00 00 24 [21:30:48]Write i2c OK [21:30:48]MH_I2C_Read... [21:30:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:48]Read from MH i2c: E2 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 0E 00 [21:30:48]MH_I2C_Read... [21:30:48]Read from MH i2c: E2 0E 00 67 40 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F2 [21:30:48]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [21:30:48]wFMCommunicate OK [21:30:48]SAM_PROTO_GetShiftState done [21:30:48]FM_GetShiftState done [21:30:48]req_shift_opened done [21:30:48]requested_item shift.open_date is exist - process it [21:30:48]req_shift_open_date [21:30:48]req_shift_open_date done [21:30:48]produce_requested_data done [21:30:48]produce_requested_data return {"fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [21:30:48]process_action_free close_receipt [21:30:48]json_value_free [21:30:48]json_value_free done [21:30:48]process_json_proto returns [21:30:48]Send response to host [21:30:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [21:30:48]free response buf [21:30:48]execute_script done [21:30:48]execute_script returns [21:30:48]free content buf [21:30:48]Sock 7.Close socket [21:30:48]Sock 7.Thread stoped [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]ConnectInit Can't connect to host [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:02]OFD Sender: No OFD packet to send [21:39:07]OFD Sender: No OFD packet to send [21:39:12]OFD Sender: No OFD packet to send [21:39:17]OFD Sender: No OFD packet to send [21:39:22]OFD Sender: No OFD packet to send [21:39:27]OFD Sender: No OFD packet to send [21:39:32]OFD Sender: No OFD packet to send [21:39:37]OFD Sender: No OFD packet to send [21:39:42]OFD Sender: No OFD packet to send [21:39:47]OFD Sender: No OFD packet to send [21:39:52]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:01]ConnectInit Can't connect to host [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [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: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:00]ConnectInit Can't connect to host [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:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:34]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:35]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:51]OFD Sender: No OFD packet to send [22:46:56]OFD Sender: No OFD packet to send [22:47:01]OFD Sender: No OFD packet to send [22:47:06]OFD Sender: No OFD packet to send [22:47:11]OFD Sender: No OFD packet to send [22:47:16]OFD Sender: No OFD packet to send [22:47:21]OFD Sender: No OFD packet to send [22:47:26]OFD Sender: No OFD packet to send [22:47:31]OFD Sender: No OFD packet to send [22:47:36]OFD Sender: No OFD packet to send [22:47:41]OFD Sender: No OFD packet to send [22:47:46]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:16]OFD Sender: No OFD packet to send [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:36]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:11]OFD Sender: No OFD packet to send [23:04:16]OFD Sender: No OFD packet to send [23:04:21]OFD Sender: No OFD packet to send [23:04:26]OFD Sender: No OFD packet to send [23:04:31]OFD Sender: No OFD packet to send [23:04:36]OFD Sender: No OFD packet to send [23:04:41]OFD Sender: No OFD packet to send [23:04:46]OFD Sender: No OFD packet to send [23:04:51]OFD Sender: No OFD packet to send [23:04:56]OFD Sender: No OFD packet to send [23:05:01]OFD Sender: No OFD packet to send [23:05:06]OFD Sender: No OFD packet to send [23:05:11]OFD Sender: No OFD packet to send [23:05:16]OFD Sender: No OFD packet to send [23:05:21]OFD Sender: No OFD packet to send [23:05:26]OFD Sender: No OFD packet to send [23:05:31]OFD Sender: No OFD packet to send [23:05:36]OFD Sender: No OFD packet to send [23:05:41]OFD Sender: No OFD packet to send [23:05:46]OFD Sender: No OFD packet to send [23:05:51]OFD Sender: No OFD packet to send [23:05:56]OFD Sender: No OFD packet to send [23:06:01]OFD Sender: No OFD packet to send [23:06:06]OFD Sender: No OFD packet to send [23:06:11]OFD Sender: No OFD packet to send [23:06:16]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:42]OFD Sender: No OFD packet to send [23:07:47]OFD Sender: No OFD packet to send [23:07:52]OFD Sender: No OFD packet to send [23:07:57]OFD Sender: No OFD packet to send [23:08:02]OFD Sender: No OFD packet to send [23:08:07]OFD Sender: No OFD packet to send [23:08:12]OFD Sender: No OFD packet to send [23:08:17]OFD Sender: No OFD packet to send [23:08:22]OFD Sender: No OFD packet to send [23:08:27]OFD Sender: No OFD packet to send [23:08:32]OFD Sender: No OFD packet to send [23:08:37]OFD Sender: No OFD packet to send [23:08:42]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:57]OFD Sender: No OFD packet to send [23:09:02]OFD Sender: No OFD packet to send [23:09:07]OFD Sender: No OFD packet to send [23:09:12]OFD Sender: No OFD packet to send [23:09:17]OFD Sender: No OFD packet to send [23:09:22]OFD Sender: No OFD packet to send [23:09:27]OFD Sender: No OFD packet to send [23:09:32]OFD Sender: No OFD packet to send [23:09:37]OFD Sender: No OFD packet to send [23:09:42]OFD Sender: No OFD packet to send [23:09:47]OFD Sender: No OFD packet to send [23:09:52]OFD Sender: No OFD packet to send [23:09:57]OFD Sender: No OFD packet to send [23:10:02]OFD Sender: No OFD packet to send [23:10:07]OFD Sender: No OFD packet to send [23:10:12]OFD Sender: No OFD packet to send [23:10:17]OFD Sender: No OFD packet to send [23:10:22]OFD Sender: No OFD packet to send [23:10:27]OFD Sender: No OFD packet to send [23:10:32]OFD Sender: No OFD packet to send [23:10:37]OFD Sender: No OFD packet to send [23:10:42]OFD Sender: No OFD packet to send [23:10:47]OFD Sender: No OFD packet to send [23:10:52]OFD Sender: No OFD packet to send [23:10:57]OFD Sender: No OFD packet to send [23:11:02]OFD Sender: No OFD packet to send [23:11:07]OFD Sender: No OFD packet to send [23:11:12]OFD Sender: No OFD packet to send [23:11:17]OFD Sender: No OFD packet to send [23:11:22]OFD Sender: No OFD packet to send [23:11:27]OFD Sender: No OFD packet to send [23:11:32]OFD Sender: No OFD packet to send [23:11:37]OFD Sender: No OFD packet to send [23:11:42]OFD Sender: No OFD packet to send [23:11:47]OFD Sender: No OFD packet to send [23:11:52]OFD Sender: No OFD packet to send [23:11:57]OFD Sender: No OFD packet to send [23:12:02]OFD Sender: No OFD packet to send [23:12:07]OFD Sender: No OFD packet to send [23:12:12]OFD Sender: No OFD packet to send [23:12:17]OFD Sender: No OFD packet to send [23:12:22]OFD Sender: No OFD packet to send [23:12:27]OFD Sender: No OFD packet to send [23:12:32]OFD Sender: No OFD packet to send [23:12:37]OFD Sender: No OFD packet to send [23:12:42]OFD Sender: No OFD packet to send [23:12:47]OFD Sender: No OFD packet to send [23:12:52]OFD Sender: No OFD packet to send [23:12:57]OFD Sender: No OFD packet to send [23:13:02]OFD Sender: No OFD packet to send [23:13:07]OFD Sender: No OFD packet to send [23:13:12]OFD Sender: No OFD packet to send [23:13:17]OFD Sender: No OFD packet to send [23:13:22]OFD Sender: No OFD packet to send [23:13:27]OFD Sender: No OFD packet to send [23:13:32]OFD Sender: No OFD packet to send [23:13:37]OFD Sender: No OFD packet to send [23:13:42]OFD Sender: No OFD packet to send [23:13:47]OFD Sender: No OFD packet to send [23:13:52]OFD Sender: No OFD packet to send [23:13:57]OFD Sender: No OFD packet to send [23:14:02]OFD Sender: No OFD packet to send [23:14:07]OFD Sender: No OFD packet to send [23:14:12]OFD Sender: No OFD packet to send [23:14:17]OFD Sender: No OFD packet to send [23:14:22]OFD Sender: No OFD packet to send [23:14:27]OFD Sender: No OFD packet to send [23:14:32]OFD Sender: No OFD packet to send [23:14:37]OFD Sender: No OFD packet to send [23:14:42]OFD Sender: No OFD packet to send [23:14:47]OFD Sender: No OFD packet to send [23:14:52]OFD Sender: No OFD packet to send [23:14:57]OFD Sender: No OFD packet to send [23:15:02]OFD Sender: No OFD packet to send [23:15:07]OFD Sender: No OFD packet to send [23:15:12]OFD Sender: No OFD packet to send [23:15:17]OFD Sender: No OFD packet to send [23:15:22]OFD Sender: No OFD packet to send [23:15:27]OFD Sender: No OFD packet to send [23:15:32]OFD Sender: No OFD packet to send [23:15:37]OFD Sender: No OFD packet to send [23:15:42]OFD Sender: No OFD packet to send [23:15:47]OFD Sender: No OFD packet to send [23:15:52]OFD Sender: No OFD packet to send [23:15:57]OFD Sender: No OFD packet to send [23:16:02]OFD Sender: No OFD packet to send [23:16:07]OFD Sender: No OFD packet to send [23:16:12]OFD Sender: No OFD packet to send [23:16:17]OFD Sender: No OFD packet to send [23:16:22]OFD Sender: No OFD packet to send [23:16:27]OFD Sender: No OFD packet to send [23:16:32]OFD Sender: No OFD packet to send [23:16:37]OFD Sender: No OFD packet to send [23:16:42]OFD Sender: No OFD packet to send [23:16:47]OFD Sender: No OFD packet to send [23:16:52]OFD Sender: No OFD packet to send [23:16:57]OFD Sender: No OFD packet to send [23:17:02]OFD Sender: No OFD packet to send [23:17:07]OFD Sender: No OFD packet to send [23:17:12]OFD Sender: No OFD packet to send [23:17:17]OFD Sender: No OFD packet to send [23:17:22]OFD Sender: No OFD packet to send [23:17:27]OFD Sender: No OFD packet to send [23:17:32]OFD Sender: No OFD packet to send [23:17:37]OFD Sender: No OFD packet to send [23:17:42]OFD Sender: No OFD packet to send [23:17:47]OFD Sender: No OFD packet to send [23:17:52]OFD Sender: No OFD packet to send [23:17:57]OFD Sender: No OFD packet to send [23:18:02]OFD Sender: No OFD packet to send [23:18:07]OFD Sender: No OFD packet to send [23:18:12]OFD Sender: No OFD packet to send [23:18:17]OFD Sender: No OFD packet to send [23:18:22]OFD Sender: No OFD packet to send [23:18:27]OFD Sender: No OFD packet to send [23:18:32]OFD Sender: No OFD packet to send [23:18:37]OFD Sender: No OFD packet to send [23:18:42]OFD Sender: No OFD packet to send [23:18:47]OFD Sender: No OFD packet to send [23:18:52]OFD Sender: No OFD packet to send [23:18:57]OFD Sender: No OFD packet to send [23:19:02]OFD Sender: No OFD packet to send [23:19:07]OFD Sender: No OFD packet to send [23:19:12]OFD Sender: No OFD packet to send [23:19:17]OFD Sender: No OFD packet to send [23:19:22]OFD Sender: No OFD packet to send [23:19:27]OFD Sender: No OFD packet to send [23:19:32]OFD Sender: No OFD packet to send [23:19:37]OFD Sender: No OFD packet to send [23:19:42]OFD Sender: No OFD packet to send [23:19:47]OFD Sender: No OFD packet to send [23:19:52]OFD Sender: No OFD packet to send [23:19:57]OFD Sender: No OFD packet to send [23:20:02]OFD Sender: No OFD packet to send [23:20:07]OFD Sender: No OFD packet to send [23:20:12]OFD Sender: No OFD packet to send [23:20:17]OFD Sender: No OFD packet to send [23:20:22]OFD Sender: No OFD packet to send [23:20:27]OFD Sender: No OFD packet to send [23:20:32]OFD Sender: No OFD packet to send [23:20:37]OFD Sender: No OFD packet to send [23:20:42]OFD Sender: No OFD packet to send [23:20:47]OFD Sender: No OFD packet to send [23:20:52]OFD Sender: No OFD packet to send [23:20:57]OFD Sender: No OFD packet to send [23:21:02]OFD Sender: No OFD packet to send [23:21:07]OFD Sender: No OFD packet to send [23:21:12]OFD Sender: No OFD packet to send [23:21:17]OFD Sender: No OFD packet to send [23:21:22]OFD Sender: No OFD packet to send [23:21:27]OFD Sender: No OFD packet to send [23:21:32]OFD Sender: No OFD packet to send [23:21:37]OFD Sender: No OFD packet to send [23:21:42]OFD Sender: No OFD packet to send [23:21:47]OFD Sender: No OFD packet to send [23:21:52]OFD Sender: No OFD packet to send [23:21:57]OFD Sender: No OFD packet to send [23:22:02]OFD Sender: No OFD packet to send [23:22:07]OFD Sender: No OFD packet to send [23:22:12]OFD Sender: No OFD packet to send [23:22:17]OFD Sender: No OFD packet to send [23:22:22]OFD Sender: No OFD packet to send [23:22:27]OFD Sender: No OFD packet to send [23:22:32]OFD Sender: No OFD packet to send [23:22:37]OFD Sender: No OFD packet to send [23:22:42]OFD Sender: No OFD packet to send [23:22:47]OFD Sender: No OFD packet to send [23:22:52]OFD Sender: No OFD packet to send [23:22:57]OFD Sender: No OFD packet to send [23:23:02]OFD Sender: No OFD packet to send [23:23:07]OFD Sender: No OFD packet to send [23:23:12]OFD Sender: No OFD packet to send [23:23:17]OFD Sender: No OFD packet to send [23:23:22]OFD Sender: No OFD packet to send [23:23:27]OFD Sender: No OFD packet to send [23:23:32]OFD Sender: No OFD packet to send [23:23:37]OFD Sender: No OFD packet to send [23:23:42]OFD Sender: No OFD packet to send [23:23:47]OFD Sender: No OFD packet to send [23:23:52]OFD Sender: No OFD packet to send [23:23:57]OFD Sender: No OFD packet to send [23:24:02]OFD Sender: No OFD packet to send [23:24:07]OFD Sender: No OFD packet to send [23:24:12]OFD Sender: No OFD packet to send [23:24:17]OFD Sender: No OFD packet to send [23:24:22]OFD Sender: No OFD packet to send [23:24:27]OFD Sender: No OFD packet to send [23:24:32]OFD Sender: No OFD packet to send [23:24:37]OFD Sender: No OFD packet to send [23:24:42]OFD Sender: No OFD packet to send [23:24:47]OFD Sender: No OFD packet to send [23:24:52]OFD Sender: No OFD packet to send [23:24:57]OFD Sender: No OFD packet to send [23:25:02]OFD Sender: No OFD packet to send [23:25:07]OFD Sender: No OFD packet to send [23:25:12]OFD Sender: No OFD packet to send [23:25:17]OFD Sender: No OFD packet to send [23:25:22]OFD Sender: No OFD packet to send [23:25:27]OFD Sender: No OFD packet to send [23:25:32]OFD Sender: No OFD packet to send [23:25:37]OFD Sender: No OFD packet to send [23:25:42]OFD Sender: No OFD packet to send [23:25:47]OFD Sender: No OFD packet to send [23:25:52]OFD Sender: No OFD packet to send [23:25:57]OFD Sender: No OFD packet to send [23:26:02]OFD Sender: No OFD packet to send [23:26:07]OFD Sender: No OFD packet to send [23:26:12]OFD Sender: No OFD packet to send [23:26:17]OFD Sender: No OFD packet to send [23:26:22]OFD Sender: No OFD packet to send [23:26:27]OFD Sender: No OFD packet to send [23:26:32]OFD Sender: No OFD packet to send [23:26:37]OFD Sender: No OFD packet to send [23:26:42]OFD Sender: No OFD packet to send [23:26:47]OFD Sender: No OFD packet to send [23:26:52]OFD Sender: No OFD packet to send [23:26:57]OFD Sender: No OFD packet to send [23:27:02]OFD Sender: No OFD packet to send [23:27:07]OFD Sender: No OFD packet to send [23:27:12]OFD Sender: No OFD packet to send [23:27:17]OFD Sender: No OFD packet to send [23:27:22]OFD Sender: No OFD packet to send [23:27:27]OFD Sender: No OFD packet to send [23:27:32]OFD Sender: No OFD packet to send [23:27:37]OFD Sender: No OFD packet to send [23:27:42]OFD Sender: No OFD packet to send [23:27:47]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:08]OFD Sender: No OFD packet to send [23:28:13]OFD Sender: No OFD packet to send [23:28:18]OFD Sender: No OFD packet to send [23:28:23]OFD Sender: No OFD packet to send [23:28:28]OFD Sender: No OFD packet to send [23:28:33]OFD Sender: No OFD packet to send [23:28:38]OFD Sender: No OFD packet to send [23:28:43]OFD Sender: No OFD packet to send [23:28:48]OFD Sender: No OFD packet to send [23:28:53]OFD Sender: No OFD packet to send [23:28:58]OFD Sender: No OFD packet to send [23:29:03]OFD Sender: No OFD packet to send [23:29:08]OFD Sender: No OFD packet to send [23:29:13]OFD Sender: No OFD packet to send [23:29:18]OFD Sender: No OFD packet to send [23:29:23]OFD Sender: No OFD packet to send [23:29:28]OFD Sender: No OFD packet to send [23:29:33]OFD Sender: No OFD packet to send [23:29:38]OFD Sender: No OFD packet to send [23:29:43]OFD Sender: No OFD packet to send [23:29:48]OFD Sender: No OFD packet to send [23:29:53]OFD Sender: No OFD packet to send [23:29:58]OFD Sender: No OFD packet to send [23:30:03]OFD Sender: No OFD packet to send [23:30:08]OFD Sender: No OFD packet to send [23:30:13]OFD Sender: No OFD packet to send [23:30:18]OFD Sender: No OFD packet to send [23:30:23]OFD Sender: No OFD packet to send [23:30:28]OFD Sender: No OFD packet to send [23:30:33]OFD Sender: No OFD packet to send [23:30:38]OFD Sender: No OFD packet to send [23:30:43]OFD Sender: No OFD packet to send [23:30:48]OFD Sender: No OFD packet to send [23:30:53]OFD Sender: No OFD packet to send [23:30:58]OFD Sender: No OFD packet to send [23:31:03]OFD Sender: No OFD packet to send [23:31:08]OFD Sender: No OFD packet to send [23:31:13]OFD Sender: No OFD packet to send [23:31:18]OFD Sender: No OFD packet to send [23:31:23]OFD Sender: No OFD packet to send [23:31:28]OFD Sender: No OFD packet to send [23:31:33]OFD Sender: No OFD packet to send [23:31:38]OFD Sender: No OFD packet to send [23:31:43]OFD Sender: No OFD packet to send [23:31:48]OFD Sender: No OFD packet to send [23:31:53]OFD Sender: No OFD packet to send [23:31:58]OFD Sender: No OFD packet to send [23:32:03]OFD Sender: No OFD packet to send [23:32:08]OFD Sender: No OFD packet to send [23:32:13]OFD Sender: No OFD packet to send [23:32:18]OFD Sender: No OFD packet to send [23:32:23]OFD Sender: No OFD packet to send [23:32:28]OFD Sender: No OFD packet to send [23:32:33]OFD Sender: No OFD packet to send [23:32:38]OFD Sender: No OFD packet to send [23:32:43]OFD Sender: No OFD packet to send [23:32:48]OFD Sender: No OFD packet to send [23:32:53]OFD Sender: No OFD packet to send [23:32:58]OFD Sender: No OFD packet to send [23:33:03]OFD Sender: No OFD packet to send [23:33:08]OFD Sender: No OFD packet to send [23:33:13]OFD Sender: No OFD packet to send [23:33:18]OFD Sender: No OFD packet to send [23:33:23]OFD Sender: No OFD packet to send [23:33:28]OFD Sender: No OFD packet to send [23:33:33]OFD Sender: No OFD packet to send [23:33:38]OFD Sender: No OFD packet to send [23:33:43]OFD Sender: No OFD packet to send [23:33:48]OFD Sender: No OFD packet to send [23:33:53]OFD Sender: No OFD packet to send [23:33:58]OFD Sender: No OFD packet to send [23:34:03]OFD Sender: No OFD packet to send [23:34:08]OFD Sender: No OFD packet to send [23:34:13]OFD Sender: No OFD packet to send [23:34:18]OFD Sender: No OFD packet to send [23:34:23]OFD Sender: No OFD packet to send [23:34:28]OFD Sender: No OFD packet to send [23:34:33]OFD Sender: No OFD packet to send [23:34:38]OFD Sender: No OFD packet to send [23:34:43]OFD Sender: No OFD packet to send [23:34:48]OFD Sender: No OFD packet to send [23:34:53]OFD Sender: No OFD packet to send [23:34:58]OFD Sender: No OFD packet to send [23:35:03]OFD Sender: No OFD packet to send [23:35:08]OFD Sender: No OFD packet to send [23:35:13]OFD Sender: No OFD packet to send [23:35:18]OFD Sender: No OFD packet to send [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:28]OFD Sender: No OFD packet to send [23:36:33]OFD Sender: No OFD packet to send [23:36:38]OFD Sender: No OFD packet to send [23:36:43]OFD Sender: No OFD packet to send [23:36:48]OFD Sender: No OFD packet to send [23:36:53]OFD Sender: No OFD packet to send [23:36:58]OFD Sender: No OFD packet to send [23:37:03]OFD Sender: No OFD packet to send [23:37:08]OFD Sender: No OFD packet to send [23:37:13]OFD Sender: No OFD packet to send [23:37:18]OFD Sender: No OFD packet to send [23:37:23]OFD Sender: No OFD packet to send [23:37:28]OFD Sender: No OFD packet to send [23:37:33]OFD Sender: No OFD packet to send [23:37:38]OFD Sender: No OFD packet to send [23:37:43]OFD Sender: No OFD packet to send [23:37:48]OFD Sender: No OFD packet to send [23:37:53]OFD Sender: No OFD packet to send [23:37:58]OFD Sender: No OFD packet to send [23:38:03]OFD Sender: No OFD packet to send [23:38:08]OFD Sender: No OFD packet to send [23:38:13]OFD Sender: No OFD packet to send [23:38:18]OFD Sender: No OFD packet to send [23:38:23]OFD Sender: No OFD packet to send [23:38:28]OFD Sender: No OFD packet to send [23:38:33]OFD Sender: No OFD packet to send [23:38:38]OFD Sender: No OFD packet to send [23:38:43]OFD Sender: No OFD packet to send [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:53]OFD Sender: No OFD packet to send [23:45:58]OFD Sender: No OFD packet to send [23:46:03]OFD Sender: No OFD packet to send [23:46:08]OFD Sender: No OFD packet to send [23:46:13]OFD Sender: No OFD packet to send [23:46:18]OFD Sender: No OFD packet to send [23:46:23]OFD Sender: No OFD packet to send [23:46:28]OFD Sender: No OFD packet to send [23:46:33]OFD Sender: No OFD packet to send [23:46:38]OFD Sender: No OFD packet to send [23:46:43]OFD Sender: No OFD packet to send [23:46:48]OFD Sender: No OFD packet to send [23:46:53]OFD Sender: No OFD packet to send [23:46:58]OFD Sender: No OFD packet to send [23:47:03]OFD Sender: No OFD packet to send [23:47:08]OFD Sender: No OFD packet to send [23:47:13]OFD Sender: No OFD packet to send [23:47:18]OFD Sender: No OFD packet to send [23:47:23]OFD Sender: No OFD packet to send [23:47:28]OFD Sender: No OFD packet to send [23:47:33]OFD Sender: No OFD packet to send [23:47:38]OFD Sender: No OFD packet to send [23:47:43]OFD Sender: No OFD packet to send [23:47:48]OFD Sender: No OFD packet to send [23:47:53]OFD Sender: No OFD packet to send [23:47:58]OFD Sender: No OFD packet to send [23:48:03]OFD Sender: No OFD packet to send [23:48:08]OFD Sender: No OFD packet to send [23:48:13]OFD Sender: No OFD packet to send [23:48:18]OFD Sender: No OFD packet to send [23:48:23]OFD Sender: No OFD packet to send [23:48:28]OFD Sender: No OFD packet to send [23:48:33]OFD Sender: No OFD packet to send [23:48:38]OFD Sender: No OFD packet to send [23:48:43]OFD Sender: No OFD packet to send [23:48:48]OFD Sender: No OFD packet to send [23:48:53]OFD Sender: No OFD packet to send [23:48:58]OFD Sender: No OFD packet to send [23:49:03]OFD Sender: No OFD packet to send [23:49:08]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 AB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 50 [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]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725AB (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: 37541829+1692012805=1729554634 [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 = 0x33570624 [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 AB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 51 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 CB E8 16 67 05 11 DA 64 83 [23:50:35]Current date/time: 21.10.2024 23:50 [23:50:35]FM_Init [23:50:35]wFMConnect [23:50:35]MH_SAM_On [23:50:35]Write to MH i2c: E0 00 00 08 00 E7 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_init finished! [23:50:35]*** atr: [23:50:35]*** 0F 3B D5 18 FF 81 91 FE [23:50:35]*** 1F C3 80 73 C8 21 10 0A [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]*** 00 00 00 00 00 00 00 00 [23:50:35]Read from MH i2c: E0 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E0 10 00 [23:50:35]MH_I2C_Read... [23:50:35]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 [23:50:35]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [23:50:35]wFMCommunicate request_size=10 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [23:50:35]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [23:50:35]RAPDU: 90 00 [23:50:35]wFMCommunicate OK [23:50:35]wFMCommunicate request_size=4 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 80 11 00 00 [23:50:35]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 17 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 D9 [23:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [23:50:35]wFMCommunicate OK [23:50:35]Detected FM SN is 0000000000965374 [23:50:35]Stored FM SN is 0000000000965374 [23:50:35]wFMCommunicate request_size=9 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 80 16 00 00 04 BE 8F 00 00 [23:50:35]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BE 8F 00 00 00 00 DF [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [23:50:35]RAPDU: 90 00 [23:50:35]wFMCommunicate OK [23:50:35]FM PIN OK [23:50:35]wFMCommunicate request_size=8 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 80 14 04 00 03 02 00 01 [23:50:35]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [23:50:35]RAPDU: 90 00 [23:50:35]wFMCommunicate OK [23:50:35]wFMCommunicate request_size=13 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [23:50:35]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 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [23:50:35]RAPDU: 90 00 [23:50:35]wFMCommunicate OK [23:50:35]wFMCommunicate request_size=4 [23:50:35]MH_SAM_APDU [23:50:35]CAPDU: 80 11 00 00 [23:50:35]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:35]Read from MH i2c: E2 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 17 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DD [23:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [23:50:35]wFMCommunicate OK [23:50:35]DocumentArchiveInit [23:50:35]Start Httpd... [23:50:35]Httpd thread 3067145572 created [23:50:35]Write to MH i2c: 01 00 00 0F 00 0F [23:50:35]Write i2c OK [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: 01 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: 01 07 00 [23:50:35]MH_I2C_Read... [23:50:35]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [23:50:35]MH Int Process started [23:50:35]Allocated Socket 8 [23:50:35]Bind OK [23:50:35]Listen OK [23:50:35]httpd running on port 8080 [23:50:35]Waiting for new connection... [23:50:35]OFD Sender: No OFD packet to send [23:50:39]accept exits with 9 [23:50:39]New connection [23:50:39]New thread 3066858852 created [23:50:39]Waiting for new connection... [23:50:39] Sock 9.Parse request [23:50:39]Sock 9.Check first char [23:50:39]Sock 9.First char is OK [23:50:39]request: POST /json_proto HTTP/1.0 [23:50:39]Method: POST [23:50:39]URL: /json_proto [23:50:39]Method is POST - this is cgi request [23:50:39]url: /json_proto [23:50:39]query_string will be loaded in cgi processing [23:50:39]execute_cgi json_proto POST (null) [23:50:39]execute_cgi path=json_proto method=POST [23:50:39]POST find Content-Length [23:50:39]Host: 172.17.53.4:8080 [23:50:39]Content-Length: 215 [23:50:39]Content-Type: application/json [23:50:39] [23:50:39]POST finish read [23:50:39]Found Content-Length = 215 [23:50:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:39]execute_script... [23:50:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:50:39]POST & json_proto [23:50:39]process_json_proto [23:50:39]json parsed OK: [23:50:39]protocol is kg_v1.0 [23:50:39]action value=get_value [23:50:39]process_action get_value [23:50:39]cmd_get_value [23:50:39]process_action get_value done [23:50:39]requested_data is exist [23:50:39]produce_requested_data [23:50:39]requested_item kkm.sn is exist - process it [23:50:39]requested_item kkm.ver is exist - process it [23:50:39]requested_item fm.sn is exist - process it [23:50:39]wFMCommunicate request_size=4 [23:50:39]MH_SAM_APDU [23:50:39]CAPDU: 80 11 00 00 [23:50:39]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [23:50:39]Write i2c OK [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 [23:50:39]MH_I2C_Read... [23:50:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:39]Read from MH i2c: E2 17 00 [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 DF [23:50:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [23:50:39]wFMCommunicate OK [23:50:39]requested_item fd.num is exist - process it [23:50:39]SAM_PROTO_GetFieldsCounters [23:50:39]wFMCommunicate request_size=4 [23:50:39]MH_SAM_APDU [23:50:39]CAPDU: 80 13 00 00 [23:50:39]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [23:50:39]Write i2c OK [23:50:39]MH_I2C_Read... [23:50:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:50:39]Read from MH i2c: E2 [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 62 00 [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [23:50:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:50:39]wFMCommunicate OK [23:50:39]SAM_PROTO_GetFieldsCounters done [23:50:39]requested_item shift.num is exist - process it [23:50:39]requested_item shift.opened is exist - process it [23:50:39]req_shift_opened [23:50:39]FM_GetShiftState [23:50:39]SAM_PROTO_GetShiftState [23:50:39]wFMCommunicate request_size=4 [23:50:39]MH_SAM_APDU [23:50:39]CAPDU: 80 13 01 00 [23:50:39]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [23:50:39]Write i2c OK [23:50:39]MH_I2C_Read... [23:50:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:39]Read from MH i2c: E2 [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 0E 00 [23:50:39]MH_I2C_Read... [23:50:39]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 5D [23:50:39]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [23:50:39]wFMCommunicate OK [23:50:39]SAM_PROTO_GetShiftState done [23:50:39]FM_GetShiftState done [23:50:39]req_shift_opened done [23:50:39]requested_item shift.open_date is exist - process it [23:50:39]req_shift_open_date [23:50:39]req_shift_open_date done [23:50:39]produce_requested_data done [23:50:39]produce_requested_data return {"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [23:50:39]process_action_free get_value [23:50:39]json_value_free [23:50:39]json_value_free done [23:50:39]process_json_proto returns [23:50:39]Send response to host [23:50:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [23:50:39]free response buf [23:50:39]execute_script done [23:50:39]execute_script returns [23:50:39]free content buf [23:50:39]Sock 9.Close socket [23:50:39]Sock 9.Thread stoped [23:50:39]accept exits with 10 [23:50:39]New connection [23:50:39]New thread 3066715492 created [23:50:39]Thread 3066858852 joined [23:50:39]Waiting for new connection... [23:50:39] Sock 10.Parse request [23:50:39]Sock 10.Check first char [23:50:39]Sock 10.First char is OK [23:50:39]request: POST /json_proto HTTP/1.0 [23:50:39]Method: POST [23:50:39]URL: /json_proto [23:50:39]Method is POST - this is cgi request [23:50:39]url: /json_proto [23:50:39]query_string will be loaded in cgi processing [23:50:39]execute_cgi json_proto POST (null) [23:50:39]execute_cgi path=json_proto method=POST [23:50:39]POST find Content-Length [23:50:39]Host: 172.17.53.4:8080 [23:50:39]Content-Length: 331 [23:50:39]Content-Type: application/json [23:50:39] [23:50:39]POST finish read [23:50:39]Found Content-Length = 331 [23:50:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:50:39]execute_script... [23:50:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:50:39]POST & json_proto [23:50:39]process_json_proto [23:50:39]json parsed OK: [23:50:39]protocol is kg_v1.0 [23:50:39]action value=get_value [23:50:39]process_action get_value [23:50:39]cmd_get_value [23:50:39]process_action get_value done [23:50:39]requested_data is exist [23:50:39]produce_requested_data [23:50:40]requested_item fm.sale.total is exist - process it [23:50:40]SAM_PROTO_GetFMData [23:50:40]wFMCommunicate request_size=4 [23:50:40]MH_SAM_APDU [23:50:40]CAPDU: 80 13 03 00 [23:50:40]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [23:50:40]Write i2c OK [23:50:40]MH_I2C_Read... [23:50:40]OFD Sender: No OFD packet to send [23:50:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:50:40]Read from MH i2c: E2 [23:50:40]MH_I2C_Read... [23:50:40]Read from MH i2c: E2 FD 00 [23:50:40]MH_I2C_Read... [23:50:40]Read from MH i2c: E2 FD 00 13 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 6D [23:50:40]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [23:50:40]wFMCommunicate OK [23:50:40]wFMCommunicate request_size=4 [23:50:40]MH_SAM_APDU [23:50:40]CAPDU: 80 17 00 00 [23:50:40]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [23:50:40]Write i2c OK [23:50:40]MH_I2C_Read... [23:50:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:40]Read from MH i2c: E2 [23:50:40]MH_I2C_Read... [23:50:40]Read from MH i2c: E2 FD 00 [23:50:40]MH_I2C_Read... [23:50:40]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [23:50:40]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:50:40]wFMCommunicate OK [23:50:40]wFMCommunicate request_size=4 [23:50:40]MH_SAM_APDU [23:50:40]CAPDU: 80 17 00 00 [23:50:40]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [23:50:40]Write i2c OK [23:50:40]MH_I2C_Read... [23:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:41]Read from MH i2c: E2 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 FD 00 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 FD 00 15 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [23:50:41]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:50:41]wFMCommunicate OK [23:50:41]wFMCommunicate request_size=4 [23:50:41]MH_SAM_APDU [23:50:41]CAPDU: 80 17 00 00 [23:50:41]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [23:50:41]Write i2c OK [23:50:41]MH_I2C_Read... [23:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:41]Read from MH i2c: E2 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 FD 00 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 FD 00 16 00 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:50:41]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:50:41]wFMCommunicate OK [23:50:41]wFMCommunicate request_size=4 [23:50:41]MH_SAM_APDU [23:50:41]CAPDU: 80 17 00 00 [23:50:41]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [23:50:41]Write i2c OK [23:50:41]MH_I2C_Read... [23:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:50:41]Read from MH i2c: E2 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 DB 00 [23:50:41]MH_I2C_Read... [23:50:41]Read from MH i2c: E2 DB 00 17 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:50:41]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:50:41]wFMCommunicate OK [23:50:41]SAM_PROTO_GetFMData done [23:50:41]requested_item fm.sale_refund.total is exist - process it [23:50:41]requested_item fm.buy.total is exist - process it [23:50:41]requested_item shift.sale.total is exist - process it [23:50:41]SAM_PROTO_GetShiftData [23:50:41]wFMCommunicate request_size=4 [23:50:41]MH_SAM_APDU [23:50:41]CAPDU: 80 13 02 00 [23:50:41]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [23:50:41]Write i2c OK [23:50:41]MH_I2C_Read... [23:50:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:50:42]Read from MH i2c: E2 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 18 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 E2 [23:50:42]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [23:50:42]wFMCommunicate OK [23:50:42]wFMCommunicate request_size=4 [23:50:42]MH_SAM_APDU [23:50:42]CAPDU: 80 17 00 00 [23:50:42]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [23:50:42]Write i2c OK [23:50:42]MH_I2C_Read... [23:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:42]Read from MH i2c: E2 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 19 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 B2 [23:50:42]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [23:50:42]wFMCommunicate OK [23:50:42]wFMCommunicate request_size=4 [23:50:42]MH_SAM_APDU [23:50:42]CAPDU: 80 17 00 00 [23:50:42]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [23:50:42]Write i2c OK [23:50:42]MH_I2C_Read... [23:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:42]Read from MH i2c: E2 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 [23:50:42]MH_I2C_Read... [23:50:42]Read from MH i2c: E2 FD 00 1A 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [23:50:42]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [23:50:42]wFMCommunicate OK [23:50:42]wFMCommunicate request_size=4 [23:50:42]MH_SAM_APDU [23:50:42]CAPDU: 80 17 00 00 [23:50:42]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [23:50:42]Write i2c OK [23:50:42]MH_I2C_Read... [23:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:50:43]Read from MH i2c: E2 [23:50:43]MH_I2C_Read... [23:50:43]Read from MH i2c: E2 FD 00 [23:50:43]MH_I2C_Read... [23:50:43]Read from MH i2c: E2 FD 00 1B 00 00 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 90 00 19 [23:50:43]RAPDU: 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 90 00 [23:50:43]wFMCommunicate OK [23:50:43]wFMCommunicate request_size=4 [23:50:43]MH_SAM_APDU [23:50:43]CAPDU: 80 17 00 00 [23:50:43]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [23:50:43]Write i2c OK [23:50:43]MH_I2C_Read... [23:50:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [23:50:43]Read from MH i2c: E2 [23:50:43]MH_I2C_Read... [23:50:43]Read from MH i2c: E2 CC 00 [23:50:43]MH_I2C_Read... [23:50:43]Read from MH i2c: E2 CC 00 1C 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:50:43]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:50:43]wFMCommunicate OK [23:50:43]SAM_PROTO_GetShiftData done [23:50:43]requested_item shift.sale.total_cash is exist - process it [23:50:43]requested_item shift.sale_refund.total is exist - process it [23:50:43]requested_item shift.sale_refund.total_cash is exist - process it [23:50:43]requested_item shift.buy.total is exist - process it [23:50:43]requested_item shift.buy.total_cash is exist - process it [23:50:43]produce_requested_data done [23:50:43]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:50:43]process_action_free get_value [23:50:43]json_value_free [23:50:43]json_value_free done [23:50:43]process_json_proto returns [23:50:43]Send response to host [23:50:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:50:43]free response buf [23:50:43]execute_script done [23:50:43]execute_script returns [23:50:43]free content buf [23:50:43]Sock 10.Close socket [23:50:43]Sock 10.Thread stoped [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:10]accept exits with 9 [00:26:10]New connection [00:26:10]New thread 3066858852 created [00:26:10]Thread 3066715492 joined [00:26:10]Waiting for new connection... [00:26:10] Sock 9.Parse request [00:26:10]Sock 9.Check first char [00:26:10]Sock 9.First char is OK [00:26:10]request: POST /json_proto HTTP/1.0 [00:26:10]Method: POST [00:26:10]URL: /json_proto [00:26:10]Method is POST - this is cgi request [00:26:10]url: /json_proto [00:26:10]query_string will be loaded in cgi processing [00:26:10]execute_cgi json_proto POST (null) [00:26:10]execute_cgi path=json_proto method=POST [00:26:10]POST find Content-Length [00:26:10]Host: 172.17.53.4:8080 [00:26:10]Content-Length: 215 [00:26:10]Content-Type: application/json [00:26:10] [00:26:10]POST finish read [00:26:10]Found Content-Length = 215 [00:26:10]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:26:10]execute_script... [00:26:10]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:26:10]POST & json_proto [00:26:10]process_json_proto [00:26:10]json parsed OK: [00:26:10]protocol is kg_v1.0 [00:26:10]action value=get_value [00:26:10]process_action get_value [00:26:10]cmd_get_value [00:26:10]process_action get_value done [00:26:10]requested_data is exist [00:26:10]produce_requested_data [00:26:10]requested_item kkm.sn is exist - process it [00:26:10]requested_item kkm.ver is exist - process it [00:26:10]requested_item fm.sn is exist - process it [00:26:10]wFMCommunicate request_size=4 [00:26:10]MH_SAM_APDU [00:26:10]CAPDU: 80 11 00 00 [00:26:10]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [00:26:10]Write i2c OK [00:26:10]MH_I2C_Read... [00:26:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:10]Read from MH i2c: E2 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 17 00 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 EC [00:26:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:26:10]wFMCommunicate OK [00:26:10]requested_item fd.num is exist - process it [00:26:10]SAM_PROTO_GetFieldsCounters [00:26:10]wFMCommunicate request_size=4 [00:26:10]MH_SAM_APDU [00:26:10]CAPDU: 80 13 00 00 [00:26:10]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [00:26:10]Write i2c OK [00:26:10]MH_I2C_Read... [00:26:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:26:10]Read from MH i2c: E2 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 62 00 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [00:26:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:26:10]wFMCommunicate OK [00:26:10]SAM_PROTO_GetFieldsCounters done [00:26:10]requested_item shift.num is exist - process it [00:26:10]requested_item shift.opened is exist - process it [00:26:10]req_shift_opened [00:26:10]FM_GetShiftState [00:26:10]SAM_PROTO_GetShiftState [00:26:10]wFMCommunicate request_size=4 [00:26:10]MH_SAM_APDU [00:26:10]CAPDU: 80 13 01 00 [00:26:10]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [00:26:10]Write i2c OK [00:26:10]MH_I2C_Read... [00:26:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:10]Read from MH i2c: E2 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 0E 00 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 6A [00:26:10]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:26:10]wFMCommunicate OK [00:26:10]SAM_PROTO_GetShiftState done [00:26:10]FM_GetShiftState done [00:26:10]req_shift_opened done [00:26:10]requested_item shift.open_date is exist - process it [00:26:10]req_shift_open_date [00:26:10]req_shift_open_date done [00:26:10]produce_requested_data done [00:26:10]produce_requested_data return {"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [00:26:10]process_action_free get_value [00:26:10]json_value_free [00:26:10]json_value_free done [00:26:10]process_json_proto returns [00:26:10]Send response to host [00:26:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [00:26:10]free response buf [00:26:10]execute_script done [00:26:10]execute_script returns [00:26:10]free content buf [00:26:10]Sock 9.Close socket [00:26:10]Sock 9.Thread stoped [00:26:10]accept exits with 7 [00:26:10]New connection [00:26:10]New thread 3066715492 created [00:26:10]Thread 3066858852 joined [00:26:10]Waiting for new connection... [00:26:10] Sock 7.Parse request [00:26:10]Sock 7.Check first char [00:26:10]Sock 7.First char is OK [00:26:10]request: POST /json_proto HTTP/1.0 [00:26:10]Method: POST [00:26:10]URL: /json_proto [00:26:10]Method is POST - this is cgi request [00:26:10]url: /json_proto [00:26:10]query_string will be loaded in cgi processing [00:26:10]execute_cgi json_proto POST (null) [00:26:10]execute_cgi path=json_proto method=POST [00:26:10]POST find Content-Length [00:26:10]Host: 172.17.53.4:8080 [00:26:10]Content-Length: 331 [00:26:10]Content-Type: application/json [00:26:10] [00:26:10]POST finish read [00:26:10]Found Content-Length = 331 [00:26:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:26:10]execute_script... [00:26:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:26:10]POST & json_proto [00:26:10]process_json_proto [00:26:10]json parsed OK: [00:26:10]protocol is kg_v1.0 [00:26:10]action value=get_value [00:26:10]process_action get_value [00:26:10]cmd_get_value [00:26:10]process_action get_value done [00:26:10]requested_data is exist [00:26:10]produce_requested_data [00:26:10]requested_item fm.sale.total is exist - process it [00:26:10]SAM_PROTO_GetFMData [00:26:10]wFMCommunicate request_size=4 [00:26:10]MH_SAM_APDU [00:26:10]CAPDU: 80 13 03 00 [00:26:10]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [00:26:10]Write i2c OK [00:26:10]MH_I2C_Read... [00:26:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:26:11]Read from MH i2c: E2 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 20 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 7A [00:26:11]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:11]Read from MH i2c: E2 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 21 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:26:11]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:11]Read from MH i2c: E2 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 22 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [00:26:11]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:11]Read from MH i2c: E2 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 23 00 00 04 F7 03 00 00 EF 03 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 90 00 1E [00:26:11]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:12]OFD Sender: No OFD packet to send [00:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 DB 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 DB 00 24 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:26:12]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:26:12]wFMCommunicate OK [00:26:12]SAM_PROTO_GetFMData done [00:26:12]requested_item fm.sale_refund.total is exist - process it [00:26:12]requested_item fm.buy.total is exist - process it [00:26:12]requested_item shift.sale.total is exist - process it [00:26:12]SAM_PROTO_GetShiftData [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 13 02 00 [00:26:12]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 25 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 EF [00:26:12]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:26:12]wFMCommunicate OK [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 17 00 00 [00:26:12]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 26 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 BF [00:26:12]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:26:12]wFMCommunicate OK [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 17 00 00 [00:26:12]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 FD 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 FD 00 27 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [00:26:13]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 17 00 00 [00:26:13]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 FD 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 FD 00 28 00 00 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 90 00 26 [00:26:13]RAPDU: 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 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 17 00 00 [00:26:13]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 CC 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 CC 00 29 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [00:26:13]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:26:13]wFMCommunicate OK [00:26:13]SAM_PROTO_GetShiftData done [00:26:13]requested_item shift.sale.total_cash is exist - process it [00:26:13]requested_item shift.sale_refund.total is exist - process it [00:26:13]requested_item shift.sale_refund.total_cash is exist - process it [00:26:13]requested_item shift.buy.total is exist - process it [00:26:13]requested_item shift.buy.total_cash is exist - process it [00:26:13]produce_requested_data done [00:26:13]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:26:13]process_action_free get_value [00:26:13]json_value_free [00:26:13]json_value_free done [00:26:13]process_json_proto returns [00:26:13]Send response to host [00:26:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:26:13]free response buf [00:26:13]execute_script done [00:26:13]execute_script returns [00:26:13]free content buf [00:26:13]Sock 7.Close socket [00:26:13]Sock 7.Thread stoped [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:02]accept exits with 9 [00:27:02]New connection [00:27:02]New thread 3066858852 created [00:27:02]Thread 3066715492 joined [00:27:02]Waiting for new connection... [00:27:02] Sock 9.Parse request [00:27:02]Sock 9.Check first char [00:27:02]Sock 9.First char is OK [00:27:02]request: POST /json_proto HTTP/1.0 [00:27:02]Method: POST [00:27:02]URL: /json_proto [00:27:02]Method is POST - this is cgi request [00:27:02]url: /json_proto [00:27:02]query_string will be loaded in cgi processing [00:27:02]execute_cgi json_proto POST (null) [00:27:02]execute_cgi path=json_proto method=POST [00:27:02]POST find Content-Length [00:27:02]Host: 172.17.53.4:8080 [00:27:02]Content-Length: 215 [00:27:02]Content-Type: application/json [00:27:02] [00:27:02]POST finish read [00:27:02]Found Content-Length = 215 [00:27:02]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:27:02]execute_script... [00:27:02]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:27:02]POST & json_proto [00:27:02]process_json_proto [00:27:02]json parsed OK: [00:27:02]protocol is kg_v1.0 [00:27:02]action value=get_value [00:27:02]process_action get_value [00:27:02]cmd_get_value [00:27:02]process_action get_value done [00:27:02]requested_data is exist [00:27:02]produce_requested_data [00:27:02]requested_item kkm.sn is exist - process it [00:27:02]requested_item kkm.ver is exist - process it [00:27:02]requested_item fm.sn is exist - process it [00:27:02]wFMCommunicate request_size=4 [00:27:02]MH_SAM_APDU [00:27:02]CAPDU: 80 11 00 00 [00:27:02]Write to MH i2c: E2 08 00 2A 00 80 11 00 00 00 00 00 00 A4 [00:27:02]Write i2c OK [00:27:02]MH_I2C_Read... [00:27:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:02]Read from MH i2c: E2 [00:27:02]MH_I2C_Read... [00:27:02]Read from MH i2c: E2 17 00 [00:27:02]MH_I2C_Read... [00:27:02]Read from MH i2c: E2 17 00 2A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 F9 [00:27:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:27:02]wFMCommunicate OK [00:27:02]requested_item fd.num is exist - process it [00:27:02]SAM_PROTO_GetFieldsCounters [00:27:02]wFMCommunicate request_size=4 [00:27:02]MH_SAM_APDU [00:27:02]CAPDU: 80 13 00 00 [00:27:02]Write to MH i2c: E2 08 00 2B 00 80 13 00 00 00 00 00 00 A7 [00:27:02]Write i2c OK [00:27:02]MH_I2C_Read... [00:27:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:03]Read from MH i2c: E2 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 62 00 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 62 00 2B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [00:27:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:03]wFMCommunicate OK [00:27:03]SAM_PROTO_GetFieldsCounters done [00:27:03]requested_item shift.num is exist - process it [00:27:03]requested_item shift.opened is exist - process it [00:27:03]req_shift_opened [00:27:03]FM_GetShiftState [00:27:03]SAM_PROTO_GetShiftState [00:27:03]wFMCommunicate request_size=4 [00:27:03]MH_SAM_APDU [00:27:03]CAPDU: 80 13 01 00 [00:27:03]Write to MH i2c: E2 08 00 2C 00 80 13 01 00 00 00 00 00 A9 [00:27:03]Write i2c OK [00:27:03]MH_I2C_Read... [00:27:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:03]Read from MH i2c: E2 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 0E 00 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 0E 00 2C 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 77 [00:27:03]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:27:03]wFMCommunicate OK [00:27:03]SAM_PROTO_GetShiftState done [00:27:03]FM_GetShiftState done [00:27:03]req_shift_opened done [00:27:03]requested_item shift.open_date is exist - process it [00:27:03]req_shift_open_date [00:27:03]req_shift_open_date done [00:27:03]produce_requested_data done [00:27:03]produce_requested_data return {"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [00:27:03]process_action_free get_value [00:27:03]json_value_free [00:27:03]json_value_free done [00:27:03]process_json_proto returns [00:27:03]Send response to host [00:27:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [00:27:03]free response buf [00:27:03]execute_script done [00:27:03]execute_script returns [00:27:03]free content buf [00:27:03]Sock 9.Close socket [00:27:03]Sock 9.Thread stoped [00:27:03]accept exits with 7 [00:27:03]New connection [00:27:03]New thread 3066715492 created [00:27:03]Thread 3066858852 joined [00:27:03]Waiting for new connection... [00:27:03] Sock 7.Parse request [00:27:03]Sock 7.Check first char [00:27:03]Sock 7.First char is OK [00:27:03]request: POST /json_proto HTTP/1.0 [00:27:03]Method: POST [00:27:03]URL: /json_proto [00:27:03]Method is POST - this is cgi request [00:27:03]url: /json_proto [00:27:03]query_string will be loaded in cgi processing [00:27:03]execute_cgi json_proto POST (null) [00:27:03]execute_cgi path=json_proto method=POST [00:27:03]POST find Content-Length [00:27:03]Host: 172.17.53.4:8080 [00:27:03]Content-Length: 331 [00:27:03]Content-Type: application/json [00:27:03] [00:27:03]POST finish read [00:27:03]Found Content-Length = 331 [00:27:03]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:27:03]execute_script... [00:27:03]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:27:03]POST & json_proto [00:27:03]process_json_proto [00:27:03]json parsed OK: [00:27:03]protocol is kg_v1.0 [00:27:03]action value=get_value [00:27:03]process_action get_value [00:27:03]cmd_get_value [00:27:03]process_action get_value done [00:27:03]requested_data is exist [00:27:03]produce_requested_data [00:27:03]requested_item fm.sale.total is exist - process it [00:27:03]SAM_PROTO_GetFMData [00:27:03]wFMCommunicate request_size=4 [00:27:03]MH_SAM_APDU [00:27:03]CAPDU: 80 13 03 00 [00:27:03]Write to MH i2c: E2 08 00 2D 00 80 13 03 00 00 00 00 00 AC [00:27:03]Write i2c OK [00:27:03]MH_I2C_Read... [00:27:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:03]Read from MH i2c: E2 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 FD 00 [00:27:03]MH_I2C_Read... [00:27:03]Read from MH i2c: E2 FD 00 2D 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 87 [00:27:03]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:27:03]wFMCommunicate OK [00:27:03]wFMCommunicate request_size=4 [00:27:03]MH_SAM_APDU [00:27:03]CAPDU: 80 17 00 00 [00:27:03]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [00:27:03]Write i2c OK [00:27:03]MH_I2C_Read... [00:27:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:04]Read from MH i2c: E2 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 2E 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [00:27:04]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:04]wFMCommunicate OK [00:27:04]wFMCommunicate request_size=4 [00:27:04]MH_SAM_APDU [00:27:04]CAPDU: 80 17 00 00 [00:27:04]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [00:27:04]Write i2c OK [00:27:04]MH_I2C_Read... [00:27:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:04]Read from MH i2c: E2 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 2F 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [00:27:04]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:04]wFMCommunicate OK [00:27:04]wFMCommunicate request_size=4 [00:27:04]MH_SAM_APDU [00:27:04]CAPDU: 80 17 00 00 [00:27:04]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [00:27:04]Write i2c OK [00:27:04]MH_I2C_Read... [00:27:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:04]Read from MH i2c: E2 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 FD 00 30 00 00 04 F7 03 00 00 EF 03 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 90 00 2B [00:27:04]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:27:04]wFMCommunicate OK [00:27:04]wFMCommunicate request_size=4 [00:27:04]MH_SAM_APDU [00:27:04]CAPDU: 80 17 00 00 [00:27:04]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [00:27:04]Write i2c OK [00:27:04]MH_I2C_Read... [00:27:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:27:04]Read from MH i2c: E2 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 DB 00 [00:27:04]MH_I2C_Read... [00:27:04]Read from MH i2c: E2 DB 00 31 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 93 [00:27:04]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:04]wFMCommunicate OK [00:27:04]SAM_PROTO_GetFMData done [00:27:04]requested_item fm.sale_refund.total is exist - process it [00:27:04]requested_item fm.buy.total is exist - process it [00:27:04]requested_item shift.sale.total is exist - process it [00:27:04]SAM_PROTO_GetShiftData [00:27:04]wFMCommunicate request_size=4 [00:27:04]MH_SAM_APDU [00:27:04]CAPDU: 80 13 02 00 [00:27:04]Write to MH i2c: E2 08 00 32 00 80 13 02 00 00 00 00 00 B0 [00:27:04]Write i2c OK [00:27:04]MH_I2C_Read... [00:27:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:05]Read from MH i2c: E2 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 32 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 FC [00:27:05]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:27:05]wFMCommunicate OK [00:27:05]wFMCommunicate request_size=4 [00:27:05]MH_SAM_APDU [00:27:05]CAPDU: 80 17 00 00 [00:27:05]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [00:27:05]Write i2c OK [00:27:05]MH_I2C_Read... [00:27:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:05]Read from MH i2c: E2 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 33 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 CC [00:27:05]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:05]wFMCommunicate OK [00:27:05]wFMCommunicate request_size=4 [00:27:05]MH_SAM_APDU [00:27:05]CAPDU: 80 17 00 00 [00:27:05]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [00:27:05]Write i2c OK [00:27:05]MH_I2C_Read... [00:27:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:05]Read from MH i2c: E2 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 [00:27:05]MH_I2C_Read... [00:27:05]Read from MH i2c: E2 FD 00 34 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 68 [00:27:05]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:05]wFMCommunicate OK [00:27:05]wFMCommunicate request_size=4 [00:27:05]MH_SAM_APDU [00:27:05]CAPDU: 80 17 00 00 [00:27:05]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [00:27:05]Write i2c OK [00:27:05]MH_I2C_Read... [00:27:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:06]Read from MH i2c: E2 [00:27:06]MH_I2C_Read... [00:27:06]Read from MH i2c: E2 FD 00 [00:27:06]MH_I2C_Read... [00:27:06]Read from MH i2c: E2 FD 00 35 00 00 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 90 00 33 [00:27:06]RAPDU: 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 90 00 [00:27:06]wFMCommunicate OK [00:27:06]wFMCommunicate request_size=4 [00:27:06]MH_SAM_APDU [00:27:06]CAPDU: 80 17 00 00 [00:27:06]Write to MH i2c: E2 08 00 36 00 80 17 00 00 00 00 00 00 B6 [00:27:06]Write i2c OK [00:27:06]MH_I2C_Read... [00:27:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:27:06]Read from MH i2c: E2 [00:27:06]MH_I2C_Read... [00:27:06]Read from MH i2c: E2 CC 00 [00:27:06]MH_I2C_Read... [00:27:06]Read from MH i2c: E2 CC 00 36 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 [00:27:06]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:06]wFMCommunicate OK [00:27:06]SAM_PROTO_GetShiftData done [00:27:06]requested_item shift.sale.total_cash is exist - process it [00:27:06]requested_item shift.sale_refund.total is exist - process it [00:27:06]requested_item shift.sale_refund.total_cash is exist - process it [00:27:06]requested_item shift.buy.total is exist - process it [00:27:06]requested_item shift.buy.total_cash is exist - process it [00:27:06]produce_requested_data done [00:27:06]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:27:06]process_action_free get_value [00:27:06]json_value_free [00:27:06]json_value_free done [00:27:06]process_json_proto returns [00:27:06]Send response to host [00:27:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:27:06]free response buf [00:27:06]execute_script done [00:27:06]execute_script returns [00:27:06]free content buf [00:27:06]Sock 7.Close socket [00:27:06]Sock 7.Thread stoped [00:27:06]accept exits with 9 [00:27:06]New connection [00:27:06]New thread 3066858852 created [00:27:06]Thread 3066715492 joined [00:27:06]Waiting for new connection... [00:27:06] Sock 9.Parse request [00:27:06]Sock 9.Check first char [00:27:06]Sock 9.First char is OK [00:27:06]request: POST /json_proto HTTP/1.0 [00:27:06]Method: POST [00:27:06]URL: /json_proto [00:27:06]Method is POST - this is cgi request [00:27:06]url: /json_proto [00:27:06]query_string will be loaded in cgi processing [00:27:06]execute_cgi json_proto POST (null) [00:27:06]execute_cgi path=json_proto method=POST [00:27:06]POST find Content-Length [00:27:06]Host: 172.17.53.4:8080 [00:27:06]Content-Length: 331 [00:27:06]Content-Type: application/json [00:27:06] [00:27:06]POST finish read [00:27:06]Found Content-Length = 331 [00:27:06]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:27:06]execute_script... [00:27:06]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:27:06]POST & json_proto [00:27:06]process_json_proto [00:27:06]json parsed OK: [00:27:06]protocol is kg_v1.0 [00:27:06]action value=get_value [00:27:06]process_action get_value [00:27:06]cmd_get_value [00:27:06]process_action get_value done [00:27:06]requested_data is exist [00:27:06]produce_requested_data [00:27:06]requested_item fm.sale.total is exist - process it [00:27:06]SAM_PROTO_GetFMData [00:27:06]wFMCommunicate request_size=4 [00:27:06]MH_SAM_APDU [00:27:06]CAPDU: 80 13 03 00 [00:27:06]Write to MH i2c: E2 08 00 37 00 80 13 03 00 00 00 00 00 B6 [00:27:06]Write i2c OK [00:27:06]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 37 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 91 [00:27:07]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:27:07]wFMCommunicate OK [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 17 00 00 [00:27:07]Write to MH i2c: E2 08 00 38 00 80 17 00 00 00 00 00 00 B8 [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]OFD Sender: No OFD packet to send [00:27:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 38 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 25 [00:27:07]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:07]wFMCommunicate OK [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 17 00 00 [00:27:07]Write to MH i2c: E2 08 00 39 00 80 17 00 00 00 00 00 00 B9 [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 FD 00 39 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EB [00:27:07]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:07]wFMCommunicate OK [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 17 00 00 [00:27:07]Write to MH i2c: E2 08 00 3A 00 80 17 00 00 00 00 00 00 BA [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:08]Read from MH i2c: E2 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 3A 00 00 04 F7 03 00 00 EF 03 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 90 00 35 [00:27:08]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:27:08]wFMCommunicate OK [00:27:08]wFMCommunicate request_size=4 [00:27:08]MH_SAM_APDU [00:27:08]CAPDU: 80 17 00 00 [00:27:08]Write to MH i2c: E2 08 00 3B 00 80 17 00 00 00 00 00 00 BB [00:27:08]Write i2c OK [00:27:08]MH_I2C_Read... [00:27:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:27:08]Read from MH i2c: E2 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 DB 00 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 DB 00 3B 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9D [00:27:08]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:08]wFMCommunicate OK [00:27:08]SAM_PROTO_GetFMData done [00:27:08]requested_item fm.sale_refund.total is exist - process it [00:27:08]requested_item fm.buy.total is exist - process it [00:27:08]requested_item shift.sale.total is exist - process it [00:27:08]SAM_PROTO_GetShiftData [00:27:08]wFMCommunicate request_size=4 [00:27:08]MH_SAM_APDU [00:27:08]CAPDU: 80 13 02 00 [00:27:08]Write to MH i2c: E2 08 00 3C 00 80 13 02 00 00 00 00 00 BA [00:27:08]Write i2c OK [00:27:08]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 3C 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 06 [00:27:09]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:27:09]wFMCommunicate OK [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 17 00 00 [00:27:09]Write to MH i2c: E2 08 00 3D 00 80 17 00 00 00 00 00 00 BD [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 3D 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 D6 [00:27:09]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:09]wFMCommunicate OK [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 17 00 00 [00:27:09]Write to MH i2c: E2 08 00 3E 00 80 17 00 00 00 00 00 00 BE [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 3E 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 72 [00:27:09]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:09]wFMCommunicate OK [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 17 00 00 [00:27:09]Write to MH i2c: E2 08 00 3F 00 80 17 00 00 00 00 00 00 BF [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 3F 00 00 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 90 00 3D [00:27:10]RAPDU: 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 90 00 [00:27:10]wFMCommunicate OK [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 17 00 00 [00:27:10]Write to MH i2c: E2 08 00 40 00 80 17 00 00 00 00 00 00 C0 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 CC 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 CC 00 40 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A1 [00:27:10]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:10]wFMCommunicate OK [00:27:10]SAM_PROTO_GetShiftData done [00:27:10]requested_item shift.sale.total_cash is exist - process it [00:27:10]requested_item shift.sale_refund.total is exist - process it [00:27:10]requested_item shift.sale_refund.total_cash is exist - process it [00:27:10]requested_item shift.buy.total is exist - process it [00:27:10]requested_item shift.buy.total_cash is exist - process it [00:27:10]produce_requested_data done [00:27:10]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:27:10]process_action_free get_value [00:27:10]json_value_free [00:27:10]json_value_free done [00:27:10]process_json_proto returns [00:27:10]Send response to host [00:27:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:27:10]free response buf [00:27:10]execute_script done [00:27:10]execute_script returns [00:27:10]free content buf [00:27:10]Sock 9.Close socket [00:27:10]Sock 9.Thread stoped [00:27:10]accept exits with 7 [00:27:10]New connection [00:27:10]New thread 3066715492 created [00:27:10]Thread 3066858852 joined [00:27:10]Waiting for new connection... [00:27:10] Sock 7.Parse request [00:27:10]Sock 7.Check first char [00:27:10]Sock 7.First char is OK [00:27:10]request: POST /json_proto HTTP/1.0 [00:27:10]Method: POST [00:27:10]URL: /json_proto [00:27:10]Method is POST - this is cgi request [00:27:10]url: /json_proto [00:27:10]query_string will be loaded in cgi processing [00:27:10]execute_cgi json_proto POST (null) [00:27:10]execute_cgi path=json_proto method=POST [00:27:10]POST find Content-Length [00:27:10]Host: 172.17.53.4:8080 [00:27:10]Content-Length: 275 [00:27:10]Content-Type: application/json [00:27:10] [00:27:10]POST finish read [00:27:10]Found Content-Length = 275 [00:27:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0431\u0434\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:10]execute_script... [00:27:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0431\u0434\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:10]POST & json_proto [00:27:10]process_json_proto [00:27:10]json parsed OK: [00:27:10]protocol is kg_v1.0 [00:27:10]action value=x_report [00:27:10]process_action x_report [00:27:10]cmd_x_report [00:27:10]MH_GetDate [00:27:10]Write to MH i2c: F0 00 00 41 00 30 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 09 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 09 00 41 00 00 5F F1 16 67 05 11 DA 64 5A [00:27:10]GetLastDocTimeStamp 1729546263 [00:27:10]current date 1729556831 [00:27:10]FM_GetShiftState [00:27:10]SAM_PROTO_GetShiftState [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 13 01 00 [00:27:10]Write to MH i2c: E2 08 00 42 00 80 13 01 00 00 00 00 00 BF [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 0E 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 0E 00 42 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 8D [00:27:10]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:27:10]wFMCommunicate OK [00:27:10]SAM_PROTO_GetShiftState done [00:27:10]FM_GetShiftState done [00:27:10]KKMCreateXReportDocument [00:27:10]Load OK [00:27:10]Malloc new data [00:27:10]MH_GetDate [00:27:10]Write to MH i2c: F0 00 00 43 00 32 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 09 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: F0 09 00 43 00 00 5F F1 16 67 05 11 DA 64 5C [00:27:10]Malloc new data [00:27:10]Malloc new data [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 11 00 00 [00:27:10]Write to MH i2c: E2 08 00 44 00 80 11 00 00 00 00 00 00 BE [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 17 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 17 00 44 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 13 [00:27:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:27:10]wFMCommunicate OK [00:27:10]SAM_PROTO_GetFieldsCounters [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 13 00 00 [00:27:10]Write to MH i2c: E2 08 00 45 00 80 13 00 00 00 00 00 00 C1 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 62 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 62 00 45 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [00:27:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:11]wFMCommunicate OK [00:27:11]SAM_PROTO_GetFieldsCounters done [00:27:11]Malloc new data [00:27:11]Malloc new data [00:27:11]Malloc new data [00:27:11]KKMCreateXReportDocument OK [00:27:11]KKMSetXReportData OK [00:27:11]KKMPrepareXReportFMData [00:27:11]SAM_PROTO_GetShiftData [00:27:11]wFMCommunicate request_size=4 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 13 02 00 [00:27:11]Write to MH i2c: E2 08 00 46 00 80 13 02 00 00 00 00 00 C4 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 FD 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 FD 00 46 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 10 [00:27:11]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=4 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 17 00 00 [00:27:11]Write to MH i2c: E2 08 00 47 00 80 17 00 00 00 00 00 00 C7 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 FD 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 FD 00 47 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 E0 [00:27:12]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:12]wFMCommunicate OK [00:27:12]wFMCommunicate request_size=4 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 17 00 00 [00:27:12]Write to MH i2c: E2 08 00 48 00 80 17 00 00 00 00 00 00 C8 [00:27:12]OFD Sender: No OFD packet to send [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 FD 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 FD 00 48 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [00:27:12]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:12]wFMCommunicate OK [00:27:12]wFMCommunicate request_size=4 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 17 00 00 [00:27:12]Write to MH i2c: E2 08 00 49 00 80 17 00 00 00 00 00 00 C9 [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 FD 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 FD 00 49 00 00 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 90 00 47 [00:27:13]RAPDU: 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 90 00 [00:27:13]wFMCommunicate OK [00:27:13]wFMCommunicate request_size=4 [00:27:13]MH_SAM_APDU [00:27:13]CAPDU: 80 17 00 00 [00:27:13]Write to MH i2c: E2 08 00 4A 00 80 17 00 00 00 00 00 00 CA [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 CC 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 CC 00 4A 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [00:27:13]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:13]wFMCommunicate OK [00:27:13]SAM_PROTO_GetShiftData done [00:27:13]1194 (1195) - Ñчетчики итогов Ñмены [00:27:13] 1134 (4) - 101 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [00:27:13] 1129 (156) - Ñчетчики операций «приход» [00:27:13] 1135 (4) - 101 - количеÑтво чеков по признаку раÑчетов [00:27:13] 1201 (3) - 75919.35 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:27:13] 1136 (3) - 48750.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:27:13] 1138 (3) - 27169.35 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:27:13] 1024 (123) - Ñуммы налогов [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 0% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1006 (12) - Ñуммы ÐДС [00:27:13] 1010 (1) - 12% - код Ñтавки ÐДС [00:27:13] 1011 (3) - 8064.60 - Ñумма ÐДС по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (12) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1% - код Ñтавки ÐСП [00:27:13] 1015 (3) - 672.03 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 2% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 3% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 5% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1130 (141) - Ñчетчики операций «возврат прихода» [00:27:13] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:27:13] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:27:13] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:27:13] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:27:13] 1024 (117) - Ñуммы налогов [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 0% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 12% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 2% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 3% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 5% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1131 (141) - Ñчетчики операций «раÑход» [00:27:13] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:27:13] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:27:13] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:27:13] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:27:13] 1024 (117) - Ñуммы налогов [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 0% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 12% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 2% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 3% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 5% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1132 (141) - Ñчетчики операций «возврат раÑхода» [00:27:13] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:27:13] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:27:13] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:27:13] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:27:13] 1024 (117) - Ñуммы налогов [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 0% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1006 (9) - Ñуммы ÐДС [00:27:13] 1010 (1) - 12% - код Ñтавки ÐДС [00:27:13] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 2% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 3% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 5% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1007 (9) - Ñуммы ÐСП [00:27:13] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:27:13] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:27:13] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1194 (04AA) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1134 (046E) [00:27:14]Malloc new data [00:27:14]Processing tag 1129 (0469) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1135 (046F) [00:27:14]Malloc new data [00:27:14]Processing tag 1201 (04B1) [00:27:14]Malloc new data [00:27:14]Processing tag 1136 (0470) [00:27:14]Malloc new data [00:27:14]Processing tag 1138 (0472) [00:27:14]Malloc new data [00:27:14]Processing tag 1024 (0400) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1130 (046A) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1135 (046F) [00:27:14]Malloc new data [00:27:14]Processing tag 1201 (04B1) [00:27:14]Malloc new data [00:27:14]Processing tag 1136 (0470) [00:27:14]Malloc new data [00:27:14]Processing tag 1138 (0472) [00:27:14]Malloc new data [00:27:14]Processing tag 1024 (0400) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1131 (046B) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1135 (046F) [00:27:14]Malloc new data [00:27:14]Processing tag 1201 (04B1) [00:27:14]Malloc new data [00:27:14]Processing tag 1136 (0470) [00:27:14]Malloc new data [00:27:14]Processing tag 1138 (0472) [00:27:14]Malloc new data [00:27:14]Processing tag 1024 (0400) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1132 (046C) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1135 (046F) [00:27:14]Malloc new data [00:27:14]Processing tag 1201 (04B1) [00:27:14]Malloc new data [00:27:14]Processing tag 1136 (0470) [00:27:14]Malloc new data [00:27:14]Processing tag 1138 (0472) [00:27:14]Malloc new data [00:27:14]Processing tag 1024 (0400) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1006 (03EE) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1010 (03F2) [00:27:14]Malloc new data [00:27:14]Processing tag 1011 (03F3) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1007 (03EF) [00:27:14]Load OK [00:27:14]SetTLVBufToDocument [00:27:14]Processing tag 1014 (03F6) [00:27:14]Malloc new data [00:27:14]Processing tag 1015 (03F7) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Processing tag 1133 (046D) [00:27:14]Malloc new data [00:27:14]SetTLVBufToDocument err=0 [00:27:14]SetTLVBufToDocument err=0 [00:27:14]Malloc new data [00:27:14]SAM_PROTO_GetFMData [00:27:14]wFMCommunicate request_size=4 [00:27:14]MH_SAM_APDU [00:27:14]CAPDU: 80 13 03 00 [00:27:14]Write to MH i2c: E2 08 00 4B 00 80 13 03 00 00 00 00 00 CA [00:27:14]Write i2c OK [00:27:14]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 [00:27:15]MH_I2C_Read... [00:27:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:15]Read from MH i2c: E2 FD 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 4B 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 A5 [00:27:15]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:27:15]wFMCommunicate OK [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 17 00 00 [00:27:15]Write to MH i2c: E2 08 00 4C 00 80 17 00 00 00 00 00 00 CC [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:15]Read from MH i2c: E2 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 4C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 39 [00:27:15]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:15]wFMCommunicate OK [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 17 00 00 [00:27:15]Write to MH i2c: E2 08 00 4D 00 80 17 00 00 00 00 00 00 CD [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 4D 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [00:27:16]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:16]wFMCommunicate OK [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 17 00 00 [00:27:16]Write to MH i2c: E2 08 00 4E 00 80 17 00 00 00 00 00 00 CE [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 4E 00 00 04 F7 03 00 00 EF 03 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 90 00 49 [00:27:16]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:27:16]wFMCommunicate OK [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 17 00 00 [00:27:16]Write to MH i2c: E2 08 00 4F 00 80 17 00 00 00 00 00 00 CF [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 DB 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 DB 00 4F 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B1 [00:27:17]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:17]wFMCommunicate OK [00:27:17]SAM_PROTO_GetFMData done [00:27:17]FM_GetFMData:85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A EF 03 09 00 OFD Sender: No OFD packet to send [00:27:17]F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:18]oper:6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:18]total:C2 20 72 66 [00:27:18]Malloc new data [00:27:18]oper:6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:18]total:98 CA 33 [00:27:18]Malloc new data [00:27:18]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:27:18]total: [00:27:18]Malloc new data [00:27:18]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:27:18]total: [00:27:18]Malloc new data [00:27:18]KKMPrepareXReportFMData err=0 [00:27:18]Ð¥ отчет ИÐÐ: 02508201610067 КаÑÑир: Ðбдрахманов Ð. 22.10.2024 00:27 Смена: 266 РÐМ: 0000000000098148 ЗÐМ: 0300000239 СÐО: Общий режим Ð’Ñего чеков: 101 ИТОГИ ПРИХОД Чеков: 101 Общий итог: 75919.35 Итого наличными: 48750.00 Итого безнал.: 27169.35 ÐДС 0% : 0.00 ÐДС 12% : 8064.60 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 672.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 Общий итог: 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 Ðал. в каÑÑе: 48750.00 ÐС Приход: 17187555.22 ÐС Возвр.Прихода: 33942.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФМ: 0000000000965374 [00:27:18]StoreToDocumentArchive [00:27:18]MH_GetDate [00:27:18]Write to MH i2c: F0 00 00 50 00 3F [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: F0 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: F0 09 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: F0 09 00 50 00 00 67 F1 16 67 05 11 DA 64 71 [00:27:18]shift 266 fd 1729556839 [00:27:18]Create dir for shift 0266 [00:27:18]save to /storage/0266/doc_1729556839 [00:27:18]save last doc name /storage/0266/doc_1729556839 to /storage/kkm_last_doc_name [00:27:18]save OK [00:27:18]Clear old archive folders... [00:27:18]NVStorageSaveData kkm_last_timestamp [00:27:18]File name is /storage/kkm_last_timestamp [00:27:18]Write 4 bytes [00:27:18]NVStorageSaveData done [00:27:18]ExternCall_PrintAddStr [00:27:18]wPrintStart [00:27:18]Write to MH i2c: 01 00 00 51 00 51 [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 07 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 07 00 51 00 00 00 00 00 00 FF 0F 66 [00:27:18]RasterBufferAndPrint [00:27:18]line Ð¥ отчет [00:27:18]line ИÐÐ: 02508201610067 [00:27:18]line КаÑÑир: Ðбдрахманов Ð. [00:27:18]line 22.10.2024 00:27 [00:27:18]line Смена: 266 [00:27:18]line РÐМ: 0000000000098148 [00:27:18]line ЗÐМ: 0300000239 [00:27:18]line СÐО: Общий режим [00:27:18]line Ð’Ñего чеков: 101 [00:27:18]line ИТОГИ ПРИХОД [00:27:18]line Чеков: 101 [00:27:18]line Общий итог: 75919.35 [00:27:18]line Итого наличными: 48750.00 [00:27:18]line Итого безнал.: 27169.35 [00:27:18]line ÐДС 0% : 0.00 [00:27:18]line ÐДС 12% : 8064.60 [00:27:18]line ÐСП 0% : 0.00 [00:27:18]line ÐСП 1,50% : 0.00 [00:27:18]line ÐСП 0,50% : 0.00 [00:27:18]line ÐСП 5% : 0.00 [00:27:18]line ÐСП 3% : 0.00 [00:27:18]line ÐСП 2% : 0.00 [00:27:18]line ÐСП 1% : 672.03 [00:27:18]line ИТОГИ ВОЗВРÐТ ПРИХОДР[00:27:18]line Чеков: 0 [00:27:18]line Общий итог: 0.00 [00:27:18]line Итого наличными: 0.00 [00:27:18]line Итого безнал.: 0.00 [00:27:18]line ÐДС 0% : 0.00 [00:27:18]line ÐДС 12% : 0.00 [00:27:18]line ÐСП 0% : 0.00 [00:27:18]line ÐСП 1,50% : 0.00 [00:27:18]line ÐСП 0,50% : 0.00 [00:27:18]line ÐСП 5% : 0.00 [00:27:18]line ÐСП 3% : 0.00 [00:27:18]line ÐСП 2% : 0.00 [00:27:18]line ÐСП 1% : 0.00 [00:27:18]line ИТОГИ РÐСХОД [00:27:18]line Чеков: 0 [00:27:18]line Общий итог: 0.00 [00:27:18]line Итого наличными: 0.00 [00:27:18]line Итого безнал.: 0.00 [00:27:18]line ÐДС 0% : 0.00 [00:27:18]line ÐДС 12% : 0.00 [00:27:18]line ÐСП 0% : 0.00 [00:27:18]line ÐСП 1,50% : 0.00 [00:27:18]line ÐСП 0,50% : 0.00 [00:27:18]line ÐСП 5% : 0.00 [00:27:18]line ÐСП 3% : 0.00 [00:27:18]line ÐСП 2% : 0.00 [00:27:18]line ÐСП 1% : 0.00 [00:27:18]line ИТОГИ ВОЗВРÐТ РÐСХОДР[00:27:18]line Чеков: 0 [00:27:18]line Общий итог: 0.00 [00:27:18]line Итого наличными: 0.00 [00:27:18]line Итого безнал.: 0.00 [00:27:18]line ÐДС 0% : 0.00 [00:27:18]line ÐДС 12% : 0.00 [00:27:18]line ÐСП 0% : 0.00 [00:27:18]line ÐСП 1,50% : 0.00 [00:27:18]line ÐСП 0,50% : 0.00 [00:27:18]line ÐСП 5% : 0.00 [00:27:18]line ÐСП 3% : 0.00 [00:27:18]line ÐСП 2% : 0.00 [00:27:18]line ÐСП 1% : 0.00 [00:27:18]line Сумма внеÑений: 0.00 [00:27:18]line Сумма выплат: 0.00 [00:27:18]line Ðал. в каÑÑе: 48750.00 [00:27:18]line ÐС Приход: 17187555.22 [00:27:18]line ÐС Возвр.Прихода: 33942.00 [00:27:18]line ÐС РаÑход: 0.00 [00:27:18]line ÐС Возвр.РаÑхода: 0.00 [00:27:18]line ФМ: 0000000000965374 [00:27:18]written 0, free lines is 4095 [00:27:19]Write to MH i2c: 01 00 00 9C 00 9C [00:27:19]Write i2c OK [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: 01 [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: 01 07 00 [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: 01 07 00 9C 00 00 00 00 00 00 09 0B B7 [00:27:19]RasterBufferAndPrint [00:27:19]line [00:27:19]line [00:27:19]line [00:27:19]line [00:27:19]line [00:27:19]written 0, free lines is 2861 [00:27:19]MH_Cut [00:27:19]Write to MH i2c: D1 01 00 A3 00 01 75 [00:27:19]Write i2c OK [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: D1 [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: D1 01 00 [00:27:19]MH_I2C_Read... [00:27:19]Read from MH i2c: D1 01 00 A3 00 00 74 [00:27:19]Write to MH i2c: 01 00 00 A4 00 A4 [00:27:19]Write i2c OK [00:27:19]MH_I2C_Read... [00:27:20]*** Cut start [00:27:20]*** Partial cut [00:27:20]*** CUTSNS_PIN = 1 [00:27:20]*** CUTSNS_PIN = 0 [00:27:20]*** Brake cut motor [00:27:21]Read from MH i2c: 01 [00:27:21]MH_I2C_Read... [00:27:21]*** Stop cut motor [00:27:21]*** Cut end [00:27:21]Read from MH i2c: 01 07 00 [00:27:21]MH_I2C_Read... [00:27:21]Read from MH i2c: 01 07 00 A4 00 00 00 00 00 00 FF 0F B9 [00:27:21]process_action x_report done [00:27:21]requested_data is exist [00:27:21]produce_requested_data [00:27:21]requested_item fd.num is exist - process it [00:27:21]SAM_PROTO_GetFieldsCounters [00:27:21]wFMCommunicate request_size=4 [00:27:21]MH_SAM_APDU [00:27:21]CAPDU: 80 13 00 00 [00:27:21]Write to MH i2c: E2 08 00 A5 00 80 13 00 00 00 00 00 00 21 [00:27:21]Write i2c OK [00:27:21]MH_I2C_Read... [00:27:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:21]Read from MH i2c: E2 [00:27:21]MH_I2C_Read... [00:27:21]Read from MH i2c: E2 62 00 [00:27:21]MH_I2C_Read... [00:27:21]Read from MH i2c: E2 62 00 A5 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [00:27:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:21]wFMCommunicate OK [00:27:21]SAM_PROTO_GetFieldsCounters done [00:27:21]requested_item shift.num is exist - process it [00:27:21]requested_item shift.opened is exist - process it [00:27:21]req_shift_opened [00:27:21]FM_GetShiftState [00:27:21]SAM_PROTO_GetShiftState [00:27:21]wFMCommunicate request_size=4 [00:27:21]MH_SAM_APDU [00:27:21]CAPDU: 80 13 01 00 [00:27:21]Write to MH i2c: E2 08 00 A6 00 80 13 01 00 00 00 00 00 23 [00:27:21]Write i2c OK [00:27:21]MH_I2C_Read... [00:27:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:21]Read from MH i2c: E2 [00:27:21]MH_I2C_Read... [00:27:21]Read from MH i2c: E2 0E 00 [00:27:21]MH_I2C_Read... [00:27:21]Read from MH i2c: E2 0E 00 A6 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F1 [00:27:21]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:27:21]wFMCommunicate OK [00:27:21]SAM_PROTO_GetShiftState done [00:27:21]FM_GetShiftState done [00:27:21]req_shift_opened done [00:27:21]requested_item shift.open_date is exist - process it [00:27:21]req_shift_open_date [00:27:21]req_shift_open_date done [00:27:21]produce_requested_data done [00:27:21]produce_requested_data return {"fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [00:27:21]process_action_free x_report [00:27:21]json_value_free [00:27:21]json_value_free done [00:27:21]process_json_proto returns [00:27:21]Send response to host [00:27:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [00:27:21]free response buf [00:27:21]execute_script done [00:27:21]execute_script returns [00:27:21]free content buf [00:27:21]Sock 7.Close socket [00:27:21]Sock 7.Thread stoped [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:56]accept exits with 9 [00:27:56]New connection [00:27:56]New thread 3066858852 created [00:27:56]Thread 3066715492 joined [00:27:56]Waiting for new connection... [00:27:56] Sock 9.Parse request [00:27:56]Sock 9.Check first char [00:27:56]Sock 9.First char is OK [00:27:56]request: POST /json_proto HTTP/1.0 [00:27:56]Method: POST [00:27:56]URL: /json_proto [00:27:56]Method is POST - this is cgi request [00:27:56]url: /json_proto [00:27:56]query_string will be loaded in cgi processing [00:27:56]execute_cgi json_proto POST (null) [00:27:56]execute_cgi path=json_proto method=POST [00:27:56]POST find Content-Length [00:27:56]Host: 172.17.53.4:8080 [00:27:56]Content-Length: 215 [00:27:56]Content-Type: application/json [00:27:56] [00:27:56]POST finish read [00:27:56]Found Content-Length = 215 [00:27:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:56]execute_script... [00:27:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:56]POST & json_proto [00:27:56]process_json_proto [00:27:56]json parsed OK: [00:27:56]protocol is kg_v1.0 [00:27:56]action value=get_value [00:27:56]process_action get_value [00:27:56]cmd_get_value [00:27:56]process_action get_value done [00:27:56]requested_data is exist [00:27:56]produce_requested_data [00:27:56]requested_item kkm.sn is exist - process it [00:27:56]requested_item kkm.ver is exist - process it [00:27:56]requested_item fm.sn is exist - process it [00:27:56]wFMCommunicate request_size=4 [00:27:56]MH_SAM_APDU [00:27:56]CAPDU: 80 11 00 00 [00:27:56]Write to MH i2c: E2 08 00 A7 00 80 11 00 00 00 00 00 00 21 [00:27:56]Write i2c OK [00:27:56]MH_I2C_Read... [00:27:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:56]Read from MH i2c: E2 [00:27:56]MH_I2C_Read... [00:27:56]Read from MH i2c: E2 17 00 [00:27:56]MH_I2C_Read... [00:27:56]Read from MH i2c: E2 17 00 A7 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 76 [00:27:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:27:56]wFMCommunicate OK [00:27:56]requested_item fd.num is exist - process it [00:27:56]SAM_PROTO_GetFieldsCounters [00:27:56]wFMCommunicate request_size=4 [00:27:56]MH_SAM_APDU [00:27:56]CAPDU: 80 13 00 00 [00:27:56]Write to MH i2c: E2 08 00 A8 00 80 13 00 00 00 00 00 00 24 [00:27:56]Write i2c OK [00:27:56]MH_I2C_Read... [00:27:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:57]Read from MH i2c: E2 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 62 00 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 62 00 A8 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 5C [00:27:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 81 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:57]wFMCommunicate OK [00:27:57]SAM_PROTO_GetFieldsCounters done [00:27:57]requested_item shift.num is exist - process it [00:27:57]requested_item shift.opened is exist - process it [00:27:57]req_shift_opened [00:27:57]FM_GetShiftState [00:27:57]SAM_PROTO_GetShiftState [00:27:57]wFMCommunicate request_size=4 [00:27:57]MH_SAM_APDU [00:27:57]CAPDU: 80 13 01 00 [00:27:57]Write to MH i2c: E2 08 00 A9 00 80 13 01 00 00 00 00 00 26 [00:27:57]Write i2c OK [00:27:57]MH_I2C_Read... [00:27:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:57]Read from MH i2c: E2 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 0E 00 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 0E 00 A9 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 F4 [00:27:57]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:27:57]wFMCommunicate OK [00:27:57]SAM_PROTO_GetShiftState done [00:27:57]FM_GetShiftState done [00:27:57]req_shift_opened done [00:27:57]requested_item shift.open_date is exist - process it [00:27:57]req_shift_open_date [00:27:57]req_shift_open_date done [00:27:57]produce_requested_data done [00:27:57]produce_requested_data return {"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630} [00:27:57]process_action_free get_value [00:27:57]json_value_free [00:27:57]json_value_free done [00:27:57]process_json_proto returns [00:27:57]Send response to host [00:27:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40833,"shift.num":448,"shift.opened":1,"shift.open_date":1729470630}}} [00:27:57]free response buf [00:27:57]execute_script done [00:27:57]execute_script returns [00:27:57]free content buf [00:27:57]Sock 9.Close socket [00:27:57]Sock 9.Thread stoped [00:27:57]accept exits with 7 [00:27:57]New connection [00:27:57]New thread 3066715492 created [00:27:57]Thread 3066858852 joined [00:27:57]Waiting for new connection... [00:27:57] Sock 7.Parse request [00:27:57]Sock 7.Check first char [00:27:57]Sock 7.First char is OK [00:27:57]request: POST /json_proto HTTP/1.0 [00:27:57]Method: POST [00:27:57]URL: /json_proto [00:27:57]Method is POST - this is cgi request [00:27:57]url: /json_proto [00:27:57]query_string will be loaded in cgi processing [00:27:57]execute_cgi json_proto POST (null) [00:27:57]execute_cgi path=json_proto method=POST [00:27:57]POST find Content-Length [00:27:57]Host: 172.17.53.4:8080 [00:27:57]Content-Length: 331 [00:27:57]Content-Type: application/json [00:27:57] [00:27:57]POST finish read [00:27:57]Found Content-Length = 331 [00:27:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:57]execute_script... [00:27:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:57]POST & json_proto [00:27:57]process_json_proto [00:27:57]json parsed OK: [00:27:57]protocol is kg_v1.0 [00:27:57]action value=get_value [00:27:57]process_action get_value [00:27:57]cmd_get_value [00:27:57]process_action get_value done [00:27:57]requested_data is exist [00:27:57]produce_requested_data [00:27:57]requested_item fm.sale.total is exist - process it [00:27:57]SAM_PROTO_GetFMData [00:27:57]wFMCommunicate request_size=4 [00:27:57]MH_SAM_APDU [00:27:57]CAPDU: 80 13 03 00 [00:27:57]Write to MH i2c: E2 08 00 AA 00 80 13 03 00 00 00 00 00 29 [00:27:57]Write i2c OK [00:27:57]MH_I2C_Read... [00:27:57]OFD Sender: No OFD packet to send [00:27:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:57]Read from MH i2c: E2 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 FD 00 [00:27:57]MH_I2C_Read... [00:27:57]Read from MH i2c: E2 FD 00 AA 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 04 [00:27:57]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:27:57]wFMCommunicate OK [00:27:57]wFMCommunicate request_size=4 [00:27:57]MH_SAM_APDU [00:27:57]CAPDU: 80 17 00 00 [00:27:57]Write to MH i2c: E2 08 00 AB 00 80 17 00 00 00 00 00 00 2B [00:27:57]Write i2c OK [00:27:57]MH_I2C_Read... [00:27:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:58]Read from MH i2c: E2 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 AB 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 98 [00:27:58]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:58]wFMCommunicate OK [00:27:58]wFMCommunicate request_size=4 [00:27:58]MH_SAM_APDU [00:27:58]CAPDU: 80 17 00 00 [00:27:58]Write to MH i2c: E2 08 00 AC 00 80 17 00 00 00 00 00 00 2C [00:27:58]Write i2c OK [00:27:58]MH_I2C_Read... [00:27:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:58]Read from MH i2c: E2 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 AC 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [00:27:58]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:58]wFMCommunicate OK [00:27:58]wFMCommunicate request_size=4 [00:27:58]MH_SAM_APDU [00:27:58]CAPDU: 80 17 00 00 [00:27:58]Write to MH i2c: E2 08 00 AD 00 80 17 00 00 00 00 00 00 2D [00:27:58]Write i2c OK [00:27:58]MH_I2C_Read... [00:27:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:58]Read from MH i2c: E2 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 FD 00 AD 00 00 04 F7 03 00 00 EF 03 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 90 00 A8 [00:27:58]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:27:58]wFMCommunicate OK [00:27:58]wFMCommunicate request_size=4 [00:27:58]MH_SAM_APDU [00:27:58]CAPDU: 80 17 00 00 [00:27:58]Write to MH i2c: E2 08 00 AE 00 80 17 00 00 00 00 00 00 2E [00:27:58]Write i2c OK [00:27:58]MH_I2C_Read... [00:27:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:27:58]Read from MH i2c: E2 [00:27:58]MH_I2C_Read... [00:27:58]Read from MH i2c: E2 DB 00 [00:27:58]MH_I2C_Read... [00:27:59]Read from MH i2c: E2 DB 00 AE 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 10 [00:27:59]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:27:59]wFMCommunicate OK [00:27:59]SAM_PROTO_GetFMData done [00:27:59]requested_item fm.sale_refund.total is exist - process it [00:27:59]requested_item fm.buy.total is exist - process it [00:27:59]requested_item shift.sale.total is exist - process it [00:27:59]SAM_PROTO_GetShiftData [00:27:59]wFMCommunicate request_size=4 [00:27:59]MH_SAM_APDU [00:27:59]CAPDU: 80 13 02 00 [00:27:59]Write to MH i2c: E2 08 00 AF 00 80 13 02 00 00 00 00 00 2D [00:27:59]Write i2c OK [00:27:59]MH_I2C_Read... [00:27:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:59]Read from MH i2c: E2 [00:27:59]MH_I2C_Read... [00:27:59]Read from MH i2c: E2 FD 00 [00:27:59]MH_I2C_Read... [00:27:59]Read from MH i2c: E2 FD 00 AF 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 79 [00:27:59]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:27:59]wFMCommunicate OK [00:27:59]wFMCommunicate request_size=4 [00:27:59]MH_SAM_APDU [00:27:59]CAPDU: 80 17 00 00 [00:27:59]Write to MH i2c: E2 08 00 B0 00 80 17 00 00 00 00 00 00 30 [00:27:59]Write i2c OK [00:27:59]MH_I2C_Read... [00:27:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:59]Read from MH i2c: E2 [00:27:59]MH_I2C_Read... [00:27:59]Read from MH i2c: E2 FD 00 [00:27:59]MH_I2C_Read... [00:27:59]Read from MH i2c: E2 FD 00 B0 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 49 [00:27:59]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:27:59]wFMCommunicate OK [00:27:59]wFMCommunicate request_size=4 [00:27:59]MH_SAM_APDU [00:27:59]CAPDU: 80 17 00 00 [00:27:59]Write to MH i2c: E2 08 00 B1 00 80 17 00 00 00 00 00 00 31 [00:27:59]Write i2c OK [00:27:59]MH_I2C_Read... [00:28:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:00]Read from MH i2c: E2 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 FD 00 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 FD 00 B1 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [00:28:00]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:28:00]wFMCommunicate OK [00:28:00]wFMCommunicate request_size=4 [00:28:00]MH_SAM_APDU [00:28:00]CAPDU: 80 17 00 00 [00:28:00]Write to MH i2c: E2 08 00 B2 00 80 17 00 00 00 00 00 00 32 [00:28:00]Write i2c OK [00:28:00]MH_I2C_Read... [00:28:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:00]Read from MH i2c: E2 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 FD 00 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 FD 00 B2 00 00 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 90 00 B0 [00:28:00]RAPDU: 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 90 00 [00:28:00]wFMCommunicate OK [00:28:00]wFMCommunicate request_size=4 [00:28:00]MH_SAM_APDU [00:28:00]CAPDU: 80 17 00 00 [00:28:00]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [00:28:00]Write i2c OK [00:28:00]MH_I2C_Read... [00:28:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:28:00]Read from MH i2c: E2 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 CC 00 [00:28:00]MH_I2C_Read... [00:28:00]Read from MH i2c: E2 CC 00 B3 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 14 [00:28:00]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:00]wFMCommunicate OK [00:28:00]SAM_PROTO_GetShiftData done [00:28:00]requested_item shift.sale.total_cash is exist - process it [00:28:00]requested_item shift.sale_refund.total is exist - process it [00:28:00]requested_item shift.sale_refund.total_cash is exist - process it [00:28:00]requested_item shift.buy.total is exist - process it [00:28:00]requested_item shift.buy.total_cash is exist - process it [00:28:00]produce_requested_data done [00:28:00]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:28:00]process_action_free get_value [00:28:00]json_value_free [00:28:00]json_value_free done [00:28:00]process_json_proto returns [00:28:00]Send response to host [00:28:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:28:00]free response buf [00:28:00]execute_script done [00:28:00]execute_script returns [00:28:00]free content buf [00:28:00]Sock 7.Close socket [00:28:00]Sock 7.Thread stoped [00:28:01]accept exits with 9 [00:28:01]New connection [00:28:01]New thread 3066858852 created [00:28:01]Thread 3066715492 joined [00:28:01]Waiting for new connection... [00:28:01] Sock 9.Parse request [00:28:01]Sock 9.Check first char [00:28:01]Sock 9.First char is OK [00:28:01]request: POST /json_proto HTTP/1.0 [00:28:01]Method: POST [00:28:01]URL: /json_proto [00:28:01]Method is POST - this is cgi request [00:28:01]url: /json_proto [00:28:01]query_string will be loaded in cgi processing [00:28:01]execute_cgi json_proto POST (null) [00:28:01]execute_cgi path=json_proto method=POST [00:28:01]POST find Content-Length [00:28:01]Host: 172.17.53.4:8080 [00:28:01]Content-Length: 331 [00:28:01]Content-Type: application/json [00:28:01] [00:28:01]POST finish read [00:28:01]Found Content-Length = 331 [00:28:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:28:01]execute_script... [00:28:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:28:01]POST & json_proto [00:28:01]process_json_proto [00:28:01]json parsed OK: [00:28:01]protocol is kg_v1.0 [00:28:01]action value=get_value [00:28:01]process_action get_value [00:28:01]cmd_get_value [00:28:01]process_action get_value done [00:28:01]requested_data is exist [00:28:01]produce_requested_data [00:28:01]requested_item fm.sale.total is exist - process it [00:28:01]SAM_PROTO_GetFMData [00:28:01]wFMCommunicate request_size=4 [00:28:01]MH_SAM_APDU [00:28:01]CAPDU: 80 13 03 00 [00:28:01]Write to MH i2c: E2 08 00 B4 00 80 13 03 00 00 00 00 00 33 [00:28:01]Write i2c OK [00:28:01]MH_I2C_Read... [00:28:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:28:01]Read from MH i2c: E2 [00:28:01]MH_I2C_Read... [00:28:01]Read from MH i2c: E2 FD 00 [00:28:01]MH_I2C_Read... [00:28:01]Read from MH i2c: E2 FD 00 B4 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 0E [00:28:01]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:28:01]wFMCommunicate OK [00:28:01]wFMCommunicate request_size=4 [00:28:01]MH_SAM_APDU [00:28:01]CAPDU: 80 17 00 00 [00:28:01]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [00:28:01]Write i2c OK [00:28:01]MH_I2C_Read... [00:28:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:01]Read from MH i2c: E2 [00:28:01]MH_I2C_Read... [00:28:01]Read from MH i2c: E2 FD 00 [00:28:01]MH_I2C_Read... [00:28:01]Read from MH i2c: E2 FD 00 B5 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A2 [00:28:01]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:02]wFMCommunicate OK [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 17 00 00 [00:28:02]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:02]Read from MH i2c: E2 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 FD 00 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 FD 00 B6 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 68 [00:28:02]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:02]wFMCommunicate OK [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 17 00 00 [00:28:02]Write to MH i2c: E2 08 00 B7 00 80 17 00 00 00 00 00 00 37 [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:02]Read from MH i2c: E2 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 FD 00 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 FD 00 B7 00 00 04 F7 03 00 00 EF 03 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 90 00 B2 [00:28:02]RAPDU: 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [00:28:02]75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:28:02]wFMCommunicate OK [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 17 00 00 [00:28:02]Write to MH i2c: E2 08 00 B8 00 80 17 00 00 00 00 00 00 38 [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 DB 00 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 DB 00 B8 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1A [00:28:03]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:03]wFMCommunicate OK [00:28:03]SAM_PROTO_GetFMData done [00:28:03]requested_item fm.sale_refund.total is exist - process it [00:28:03]requested_item fm.buy.total is exist - process it [00:28:03]requested_item shift.sale.total is exist - process it [00:28:03]SAM_PROTO_GetShiftData [00:28:03]wFMCommunicate request_size=4 [00:28:03]MH_SAM_APDU [00:28:03]CAPDU: 80 13 02 00 [00:28:03]Write to MH i2c: E2 08 00 B9 00 80 13 02 00 00 00 00 00 37 [00:28:03]Write i2c OK [00:28:03]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 B9 00 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 83 [00:28:03]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:28:03]wFMCommunicate OK [00:28:03]wFMCommunicate request_size=4 [00:28:03]MH_SAM_APDU [00:28:03]CAPDU: 80 17 00 00 [00:28:03]Write to MH i2c: E2 08 00 BA 00 80 17 00 00 00 00 00 00 3A [00:28:03]Write i2c OK [00:28:03]MH_I2C_Read... [00:28:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:04]Read from MH i2c: E2 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 BA 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 53 [00:28:04]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:28:04]wFMCommunicate OK [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 17 00 00 [00:28:04]Write to MH i2c: E2 08 00 BB 00 80 17 00 00 00 00 00 00 3B [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:04]Read from MH i2c: E2 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 BB 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EF [00:28:04]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:28:04]wFMCommunicate OK [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 17 00 00 [00:28:04]Write to MH i2c: E2 08 00 BC 00 80 17 00 00 00 00 00 00 3C [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 BC 00 00 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 90 00 BA [00:28:05]RAPDU: 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 90 00 [00:28:05]wFMCommunicate OK [00:28:05]wFMCommunicate request_size=4 [00:28:05]MH_SAM_APDU [00:28:05]CAPDU: 80 17 00 00 [00:28:05]Write to MH i2c: E2 08 00 BD 00 80 17 00 00 00 00 00 00 3D [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 CC 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 CC 00 BD 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1E [00:28:05]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:05]wFMCommunicate OK [00:28:05]SAM_PROTO_GetShiftData done [00:28:05]requested_item shift.sale.total_cash is exist - process it [00:28:05]requested_item shift.sale_refund.total is exist - process it [00:28:05]requested_item shift.sale_refund.total_cash is exist - process it [00:28:05]requested_item shift.buy.total is exist - process it [00:28:05]requested_item shift.buy.total_cash is exist - process it [00:28:05]produce_requested_data done [00:28:05]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:28:05]process_action_free get_value [00:28:05]json_value_free [00:28:05]json_value_free done [00:28:05]process_json_proto returns [00:28:05]Send response to host [00:28:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:28:05]free response buf [00:28:05]execute_script done [00:28:05]execute_script returns [00:28:05]free content buf [00:28:05]Sock 9.Close socket [00:28:05]Sock 9.Thread stoped [00:28:05]accept exits with 7 [00:28:05]New connection [00:28:05]New thread 3066715492 created [00:28:05]Thread 3066858852 joined [00:28:05]Waiting for new connection... [00:28:05] Sock 7.Parse request [00:28:05]Sock 7.Check first char [00:28:05]Sock 7.First char is OK [00:28:05]request: POST /json_proto HTTP/1.0 [00:28:05]Method: POST [00:28:05]URL: /json_proto [00:28:05]Method is POST - this is cgi request [00:28:05]url: /json_proto [00:28:05]query_string will be loaded in cgi processing [00:28:05]execute_cgi json_proto POST (null) [00:28:05]execute_cgi path=json_proto method=POST [00:28:05]POST find Content-Length [00:28:05]Host: 172.17.53.4:8080 [00:28:05]Content-Length: 278 [00:28:05]Content-Type: application/json [00:28:05] [00:28:05]POST finish read [00:28:05]Found Content-Length = 278 [00:28:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0431\u0434\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:28:05]execute_script... [00:28:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0431\u0434\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:28:05]POST & json_proto [00:28:05]process_json_proto [00:28:05]json parsed OK: [00:28:05]protocol is kg_v1.0 [00:28:05]action value=close_shift [00:28:05]process_action close_shift [00:28:05]cmd_close_shift [00:28:05]MH_GetDate [00:28:05]Write to MH i2c: F0 00 00 BE 00 AD [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 09 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 09 00 BE 00 00 96 F1 16 67 05 11 DA 64 0E [00:28:05]GetLastDocTimeStamp 1729556831 [00:28:05]current date 1729556886 [00:28:05]FM_GetShiftState [00:28:05]SAM_PROTO_GetShiftState [00:28:05]wFMCommunicate request_size=4 [00:28:05]MH_SAM_APDU [00:28:05]CAPDU: 80 13 01 00 [00:28:05]Write to MH i2c: E2 08 00 BF 00 80 13 01 00 00 00 00 00 3C [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 0E 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 0E 00 BF 00 00 09 00 01 A6 A0 15 67 00 00 00 00 90 00 0A [00:28:05]RAPDU: 09 00 01 A6 A0 15 67 00 00 00 00 90 00 [00:28:05]wFMCommunicate OK [00:28:05]SAM_PROTO_GetShiftState done [00:28:05]FM_GetShiftState done [00:28:05]KKMCreateCloseShiftDocument [00:28:05]Load OK [00:28:05]Malloc new data [00:28:05]MH_GetDate [00:28:05]Write to MH i2c: F0 00 00 C0 00 AF [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 09 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: F0 09 00 C0 00 00 96 F1 16 67 05 11 DA 64 10 [00:28:05]Malloc new data [00:28:05]Malloc new data [00:28:05]Malloc new data [00:28:05]Malloc new data [00:28:05]KKMCreateCloseShiftDocument OK [00:28:05]KKMSetCloseShiftData OK [00:28:05]ProcessDocumentItem done err = 0, tmpTLVsize=77 [00:28:05]tlvbuf is 006A5E00 [00:28:05]KKMLoadAndSignCloseShiftData [00:28:05]SAM_PROTO_ProcessDocument [00:28:05]wFMCommunicate request_size=9 [00:28:05]MH_SAM_APDU [00:28:05]CAPDU: 80 15 01 00 04 05 00 4D 00 [00:28:05]Write to MH i2c: E2 0C 00 C1 00 80 15 01 00 04 00 05 00 4D 00 00 00 9A [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 03 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [00:28:06]RAPDU: 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=23 [00:28:06]MH_SAM_APDU [00:28:06]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:28:06]Write to MH i2c: E2 1A 00 C2 00 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 37 [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [00:28:06]RAPDU: 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=36 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 [00:28:06]Write to MH i2c: E2 27 00 C3 00 80 15 02 00 1F 00 FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 00 00 9F [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [00:28:06]RAPDU: 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=13 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 15 02 00 08 F4 03 04 00 96 F1 16 67 [00:28:06]Write to MH i2c: E2 10 00 C4 00 80 15 02 00 08 00 F4 03 04 00 96 F1 16 67 00 00 53 [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [00:28:06]RAPDU: 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=25 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 [00:28:06]Write to MH i2c: E2 1C 00 C5 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 00 00 AC [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [00:28:06]RAPDU: 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=4 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 15 03 00 [00:28:06]Write to MH i2c: E2 08 00 C6 00 80 15 03 00 00 00 00 00 47 [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 C6 00 00 F2 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 D9 [00:28:06]RAPDU: F2 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:28:07]wFMCommunicate OK [00:28:07]SAM_PROTO_ProcessDocument answer len = 1266 [00:28:07]SAM_PROTO_ProcessDocument remain to read = 1018 [00:28:07]wFMCommunicate request_size=4 [00:28:07]MH_SAM_APDU [00:28:07]CAPDU: 80 17 00 00 [00:28:07]Write to MH i2c: E2 08 00 C7 00 80 17 00 00 00 00 00 00 47 [00:28:07]Write i2c OK [00:28:07]MH_I2C_Read... [00:28:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:07]Read from MH i2c: E2 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 C7 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 8D [00:28:07]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:07]wFMCommunicate OK [00:28:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:28:07]SAM_PROTO_ProcessDocument remain to read = 768 [00:28:07]wFMCommunicate request_size=4 [00:28:07]MH_SAM_APDU [00:28:07]CAPDU: 80 17 00 00 [00:28:07]Write to MH i2c: E2 08 00 C8 00 80 17 00 00 00 00 00 00 48 [00:28:07]Write i2c OK [00:28:07]MH_I2C_Read... [00:28:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:07]Read from MH i2c: E2 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 C8 00 00 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 90 00 AA [00:28:08]RAPDU: 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 90 00 [00:28:08]wFMCommunicate OK [00:28:08]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:28:08]SAM_PROTO_ProcessDocument remain to read = 518 [00:28:08]wFMCommunicate request_size=4 [00:28:08]MH_SAM_APDU [00:28:08]CAPDU: 80 17 00 00 [00:28:08]Write to MH i2c: E2 08 00 C9 00 80 17 00 00 00 00 00 00 49 [00:28:08]OFD Sender: No OFD packet to send [00:28:08]Write i2c OK [00:28:08]MH_I2C_Read... [00:28:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:08]Read from MH i2c: E2 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 C9 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E4 [00:28:08]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:08]wFMCommunicate OK [00:28:08]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:28:08]SAM_PROTO_ProcessDocument remain to read = 268 [00:28:08]wFMCommunicate request_size=4 [00:28:08]MH_SAM_APDU [00:28:08]CAPDU: 80 17 00 00 [00:28:08]Write to MH i2c: E2 08 00 CA 00 80 17 00 00 00 00 00 00 4A [00:28:08]Write i2c OK [00:28:08]MH_I2C_Read... [00:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:09]Read from MH i2c: E2 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 CA 00 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [00:28:09]RAPDU: F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:09]wFMCommunicate OK [00:28:09]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:28:09]SAM_PROTO_ProcessDocument remain to read = 18 [00:28:09]wFMCommunicate request_size=4 [00:28:09]MH_SAM_APDU [00:28:09]CAPDU: 80 17 00 00 [00:28:09]Write to MH i2c: E2 08 00 CB 00 80 17 00 00 00 00 00 00 4B [00:28:09]Write i2c OK [00:28:09]MH_I2C_Read... [00:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 18! [00:28:09]Read from MH i2c: E2 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 15 00 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 15 00 CB 00 00 03 01 00 06 F7 03 00 00 35 04 06 00 43 80 B8 2B BE 54 90 00 4C [00:28:09]RAPDU: 03 01 00 06 F7 03 00 00 35 04 06 00 43 80 B8 2B BE 54 90 00 [00:28:09]wFMCommunicate OK [00:28:09]SAM_PROTO_ProcessDocument received (without SW) 18 bytes [00:28:09]SAM_PROTO_ProcessDocument done [00:28:09]1209 (1) - 1.0 - номер верÑии ФФД [00:28:09]1041 (16) - 0000000000965374 - номер ФМ [00:28:09]1040 (4) - 40834 - номер ФД [00:28:09]1038 (4) - 448 - номер Ñмены [00:28:09]1118 (4) - 101 - количеÑтво каÑÑовых чеков за Ñмену [00:28:09]1111 (4) - 103 - общее количеÑтво ФД за Ñмену [00:28:09]1194 (1195) - Ñчетчики итогов Ñмены [00:28:09] 1134 (4) - 101 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [00:28:09] 1129 (156) - Ñчетчики операций «приход» [00:28:09] 1135 (4) - 101 - количеÑтво чеков по признаку раÑчетов [00:28:09] 1201 (3) - 75919.35 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:28:09] 1136 (3) - 48750.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:28:09] 1138 (3) - 27169.35 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:28:09] 1024 (123) - Ñуммы налогов [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1006 (12) - Ñуммы ÐДС [00:28:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:28:09] 1011 (3) - 8064.60 - Ñумма ÐДС по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (12) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:28:09] 1015 (3) - 672.03 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1130 (141) - Ñчетчики операций «возврат прихода» [00:28:09] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:28:09] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:28:09] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:28:09] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:28:09] 1024 (117) - Ñуммы налогов [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1131 (141) - Ñчетчики операций «раÑход» [00:28:09] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:28:09] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:28:09] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:28:09] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:28:09] 1024 (117) - Ñуммы налогов [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1132 (141) - Ñчетчики операций «возврат раÑхода» [00:28:09] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:28:09] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:28:09] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:28:09] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:28:09] 1024 (117) - Ñуммы налогов [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1006 (9) - Ñуммы ÐДС [00:28:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:28:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1007 (9) - Ñуммы ÐСП [00:28:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:28:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:28:09] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [00:28:09]1077 (6) - 74220124749396 - ФПД [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1209 (04B9) [00:28:09]Malloc new data [00:28:09]Processing tag 1041 (0411) [00:28:09]Processing tag 1040 (0410) [00:28:09]Malloc new data [00:28:09]Processing tag 1038 (040E) [00:28:09]Malloc new data [00:28:09]Processing tag 1118 (045E) [00:28:09]Malloc new data [00:28:09]Processing tag 1111 (0457) [00:28:09]Malloc new data [00:28:09]Processing tag 1194 (04AA) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1134 (046E) [00:28:09]Malloc new data [00:28:09]Processing tag 1129 (0469) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1135 (046F) [00:28:09]Malloc new data [00:28:09]Processing tag 1201 (04B1) [00:28:09]Malloc new data [00:28:09]Processing tag 1136 (0470) [00:28:09]Malloc new data [00:28:09]Processing tag 1138 (0472) [00:28:09]Malloc new data [00:28:09]Processing tag 1024 (0400) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1006 (03EE) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1010 (03F2) [00:28:09]Malloc new data [00:28:09]Processing tag 1011 (03F3) [00:28:09]Malloc new data [00:28:09]SetTLVBufToDocument err=0 [00:28:09]Processing tag 1006 (03EE) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1010 (03F2) [00:28:09]Malloc new data [00:28:09]Processing tag 1011 (03F3) [00:28:09]Malloc new data [00:28:09]SetTLVBufToDocument err=0 [00:28:09]Processing tag 1007 (03EF) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1014 (03F6) [00:28:09]Malloc new data [00:28:09]Processing tag 1015 (03F7) [00:28:09]Malloc new data [00:28:09]SetTLVBufToDocument err=0 [00:28:09]Processing tag 1007 (03EF) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1014 (03F6) [00:28:09]Malloc new data [00:28:09]Processing tag 1015 (03F7) [00:28:09]Malloc new data [00:28:09]SetTLVBufToDocument err=0 [00:28:09]Processing tag 1007 (03EF) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1014 (03F6) [00:28:09]Malloc new data [00:28:09]Processing tag 1015 (03F7) [00:28:09]Malloc new data [00:28:09]SetTLVBufToDocument err=0 [00:28:09]Processing tag 1007 (03EF) [00:28:09]Load OK [00:28:09]SetTLVBufToDocument [00:28:09]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1130 (046A) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1135 (046F) [00:28:10]Malloc new data [00:28:10]Processing tag 1201 (04B1) [00:28:10]Malloc new data [00:28:10]Processing tag 1136 (0470) [00:28:10]Malloc new data [00:28:10]Processing tag 1138 (0472) [00:28:10]Malloc new data [00:28:10]Processing tag 1024 (0400) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1131 (046B) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1135 (046F) [00:28:10]Malloc new data [00:28:10]Processing tag 1201 (04B1) [00:28:10]Malloc new data [00:28:10]Processing tag 1136 (0470) [00:28:10]Malloc new data [00:28:10]Processing tag 1138 (0472) [00:28:10]Malloc new data [00:28:10]Processing tag 1024 (0400) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1132 (046C) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1135 (046F) [00:28:10]Malloc new data [00:28:10]Processing tag 1201 (04B1) [00:28:10]Malloc new data [00:28:10]Processing tag 1136 (0470) [00:28:10]Malloc new data [00:28:10]Processing tag 1138 (0472) [00:28:10]Malloc new data [00:28:10]Processing tag 1024 (0400) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1006 (03EE) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1010 (03F2) [00:28:10]Malloc new data [00:28:10]Processing tag 1011 (03F3) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1007 (03EF) [00:28:10]Load OK [00:28:10]SetTLVBufToDocument [00:28:10]Processing tag 1014 (03F6) [00:28:10]Malloc new data [00:28:10]Processing tag 1015 (03F7) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1133 (046D) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Processing tag 1077 (0435) [00:28:10]Malloc new data [00:28:10]SetTLVBufToDocument err=0 [00:28:10]Malloc new data [00:28:10]SAM_PROTO_GetFMData [00:28:10]wFMCommunicate request_size=4 [00:28:10]MH_SAM_APDU [00:28:10]CAPDU: 80 13 03 00 [00:28:10]Write to MH i2c: E2 08 00 CC 00 80 13 03 00 00 00 00 00 4B [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:28:11]Read from MH i2c: E2 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 CC 00 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 26 [00:28:11]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:28:11]wFMCommunicate OK [00:28:11]wFMCommunicate request_size=4 [00:28:11]MH_SAM_APDU [00:28:11]CAPDU: 80 17 00 00 [00:28:11]Write to MH i2c: E2 08 00 CD 00 80 17 00 00 00 00 00 00 4D [00:28:11]Write i2c OK [00:28:11]MH_I2C_Read... [00:28:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:11]Read from MH i2c: E2 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 CD 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BA [00:28:12]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:12]wFMCommunicate OK [00:28:12]wFMCommunicate request_size=4 [00:28:12]MH_SAM_APDU [00:28:12]CAPDU: 80 17 00 00 [00:28:12]Write to MH i2c: E2 08 00 CE 00 80 17 00 00 00 00 00 00 4E [00:28:12]Write i2c OK [00:28:12]MH_I2C_Read... [00:28:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:12]Read from MH i2c: E2 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 CE 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 80 [00:28:12]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:12]wFMCommunicate OK [00:28:12]wFMCommunicate request_size=4 [00:28:12]MH_SAM_APDU [00:28:12]CAPDU: 80 17 00 00 [00:28:12]Write to MH i2c: E2 08 00 CF 00 80 17 00 00 00 00 00 00 4F [00:28:12]Write i2c OK [00:28:12]MH_I2C_Read... [00:28:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:12]Read from MH i2c: E2 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 CF 00 00 04 F7 03 00 00 EF 03 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 90 00 CA [00:28:13]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:28:13]wFMCommunicate OK [00:28:13]wFMCommunicate request_size=4 [00:28:13]MH_SAM_APDU [00:28:13]CAPDU: 80 17 00 00 [00:28:13]Write to MH i2c: E2 08 00 D0 00 80 17 00 00 00 00 00 00 50 [00:28:13]Write i2c OK [00:28:13]MH_I2C_Read... [00:28:13]OFD Sender: No OFD packet to send [00:28:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:28:13]Read from MH i2c: E2 [00:28:13]MH_I2C_Read... [00:28:13]Read from MH i2c: E2 DB 00 [00:28:13]MH_I2C_Read... [00:28:13]Read from MH i2c: E2 DB 00 D0 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 32 [00:28:13]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:13]wFMCommunicate OK [00:28:13]SAM_PROTO_GetFMData done [00:28:13]Malloc new data [00:28:13]Malloc new data [00:28:13]Malloc new data [00:28:13]Malloc new data [00:28:13]KKMLoadAndSignCloseShiftData err=0 [00:28:13]Отчет о закрытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Ðбдрахманов Ð. 22.10.2024 00:28 Смена: 448 РÐМ: 0000000000098148 ЗÐМ: 0300000239 СÐО: Общий режим Чеков за Ñмену: 101 ФД за Ñмену: 103 Ð’Ñего чеков: 101 ИТОГИ ПРИХОД Чеков: 101 Общий итог: 75919.35 Итого наличными: 48750.00 Итого безнал.: 27169.35 ÐДС 0% : 0.00 ÐДС 12% : 8064.60 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 672.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 Общий итог: 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 Ðал. в каÑÑе: 48750.00 ÐС Приход: 17187555.22 ÐС Возвр.Прихода: 33942.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФД: 40834 ФМ: 0000000000965374 ФПД: 74220124749396 [00:28:13]StoreToDocumentArchive [00:28:13]shift 448 fd 40834 [00:28:13]save to /storage/0448/doc_00040834 [00:28:13]save last doc name /storage/0448/doc_00040834 to /storage/kkm_last_doc_name [00:28:13]save OK [00:28:13]Clear old archive folders... [00:28:13]Remove dir /storage/0266 [00:28:13]opendir ok [00:28:13]file . [00:28:13]file .. [00:28:13]file doc_1729556839 [00:28:13]remove file /storage/0266/doc_1729556839 [00:28:13]remove dir /storage/0266 [00:28:13]NVStorageSaveData kkm_registers [00:28:13]File name is /storage/kkm_registers [00:28:13]Write 24 bytes [00:28:13]NVStorageSaveData done [00:28:13]NVStorageSaveData kkm_registers [00:28:13]File name is /storage/kkm_registers [00:28:13]Write 24 bytes [00:28:13]NVStorageSaveData done [00:28:13]ProcessDocumentItem done err = 0, tmpTLVsize=1386 [00:28:13]tlvbuf is 006EA310 [00:28:13]SAM_PROTO_ClearQueue [00:28:13]wFMCommunicate request_size=4 [00:28:13]MH_SAM_APDU [00:28:13]CAPDU: 80 09 00 00 [00:28:13]Write to MH i2c: E2 08 00 D1 00 80 09 00 00 00 00 00 00 43 [00:28:13]Write i2c OK [00:28:13]MH_I2C_Read... [00:28:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:28:13]Read from MH i2c: E2 [00:28:13]MH_I2C_Read... [00:28:13]Read from MH i2c: E2 03 00 [00:28:13]MH_I2C_Read... [00:28:13]Read from MH i2c: E2 03 00 D1 00 00 90 00 45 [00:28:13]RAPDU: 90 00 [00:28:13]wFMCommunicate OK [00:28:13]SAM_PROTO_ClearQueue done [00:28:13]KKMCreateOFDPacket [00:28:13]OFDProtocolAddRootSTLVToBuf [00:28:13]FM_MakeSignedData [00:28:13]FM_MakeSignedData [00:28:13]SAM_PROTO_SignData [00:28:13]wFMCommunicate request_size=4 [00:28:13]MH_SAM_APDU [00:28:13]CAPDU: 80 0D 01 02 [00:28:13]Write to MH i2c: E2 08 00 D2 00 80 0D 01 02 00 00 00 00 4B [00:28:13]Write i2c OK [00:28:13]MH_I2C_Read... [00:28:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:28:13]Read from MH i2c: E2 [00:28:13]MH_I2C_Read... [00:28:13]Read from MH i2c: E2 03 00 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 03 00 D2 00 00 90 00 46 [00:28:14]RAPDU: 90 00 [00:28:14]wFMCommunicate OK [00:28:14]wFMCommunicate request_size=255 [00:28:14]MH_SAM_APDU [00:28:14]CAPDU: 80 0D 02 02 FA 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 96 F1 16 67 0E 04 04 00 C0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 D6 04 6E 04 04 00 65 00 00 00 69 04 A3 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 00 04 82 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 3C 4E 0C 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 [00:28:14]Write to MH i2c: E2 02 01 D3 00 80 0D 02 02 FA 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 96 F1 16 67 0E 04 04 00 C0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 D6 04 6E 04 04 00 65 00 00 00 69 04 A3 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 00 04 82 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 3C 4E 0C 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 00 00 49 [00:28:14]Write i2c OK [00:28:14]MH_I2C_Read... [00:28:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:14]Read from MH i2c: E2 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 03 00 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 03 00 D3 00 00 90 00 47 [00:28:14]RAPDU: 90 00 [00:28:14]wFMCommunicate OK [00:28:14]wFMCommunicate request_size=255 [00:28:14]MH_SAM_APDU [00:28:14]CAPDU: 80 0D 02 02 FA 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 06 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 [00:28:14]Write to MH i2c: E2 02 01 D4 00 80 0D 02 02 FA 00 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 06 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 00 00 54 [00:28:14]Write i2c OK [00:28:14]MH_I2C_Read... [00:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:15]Read from MH i2c: E2 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 03 00 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 03 00 D4 00 00 90 00 48 [00:28:15]RAPDU: 90 00 [00:28:15]wFMCommunicate OK [00:28:15]wFMCommunicate request_size=255 [00:28:15]MH_SAM_APDU [00:28:15]CAPDU: 80 0D 02 02 FA 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:28:15]Write to MH i2c: E2 02 01 D5 00 80 0D 02 02 FA 00 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 00 12 [00:28:15]Write i2c OK [00:28:15]MH_I2C_Read... [00:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:15]Read from MH i2c: E2 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 03 00 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 03 00 D5 00 00 90 00 49 [00:28:15]RAPDU: 90 00 [00:28:15]wFMCommunicate OK [00:28:15]wFMCommunicate request_size=255 [00:28:15]MH_SAM_APDU [00:28:15]CAPDU: 80 0D 02 02 FA 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:28:16]Write to MH i2c: E2 02 01 D6 00 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 09 00 00 15 [00:28:16]Write i2c OK [00:28:16]MH_I2C_Read... [00:28:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:16]Read from MH i2c: E2 [00:28:16]MH_I2C_Read... [00:28:16]Read from MH i2c: E2 03 00 [00:28:16]MH_I2C_Read... [00:28:16]Read from MH i2c: E2 03 00 D6 00 00 90 00 4A [00:28:16]RAPDU: 90 00 [00:28:16]wFMCommunicate OK [00:28:16]wFMCommunicate request_size=255 [00:28:16]MH_SAM_APDU [00:28:16]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:28:16]Write to MH i2c: E2 02 01 D7 00 80 0D 02 02 FA 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 D7 [00:28:16]Write i2c OK [00:28:16]MH_I2C_Read... [00:28:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:17]Read from MH i2c: E2 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 03 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 03 00 D7 00 00 90 00 4B [00:28:17]RAPDU: 90 00 [00:28:17]wFMCommunicate OK [00:28:17]wFMCommunicate request_size=145 [00:28:17]MH_SAM_APDU [00:28:17]CAPDU: 80 0D 02 02 8C 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 82 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 43 80 B8 2B BE 54 [00:28:17]Write to MH i2c: E2 94 00 D8 00 80 0D 02 02 8C 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 82 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 43 80 B8 2B BE 54 00 00 75 [00:28:17]Write i2c OK [00:28:17]MH_I2C_Read... [00:28:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:28:17]Read from MH i2c: E2 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 03 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 03 00 D8 00 00 90 00 4C [00:28:17]RAPDU: 90 00 [00:28:17]wFMCommunicate OK [00:28:17]wFMCommunicate request_size=4 [00:28:17]MH_SAM_APDU [00:28:17]CAPDU: 80 0D 03 02 [00:28:17]Write to MH i2c: E2 08 00 D9 00 80 0D 03 02 00 00 00 00 54 [00:28:17]Write i2c OK [00:28:17]MH_I2C_Read... [00:28:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:28:17]Read from MH i2c: E2 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 0B 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 0B 00 D9 00 00 71 54 A1 D5 71 95 D0 A2 90 00 08 [00:28:17]RAPDU: 71 54 A1 D5 71 95 D0 A2 90 00 [00:28:17]wFMCommunicate OK [00:28:17]SAM_PROTO_SignData done [00:28:17]FM_MakeSignedData done [00:28:17]CreateOFDProtocolMessage [00:28:17]wFMCommunicate request_size=4 [00:28:17]MH_SAM_APDU [00:28:17]CAPDU: 80 11 00 00 [00:28:17]Write to MH i2c: E2 08 00 DA 00 80 11 00 00 00 00 00 00 54 [00:28:17]Write i2c OK [00:28:17]MH_I2C_Read... [00:28:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:28:17]Read from MH i2c: E2 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 17 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: E2 17 00 DA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 A9 [00:28:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:28:17]wFMCommunicate OK [00:28:17]CreateOFDProtocolMessage done [00:28:17]OFDSenderStorePacket 40834 [00:28:17]StoreOFDPacket docnum=40834 [00:28:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 7E 05 00 00 27 75 76 05 A6 8E 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 96 F1 16 67 0E 04 04 00 C0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 D6 04 6E 04 04 00 65 00 00 00 69 04 A3 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 00 04 82 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 3C 4E 0C 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 06 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 82 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 43 80 B8 2B BE 54 71 54 A1 D5 71 95 D0 A2 [00:28:18]CheckFolder [00:28:18]dirname=/storage/ofd_packets [00:28:18]CheckFolder done [00:28:18]ProducePacketName [00:28:18]name=ofd_packets/00040834 [00:28:18]NVStorageSaveData ofd_packets/00040834 [00:28:18]File name is /storage/ofd_packets/00040834 [00:28:18]Write 1436 bytes [00:28:18]NVStorageSaveData done [00:28:18]OFDSenderStorePacket done [00:28:18]KKMCreateOFDPacket done [00:28:18]NVStorageSaveData kkm_last_timestamp [00:28:18]File name is /storage/kkm_last_timestamp [00:28:18]Write 4 bytes [00:28:18]NVStorageSaveData done [00:28:18]ExternCall_PrintAddStr [00:28:18]wPrintStart [00:28:18]Write to MH i2c: 01 00 00 DB 00 DB [00:28:18]Write i2c OK [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 07 00 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 07 00 DB 00 00 00 00 00 00 FF 0F F0 [00:28:18]RasterBufferAndPrint [00:28:18]line Отчет о закрытии Ñмены [00:28:18]line ФФД: 1.0 [00:28:18]line ИÐÐ: 02508201610067 [00:28:18]line КаÑÑир: Ðбдрахманов Ð. [00:28:18]line 22.10.2024 00:28 [00:28:18]line Смена: 448 [00:28:18]line РÐМ: 0000000000098148 [00:28:18]line ЗÐМ: 0300000239 [00:28:18]line СÐО: Общий режим [00:28:18]line Чеков за Ñмену: 101 [00:28:18]line ФД за Ñмену: 103 [00:28:18]line Ð’Ñего чеков: 101 [00:28:18]line ИТОГИ ПРИХОД [00:28:18]line Чеков: 101 [00:28:18]line Общий итог: 75919.35 [00:28:18]line Итого наличными: 48750.00 [00:28:18]line Итого безнал.: 27169.35 [00:28:18]line ÐДС 0% : 0.00 [00:28:18]line ÐДС 12% : 8064.60 [00:28:18]line ÐСП 0% : 0.00 [00:28:18]line ÐСП 1,50% : 0.00 [00:28:18]line ÐСП 0,50% : 0.00 [00:28:18]line ÐСП 5% : 0.00 [00:28:18]line ÐСП 3% : 0.00 [00:28:18]line ÐСП 2% : 0.00 [00:28:18]line ÐСП 1% : 672.03 [00:28:18]line ИТОГИ ВОЗВРÐТ ПРИХОДР[00:28:18]line Чеков: 0 [00:28:18]line Общий итог: 0.00 [00:28:18]line Итого наличными: 0.00 [00:28:18]line Итого безнал.: 0.00 [00:28:18]line ÐДС 0% : 0.00 [00:28:18]line ÐДС 12% : 0.00 [00:28:18]line ÐСП 0% : 0.00 [00:28:18]line ÐСП 1,50% : 0.00 [00:28:18]line ÐСП 0,50% : 0.00 [00:28:18]line ÐСП 5% : 0.00 [00:28:18]line ÐСП 3% : 0.00 [00:28:18]line ÐСП 2% : 0.00 [00:28:18]line ÐСП 1% : 0.00 [00:28:18]line ИТОГИ РÐСХОД [00:28:18]line Чеков: 0 [00:28:18]line Общий итог: 0.00 [00:28:18]line Итого наличными: 0.00 [00:28:18]line Итого безнал.: 0.00 [00:28:18]line ÐДС 0% : 0.00 [00:28:18]line ÐДС 12% : 0.00 [00:28:18]line ÐСП 0% : 0.00 [00:28:18]line ÐСП 1,50% : 0.00 [00:28:18]line ÐСП 0,50% : 0.00 [00:28:18]line ÐСП 5% : 0.00 [00:28:18]line ÐСП 3% : 0.00 [00:28:18]line ÐСП 2% : 0.00 [00:28:18]line ÐСП 1% : 0.00 [00:28:18]line ИТОГИ ВОЗВРÐТ РÐСХОДР[00:28:18]line Чеков: 0 [00:28:18]line Общий итог: 0.00 [00:28:18]line Итого наличными: 0.00 [00:28:18]line Итого безнал.: 0.00 [00:28:18]line ÐДС 0% : 0.00 [00:28:18]line ÐДС 12% : 0.00 [00:28:18]line ÐСП 0% : 0.00 [00:28:18]line ÐСП 1,50% : 0.00 [00:28:18]line ÐСП 0,50% : 0.00 [00:28:18]line ÐСП 5% : 0.00 [00:28:18]line ÐСП 3% : 0.00 [00:28:18]line ÐСП 2% : 0.00 [00:28:18]line ÐСП 1% : 0.00 [00:28:18]OFD Sender: Processing packet 40834 [packets to send 4, broken 3] [00:28:18]ProducePacketName [00:28:18]name=ofd_packets/00040834 [00:28:18]OFD Sender: To server: ‡•öpG, [00:28:18]CommunicateWithHost lk.salyk.kg:30040 [00:28:18]ConnectInit lk.salyk.kg [00:28:18]line Сумма внеÑений: 0.00 [00:28:18]line Сумма выплат: 0.00 [00:28:18]line Ðал. в каÑÑе: 48750.00 [00:28:18]line ÐС Приход: 17187555.22 [00:28:18]line ÐС Возвр.Прихода: 33942.00 [00:28:18]line ÐС РаÑход: 0.00 [00:28:18]line ÐС Возвр.РаÑхода: 0.00 [00:28:18]line ФД: 40834 [00:28:18]line ФМ: 0000000000965374 [00:28:18]line ФПД: 74220124749396 [00:28:18]written 0, free lines is 4095 [00:28:18]Connected sock=10 [00:28:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 7E 05 00 00 27 75 76 05 A6 8E 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D0 B1 D0 B4 D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 96 F1 16 67 0E 04 04 00 C0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 AA 04 D6 04 6E 04 04 00 65 00 00 00 69 04 A3 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 00 04 82 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 3C 4E 0C 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 06 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 Write to MH i2c: F6 01 03 00 01 00 00 2B 06 01 F7 2C 03 [00:28:19]00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 Write i2c OK [00:28:19]B1 MH_I2C_Read... [00:28:19]04 Read from MH i2c: 00 01 00 [00:28:19]70 MH_I2C_Read... [00:28:19]04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 Read from MH i2c: 03 01 07 01 00 00 [00:28:19]MH_I2C_Read... [00:28:19]00 Read from MH i2c: F3 01 03 07 00 00 00 2B EE 01 03 00 09 00 00 00 F2 00 03 00 01 21 00 0C 01 60 F3 [00:28:19]03 RasterBufferAndPrint [00:28:19]00 line [00:28:19]00 line [00:28:19]line [00:28:19]EF line [00:28:19]03 line [00:28:19]09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 written 0, free lines is 3243 [00:28:19]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 MH_Cut [00:28:19]00 Write to MH i2c: EF D1 03 01 09 00 00 32 F6 01 03 01 01 05 00 [00:28:19]03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 Write i2c OK [00:28:19]F7 MH_I2C_Read... [00:28:19]03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 D1 00 [00:28:19]06 MH_I2C_Read... [00:28:19]F7 03 00 00 7A 04 8D Read from MH i2c: 00 D1 6F 01 04 00 04 [00:28:19]00 MH_I2C_Read... [00:28:19]00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 Read from MH i2c: 75 D1 00 01 EE 00 03 32 09 01 00 00 F2 04 03 [00:28:19]01 Write to MH i2c: 00 01 00 00 F3 00 03 33 00 01 00 34 EE [00:28:19]03 09 Write i2c OK [00:28:19]00 MH_I2C_Read... [00:28:19]F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 82 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 43 80 B8 2B BE 54 71 54 A1 D5 71 95 D0 A2 [00:28:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 29 0B 47 00 95 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 82 9F 00 00 F4 03 04 00 81 97 16 67 B6 04 01 00 00 7D 32 1C A6 98 E4 F5 76 [00:28:19]CommunicateWithHost err = 0 [00:28:19]CheckOFDResponse [00:28:20]1017 (14) - 77093643461234 [00:28:20]1041 (16) - 0000000000965374 [00:28:20]1040 (4) - 40834 [00:28:20]1012 (4) - 21.10.2024 18:03 [00:28:20]1206 (1) - 0 [00:28:20]OFD Sender: Remove packet 40834 [00:28:20]ProducePacketName [00:28:20]name=ofd_packets/00040834 [00:28:20]NVStorageDeleteData [00:28:20]*** Cut start [00:28:20]*** Partial cut [00:28:20]*** CUTSNS_PIN = 1 [00:28:20]*** CUTSNS_PIN = 0 [00:28:20]*** Brake cut motor [00:28:20]OFD Sender: No OFD packet to send [00:28:20]Read from MH i2c: 01 [00:28:20]MH_I2C_Read... [00:28:20]*** Stop cut motor [00:28:20]*** Cut end [00:28:20]Read from MH i2c: 01 07 00 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 FF 0F 49 [00:28:20]process_action close_shift done [00:28:20]requested_data is exist [00:28:20]produce_requested_data [00:28:20]requested_item fd.num is exist - process it [00:28:20]SAM_PROTO_GetFieldsCounters [00:28:20]wFMCommunicate request_size=4 [00:28:20]MH_SAM_APDU [00:28:20]CAPDU: 80 13 00 00 [00:28:20]Write to MH i2c: E2 08 00 34 01 80 13 00 00 00 00 00 00 B1 [00:28:20]Write i2c OK [00:28:20]MH_I2C_Read... [00:28:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:28:20]Read from MH i2c: E2 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 62 00 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 62 00 34 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [00:28:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:28:20]wFMCommunicate OK [00:28:20]SAM_PROTO_GetFieldsCounters done [00:28:20]requested_item shift.num is exist - process it [00:28:20]requested_item shift.opened is exist - process it [00:28:20]req_shift_opened [00:28:20]FM_GetShiftState [00:28:20]SAM_PROTO_GetShiftState [00:28:20]wFMCommunicate request_size=4 [00:28:20]MH_SAM_APDU [00:28:20]CAPDU: 80 13 01 00 [00:28:20]Write to MH i2c: E2 08 00 35 01 80 13 01 00 00 00 00 00 B3 [00:28:21]Write i2c OK [00:28:21]MH_I2C_Read... [00:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:21]Read from MH i2c: E2 [00:28:21]MH_I2C_Read... [00:28:21]Read from MH i2c: E2 0E 00 [00:28:21]MH_I2C_Read... [00:28:21]Read from MH i2c: E2 0E 00 35 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BE [00:28:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:28:21]wFMCommunicate OK [00:28:21]SAM_PROTO_GetShiftState done [00:28:21]FM_GetShiftState done [00:28:21]req_shift_opened done [00:28:21]requested_item shift.open_date is exist - process it [00:28:21]req_shift_open_date [00:28:21]FM_GetShiftState [00:28:21]SAM_PROTO_GetShiftState [00:28:21]wFMCommunicate request_size=4 [00:28:21]MH_SAM_APDU [00:28:21]CAPDU: 80 13 01 00 [00:28:21]Write to MH i2c: E2 08 00 36 01 80 13 01 00 00 00 00 00 B4 [00:28:21]Write i2c OK [00:28:21]MH_I2C_Read... [00:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:21]Read from MH i2c: E2 [00:28:21]MH_I2C_Read... [00:28:21]Read from MH i2c: E2 0E 00 [00:28:21]MH_I2C_Read... [00:28:21]Read from MH i2c: E2 0E 00 36 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BF [00:28:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:28:21]wFMCommunicate OK [00:28:21]SAM_PROTO_GetShiftState done [00:28:21]FM_GetShiftState done [00:28:21]req_shift_open_date done [00:28:21]produce_requested_data done [00:28:21]produce_requested_data return {"fd.num":40834,"shift.num":448,"shift.opened":0,"shift.open_date":0} [00:28:21]process_action_free close_shift [00:28:21]json_value_free [00:28:21]json_value_free done [00:28:21]process_json_proto returns [00:28:21]Send response to host [00:28:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":40834,"shift.num":448,"shift.opened":0,"shift.open_date":0}}} [00:28:21]free response buf [00:28:21]execute_script done [00:28:21]execute_script returns [00:28:21]free content buf [00:28:21]Sock 7.Close socket [00:28:21]Sock 7.Thread stoped [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:32]accept exits with 9 [00:33:32]New connection [00:33:32]New thread 3066858852 created [00:33:32]Thread 3066715492 joined [00:33:32]Waiting for new connection... [00:33:32] Sock 9.Parse request [00:33:32]Sock 9.Check first char [00:33:32]Sock 9.First char is OK [00:33:32]request: POST /json_proto HTTP/1.0 [00:33:32]Method: POST [00:33:32]URL: /json_proto [00:33:32]Method is POST - this is cgi request [00:33:32]url: /json_proto [00:33:32]query_string will be loaded in cgi processing [00:33:32]execute_cgi json_proto POST (null) [00:33:32]execute_cgi path=json_proto method=POST [00:33:32]POST find Content-Length [00:33:32]Host: 172.17.53.4:8080 [00:33:32]Content-Length: 215 [00:33:32]Content-Type: application/json [00:33:32] [00:33:32]POST finish read [00:33:32]Found Content-Length = 215 [00:33:32]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:33:32]execute_script... [00:33:32]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:33:32]POST & json_proto [00:33:32]process_json_proto [00:33:32]json parsed OK: [00:33:32]protocol is kg_v1.0 [00:33:32]action value=get_value [00:33:32]process_action get_value [00:33:32]cmd_get_value [00:33:32]process_action get_value done [00:33:32]requested_data is exist [00:33:32]produce_requested_data [00:33:32]requested_item kkm.sn is exist - process it [00:33:32]requested_item kkm.ver is exist - process it [00:33:32]requested_item fm.sn is exist - process it [00:33:32]wFMCommunicate request_size=4 [00:33:32]MH_SAM_APDU [00:33:32]CAPDU: 80 11 00 00 [00:33:32]Write to MH i2c: E2 08 00 37 01 80 11 00 00 00 00 00 00 B2 [00:33:32]Write i2c OK [00:33:32]MH_I2C_Read... [00:33:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:33:32]Read from MH i2c: E2 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 17 00 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 17 00 37 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 07 [00:33:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:33:32]wFMCommunicate OK [00:33:32]requested_item fd.num is exist - process it [00:33:32]SAM_PROTO_GetFieldsCounters [00:33:32]wFMCommunicate request_size=4 [00:33:32]MH_SAM_APDU [00:33:32]CAPDU: 80 13 00 00 [00:33:32]Write to MH i2c: E2 08 00 38 01 80 13 00 00 00 00 00 00 B5 [00:33:32]Write i2c OK [00:33:32]MH_I2C_Read... [00:33:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:33:32]Read from MH i2c: E2 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 62 00 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 62 00 38 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 EF [00:33:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 82 9F 00 00 0E 04 04 00 C0 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:33:32]wFMCommunicate OK [00:33:32]SAM_PROTO_GetFieldsCounters done [00:33:32]requested_item shift.num is exist - process it [00:33:32]requested_item shift.opened is exist - process it [00:33:32]req_shift_opened [00:33:32]FM_GetShiftState [00:33:32]SAM_PROTO_GetShiftState [00:33:32]wFMCommunicate request_size=4 [00:33:32]MH_SAM_APDU [00:33:32]CAPDU: 80 13 01 00 [00:33:32]Write to MH i2c: E2 08 00 39 01 80 13 01 00 00 00 00 00 B7 [00:33:32]Write i2c OK [00:33:32]MH_I2C_Read... [00:33:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:32]Read from MH i2c: E2 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 0E 00 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 0E 00 39 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C2 [00:33:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:33:32]wFMCommunicate OK [00:33:32]SAM_PROTO_GetShiftState done [00:33:32]FM_GetShiftState done [00:33:32]req_shift_opened done [00:33:32]requested_item shift.open_date is exist - process it [00:33:32]req_shift_open_date [00:33:32]FM_GetShiftState [00:33:32]SAM_PROTO_GetShiftState [00:33:32]wFMCommunicate request_size=4 [00:33:32]MH_SAM_APDU [00:33:32]CAPDU: 80 13 01 00 [00:33:32]Write to MH i2c: E2 08 00 3A 01 80 13 01 00 00 00 00 00 B8 [00:33:32]Write i2c OK [00:33:32]MH_I2C_Read... [00:33:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:32]Read from MH i2c: E2 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 0E 00 [00:33:32]MH_I2C_Read... [00:33:32]Read from MH i2c: E2 0E 00 3A 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C3 [00:33:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:33:32]wFMCommunicate OK [00:33:32]SAM_PROTO_GetShiftState done [00:33:32]FM_GetShiftState done [00:33:32]req_shift_open_date done [00:33:32]produce_requested_data done [00:33:32]produce_requested_data return {"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40834,"shift.num":448,"shift.opened":0,"shift.open_date":0} [00:33:32]process_action_free get_value [00:33:32]json_value_free [00:33:32]json_value_free done [00:33:32]process_json_proto returns [00:33:32]Send response to host [00:33:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000239","kkm.ver":"001","fm.sn":"0000000000965374","fd.num":40834,"shift.num":448,"shift.opened":0,"shift.open_date":0}}} [00:33:32]free response buf [00:33:32]execute_script done [00:33:32]execute_script returns [00:33:32]free content buf [00:33:32]Sock 9.Close socket [00:33:32]Sock 9.Thread stoped [00:33:32]accept exits with 7 [00:33:32]New connection [00:33:32]New thread 3066715492 created [00:33:32]Thread 3066858852 joined [00:33:32]Waiting for new connection... [00:33:32] Sock 7.Parse request [00:33:32]Sock 7.Check first char [00:33:32]Sock 7.First char is OK [00:33:32]request: POST /json_proto HTTP/1.0 [00:33:32]Method: POST [00:33:32]URL: /json_proto [00:33:32]Method is POST - this is cgi request [00:33:32]url: /json_proto [00:33:32]query_string will be loaded in cgi processing [00:33:32]execute_cgi json_proto POST (null) [00:33:32]execute_cgi path=json_proto method=POST [00:33:32]POST find Content-Length [00:33:32]Host: 172.17.53.4:8080 [00:33:32]Content-Length: 331 [00:33:32]Content-Type: application/json [00:33:32] [00:33:32]POST finish read [00:33:32]Found Content-Length = 331 [00:33:32]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:33:32]execute_script... [00:33:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:33:32]POST & json_proto [00:33:32]process_json_proto [00:33:32]json parsed OK: [00:33:32]protocol is kg_v1.0 [00:33:32]action value=get_value [00:33:32]process_action get_value [00:33:32]cmd_get_value [00:33:32]process_action get_value done [00:33:32]requested_data is exist [00:33:32]produce_requested_data [00:33:32]requested_item fm.sale.total is exist - process it [00:33:32]SAM_PROTO_GetFMData [00:33:32]wFMCommunicate request_size=4 [00:33:32]MH_SAM_APDU [00:33:32]CAPDU: 80 13 03 00 [00:33:32]Write to MH i2c: E2 08 00 3B 01 80 13 03 00 00 00 00 00 BB [00:33:32]Write i2c OK [00:33:32]MH_I2C_Read... [00:33:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:33:33]Read from MH i2c: E2 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 3B 01 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 96 [00:33:33]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:33:33]wFMCommunicate OK [00:33:33]wFMCommunicate request_size=4 [00:33:33]MH_SAM_APDU [00:33:33]CAPDU: 80 17 00 00 [00:33:33]Write to MH i2c: E2 08 00 3C 01 80 17 00 00 00 00 00 00 BD [00:33:33]Write i2c OK [00:33:33]MH_I2C_Read... [00:33:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:33]Read from MH i2c: E2 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 3C 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2A [00:33:33]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:33]wFMCommunicate OK [00:33:33]wFMCommunicate request_size=4 [00:33:33]MH_SAM_APDU [00:33:33]CAPDU: 80 17 00 00 [00:33:33]Write to MH i2c: E2 08 00 3D 01 80 17 00 00 00 00 00 00 BE [00:33:33]Write i2c OK [00:33:33]MH_I2C_Read... [00:33:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:33]Read from MH i2c: E2 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 FD 00 3D 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [00:33:33]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:33]wFMCommunicate OK [00:33:33]wFMCommunicate request_size=4 [00:33:33]MH_SAM_APDU [00:33:33]CAPDU: 80 17 00 00 [00:33:33]Write to MH i2c: E2 08 00 3E 01 80 17 00 00 00 00 00 00 BF [00:33:33]Write i2c OK [00:33:33]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:34]Read from MH i2c: E2 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 FD 00 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 FD 00 3E 01 00 04 F7 03 00 00 EF 03 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 90 00 3A [00:33:34]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:33:34]wFMCommunicate OK [00:33:34]wFMCommunicate request_size=4 [00:33:34]MH_SAM_APDU [00:33:34]CAPDU: 80 17 00 00 [00:33:34]Write to MH i2c: E2 08 00 3F 01 80 17 00 00 00 00 00 00 C0 [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 [00:33:34]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:33:34]Read from MH i2c: E2 DB 00 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 DB 00 3F 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 [00:33:34]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:33:34]wFMCommunicate OK [00:33:34]SAM_PROTO_GetFMData done [00:33:34]requested_item fm.sale_refund.total is exist - process it [00:33:34]requested_item fm.buy.total is exist - process it [00:33:34]requested_item shift.sale.total is exist - process it [00:33:34]SAM_PROTO_GetShiftData [00:33:34]wFMCommunicate request_size=4 [00:33:34]MH_SAM_APDU [00:33:34]CAPDU: 80 13 02 00 [00:33:34]Write to MH i2c: E2 08 00 40 01 80 13 02 00 00 00 00 00 BF [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:33:34]Read from MH i2c: E2 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 FD 00 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 FD 00 40 01 00 AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 0B [00:33:34]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 65 00 00 00 69 04 9C 00 6F 04 04 00 65 00 00 00 B1 04 03 00 FF D7 73 70 04 03 00 F8 62 4A 72 04 03 00 07 75 29 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 3C 4E 0C 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 83 06 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 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 90 00 [00:33:34]wFMCommunicate OK [00:33:34]wFMCommunicate request_size=4 [00:33:34]MH_SAM_APDU [00:33:34]CAPDU: 80 17 00 00 [00:33:34]Write to MH i2c: E2 08 00 41 01 80 17 00 00 00 00 00 00 C2 [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 41 01 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 DB [00:33:35]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:33:35]wFMCommunicate OK [00:33:35]wFMCommunicate request_size=4 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 17 00 00 [00:33:35]Write to MH i2c: E2 08 00 42 01 80 17 00 00 00 00 00 00 C3 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 42 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 77 [00:33:35]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:33:35]wFMCommunicate OK [00:33:35]wFMCommunicate request_size=4 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 17 00 00 [00:33:35]Write to MH i2c: E2 08 00 43 01 80 17 00 00 00 00 00 00 C4 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 FD 00 43 01 00 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 90 00 42 [00:33:35]RAPDU: 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 90 00 [00:33:35]wFMCommunicate OK [00:33:35]wFMCommunicate request_size=4 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 17 00 00 [00:33:35]Write to MH i2c: E2 08 00 44 01 80 17 00 00 00 00 00 00 C5 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]OFD Sender: No OFD packet to send [00:33:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 CC 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 CC 00 44 01 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A6 [00:33:35]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:33:35]wFMCommunicate OK [00:33:35]SAM_PROTO_GetShiftData done [00:33:35]requested_item shift.sale.total_cash is exist - process it [00:33:35]requested_item shift.sale_refund.total is exist - process it [00:33:35]requested_item shift.sale_refund.total_cash is exist - process it [00:33:35]requested_item shift.buy.total is exist - process it [00:33:35]requested_item shift.buy.total_cash is exist - process it [00:33:35]produce_requested_data done [00:33:35]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:33:35]process_action_free get_value [00:33:35]json_value_free [00:33:35]json_value_free done [00:33:35]process_json_proto returns [00:33:35]Send response to host [00:33:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.00,"fm.buy.total":0.00,"shift.sale.total":75919.35,"shift.sale.total_cash":48750.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:33:35]free response buf [00:33:35]execute_script done [00:33:35]execute_script returns [00:33:35]free content buf [00:33:35]Sock 7.Close socket [00:33:35]Sock 7.Thread stoped [00:33:36]accept exits with 9 [00:33:36]New connection [00:33:36]New thread 3066858852 created [00:33:36]Thread 3066715492 joined [00:33:36]Waiting for new connection... [00:33:36] Sock 9.Parse request [00:33:36]Sock 9.Check first char [00:33:36]Sock 9.First char is OK [00:33:36]request: POST /json_proto HTTP/1.0 [00:33:36]Method: POST [00:33:36]URL: /json_proto [00:33:36]Method is POST - this is cgi request [00:33:36]url: /json_proto [00:33:36]query_string will be loaded in cgi processing [00:33:36]execute_cgi json_proto POST (null) [00:33:36]execute_cgi path=json_proto method=POST [00:33:36]POST find Content-Length [00:33:36]Host: 172.17.53.4:8080 [00:33:36]Content-Length: 247 [00:33:36]Content-Type: application/json [00:33:36] [00:33:36]POST finish read [00:33:36]Found Content-Length = 247 [00:33:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:36]execute_script... [00:33:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:36]POST & json_proto [00:33:36]process_json_proto [00:33:36]json parsed OK: [00:33:36]protocol is kg_v1.0 [00:33:36]action value=open_shift [00:33:36]process_action open_shift [00:33:36]cmd_open_shift [00:33:36]MH_GetDate [00:33:36]Write to MH i2c: F0 00 00 45 01 35 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 09 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 09 00 45 01 00 E0 F2 16 67 05 11 DA 64 E1 [00:33:36]GetLastDocTimeStamp 1729556886 [00:33:36]current date 1729557216 [00:33:36]FM_GetShiftState [00:33:36]SAM_PROTO_GetShiftState [00:33:36]wFMCommunicate request_size=4 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 13 01 00 [00:33:36]Write to MH i2c: E2 08 00 46 01 80 13 01 00 00 00 00 00 C4 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 0E 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 0E 00 46 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CF [00:33:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:33:36]wFMCommunicate OK [00:33:36]SAM_PROTO_GetShiftState done [00:33:36]FM_GetShiftState done [00:33:36]KKMCreateOpenShiftDocument [00:33:36]Load OK [00:33:36]Malloc new data [00:33:36]MH_GetDate [00:33:36]Write to MH i2c: F0 00 00 47 01 37 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 09 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: F0 09 00 47 01 00 E0 F2 16 67 05 11 DA 64 E3 [00:33:36]Malloc new data [00:33:36]KKMCreateOpenShiftDocument OK [00:33:36]KKMSetOpenShiftData OK [00:33:36]ProcessDocumentItem done err = 0, tmpTLVsize=199 [00:33:36]tlvbuf is 00613AA0 [00:33:36]KKMLoadAndSignOpenShiftData [00:33:36]SAM_PROTO_ProcessDocument [00:33:36]wFMCommunicate request_size=9 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 01 00 04 02 00 C7 00 [00:33:36]Write to MH i2c: E2 0C 00 48 01 80 15 01 00 04 00 02 00 C7 00 00 00 99 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 48 01 00 90 00 BD [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=23 [00:33:36]MH_SAM_APDU [00:33:36]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:33:36]Write to MH i2c: E2 1A 00 49 01 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 BF [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 49 01 00 90 00 BE [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=26 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 [00:33:36]Write to MH i2c: E2 1D 00 4A 01 80 15 02 00 15 00 FD 03 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 00 00 CE [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 4A 01 00 90 00 BF [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=91 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 02 00 56 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 [00:33:36]Write to MH i2c: E2 5E 00 4B 01 80 15 02 00 56 00 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 00 00 DF [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 4B 01 00 90 00 C0 [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=51 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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:33:36]Write to MH i2c: E2 36 00 4C 01 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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 7A [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=13 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 02 00 08 F4 03 04 00 E0 F2 16 67 [00:33:36]Write to MH i2c: E2 10 00 4D 01 80 15 02 00 08 00 F4 03 04 00 E0 F2 16 67 00 00 28 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=25 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 [00:33:36]Write to MH i2c: E2 1C 00 4E 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 00 00 36 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [00:33:36]RAPDU: 90 00 [00:33:36]wFMCommunicate OK [00:33:36]wFMCommunicate request_size=4 [00:33:36]MH_SAM_APDU [00:33:36]CAPDU: 80 15 03 00 [00:33:36]Write to MH i2c: E2 08 00 4F 01 80 15 03 00 00 00 00 00 D1 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:33:36]Read from MH i2c: E2 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 38 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: E2 38 00 4F 01 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 83 9F 00 00 0E 04 04 00 C1 01 00 00 35 04 06 00 29 AE 09 80 F3 3D 90 00 13 [00:33:36]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 10 04 04 00 83 9F 00 00 0E 04 04 00 C1 01 00 00 35 04 06 00 29 AE 09 80 F3 3D 90 00 [00:33:36]wFMCommunicate OK [00:33:36]SAM_PROTO_ProcessDocument answer len = 51 [00:33:36]SAM_PROTO_ProcessDocument done [00:33:36]SetTLVBufToDocument [00:33:36]Processing tag 1209 (04B9) [00:33:36]Malloc new data [00:33:36]Processing tag 1041 (0411) [00:33:36]Processing tag 1040 (0410) [00:33:36]Malloc new data [00:33:36]Processing tag 1038 (040E) [00:33:36]Malloc new data [00:33:36]Processing tag 1077 (0435) [00:33:36]Malloc new data [00:33:36]SetTLVBufToDocument err=0 [00:33:36]KKMLoadAndSignOpenShiftData store KKM data [00:33:36]KKMLoadAndSignOpenShiftData err=0 [00:33:36]Отчет об открытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Бакиев Ð. ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 МеÑто: ÐЗС â„– 164 "Партнер Ðефть" 22.10.2024 00:33 Смена: 449 РÐМ: 0000000000098148 ЗÐМ: 0300000239 ФД: 40835 ФМ: 0000000000965374 ФПД: 45827460494141 [00:33:36]StoreToDocumentArchive [00:33:36]shift 449 fd 40835 [00:33:36]Create dir for shift 0449 [00:33:36]save to /storage/0449/doc_00040835 [00:33:36]save last doc name /storage/0449/doc_00040835 to /storage/kkm_last_doc_name [00:33:36]save OK [00:33:36]Clear old archive folders... [00:33:37]Remove dir /storage/0448 [00:33:37]opendir ok [00:33:37]file . [00:33:37]file .. [00:33:37]file doc_00040732 [00:33:37]remove file /storage/0448/doc_00040732 [00:33:37]file doc_00040733 [00:33:37]remove file /storage/0448/doc_00040733 [00:33:37]file doc_00040734 [00:33:37]remove file /storage/0448/doc_00040734 [00:33:37]file doc_00040735 [00:33:37]remove file /storage/0448/doc_00040735 [00:33:37]file doc_00040736 [00:33:37]remove file /storage/0448/doc_00040736 [00:33:37]file doc_00040737 [00:33:37]remove file /storage/0448/doc_00040737 [00:33:37]file doc_00040738 [00:33:37]remove file /storage/0448/doc_00040738 [00:33:37]file doc_00040739 [00:33:37]remove file /storage/0448/doc_00040739 [00:33:37]file doc_00040740 [00:33:37]remove file /storage/0448/doc_00040740 [00:33:37]file doc_00040741 [00:33:37]remove file /storage/0448/doc_00040741 [00:33:37]file doc_00040742 [00:33:37]remove file /storage/0448/doc_00040742 [00:33:37]file doc_00040743 [00:33:37]remove file /storage/0448/doc_00040743 [00:33:37]file doc_00040744 [00:33:37]remove file /storage/0448/doc_00040744 [00:33:37]file doc_00040745 [00:33:37]remove file /storage/0448/doc_00040745 [00:33:37]file doc_00040746 [00:33:37]remove file /storage/0448/doc_00040746 [00:33:37]file doc_00040747 [00:33:37]remove file /storage/0448/doc_00040747 [00:33:37]file doc_00040748 [00:33:37]remove file /storage/0448/doc_00040748 [00:33:37]file doc_00040749 [00:33:37]remove file /storage/0448/doc_00040749 [00:33:37]file doc_00040750 [00:33:37]remove file /storage/0448/doc_00040750 [00:33:37]file doc_00040751 [00:33:37]remove file /storage/0448/doc_00040751 [00:33:37]file doc_00040752 [00:33:37]remove file /storage/0448/doc_00040752 [00:33:37]file doc_00040753 [00:33:37]remove file /storage/0448/doc_00040753 [00:33:37]file doc_00040754 [00:33:37]remove file /storage/0448/doc_00040754 [00:33:37]file doc_00040755 [00:33:37]remove file /storage/0448/doc_00040755 [00:33:37]file doc_00040756 [00:33:37]remove file /storage/0448/doc_00040756 [00:33:37]file doc_00040757 [00:33:37]remove file /storage/0448/doc_00040757 [00:33:37]file doc_00040758 [00:33:37]remove file /storage/0448/doc_00040758 [00:33:37]file doc_00040759 [00:33:37]remove file /storage/0448/doc_00040759 [00:33:37]file doc_00040760 [00:33:37]remove file /storage/0448/doc_00040760 [00:33:37]file doc_00040761 [00:33:37]remove file /storage/0448/doc_00040761 [00:33:37]file doc_00040762 [00:33:37]remove file /storage/0448/doc_00040762 [00:33:37]file doc_00040763 [00:33:37]remove file /storage/0448/doc_00040763 [00:33:37]file doc_00040764 [00:33:37]remove file /storage/0448/doc_00040764 [00:33:37]file doc_00040765 [00:33:37]remove file /storage/0448/doc_00040765 [00:33:37]file doc_00040766 [00:33:37]remove file /storage/0448/doc_00040766 [00:33:37]file doc_00040767 [00:33:37]remove file /storage/0448/doc_00040767 [00:33:37]file doc_00040768 [00:33:37]remove file /storage/0448/doc_00040768 [00:33:37]file doc_00040769 [00:33:37]remove file /storage/0448/doc_00040769 [00:33:37]file doc_00040770 [00:33:37]remove file /storage/0448/doc_00040770 [00:33:37]file doc_00040771 [00:33:37]remove file /storage/0448/doc_00040771 [00:33:37]file doc_00040772 [00:33:37]remove file /storage/0448/doc_00040772 [00:33:37]file doc_00040773 [00:33:37]remove file /storage/0448/doc_00040773 [00:33:37]file doc_00040774 [00:33:37]remove file /storage/0448/doc_00040774 [00:33:37]file doc_00040775 [00:33:37]remove file /storage/0448/doc_00040775 [00:33:37]file doc_00040776 [00:33:37]remove file /storage/0448/doc_00040776 [00:33:37]file doc_00040777 [00:33:37]remove file /storage/0448/doc_00040777 [00:33:37]file doc_00040778 [00:33:37]remove file /storage/0448/doc_00040778 [00:33:37]file doc_00040779 [00:33:37]remove file /storage/0448/doc_00040779 [00:33:37]file doc_00040780 [00:33:37]remove file /storage/0448/doc_00040780 [00:33:37]file doc_00040781 [00:33:37]remove file /storage/0448/doc_00040781 [00:33:37]file doc_00040782 [00:33:37]remove file /storage/0448/doc_00040782 [00:33:37]file doc_00040783 [00:33:37]remove file /storage/0448/doc_00040783 [00:33:37]file doc_00040784 [00:33:37]remove file /storage/0448/doc_00040784 [00:33:37]file doc_00040785 [00:33:37]remove file /storage/0448/doc_00040785 [00:33:37]file doc_00040786 [00:33:37]remove file /storage/0448/doc_00040786 [00:33:37]file doc_00040787 [00:33:37]remove file /storage/0448/doc_00040787 [00:33:37]file doc_00040788 [00:33:37]remove file /storage/0448/doc_00040788 [00:33:37]file doc_00040789 [00:33:37]remove file /storage/0448/doc_00040789 [00:33:37]file doc_00040790 [00:33:37]remove file /storage/0448/doc_00040790 [00:33:37]file doc_00040791 [00:33:37]remove file /storage/0448/doc_00040791 [00:33:37]file doc_00040792 [00:33:37]remove file /storage/0448/doc_00040792 [00:33:37]file doc_00040793 [00:33:37]remove file /storage/0448/doc_00040793 [00:33:37]file doc_00040794 [00:33:37]remove file /storage/0448/doc_00040794 [00:33:37]file doc_00040795 [00:33:37]remove file /storage/0448/doc_00040795 [00:33:37]file doc_00040796 [00:33:37]remove file /storage/0448/doc_00040796 [00:33:37]file doc_00040797 [00:33:37]remove file /storage/0448/doc_00040797 [00:33:37]file doc_00040798 [00:33:37]remove file /storage/0448/doc_00040798 [00:33:37]file doc_00040799 [00:33:37]remove file /storage/0448/doc_00040799 [00:33:37]file doc_00040800 [00:33:37]remove file /storage/0448/doc_00040800 [00:33:37]file doc_00040801 [00:33:37]remove file /storage/0448/doc_00040801 [00:33:37]file doc_00040802 [00:33:37]remove file /storage/0448/doc_00040802 [00:33:37]file doc_00040803 [00:33:37]remove file /storage/0448/doc_00040803 [00:33:37]file doc_00040804 [00:33:37]remove file /storage/0448/doc_00040804 [00:33:37]file doc_00040805 [00:33:37]remove file /storage/0448/doc_00040805 [00:33:37]file doc_00040806 [00:33:37]remove file /storage/0448/doc_00040806 [00:33:37]file doc_00040807 [00:33:37]remove file /storage/0448/doc_00040807 [00:33:37]file doc_00040808 [00:33:37]remove file /storage/0448/doc_00040808 [00:33:37]file doc_00040809 [00:33:37]remove file /storage/0448/doc_00040809 [00:33:37]file doc_00040810 [00:33:37]remove file /storage/0448/doc_00040810 [00:33:37]file doc_00040811 [00:33:37]remove file /storage/0448/doc_00040811 [00:33:37]file doc_00040812 [00:33:37]remove file /storage/0448/doc_00040812 [00:33:37]file doc_00040813 [00:33:37]remove file /storage/0448/doc_00040813 [00:33:37]file doc_00040814 [00:33:37]remove file /storage/0448/doc_00040814 [00:33:37]file doc_00040815 [00:33:37]remove file /storage/0448/doc_00040815 [00:33:37]file doc_00040816 [00:33:37]remove file /storage/0448/doc_00040816 [00:33:37]file doc_00040817 [00:33:37]remove file /storage/0448/doc_00040817 [00:33:37]file doc_00040818 [00:33:37]remove file /storage/0448/doc_00040818 [00:33:37]file doc_00040819 [00:33:37]remove file /storage/0448/doc_00040819 [00:33:37]file doc_00040820 [00:33:37]remove file /storage/0448/doc_00040820 [00:33:37]file doc_00040821 [00:33:37]remove file /storage/0448/doc_00040821 [00:33:37]file doc_00040822 [00:33:37]remove file /storage/0448/doc_00040822 [00:33:37]file doc_00040823 [00:33:37]remove file /storage/0448/doc_00040823 [00:33:37]file doc_00040824 [00:33:37]remove file /storage/0448/doc_00040824 [00:33:37]file doc_00040825 [00:33:37]remove file /storage/0448/doc_00040825 [00:33:37]file doc_00040826 [00:33:37]remove file /storage/0448/doc_00040826 [00:33:37]file doc_00040827 [00:33:37]remove file /storage/0448/doc_00040827 [00:33:37]file doc_00040828 [00:33:37]remove file /storage/0448/doc_00040828 [00:33:37]file doc_00040829 [00:33:37]remove file /storage/0448/doc_00040829 [00:33:37]file doc_00040830 [00:33:37]remove file /storage/0448/doc_00040830 [00:33:37]file doc_00040831 [00:33:37]remove file /storage/0448/doc_00040831 [00:33:37]file doc_00040832 [00:33:37]remove file /storage/0448/doc_00040832 [00:33:37]file doc_00040833 [00:33:37]remove file /storage/0448/doc_00040833 [00:33:37]file doc_00040834 [00:33:37]remove file /storage/0448/doc_00040834 [00:33:37]remove dir /storage/0448 [00:33:37]ProcessDocumentItem done err = 0, tmpTLVsize=250 [00:33:37]tlvbuf is 0071CA20 [00:33:37]SAM_PROTO_ClearQueue [00:33:37]wFMCommunicate request_size=4 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 09 00 00 [00:33:37]Write to MH i2c: E2 08 00 50 01 80 09 00 00 00 00 00 00 C3 [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:33:37]Read from MH i2c: E2 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 03 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [00:33:37]RAPDU: 90 00 [00:33:37]wFMCommunicate OK [00:33:37]SAM_PROTO_ClearQueue done [00:33:37]KKMCreateOFDPacket [00:33:37]OFDProtocolAddRootSTLVToBuf [00:33:37]FM_MakeSignedData [00:33:37]FM_MakeSignedData [00:33:37]SAM_PROTO_SignData [00:33:37]wFMCommunicate request_size=4 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 0D 01 02 [00:33:37]Write to MH i2c: E2 08 00 51 01 80 0D 01 02 00 00 00 00 CB [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:33:37]Read from MH i2c: E2 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 03 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [00:33:37]RAPDU: 90 00 [00:33:37]wFMCommunicate OK [00:33:37]wFMCommunicate request_size=255 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 0D 02 02 FA 02 00 FA 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 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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 E0 F2 16 67 0E 04 04 00 C1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 29 AE [00:33:37]Write to MH i2c: E2 02 01 52 01 80 0D 02 02 FA 00 02 00 FA 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 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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 E0 F2 16 67 0E 04 04 00 C1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 29 AE 00 00 D7 [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:33:38]Read from MH i2c: E2 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 03 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 03 00 52 01 00 90 00 C7 [00:33:38]RAPDU: 90 00 [00:33:38]wFMCommunicate OK [00:33:38]wFMCommunicate request_size=9 [00:33:38]MH_SAM_APDU [00:33:38]CAPDU: 80 0D 02 02 04 09 80 F3 3D [00:33:38]Write to MH i2c: E2 0C 00 53 01 80 0D 02 02 04 00 09 80 F3 3D 00 00 8F [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:33:38]Read from MH i2c: E2 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 03 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 03 00 53 01 00 90 00 C8 [00:33:38]RAPDU: 90 00 [00:33:38]wFMCommunicate OK [00:33:38]wFMCommunicate request_size=4 [00:33:38]MH_SAM_APDU [00:33:38]CAPDU: 80 0D 03 02 [00:33:38]Write to MH i2c: E2 08 00 54 01 80 0D 03 02 00 00 00 00 D0 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:33:38]Read from MH i2c: E2 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 0B 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 0B 00 54 01 00 34 AE 02 04 B9 75 DF BE 90 00 84 [00:33:38]RAPDU: 34 AE 02 04 B9 75 DF BE 90 00 [00:33:38]wFMCommunicate OK [00:33:38]SAM_PROTO_SignData done [00:33:38]FM_MakeSignedData done [00:33:38]CreateOFDProtocolMessage [00:33:38]wFMCommunicate request_size=4 [00:33:38]MH_SAM_APDU [00:33:38]CAPDU: 80 11 00 00 [00:33:38]Write to MH i2c: E2 08 00 55 01 80 11 00 00 00 00 00 00 D0 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:33:38]Read from MH i2c: E2 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 17 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: E2 17 00 55 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 25 [00:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 90 00 [00:33:38]wFMCommunicate OK [00:33:38]CreateOFDProtocolMessage done [00:33:38]OFDSenderStorePacket 40835 [00:33:38]StoreOFDPacket docnum=40835 [00:33:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0E 01 00 00 3C 61 06 01 36 8A 5A 02 01 00 02 00 FA 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 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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 E0 F2 16 67 0E 04 04 00 C1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 29 AE 09 80 F3 3D 34 AE 02 04 B9 75 DF BE [00:33:38]CheckFolder [00:33:38]dirname=/storage/ofd_packets [00:33:38]CheckFolder done [00:33:38]ProducePacketName [00:33:38]name=ofd_packets/00040835 [00:33:38]NVStorageSaveData ofd_packets/00040835 [00:33:38]File name is /storage/ofd_packets/00040835 [00:33:38]Write 300 bytes [00:33:38]NVStorageSaveData done [00:33:38]OFDSenderStorePacket done [00:33:38]KKMCreateOFDPacket done [00:33:38]NVStorageSaveData kkm_last_timestamp [00:33:38]File name is /storage/kkm_last_timestamp [00:33:38]Write 4 bytes [00:33:38]NVStorageSaveData done [00:33:38]ExternCall_PrintAddStr [00:33:38]wPrintStart [00:33:38]Write to MH i2c: 01 00 00 56 01 57 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 07 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 07 00 56 01 00 00 00 00 00 FF 0F 6C [00:33:38]RasterBufferAndPrint [00:33:38]line Отчет об открытии Ñмены [00:33:38]line ФФД: 1.0 [00:33:38]line ИÐÐ: 02508201610067 [00:33:38]line КаÑÑир: Бакиев Ð. [00:33:38]line ÐдреÑ: 720001, Ñ. Тайгараев, ул. Кадырова б/н, 40.920944, 72.954221 [00:33:38]line МеÑто: ÐЗС â„– 164 "Партнер Ðефть" [00:33:38]line 22.10.2024 00:33 [00:33:38]line Смена: 449 [00:33:38]line РÐМ: 0000000000098148 [00:33:38]line ЗÐМ: 0300000239 [00:33:38]line ФД: 40835 [00:33:38]line ФМ: 0000000000965374 [00:33:38]line ФПД: 45827460494141 [00:33:38]written 0, free lines is 4095 [00:33:38]OFD Sender: Processing packet 40835 [packets to send 4, broken 3] [00:33:38]ProducePacketName [00:33:38]name=ofd_packets/00040835 [00:33:38]OFD Sender: To server: ‡•öpG, [00:33:38]CommunicateWithHost lk.salyk.kg:30040 [00:33:38]ConnectInit lk.salyk.kg [00:33:38]Write to MH i2c: 01 00 00 68 01 69 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 07 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: 01 07 00 68 01 00 00 00 00 00 54 0E D2 [00:33:38]RasterBufferAndPrint [00:33:38]line [00:33:38]line [00:33:38]line [00:33:38]line [00:33:38]line [00:33:38]written 0, free lines is 3675 [00:33:38]Connected sock=11 [00:33:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0E 01 00 00 3C 61 06 01 36 8A 5A 02 01 00 02 00 FA 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 11 00 D0 91 D0 B0 D0 BA D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 52 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A2 D0 B0 D0 B9 D0 B3 D0 B0 D1 80 D0 B0 D0 B5 D0 B2 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 30 2E 39 32 30 39 34 34 2C 20 37 32 2E 39 35 34 32 32 31 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 34 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 E0 F2 16 67 0E 04 04 00 C1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 35 04 06 00 29 AE 09 80 F3 3D 34 AE 02 04 B9 75 DF BE [00:33:38]MH_Cut [00:33:38]Write to MH i2c: D1 01 00 6F 01 01 42 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: D1 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: D1 01 00 [00:33:38]MH_I2C_Read... [00:33:38]Read from MH i2c: D1 01 00 6F 01 00 41 [00:33:38]Write to MH i2c: 01 00 00 70 01 71 [00:33:38]Write i2c OK [00:33:38]MH_I2C_Read... [00:33:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 4F 00 00 00 85 B6 47 00 E5 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 39 36 35 33 37 34 10 04 04 00 83 9F 00 00 F4 03 04 00 BF 98 16 67 B6 04 01 00 00 93 4A 1C 6F 2F CB FA 63 [00:33:38]CommunicateWithHost err = 0 [00:33:38]CheckOFDResponse [00:33:38]1017 (14) - 77093643461234 [00:33:38]1041 (16) - 0000000000965374 [00:33:38]1040 (4) - 40835 [00:33:38]1012 (4) - 21.10.2024 18:09 [00:33:38]1206 (1) - 0 [00:33:38]OFD Sender: Remove packet 40835 [00:33:38]ProducePacketName [00:33:38]name=ofd_packets/00040835 [00:33:38]NVStorageDeleteData [00:33:38]*** Cut start [00:33:38]*** Partial cut [00:33:38]*** CUTSNS_PIN = 1 [00:33:38]*** CUTSNS_PIN = 0 [00:33:39]*** Brake cut motor [00:33:39]OFD Sender: No OFD packet to send [00:33:39]Read from MH i2c: 01 [00:33:39]MH_I2C_Read... [00:33:39]*** Stop cut motor [00:33:39]*** Cut end [00:33:39]Read from MH i2c: 01 07 00 [00:33:39]MH_I2C_Read... [00:33:39]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 FF 0F 86 [00:33:39]process_action open_shift done [00:33:39]requested_data is exist [00:33:39]produce_requested_data [00:33:39]requested_item fd.num is exist - process it [00:33:39]SAM_PROTO_GetFieldsCounters [00:33:39]wFMCommunicate request_size=4 [00:33:39]MH_SAM_APDU [00:33:39]CAPDU: 80 13 00 00 [00:33:39]Write to MH i2c: E2 08 00 71 01 80 13 00 00 00 00 00 00 EE [00:33:39]Write i2c OK [00:33:39]MH_I2C_Read... [00:33:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:33:39]Read from MH i2c: E2 [00:33:39]MH_I2C_Read... [00:33:39]Read from MH i2c: E2 62 00 [00:33:39]MH_I2C_Read... [00:33:39]Read from MH i2c: E2 62 00 71 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 0E 04 04 00 C1 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 FA [00:33:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 38 10 04 04 00 83 9F 00 00 0E 04 04 00 C1 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:33:39]wFMCommunicate OK [00:33:39]SAM_PROTO_GetFieldsCounters done [00:33:39]requested_item shift.num is exist - process it [00:33:39]requested_item shift.opened is exist - process it [00:33:39]req_shift_opened [00:33:39]FM_GetShiftState [00:33:39]SAM_PROTO_GetShiftState [00:33:39]wFMCommunicate request_size=4 [00:33:39]MH_SAM_APDU [00:33:39]CAPDU: 80 13 01 00 [00:33:39]Write to MH i2c: E2 08 00 72 01 80 13 01 00 00 00 00 00 F0 [00:33:39]Write i2c OK [00:33:39]MH_I2C_Read... [00:33:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:39]Read from MH i2c: E2 [00:33:39]MH_I2C_Read... [00:33:39]Read from MH i2c: E2 0E 00 [00:33:39]MH_I2C_Read... [00:33:39]Read from MH i2c: E2 0E 00 72 01 00 09 00 01 E0 F2 16 67 00 00 00 00 90 00 4B [00:33:39]RAPDU: 09 00 01 E0 F2 16 67 00 00 00 00 90 00 [00:33:39]wFMCommunicate OK [00:33:39]SAM_PROTO_GetShiftState done [00:33:39]FM_GetShiftState done [00:33:39]req_shift_opened done [00:33:39]requested_item shift.open_date is exist - process it [00:33:39]req_shift_open_date [00:33:39]req_shift_open_date done [00:33:39]produce_requested_data done [00:33:39]produce_requested_data return {"fd.num":40835,"shift.num":449,"shift.opened":1,"shift.open_date":1729557216} [00:33:39]process_action_free open_shift [00:33:39]json_value_free [00:33:39]json_value_free done [00:33:39]process_json_proto returns [00:33:39]Send response to host [00:33:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":40835,"shift.num":449,"shift.opened":1,"shift.open_date":1729557216}}} [00:33:39]free response buf [00:33:39]execute_script done [00:33:39]execute_script returns [00:33:39]free content buf [00:33:39]Sock 9.Close socket [00:33:39]Sock 9.Thread stoped [00:33:39]accept exits with 7 [00:33:39]New connection [00:33:39]New thread 3066715492 created [00:33:39]Thread 3066858852 joined [00:33:39]Waiting for new connection... [00:33:39] Sock 7.Parse request [00:33:39]Sock 7.Check first char [00:33:39]Sock 7.First char is OK [00:33:39]request: POST /json_proto HTTP/1.0 [00:33:39]Method: POST [00:33:39]URL: /json_proto [00:33:39]Method is POST - this is cgi request [00:33:39]url: /json_proto [00:33:39]query_string will be loaded in cgi processing [00:33:39]execute_cgi json_proto POST (null) [00:33:39]execute_cgi path=json_proto method=POST [00:33:39]POST find Content-Length [00:33:39]Host: 172.17.53.4:8080 [00:33:39]Content-Length: 331 [00:33:39]Content-Type: application/json [00:33:39] [00:33:39]POST finish read [00:33:39]Found Content-Length = 331 [00:33:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:33:39]execute_script... [00:33:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:33:39]POST & json_proto [00:33:39]process_json_proto [00:33:39]json parsed OK: [00:33:39]protocol is kg_v1.0 [00:33:39]action value=get_value [00:33:39]process_action get_value [00:33:39]cmd_get_value [00:33:39]process_action get_value done [00:33:39]requested_data is exist [00:33:39]produce_requested_data [00:33:39]requested_item fm.sale.total is exist - process it [00:33:39]SAM_PROTO_GetFMData [00:33:39]wFMCommunicate request_size=4 [00:33:39]MH_SAM_APDU [00:33:39]CAPDU: 80 13 03 00 [00:33:39]Write to MH i2c: E2 08 00 73 01 80 13 03 00 00 00 00 00 F3 [00:33:39]Write i2c OK [00:33:39]MH_I2C_Read... [00:33:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:33:40]Read from MH i2c: E2 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 73 01 00 BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 CE [00:33:40]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 01 9C 00 00 69 04 A0 00 6F 04 04 00 DE 9B 00 00 B1 04 04 00 C2 20 72 66 70 04 04 00 10 CC 56 4F 72 04 04 00 B2 54 1B 17 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 FE C0 E1 0A 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 B1 14 E8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 23 00 00 00 B1 04 03 00 98 CA 33 70 04 03 00 98 CA 33 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2C 80 05 EF 03 09 00 F6 03 01 00 00 90 00 [00:33:40]wFMCommunicate OK [00:33:40]wFMCommunicate request_size=4 [00:33:40]MH_SAM_APDU [00:33:40]CAPDU: 80 17 00 00 [00:33:40]Write to MH i2c: E2 08 00 74 01 80 17 00 00 00 00 00 00 F5 [00:33:40]Write i2c OK [00:33:40]MH_I2C_Read... [00:33:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:40]Read from MH i2c: E2 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 74 01 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [00:33:40]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 58 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:40]wFMCommunicate OK [00:33:40]wFMCommunicate request_size=4 [00:33:40]MH_SAM_APDU [00:33:40]CAPDU: 80 17 00 00 [00:33:40]Write to MH i2c: E2 08 00 75 01 80 17 00 00 00 00 00 00 F6 [00:33:40]Write i2c OK [00:33:40]MH_I2C_Read... [00:33:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:40]Read from MH i2c: E2 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 [00:33:40]MH_I2C_Read... [00:33:40]Read from MH i2c: E2 FD 00 75 01 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [00:33:41]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:41]wFMCommunicate OK [00:33:41]wFMCommunicate request_size=4 [00:33:41]MH_SAM_APDU [00:33:41]CAPDU: 80 17 00 00 [00:33:41]Write to MH i2c: E2 08 00 76 01 80 17 00 00 00 00 00 00 F7 [00:33:41]Write i2c OK [00:33:41]MH_I2C_Read... [00:33:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:41]Read from MH i2c: E2 [00:33:41]MH_I2C_Read... [00:33:41]Read from MH i2c: E2 FD 00 [00:33:41]MH_I2C_Read... [00:33:41]Read from MH i2c: E2 FD 00 76 01 00 04 F7 03 00 00 EF 03 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 90 00 72 [00:33:41]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:33:41]wFMCommunicate OK [00:33:41]wFMCommunicate request_size=4 [00:33:41]MH_SAM_APDU [00:33:41]CAPDU: 80 17 00 00 [00:33:41]Write to MH i2c: E2 08 00 77 01 80 17 00 00 00 00 00 00 F8 [00:33:41]Write i2c OK [00:33:41]MH_I2C_Read... [00:33:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:33:41]Read from MH i2c: E2 [00:33:41]MH_I2C_Read... [00:33:41]Read from MH i2c: E2 DB 00 [00:33:41]MH_I2C_Read... [00:33:41]Read from MH i2c: E2 DB 00 77 01 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA [00:33:41]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:33:41]wFMCommunicate OK [00:33:41]SAM_PROTO_GetFMData done [00:33:41]requested_item fm.sale_refund.total is exist - process it [00:33:41]requested_item fm.buy.total is exist - process it [00:33:41]requested_item shift.sale.total is exist - process it [00:33:41]SAM_PROTO_GetShiftData [00:33:41]wFMCommunicate request_size=4 [00:33:41]MH_SAM_APDU [00:33:41]CAPDU: 80 13 02 00 [00:33:41]Write to MH i2c: E2 08 00 78 01 80 13 02 00 00 00 00 00 F7 [00:33:41]Write i2c OK [00:33:41]MH_I2C_Read... [00:33:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:33:42]Read from MH i2c: E2 [00:33:42]MH_I2C_Read... [00:33:42]Read from MH i2c: E2 FD 00 [00:33:42]MH_I2C_Read... [00:33:42]Read from MH i2c: E2 FD 00 78 01 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 6A [00:33:42]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:33:42]wFMCommunicate OK [00:33:42]wFMCommunicate request_size=4 [00:33:42]MH_SAM_APDU [00:33:42]CAPDU: 80 17 00 00 [00:33:42]Write to MH i2c: E2 08 00 79 01 80 17 00 00 00 00 00 00 FA [00:33:42]Write i2c OK [00:33:42]MH_I2C_Read... [00:33:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:42]Read from MH i2c: E2 [00:33:42]MH_I2C_Read... [00:33:42]Read from MH i2c: E2 FD 00 [00:33:42]MH_I2C_Read... [00:33:42]Read from MH i2c: E2 FD 00 79 01 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 02 [00:33:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:33:42]wFMCommunicate OK [00:33:42]wFMCommunicate request_size=4 [00:33:42]MH_SAM_APDU [00:33:42]CAPDU: 80 17 00 00 [00:33:42]Write to MH i2c: E2 08 00 7A 01 80 17 00 00 00 00 00 00 FB [00:33:42]Write i2c OK [00:33:42]MH_I2C_Read... [00:33:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:43]Read from MH i2c: E2 [00:33:43]MH_I2C_Read... [00:33:43]Read from MH i2c: E2 FD 00 [00:33:43]MH_I2C_Read... [00:33:43]Read from MH i2c: E2 FD 00 7A 01 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 CD [00:33:43]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:33:43]wFMCommunicate OK [00:33:43]wFMCommunicate request_size=4 [00:33:43]MH_SAM_APDU [00:33:43]CAPDU: 80 17 00 00 [00:33:43]Write to MH i2c: E2 08 00 7B 01 80 17 00 00 00 00 00 00 FC [00:33:43]Write i2c OK [00:33:43]MH_I2C_Read... [00:33:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:43]Read from MH i2c: E2 [00:33:43]MH_I2C_Read... [00:33:43]Read from MH i2c: E2 FD 00 [00:33:43]MH_I2C_Read... [00:33:43]Read from MH i2c: E2 FD 00 7B 01 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 6E [00:33:43]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:33:43]wFMCommunicate OK [00:33:43]wFMCommunicate request_size=4 [00:33:43]MH_SAM_APDU [00:33:43]CAPDU: 80 17 00 00 [00:33:43]Write to MH i2c: E2 08 00 7C 01 80 17 00 00 00 00 00 00 FD [00:33:43]Write i2c OK [00:33:43]MH_I2C_Read... [00:33:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:33:44]Read from MH i2c: E2 [00:33:44]MH_I2C_Read... [00:33:44]Read from MH i2c: E2 BD 00 [00:33:44]MH_I2C_Read... [00:33:44]Read from MH i2c: E2 BD 00 7C 01 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 E3 [00:33:44]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:33:44]wFMCommunicate OK [00:33:44]SAM_PROTO_GetShiftData done [00:33:44]requested_item shift.sale.total_cash is exist - process it [00:33:44]requested_item shift.sale_refund.total is exist - process it [00:33:44]requested_item shift.sale_refund.total_cash is exist - process it [00:33:44]requested_item shift.buy.total is exist - process it [00:33:44]requested_item shift.buy.total_cash is exist - process it [00:33:44]produce_requested_data done [00:33:44]produce_requested_data return {"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.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:33:44]process_action_free get_value [00:33:44]json_value_free [00:33:44]json_value_free done [00:33:44]process_json_proto returns [00:33:44]Send response to host [00:33:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":17187555.22,"fm.sale_refund.total":33942.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:33:44]free response buf [00:33:44]execute_script done [00:33:44]execute_script returns [00:33:44]free content buf [00:33:44]Sock 7.Close socket [00:33:44]Sock 7.Thread stoped [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:00]OFD Sender: No OFD packet to send [00:50:05]OFD Sender: No OFD packet to send [00:50:10]OFD Sender: No OFD packet to send [00:50:15]OFD Sender: No OFD packet to send [00:50:20]OFD Sender: No OFD packet to send [00:50:25]OFD Sender: No OFD packet to send [00:50:30]OFD Sender: No OFD packet to send [00:50:35]OFD Sender: No OFD packet to send [00:50:40]OFD Sender: No OFD packet to send [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:41]OFD Sender: No OFD packet to send [01:11:46]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:26]OFD Sender: No OFD packet to send [01:17:31]OFD Sender: No OFD packet to send [01:17:36]OFD Sender: No OFD packet to send [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:34:02]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:15]ConnectInit Can't connect to host [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:51]OFD Sender: No OFD packet to send [03:06:56]OFD Sender: No OFD packet to send [03:07:01]OFD Sender: No OFD packet to send [03:07:06]OFD Sender: No OFD packet to send [03:07:11]OFD Sender: No OFD packet to send [03:07:16]OFD Sender: No OFD packet to send [03:07:21]OFD Sender: No OFD packet to send [03:07:26]OFD Sender: No OFD packet to send [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:41]OFD Sender: No OFD packet to send [03:08:46]OFD Sender: No OFD packet to send [03:08:51]OFD Sender: No OFD packet to send [03:08:56]OFD Sender: No OFD packet to send [03:09:01]OFD Sender: No OFD packet to send [03:09:06]OFD Sender: No OFD packet to send [03:09:11]OFD Sender: No OFD packet to send [03:09:16]OFD Sender: No OFD packet to send [03:09:21]OFD Sender: No OFD packet to send [03:09:26]OFD Sender: No OFD packet to send [03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16:46]OFD Sender: No OFD packet to send [03:16:51]OFD Sender: No OFD packet to send [03:16:56]OFD Sender: No OFD packet to send [03:17:01]OFD Sender: No OFD packet to send [03:17:06]OFD Sender: No OFD packet to send [03:17:11]OFD Sender: No OFD packet to send [03:17:16]OFD Sender: No OFD packet to send [03:17:21]OFD Sender: No OFD packet to send [03:17:26]OFD Sender: No OFD packet to send [03:17:31]OFD Sender: No OFD packet to send [03:17:36]OFD Sender: No OFD packet to send [03:17:41]OFD Sender: No OFD packet to send [03:17:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:11]OFD Sender: No OFD packet to send [03:18:16]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send