[02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:47]accept exits with 9 [03:31:47]New connection [03:31:47]New thread 3067387236 created [03:31:47]Thread 3067530596 joined [03:31:47]Waiting for new connection... [03:31:47] Sock 9.Parse request [03:31:47]Sock 9.Check first char [03:31:47]Sock 9.First char is OK [03:31:47]request: POST /json_proto HTTP/1.0 [03:31:47]Method: POST [03:31:47]URL: /json_proto [03:31:47]Method is POST - this is cgi request [03:31:47]url: /json_proto [03:31:47]query_string will be loaded in cgi processing [03:31:47]execute_cgi json_proto POST (null) [03:31:47]execute_cgi path=json_proto method=POST [03:31:47]POST find Content-Length [03:31:47]Host: 172.17.38.197:8080 [03:31:47]Content-Length: 727 [03:31:47]Content-Type: application/json [03:31:47] [03:31:47]POST finish read [03:31:47]Found Content-Length = 727 [03:31:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300091", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:31:47]execute_script... [03:31:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300091", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:31:47]POST & json_proto [03:31:47]process_json_proto [03:31:47]json parsed OK: [03:31:47]protocol is kg_v1.0 [03:31:47]action value=close_receipt [03:31:47]process_action close_receipt [03:31:47]cmd_close_receipt [03:31:47]MH_GetDate [03:31:47]Write to MH i2c: F0 00 00 B1 03 A3 [03:31:47]Write i2c OK [03:31:47]MH_I2C_Read... [03:31:47]Read from MH i2c: F0 [03:31:47]MH_I2C_Read... [03:31:47]Read from MH i2c: F0 09 00 [03:31:47]MH_I2C_Read... [03:31:47]Read from MH i2c: F0 09 00 B1 03 00 24 F5 91 66 1E 0D 88 66 D5 [03:31:47]GetLastDocTimeStamp 1720837055 [03:31:47]current date 1720841508 [03:31:47]FM_GetShiftState [03:31:47]SAM_PROTO_GetShiftState [03:31:47]wFMCommunicate request_size=4 [03:31:47]MH_SAM_APDU [03:31:47]CAPDU: 80 13 01 00 [03:31:47]Write to MH i2c: E2 08 00 B2 03 80 13 01 00 00 00 00 00 32 [03:31:47]Write i2c OK [03:31:47]MH_I2C_Read... [03:31:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:31:47]Read from MH i2c: E2 [03:31:47]MH_I2C_Read... [03:31:47]Read from MH i2c: E2 0E 00 [03:31:47]MH_I2C_Read... [03:31:47]Read from MH i2c: E2 0E 00 B2 03 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C9 [03:31:47]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:31:47]wFMCommunicate OK [03:31:47]SAM_PROTO_GetShiftState done [03:31:47]FM_GetShiftState done [03:31:47]opened in 1720829646 [03:31:47]opened+sec_in_day 1720916046 [03:31:47]quantity*price = 14000 [03:31:47]sum+1 = 14001 [03:31:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 8 13.07.2024 03:31 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42963 ФПД: 35304305550105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T033148&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42963&fm=35304305550105&tin=02508201610067®Number=0000000000091176&sum=14000 0 [03:31:48]StoreToDocumentArchive [03:31:48]shift 445 fd 42963 [03:31:48]save to /storage/0445/doc_00042963 [03:31:48]save last doc name /storage/0445/doc_00042963 to /storage/kkm_last_doc_name [03:31:48]save OK [03:31:48]Clear old archive folders... [03:31:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [03:31:48]tlvbuf is 015818B0 [03:31:48]SAM_PROTO_ClearQueue [03:31:48]wFMCommunicate request_size=4 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 09 00 00 [03:31:48]Write to MH i2c: E2 08 00 BF 03 80 09 00 00 00 00 00 00 34 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 BF 03 00 90 00 36 [03:31:48]RAPDU: 90 00 [03:31:48]wFMCommunicate OK [03:31:48]SAM_PROTO_ClearQueue done [03:31:48]KKMCreateOFDPacket [03:31:48]OFDProtocolAddRootSTLVToBuf [03:31:48]FM_MakeSignedData [03:31:48]FM_MakeSignedData [03:31:48]SAM_PROTO_SignData [03:31:48]wFMCommunicate request_size=4 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 0D 01 02 [03:31:48]Write to MH i2c: E2 08 00 C0 03 80 0D 01 02 00 00 00 00 3C [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 C0 03 00 90 00 37 [03:31:48]RAPDU: 90 00 [03:31:48]wFMCommunicate OK [03:31:48]wFMCommunicate request_size=255 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 24 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 [03:31:48]Write to MH i2c: E2 02 01 C1 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 24 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 00 00 A1 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 C1 03 00 90 00 38 [03:31:48]RAPDU: 90 00 [03:31:48]wFMCommunicate OK [03:31:48]wFMCommunicate request_size=34 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D3 A7 00 00 35 04 06 00 20 1B EC 97 63 19 [03:31:48]Write to MH i2c: E2 25 00 C2 03 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D3 A7 00 00 35 04 06 00 20 1B EC 97 63 19 00 00 B8 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 03 00 C2 03 00 90 00 39 [03:31:48]RAPDU: 90 00 [03:31:48]wFMCommunicate OK [03:31:48]wFMCommunicate request_size=4 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 0D 03 02 [03:31:48]Write to MH i2c: E2 08 00 C3 03 80 0D 03 02 00 00 00 00 41 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 0B 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 0B 00 C3 03 00 C4 53 07 ED A8 01 67 5C 90 00 B9 [03:31:48]RAPDU: C4 53 07 ED A8 01 67 5C 90 00 [03:31:48]wFMCommunicate OK [03:31:48]SAM_PROTO_SignData done [03:31:48]FM_MakeSignedData done [03:31:48]CreateOFDProtocolMessage [03:31:48]wFMCommunicate request_size=4 [03:31:48]MH_SAM_APDU [03:31:48]CAPDU: 80 11 00 00 [03:31:48]Write to MH i2c: E2 08 00 C4 03 80 11 00 00 00 00 00 00 41 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:31:48]Read from MH i2c: E2 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 17 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: E2 17 00 C4 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 98 [03:31:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:31:48]wFMCommunicate OK [03:31:48]CreateOFDProtocolMessage done [03:31:48]OFDSenderStorePacket 42963 [03:31:48]StoreOFDPacket docnum=42963 [03:31:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 68 C9 1F 01 9A A2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 24 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D3 A7 00 00 35 04 06 00 20 1B EC 97 63 19 C4 53 07 ED A8 01 67 5C [03:31:48]CheckFolder [03:31:48]dirname=/storage/ofd_packets [03:31:48]CheckFolder done [03:31:48]ProducePacketName [03:31:48]name=ofd_packets/00042963 [03:31:48]NVStorageSaveData ofd_packets/00042963 [03:31:48]File name is /storage/ofd_packets/00042963 [03:31:48]Write 325 bytes [03:31:48]NVStorageSaveData done [03:31:48]OFDSenderStorePacket done [03:31:48]KKMCreateOFDPacket done [03:31:48]NVStorageSaveData kkm_last_timestamp [03:31:48]File name is /storage/kkm_last_timestamp [03:31:48]Write 4 bytes [03:31:48]NVStorageSaveData done [03:31:48]ExternCall_PrintAddStr [03:31:48]wPrintStart [03:31:48]Write to MH i2c: 01 00 00 C5 03 C8 [03:31:48]Write i2c OK [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: 01 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: 01 07 00 [03:31:48]MH_I2C_Read... [03:31:48]Read from MH i2c: 01 07 00 C5 03 00 00 00 00 00 FF 0F DD [03:31:48]RasterBufferAndPrint [03:31:48]line Счет N : (3)300091 [03:31:48]line ИНН: 02508201610067 [03:31:48]line Контрольно-Кассовый Чек [03:31:48]line ПРОДАЖА [03:31:48]line Товар: 48743587 [03:31:48]line Сигареты Winston XStyle Silver [03:31:48]line 1.000 * 140.00 [03:31:48]line = 140.00 [03:31:48]line НДС 12% НСП 1% [03:31:48]line > о реализуемом товаре [03:31:48]line ИТОГО: 140.00 [03:31:48]line НСП 1% : 1.24 [03:31:48]line НДС 12% : 14.87 [03:31:48]line Наличными: 140.00 [03:31:48]line Безнал.: 0.00 [03:31:48]line Место: АЗС № 71 "Партнер Нефть" [03:31:48]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [03:31:48]line СНО: Общий режим [03:31:48]line Чек 8 13.07.2024 03:31 [03:31:48]line Смена: 445 ФФД: 1.0 [03:31:48]line ЗНМ: 0300000153 [03:31:48]line РНМ: 0000000000091176 [03:31:48]line Версия ККМ: 001 [03:31:48]line ФМ: 0000000000874935 [03:31:48]line ФД: 42963 [03:31:48]line ФПД: 35304305550105 [03:31:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T033148&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42963&fm=35304305550105&tin=02508201610067®Number=0000000000091176&sum=14000 [03:31:49]OFD Sender: Processing packet 42963 [packets to send 31, broken 30] [03:31:49]ProducePacketName [03:31:49]name=ofd_packets/00042963 [03:31:49]OFD Sender: To server: pG, [03:31:49]CommunicateWithHost lk.salyk.kg:30040 [03:31:49]ConnectInit lk.salyk.kg [03:31:49]line 0 [03:31:49]written 0, free lines is 4095 [03:31:49]Write to MH i2c: 01 00 00 EE 03 F1 [03:31:49]Write i2c OK [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: 01 [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: 01 07 00 [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: 01 07 00 EE 03 00 00 00 00 00 DF 0C E3 [03:31:49]RasterBufferAndPrint [03:31:49]line [03:31:49]line [03:31:49]line [03:31:49]line [03:31:49]line [03:31:49]written 0, free lines is 3302 [03:31:49]MH_Cut [03:31:49]Write to MH i2c: D1 01 00 F5 03 01 CA [03:31:49]Write i2c OK [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: D1 [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: D1 01 00 [03:31:49]MH_I2C_Read... [03:31:49]Read from MH i2c: D1 01 00 F5 03 00 C9 [03:31:49]Write to MH i2c: 01 00 00 F6 03 F9 [03:31:49]Write i2c OK [03:31:49]MH_I2C_Read... [03:31:50]*** Cut start [03:31:50]*** Partial cut [03:31:50]*** CUTSNS_PIN = 1 [03:31:50]*** CUTSNS_PIN = 0 [03:31:50]*** Brake cut motor [03:31:51]Read from MH i2c: 01 [03:31:51]MH_I2C_Read... [03:31:51]*** Stop cut motor [03:31:51]*** Cut end [03:31:51]Read from MH i2c: 01 07 00 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: 01 07 00 F6 03 00 00 00 00 00 FF 0F 0E [03:31:51]process_action close_receipt done [03:31:51]requested_data is exist [03:31:51]produce_requested_data [03:31:51]requested_item fm.sn is exist - process it [03:31:51]wFMCommunicate request_size=4 [03:31:51]MH_SAM_APDU [03:31:51]CAPDU: 80 11 00 00 [03:31:51]Write to MH i2c: E2 08 00 F7 03 80 11 00 00 00 00 00 00 74 [03:31:51]Write i2c OK [03:31:51]MH_I2C_Read... [03:31:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:31:51]Read from MH i2c: E2 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 17 00 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 17 00 F7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CB [03:31:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:31:51]wFMCommunicate OK [03:31:51]requested_item fd.num is exist - process it [03:31:51]SAM_PROTO_GetFieldsCounters [03:31:51]wFMCommunicate request_size=4 [03:31:51]MH_SAM_APDU [03:31:51]CAPDU: 80 13 00 00 [03:31:51]Write to MH i2c: E2 08 00 F8 03 80 13 00 00 00 00 00 00 77 [03:31:51]Write i2c OK [03:31:51]MH_I2C_Read... [03:31:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:31:51]Read from MH i2c: E2 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 62 00 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 62 00 F8 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D3 A7 00 00 0E 04 04 00 BD 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 EB [03:31:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D3 A7 00 00 0E 04 04 00 BD 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 [03:31:51]wFMCommunicate OK [03:31:51]SAM_PROTO_GetFieldsCounters done [03:31:51]requested_item shift.num is exist - process it [03:31:51]requested_item shift.opened is exist - process it [03:31:51]req_shift_opened [03:31:51]FM_GetShiftState [03:31:51]SAM_PROTO_GetShiftState [03:31:51]wFMCommunicate request_size=4 [03:31:51]MH_SAM_APDU [03:31:51]CAPDU: 80 13 01 00 [03:31:51]Write to MH i2c: E2 08 00 F9 03 80 13 01 00 00 00 00 00 79 [03:31:51]Write i2c OK [03:31:51]MH_I2C_Read... [03:31:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:31:51]Read from MH i2c: E2 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 0E 00 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 0E 00 F9 03 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 10 [03:31:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:31:51]wFMCommunicate OK [03:31:51]SAM_PROTO_GetShiftState done [03:31:51]FM_GetShiftState done [03:31:51]req_shift_opened done [03:31:51]requested_item shift.open_date is exist - process it [03:31:51]req_shift_open_date [03:31:51]req_shift_open_date done [03:31:51]requested_item shift.sale.total is exist - process it [03:31:51]SAM_PROTO_GetShiftData [03:31:51]wFMCommunicate request_size=4 [03:31:51]MH_SAM_APDU [03:31:51]CAPDU: 80 13 02 00 [03:31:51]Write to MH i2c: E2 08 00 FA 03 80 13 02 00 00 00 00 00 7B [03:31:51]Write i2c OK [03:31:51]MH_I2C_Read... [03:31:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:31:51]Read from MH i2c: E2 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 FD 00 [03:31:51]MH_I2C_Read... [03:31:51]Read from MH i2c: E2 FD 00 FA 03 00 AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 D0 C3 02 70 04 03 00 50 BD 01 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2A 4B 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 42 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 30 [03:31:51]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 D0 C3 02 70 04 03 00 50 BD 01 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2A 4B 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 42 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [03:31:51]wFMCommunicate OK [03:31:51]wFMCommunicate request_size=4 [03:31:51]MH_SAM_APDU [03:31:51]CAPDU: 80 17 00 00 [03:31:51]Write to MH i2c: E2 08 00 FB 03 80 17 00 00 00 00 00 00 7E [03:31:51]Write i2c OK [03:31:51]MH_I2C_Read... [03:31:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:31:52]Read from MH i2c: E2 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 FB 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 90 [03:31:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [03:31:52]wFMCommunicate OK [03:31:52]wFMCommunicate request_size=4 [03:31:52]MH_SAM_APDU [03:31:52]CAPDU: 80 17 00 00 [03:31:52]Write to MH i2c: E2 08 00 FC 03 80 17 00 00 00 00 00 00 7F [03:31:52]Write i2c OK [03:31:52]MH_I2C_Read... [03:31:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:31:52]Read from MH i2c: E2 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 FC 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 43 [03:31:52]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [03:31:52]wFMCommunicate OK [03:31:52]wFMCommunicate request_size=4 [03:31:52]MH_SAM_APDU [03:31:52]CAPDU: 80 17 00 00 [03:31:52]Write to MH i2c: E2 08 00 FD 03 80 17 00 00 00 00 00 00 80 [03:31:52]Write i2c OK [03:31:52]MH_I2C_Read... [03:31:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:31:52]Read from MH i2c: E2 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 FD 00 FD 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 90 00 F5 [03:31:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [03:31:52]wFMCommunicate OK [03:31:52]wFMCommunicate request_size=4 [03:31:52]MH_SAM_APDU [03:31:52]CAPDU: 80 17 00 00 [03:31:52]Write to MH i2c: E2 08 00 FE 03 80 17 00 00 00 00 00 00 81 [03:31:52]Write i2c OK [03:31:52]MH_I2C_Read... [03:31:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:31:52]Read from MH i2c: E2 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 CA 00 [03:31:52]MH_I2C_Read... [03:31:52]Read from MH i2c: E2 CA 00 FE 03 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 66 [03:31:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:31:52]wFMCommunicate OK [03:31:52]SAM_PROTO_GetShiftData done [03:31:52]requested_item shift.sale.total_cash is exist - process it [03:31:52]requested_item shift.sale_refund.total is exist - process it [03:31:52]requested_item shift.sale_refund.total_cash is exist - process it [03:31:52]produce_requested_data done [03:31:52]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42963,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":1812.00,"shift.sale.total_cash":1140.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:31:52]process_action_free close_receipt [03:31:52]json_value_free [03:31:52]json_value_free done [03:31:52]process_json_proto returns [03:31:52]Send response to host [03:31:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42963,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":1812.00,"shift.sale.total_cash":1140.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:31:52]free response buf [03:31:52]execute_script done [03:31:52]execute_script returns [03:31:52]free content buf [03:31:52]Sock 9.Close socket [03:31:52]Sock 9.Thread stoped [03:33:10]accept exits with 7 [03:33:10]New connection [03:33:10]New thread 3067530596 created [03:33:10]Thread 3067387236 joined [03:33:10]Waiting for new connection... [03:33:10] Sock 7.Parse request [03:33:10]Sock 7.Check first char [03:33:10]Sock 7.First char is OK [03:33:10]request: POST /json_proto HTTP/1.0 [03:33:10]Method: POST [03:33:10]URL: /json_proto [03:33:10]Method is POST - this is cgi request [03:33:10]url: /json_proto [03:33:10]query_string will be loaded in cgi processing [03:33:10]execute_cgi json_proto POST (null) [03:33:10]execute_cgi path=json_proto method=POST [03:33:10]POST find Content-Length [03:33:10]Host: 172.17.38.197:8080 [03:33:10]Content-Length: 1047 [03:33:10]Content-Type: application/json [03:33:10] [03:33:10]POST finish read [03:33:10]Found Content-Length = 1047 [03:33:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300092", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:33:10]execute_script... [03:33:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300092", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:33:10]POST & json_proto [03:33:10]process_json_proto [03:33:10]json parsed OK: [03:33:10]protocol is kg_v1.0 [03:33:10]action value=close_receipt [03:33:10]process_action close_receipt [03:33:10]cmd_close_receipt [03:33:10]MH_GetDate [03:33:10]Write to MH i2c: F0 00 00 FF 03 F1 [03:33:10]Write i2c OK [03:33:10]MH_I2C_Read... [03:33:10]Read from MH i2c: F0 [03:33:10]MH_I2C_Read... [03:33:10]Read from MH i2c: F0 09 00 [03:33:10]MH_I2C_Read... [03:33:10]Read from MH i2c: F0 09 00 FF 03 00 78 F5 91 66 1E 0D 88 66 77 [03:33:10]GetLastDocTimeStamp 1720841508 [03:33:10]current date 1720841592 [03:33:10]FM_GetShiftState [03:33:10]SAM_PROTO_GetShiftState [03:33:10]wFMCommunicate request_size=4 [03:33:10]MH_SAM_APDU [03:33:10]CAPDU: 80 13 01 00 [03:33:10]Write to MH i2c: E2 08 00 00 04 80 13 01 00 00 00 00 00 81 [03:33:10]Write i2c OK [03:33:10]MH_I2C_Read... [03:33:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:33:10]Read from MH i2c: E2 [03:33:10]MH_I2C_Read... [03:33:10]Read from MH i2c: E2 0E 00 [03:33:10]MH_I2C_Read... [03:33:10]Read from MH i2c: E2 0E 00 00 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 18 [03:33:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:33:10]wFMCommunicate OK [03:33:10]SAM_PROTO_GetShiftState done [03:33:10]FM_GetShiftState done [03:33:10]opened in 1720829646 [03:33:10]opened+sec_in_day 1720916046 [03:33:10]quantity*price = 11000 [03:33:10]sum+1 = 11001 [03:33:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.41 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 9 13.07.2024 03:33 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42964 ФПД: 259014528860078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T033312&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42964&fm=259014528860078&tin=02508201610067®Number=0000000000091176&sum=16000 0 [03:33:11]StoreToDocumentArchive [03:33:11]shift 445 fd 42964 [03:33:11]save to /storage/0445/doc_00042964 [03:33:11]save last doc name /storage/0445/doc_00042964 to /storage/kkm_last_doc_name [03:33:11]save OK [03:33:11]Clear old archive folders... [03:33:11]ProcessDocumentItem done err = 0, tmpTLVsize=395 [03:33:11]tlvbuf is 0157F570 [03:33:11]SAM_PROTO_ClearQueue [03:33:11]wFMCommunicate request_size=4 [03:33:11]MH_SAM_APDU [03:33:11]CAPDU: 80 09 00 00 [03:33:11]Write to MH i2c: E2 08 00 0D 04 80 09 00 00 00 00 00 00 83 [03:33:11]Write i2c OK [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 [03:33:11]MH_I2C_Read... [03:33:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:33:11]Read from MH i2c: E2 03 00 [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 03 00 0D 04 00 90 00 85 [03:33:11]RAPDU: 90 00 [03:33:11]wFMCommunicate OK [03:33:11]SAM_PROTO_ClearQueue done [03:33:11]KKMCreateOFDPacket [03:33:11]OFDProtocolAddRootSTLVToBuf [03:33:11]FM_MakeSignedData [03:33:11]FM_MakeSignedData [03:33:11]SAM_PROTO_SignData [03:33:11]wFMCommunicate request_size=4 [03:33:11]MH_SAM_APDU [03:33:11]CAPDU: 80 0D 01 02 [03:33:11]Write to MH i2c: E2 08 00 0E 04 80 0D 01 02 00 00 00 00 8B [03:33:11]Write i2c OK [03:33:11]MH_I2C_Read... [03:33:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:33:11]Read from MH i2c: E2 [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 03 00 [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 03 00 0E 04 00 90 00 86 [03:33:11]RAPDU: 90 00 [03:33:11]wFMCommunicate OK [03:33:11]wFMCommunicate request_size=255 [03:33:11]MH_SAM_APDU [03:33:11]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 [03:33:11]Write to MH i2c: E2 02 01 0F 04 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 00 00 40 [03:33:11]Write i2c OK [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 [03:33:11]MH_I2C_Read... [03:33:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:33:11]Read from MH i2c: E2 03 00 [03:33:11]MH_I2C_Read... [03:33:11]Read from MH i2c: E2 03 00 0F 04 00 90 00 87 [03:33:11]RAPDU: 90 00 [03:33:11]wFMCommunicate OK [03:33:11]wFMCommunicate request_size=154 [03:33:11]MH_SAM_APDU [03:33:11]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 78 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D4 A7 00 00 35 04 06 00 EB 92 84 FB FF AE [03:33:11]Write to MH i2c: E2 9D 00 10 04 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 78 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D4 A7 00 00 35 04 06 00 EB 92 84 FB FF AE 00 00 35 [03:33:11]Write i2c OK [03:33:11]MH_I2C_Read... [03:33:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:33:12]Read from MH i2c: E2 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 03 00 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 03 00 10 04 00 90 00 88 [03:33:12]RAPDU: 90 00 [03:33:12]wFMCommunicate OK [03:33:12]wFMCommunicate request_size=4 [03:33:12]MH_SAM_APDU [03:33:12]CAPDU: 80 0D 03 02 [03:33:12]Write to MH i2c: E2 08 00 11 04 80 0D 03 02 00 00 00 00 90 [03:33:12]Write i2c OK [03:33:12]MH_I2C_Read... [03:33:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:33:12]Read from MH i2c: E2 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 0B 00 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 0B 00 11 04 00 36 FF EB 85 40 2F 0D DF 90 00 91 [03:33:12]RAPDU: 36 FF EB 85 40 2F 0D DF 90 00 [03:33:12]wFMCommunicate OK [03:33:12]SAM_PROTO_SignData done [03:33:12]FM_MakeSignedData done [03:33:12]CreateOFDProtocolMessage [03:33:12]wFMCommunicate request_size=4 [03:33:12]MH_SAM_APDU [03:33:12]CAPDU: 80 11 00 00 [03:33:12]Write to MH i2c: E2 08 00 12 04 80 11 00 00 00 00 00 00 90 [03:33:12]Write i2c OK [03:33:12]MH_I2C_Read... [03:33:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:33:12]Read from MH i2c: E2 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 17 00 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: E2 17 00 12 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E7 [03:33:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:33:12]wFMCommunicate OK [03:33:12]CreateOFDProtocolMessage done [03:33:12]OFDSenderStorePacket 42964 [03:33:12]StoreOFDPacket docnum=42964 [03:33:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9F 01 00 00 DE 79 97 01 89 08 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 78 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D4 A7 00 00 35 04 06 00 EB 92 84 FB FF AE 36 FF EB 85 40 2F 0D DF [03:33:12]CheckFolder [03:33:12]dirname=/storage/ofd_packets [03:33:12]CheckFolder done [03:33:12]ProducePacketName [03:33:12]name=ofd_packets/00042964 [03:33:12]NVStorageSaveData ofd_packets/00042964 [03:33:12]File name is /storage/ofd_packets/00042964 [03:33:12]Write 445 bytes [03:33:12]NVStorageSaveData done [03:33:12]OFDSenderStorePacket done [03:33:12]KKMCreateOFDPacket done [03:33:12]NVStorageSaveData kkm_last_timestamp [03:33:12]File name is /storage/kkm_last_timestamp [03:33:12]Write 4 bytes [03:33:12]NVStorageSaveData done [03:33:12]ExternCall_PrintAddStr [03:33:12]wPrintStart [03:33:12]Write to MH i2c: 01 00 00 13 04 17 [03:33:12]Write i2c OK [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 07 00 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 07 00 13 04 00 00 00 00 00 FF 0F 2C [03:33:12]RasterBufferAndPrint [03:33:12]line Счет N : (3)300092 [03:33:12]line ИНН: 02508201610067 [03:33:12]line Контрольно-Кассовый Чек [03:33:12]line ПРОДАЖА [03:33:12]line Товар: 4870202521261 [03:33:12]line Напиток MAXI чай 1,2 лесные ягоды [03:33:12]line 1.000 * 110.00 [03:33:12]line = 110.00 [03:33:12]line НДС 12% НСП 1% [03:33:12]line > о реализуемом товаре [03:33:12]line Товар: 4700000160358 [03:33:12]line Вода Легенда 1л [03:33:12]line 1.000 * 50.00 [03:33:12]line = 50.00 [03:33:12]line НДС 12% НСП 1% [03:33:12]line > о реализуемом товаре [03:33:12]line ИТОГО: 160.00 [03:33:12]line НСП 1% : 1.41 [03:33:12]line НДС 12% : 16.99 [03:33:12]line Наличными: 160.00 [03:33:12]line Безнал.: 0.00 [03:33:12]line Место: АЗС № 71 "Партнер Нефть" [03:33:12]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [03:33:12]line СНО: Общий режим [03:33:12]line Чек 9 13.07.2024 03:33 [03:33:12]line Смена: 445 ФФД: 1.0 [03:33:12]line ЗНМ: 0300000153 [03:33:12]line РНМ: 0000000000091176 [03:33:12]line Версия ККМ: 001 [03:33:12]line ФМ: 0000000000874935 [03:33:12]line ФД: 42964 [03:33:12]line ФПД: 259014528860078 [03:33:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T033312&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42964&fm=259014528860078&tin=02508201610067®Number=0000000000091176&sum=16000 [03:33:12]line 0 [03:33:12]written 0, free lines is 4095 [03:33:12]Write to MH i2c: 01 00 00 42 04 46 [03:33:12]Write i2c OK [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 07 00 [03:33:12]MH_I2C_Read... [03:33:12]Read from MH i2c: 01 07 00 42 04 00 00 00 00 00 93 0C EC [03:33:12]RasterBufferAndPrint [03:33:12]line [03:33:12]line [03:33:12]line [03:33:12]line [03:33:12]line [03:33:12]written 0, free lines is 3225 [03:33:13]MH_Cut [03:33:13]Write to MH i2c: D1 01 00 49 04 01 1F [03:33:13]Write i2c OK [03:33:13]MH_I2C_Read... [03:33:13]Read from MH i2c: D1 [03:33:13]MH_I2C_Read... [03:33:13]Read from MH i2c: D1 01 00 [03:33:13]MH_I2C_Read... [03:33:13]Read from MH i2c: D1 01 00 49 04 00 1E [03:33:13]Write to MH i2c: 01 00 00 4A 04 4E [03:33:13]Write i2c OK [03:33:13]MH_I2C_Read... [03:33:13]*** Cut start [03:33:13]*** Partial cut [03:33:13]*** CUTSNS_PIN = 1 [03:33:13]*** CUTSNS_PIN = 0 [03:33:14]*** Brake cut motor [03:33:14]Read from MH i2c: 01 [03:33:14]MH_I2C_Read... [03:33:14]*** Stop cut motor [03:33:14]*** Cut end [03:33:14]Read from MH i2c: 01 07 00 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: 01 07 00 4A 04 00 00 00 00 00 FF 0F 63 [03:33:14]process_action close_receipt done [03:33:14]requested_data is exist [03:33:14]produce_requested_data [03:33:14]requested_item fm.sn is exist - process it [03:33:14]wFMCommunicate request_size=4 [03:33:14]MH_SAM_APDU [03:33:14]CAPDU: 80 11 00 00 [03:33:14]Write to MH i2c: E2 08 00 4B 04 80 11 00 00 00 00 00 00 C9 [03:33:14]Write i2c OK [03:33:14]MH_I2C_Read... [03:33:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:33:14]Read from MH i2c: E2 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 17 00 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 17 00 4B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 20 [03:33:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:33:14]wFMCommunicate OK [03:33:14]requested_item fd.num is exist - process it [03:33:14]SAM_PROTO_GetFieldsCounters [03:33:14]wFMCommunicate request_size=4 [03:33:14]MH_SAM_APDU [03:33:14]CAPDU: 80 13 00 00 [03:33:14]Write to MH i2c: E2 08 00 4C 04 80 13 00 00 00 00 00 00 CC [03:33:14]Write i2c OK [03:33:14]MH_I2C_Read... [03:33:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:33:14]Read from MH i2c: E2 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 62 00 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 62 00 4C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D4 A7 00 00 0E 04 04 00 BD 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 44 [03:33:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D4 A7 00 00 0E 04 04 00 BD 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 [03:33:14]wFMCommunicate OK [03:33:14]SAM_PROTO_GetFieldsCounters done [03:33:14]requested_item shift.num is exist - process it [03:33:14]requested_item shift.opened is exist - process it [03:33:14]req_shift_opened [03:33:14]FM_GetShiftState [03:33:14]SAM_PROTO_GetShiftState [03:33:14]wFMCommunicate request_size=4 [03:33:14]MH_SAM_APDU [03:33:14]CAPDU: 80 13 01 00 [03:33:14]Write to MH i2c: E2 08 00 4D 04 80 13 01 00 00 00 00 00 CE [03:33:14]Write i2c OK [03:33:14]MH_I2C_Read... [03:33:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:33:14]Read from MH i2c: E2 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 0E 00 [03:33:14]MH_I2C_Read... [03:33:14]Read from MH i2c: E2 0E 00 4D 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 65 [03:33:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:33:14]wFMCommunicate OK [03:33:14]SAM_PROTO_GetShiftState done [03:33:14]FM_GetShiftState done [03:33:14]req_shift_opened done [03:33:14]requested_item shift.open_date is exist - process it [03:33:14]req_shift_open_date [03:33:14]req_shift_open_date done [03:33:14]requested_item shift.sale.total is exist - process it [03:33:14]SAM_PROTO_GetShiftData [03:33:14]wFMCommunicate request_size=4 [03:33:14]MH_SAM_APDU [03:33:14]CAPDU: 80 13 02 00 [03:33:14]Write to MH i2c: E2 08 00 4E 04 80 13 02 00 00 00 00 00 D0 [03:33:14]Write i2c OK [03:33:14]MH_I2C_Read... [03:33:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:33:15]Read from MH i2c: E2 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 4E 04 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 50 02 03 70 04 03 00 D0 FB 01 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CD 51 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 CF 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 3B [03:33:15]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 50 02 03 70 04 03 00 D0 FB 01 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CD 51 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 CF 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [03:33:15]wFMCommunicate OK [03:33:15]wFMCommunicate request_size=4 [03:33:15]MH_SAM_APDU [03:33:15]CAPDU: 80 17 00 00 [03:33:15]Write to MH i2c: E2 08 00 4F 04 80 17 00 00 00 00 00 00 D3 [03:33:15]Write i2c OK [03:33:15]MH_I2C_Read... [03:33:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:33:15]Read from MH i2c: E2 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 4F 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 E5 [03:33:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [03:33:15]wFMCommunicate OK [03:33:15]wFMCommunicate request_size=4 [03:33:15]MH_SAM_APDU [03:33:15]CAPDU: 80 17 00 00 [03:33:15]Write to MH i2c: E2 08 00 50 04 80 17 00 00 00 00 00 00 D4 [03:33:15]Write i2c OK [03:33:15]MH_I2C_Read... [03:33:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:33:15]Read from MH i2c: E2 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 [03:33:15]MH_I2C_Read... [03:33:15]Read from MH i2c: E2 FD 00 50 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 98 [03:33:15]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [03:33:15]wFMCommunicate OK [03:33:15]wFMCommunicate request_size=4 [03:33:15]MH_SAM_APDU [03:33:15]CAPDU: 80 17 00 00 [03:33:15]Write to MH i2c: E2 08 00 51 04 80 17 00 00 00 00 00 00 D5 [03:33:15]Write i2c OK [03:33:15]MH_I2C_Read... [03:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:33:16]Read from MH i2c: E2 [03:33:16]MH_I2C_Read... [03:33:16]Read from MH i2c: E2 FD 00 [03:33:16]MH_I2C_Read... [03:33:16]Read from MH i2c: E2 FD 00 51 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 4A [03:33:16]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [03:33:16]wFMCommunicate OK [03:33:16]wFMCommunicate request_size=4 [03:33:16]MH_SAM_APDU [03:33:16]CAPDU: 80 17 00 00 [03:33:16]Write to MH i2c: E2 08 00 52 04 80 17 00 00 00 00 00 00 D6 [03:33:16]Write i2c OK [03:33:16]MH_I2C_Read... [03:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:33:16]Read from MH i2c: E2 [03:33:16]MH_I2C_Read... [03:33:16]Read from MH i2c: E2 CA 00 [03:33:16]MH_I2C_Read... [03:33:16]Read from MH i2c: E2 CA 00 52 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BB [03:33:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:33:16]wFMCommunicate OK [03:33:16]SAM_PROTO_GetShiftData done [03:33:16]requested_item shift.sale.total_cash is exist - process it [03:33:16]requested_item shift.sale_refund.total is exist - process it [03:33:16]requested_item shift.sale_refund.total_cash is exist - process it [03:33:16]produce_requested_data done [03:33:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42964,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":1972.00,"shift.sale.total_cash":1300.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:33:16]process_action_free close_receipt [03:33:16]json_value_free [03:33:16]json_value_free done [03:33:16]process_json_proto returns [03:33:16]Send response to host [03:33:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42964,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":1972.00,"shift.sale.total_cash":1300.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:33:16]free response buf [03:33:16]execute_script done [03:33:16]execute_script returns [03:33:16]free content buf [03:33:16]Sock 7.Close socket [03:33:16]Sock 7.Thread stoped [03:34:00]ConnectInit Can't connect to host [03:34:00]CommunicateWithHost connect error [03:34:00]CommunicateWithHost err = -1 [03:34:00]OFD Sender: Server communicate error [03:34:00]OFD Sender: Processing packet 42963 [packets to send 32, broken 30] [03:34:00]ProducePacketName [03:34:00]name=ofd_packets/00042963 [03:34:00]OFD Sender: To server: pG, [03:34:00]CommunicateWithHost lk.salyk.kg:30040 [03:34:00]ConnectInit lk.salyk.kg [03:34:00]Connected sock=7 [03:34:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 68 C9 1F 01 9A A2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 24 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D3 A7 00 00 35 04 06 00 20 1B EC 97 63 19 C4 53 07 ED A8 01 67 5C [03:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 70 9C 47 00 AB D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D3 A7 00 00 F4 03 04 00 A3 A1 91 66 B6 04 01 00 00 EC F3 3E E7 0C 7B 7B 3E [03:34:00]CommunicateWithHost err = 0 [03:34:00]CheckOFDResponse [03:34:00]1017 (14) - 77093643461234 [03:34:00]1041 (16) - 0000000000874935 [03:34:00]1040 (4) - 42963 [03:34:00]1012 (4) - 12.07.2024 21:35 [03:34:00]1206 (1) - 0 [03:34:00]OFD Sender: Remove packet 42963 [03:34:00]ProducePacketName [03:34:00]name=ofd_packets/00042963 [03:34:00]NVStorageDeleteData [03:34:01]OFD Sender: Processing packet 42964 [packets to send 31, broken 30] [03:34:01]ProducePacketName [03:34:01]name=ofd_packets/00042964 [03:34:01]OFD Sender: To server: pG, [03:34:01]CommunicateWithHost lk.salyk.kg:30040 [03:34:01]ConnectInit lk.salyk.kg [03:34:01]Connected sock=7 [03:34:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9F 01 00 00 DE 79 97 01 89 08 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 78 F5 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D4 A7 00 00 35 04 06 00 EB 92 84 FB FF AE 36 FF EB 85 40 2F 0D DF [03:34:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 9A F8 47 00 14 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 38 37 34 39 33 35 10 04 04 00 D4 A7 00 00 F4 03 04 00 A4 A1 91 66 B6 04 01 00 00 8C 86 E2 B8 4F BE 21 77 [03:34:01]CommunicateWithHost err = 0 [03:34:01]CheckOFDResponse [03:34:01]1017 (14) - 77093643461234 [03:34:01]1041 (16) - 0000000000874935 [03:34:01]1040 (4) - 42964 [03:34:01]1012 (4) - 12.07.2024 21:35 [03:34:01]1206 (1) - 0 [03:34:01]OFD Sender: Remove packet 42964 [03:34:01]ProducePacketName [03:34:01]name=ofd_packets/00042964 [03:34:01]NVStorageDeleteData [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]OFD Sender: No OFD packet to send [03:39:32]OFD Sender: No OFD packet to send [03:39:37]OFD Sender: No OFD packet to send [03:39:42]OFD Sender: No OFD packet to send [03:39:47]OFD Sender: No OFD packet to send [03:39:52]OFD Sender: No OFD packet to send [03:39:57]OFD Sender: No OFD packet to send [03:40:02]OFD Sender: No OFD packet to send [03:40:07]OFD Sender: No OFD packet to send [03:40:12]OFD Sender: No OFD packet to send [03:40:17]OFD Sender: No OFD packet to send [03:40:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:15]accept exits with 9 [03:50:15]New connection [03:50:15]New thread 3067387236 created [03:50:15]Thread 3067530596 joined [03:50:15]Waiting for new connection... [03:50:15] Sock 9.Parse request [03:50:15]Sock 9.Check first char [03:50:15]Sock 9.First char is OK [03:50:15]request: POST /json_proto HTTP/1.0 [03:50:15]Method: POST [03:50:15]URL: /json_proto [03:50:15]Method is POST - this is cgi request [03:50:15]url: /json_proto [03:50:15]query_string will be loaded in cgi processing [03:50:15]execute_cgi json_proto POST (null) [03:50:15]execute_cgi path=json_proto method=POST [03:50:15]POST find Content-Length [03:50:15]Host: 172.17.38.197:8080 [03:50:15]Content-Length: 725 [03:50:15]Content-Type: application/json [03:50:15] [03:50:15]POST finish read [03:50:15]Found Content-Length = 725 [03:50:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300093", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:50:15]execute_script... [03:50:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300093", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:50:15]POST & json_proto [03:50:15]process_json_proto [03:50:15]json parsed OK: [03:50:15]protocol is kg_v1.0 [03:50:15]action value=close_receipt [03:50:15]process_action close_receipt [03:50:15]cmd_close_receipt [03:50:15]MH_GetDate [03:50:15]Write to MH i2c: F0 00 00 53 04 46 [03:50:15]Write i2c OK [03:50:15]MH_I2C_Read... [03:50:15]Read from MH i2c: F0 [03:50:15]MH_I2C_Read... [03:50:15]Read from MH i2c: F0 09 00 [03:50:15]MH_I2C_Read... [03:50:15]Read from MH i2c: F0 09 00 53 04 00 78 F9 91 66 1E 0D 88 66 D0 [03:50:15]GetLastDocTimeStamp 1720841592 [03:50:15]current date 1720842616 [03:50:15]FM_GetShiftState [03:50:15]SAM_PROTO_GetShiftState [03:50:15]wFMCommunicate request_size=4 [03:50:15]MH_SAM_APDU [03:50:15]CAPDU: 80 13 01 00 [03:50:15]Write to MH i2c: E2 08 00 54 04 80 13 01 00 00 00 00 00 D5 [03:50:15]Write i2c OK [03:50:15]MH_I2C_Read... [03:50:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:50:15]Read from MH i2c: E2 [03:50:15]MH_I2C_Read... [03:50:15]Read from MH i2c: E2 0E 00 [03:50:15]MH_I2C_Read... [03:50:15]Read from MH i2c: E2 0E 00 54 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6C [03:50:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:50:15]wFMCommunicate OK [03:50:15]SAM_PROTO_GetShiftState done [03:50:15]FM_GetShiftState done [03:50:15]opened in 1720829646 [03:50:15]opened+sec_in_day 1720916046 [03:50:15]quantity*price = 14000 [03:50:15]sum+1 = 14001 [03:50:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 10 13.07.2024 03:50 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42965 ФПД: 236799615874548 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T035017&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42965&fm=236799615874548&tin=02508201610067®Number=0000000000091176&sum=14000 0 [03:50:16]StoreToDocumentArchive [03:50:16]shift 445 fd 42965 [03:50:16]save to /storage/0445/doc_00042965 [03:50:16]save last doc name /storage/0445/doc_00042965 to /storage/kkm_last_doc_name [03:50:16]save OK [03:50:16]Clear old archive folders... [03:50:16]ProcessDocumentItem done err = 0, tmpTLVsize=273 [03:50:16]tlvbuf is 015805E0 [03:50:16]SAM_PROTO_ClearQueue [03:50:16]wFMCommunicate request_size=4 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 09 00 00 [03:50:16]Write to MH i2c: E2 08 00 61 04 80 09 00 00 00 00 00 00 D7 [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 61 04 00 90 00 D9 [03:50:16]RAPDU: 90 00 [03:50:16]wFMCommunicate OK [03:50:16]SAM_PROTO_ClearQueue done [03:50:16]KKMCreateOFDPacket [03:50:16]OFDProtocolAddRootSTLVToBuf [03:50:16]FM_MakeSignedData [03:50:16]FM_MakeSignedData [03:50:16]SAM_PROTO_SignData [03:50:16]wFMCommunicate request_size=4 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 0D 01 02 [03:50:16]Write to MH i2c: E2 08 00 62 04 80 0D 01 02 00 00 00 00 DF [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 62 04 00 90 00 DA [03:50:16]RAPDU: 90 00 [03:50:16]wFMCommunicate OK [03:50:16]wFMCommunicate request_size=255 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 79 F9 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [03:50:16]Write to MH i2c: E2 02 01 63 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 79 F9 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 F0 [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 63 04 00 90 00 DB [03:50:16]RAPDU: 90 00 [03:50:16]wFMCommunicate OK [03:50:16]wFMCommunicate request_size=32 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 D5 A7 00 00 35 04 06 00 D7 5E 34 FC B5 F4 [03:50:16]Write to MH i2c: E2 23 00 64 04 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 D5 A7 00 00 35 04 06 00 D7 5E 34 FC B5 F4 00 00 CD [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 03 00 64 04 00 90 00 DC [03:50:16]RAPDU: 90 00 [03:50:16]wFMCommunicate OK [03:50:16]wFMCommunicate request_size=4 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 0D 03 02 [03:50:16]Write to MH i2c: E2 08 00 65 04 80 0D 03 02 00 00 00 00 E4 [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 0B 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 0B 00 65 04 00 08 FE 05 FB 81 D1 C0 03 90 00 00 [03:50:16]RAPDU: 08 FE 05 FB 81 D1 C0 03 90 00 [03:50:16]wFMCommunicate OK [03:50:16]SAM_PROTO_SignData done [03:50:16]FM_MakeSignedData done [03:50:16]CreateOFDProtocolMessage [03:50:16]wFMCommunicate request_size=4 [03:50:16]MH_SAM_APDU [03:50:16]CAPDU: 80 11 00 00 [03:50:16]Write to MH i2c: E2 08 00 66 04 80 11 00 00 00 00 00 00 E4 [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:50:16]Read from MH i2c: E2 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 17 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: E2 17 00 66 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3B [03:50:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:50:16]wFMCommunicate OK [03:50:16]CreateOFDProtocolMessage done [03:50:16]OFDSenderStorePacket 42965 [03:50:16]StoreOFDPacket docnum=42965 [03:50:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 6E 57 1D 01 6C 43 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 79 F9 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D5 A7 00 00 35 04 06 00 D7 5E 34 FC B5 F4 08 FE 05 FB 81 D1 C0 03 [03:50:16]CheckFolder [03:50:16]dirname=/storage/ofd_packets [03:50:16]CheckFolder done [03:50:16]ProducePacketName [03:50:16]name=ofd_packets/00042965 [03:50:16]NVStorageSaveData ofd_packets/00042965 [03:50:16]File name is /storage/ofd_packets/00042965 [03:50:16]Write 323 bytes [03:50:16]NVStorageSaveData done [03:50:16]OFDSenderStorePacket done [03:50:16]KKMCreateOFDPacket done [03:50:16]NVStorageSaveData kkm_last_timestamp [03:50:16]File name is /storage/kkm_last_timestamp [03:50:16]Write 4 bytes [03:50:16]NVStorageSaveData done [03:50:16]ExternCall_PrintAddStr [03:50:16]wPrintStart [03:50:16]Write to MH i2c: 01 00 00 67 04 6B [03:50:16]Write i2c OK [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: 01 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: 01 07 00 [03:50:16]MH_I2C_Read... [03:50:16]Read from MH i2c: 01 07 00 67 04 00 00 00 00 00 FF 0F 80 [03:50:16]RasterBufferAndPrint [03:50:16]line Счет N : (3)300093 [03:50:16]line ИНН: 02508201610067 [03:50:16]line Контрольно-Кассовый Чек [03:50:16]line ПРОДАЖА [03:50:16]line Товар: 48747059 [03:50:16]line Сигареты Winston Legend Blue [03:50:16]line 1.000 * 140.00 [03:50:16]line = 140.00 [03:50:16]line НДС 12% НСП 1% [03:50:16]line > о реализуемом товаре [03:50:16]line ИТОГО: 140.00 [03:50:16]line НСП 1% : 1.24 [03:50:16]line НДС 12% : 14.87 [03:50:16]line Наличными: 140.00 [03:50:16]line Безнал.: 0.00 [03:50:16]line Место: АЗС № 71 "Партнер Нефть" [03:50:16]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [03:50:16]line СНО: Общий режим [03:50:16]line Чек 10 13.07.2024 03:50 [03:50:16]line Смена: 445 ФФД: 1.0 [03:50:16]line ЗНМ: 0300000153 [03:50:16]line РНМ: 0000000000091176 [03:50:16]line Версия ККМ: 001 [03:50:16]line ФМ: 0000000000874935 [03:50:16]line ФД: 42965 [03:50:16]line ФПД: 236799615874548 [03:50:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T035017&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42965&fm=236799615874548&tin=02508201610067®Number=0000000000091176&sum=14000 [03:50:17]line 0 [03:50:17]OFD Sender: Processing packet 42965 [packets to send 31, broken 30] [03:50:17]ProducePacketName [03:50:17]name=ofd_packets/00042965 [03:50:17]OFD Sender: To server: pG, [03:50:17]CommunicateWithHost lk.salyk.kg:30040 [03:50:17]ConnectInit lk.salyk.kg [03:50:17]written 0, free lines is 4095 [03:50:17]Connected sock=10 [03:50:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 6E 57 1D 01 6C 43 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 79 F9 91 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D5 A7 00 00 35 04 06 00 D7 5E 34 FC B5 F4 08 FE 05 FB 81 D1 C0 03 [03:50:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 85 B7 47 00 8A E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D5 A7 00 00 F4 03 04 00 74 A5 91 66 B6 04 01 00 00 56 3E 99 D8 D8 66 AE CA [03:50:17]CommunicateWithHost err = 0 [03:50:17]CheckOFDResponse [03:50:17]1017 (14) - 77093643461234 [03:50:17]1041 (16) - 0000000000874935 [03:50:17]1040 (4) - 42965 [03:50:17]1012 (4) - 12.07.2024 21:51 [03:50:17]1206 (1) - 0 [03:50:17]OFD Sender: Remove packet 42965 [03:50:17]ProducePacketName [03:50:17]name=ofd_packets/00042965 [03:50:17]NVStorageDeleteData [03:50:17]Write to MH i2c: 01 00 00 90 04 94 [03:50:17]Write i2c OK [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: 01 [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: 01 07 00 [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: 01 07 00 90 04 00 00 00 00 00 D7 0C 7E [03:50:17]RasterBufferAndPrint [03:50:17]line [03:50:17]line [03:50:17]line [03:50:17]line [03:50:17]line [03:50:17]written 0, free lines is 3293 [03:50:17]MH_Cut [03:50:17]Write to MH i2c: D1 01 00 97 04 01 6D [03:50:17]Write i2c OK [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: D1 [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: D1 01 00 [03:50:17]MH_I2C_Read... [03:50:17]Read from MH i2c: D1 01 00 97 04 00 6C [03:50:17]Write to MH i2c: 01 00 00 98 04 9C [03:50:17]Write i2c OK [03:50:17]MH_I2C_Read... [03:50:18]OFD Sender: No OFD packet to send [03:50:18]*** Cut start [03:50:18]*** Partial cut [03:50:18]*** CUTSNS_PIN = 1 [03:50:18]*** CUTSNS_PIN = 0 [03:50:18]*** Brake cut motor [03:50:19]Read from MH i2c: 01 [03:50:19]MH_I2C_Read... [03:50:19]*** Stop cut motor [03:50:19]*** Cut end [03:50:19]Read from MH i2c: 01 07 00 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: 01 07 00 98 04 00 00 00 00 00 FF 0F B1 [03:50:19]process_action close_receipt done [03:50:19]requested_data is exist [03:50:19]produce_requested_data [03:50:19]requested_item fm.sn is exist - process it [03:50:19]wFMCommunicate request_size=4 [03:50:19]MH_SAM_APDU [03:50:19]CAPDU: 80 11 00 00 [03:50:19]Write to MH i2c: E2 08 00 99 04 80 11 00 00 00 00 00 00 17 [03:50:19]Write i2c OK [03:50:19]MH_I2C_Read... [03:50:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:50:19]Read from MH i2c: E2 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 17 00 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 17 00 99 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6E [03:50:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [03:50:19]wFMCommunicate OK [03:50:19]requested_item fd.num is exist - process it [03:50:19]SAM_PROTO_GetFieldsCounters [03:50:19]wFMCommunicate request_size=4 [03:50:19]MH_SAM_APDU [03:50:19]CAPDU: 80 13 00 00 [03:50:19]Write to MH i2c: E2 08 00 9A 04 80 13 00 00 00 00 00 00 1A [03:50:19]Write i2c OK [03:50:19]MH_I2C_Read... [03:50:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:50:19]Read from MH i2c: E2 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 62 00 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 62 00 9A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D5 A7 00 00 0E 04 04 00 BD 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 96 [03:50:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D5 A7 00 00 0E 04 04 00 BD 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 [03:50:19]wFMCommunicate OK [03:50:19]SAM_PROTO_GetFieldsCounters done [03:50:19]requested_item shift.num is exist - process it [03:50:19]requested_item shift.opened is exist - process it [03:50:19]req_shift_opened [03:50:19]FM_GetShiftState [03:50:19]SAM_PROTO_GetShiftState [03:50:19]wFMCommunicate request_size=4 [03:50:19]MH_SAM_APDU [03:50:19]CAPDU: 80 13 01 00 [03:50:19]Write to MH i2c: E2 08 00 9B 04 80 13 01 00 00 00 00 00 1C [03:50:19]Write i2c OK [03:50:19]MH_I2C_Read... [03:50:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:50:19]Read from MH i2c: E2 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 0E 00 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 0E 00 9B 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B3 [03:50:19]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [03:50:19]wFMCommunicate OK [03:50:19]SAM_PROTO_GetShiftState done [03:50:19]FM_GetShiftState done [03:50:19]req_shift_opened done [03:50:19]requested_item shift.open_date is exist - process it [03:50:19]req_shift_open_date [03:50:19]req_shift_open_date done [03:50:19]requested_item shift.sale.total is exist - process it [03:50:19]SAM_PROTO_GetShiftData [03:50:19]wFMCommunicate request_size=4 [03:50:19]MH_SAM_APDU [03:50:19]CAPDU: 80 13 02 00 [03:50:19]Write to MH i2c: E2 08 00 9C 04 80 13 02 00 00 00 00 00 1E [03:50:19]Write i2c OK [03:50:19]MH_I2C_Read... [03:50:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:50:19]Read from MH i2c: E2 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 FD 00 [03:50:19]MH_I2C_Read... [03:50:19]Read from MH i2c: E2 FD 00 9C 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 00 39 03 70 04 03 00 80 32 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 9C 57 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 4B 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 AC [03:50:19]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 00 39 03 70 04 03 00 80 32 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 9C 57 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 4B 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [03:50:19]wFMCommunicate OK [03:50:19]wFMCommunicate request_size=4 [03:50:19]MH_SAM_APDU [03:50:19]CAPDU: 80 17 00 00 [03:50:19]Write to MH i2c: E2 08 00 9D 04 80 17 00 00 00 00 00 00 21 [03:50:19]Write i2c OK [03:50:19]MH_I2C_Read... [03:50:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:50:20]Read from MH i2c: E2 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 9D 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 33 [03:50:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [03:50:20]wFMCommunicate OK [03:50:20]wFMCommunicate request_size=4 [03:50:20]MH_SAM_APDU [03:50:20]CAPDU: 80 17 00 00 [03:50:20]Write to MH i2c: E2 08 00 9E 04 80 17 00 00 00 00 00 00 22 [03:50:20]Write i2c OK [03:50:20]MH_I2C_Read... [03:50:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:50:20]Read from MH i2c: E2 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 9E 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 E6 [03:50:20]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [03:50:20]wFMCommunicate OK [03:50:20]wFMCommunicate request_size=4 [03:50:20]MH_SAM_APDU [03:50:20]CAPDU: 80 17 00 00 [03:50:20]Write to MH i2c: E2 08 00 9F 04 80 17 00 00 00 00 00 00 23 [03:50:20]Write i2c OK [03:50:20]MH_I2C_Read... [03:50:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:50:20]Read from MH i2c: E2 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 FD 00 9F 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 98 [03:50:20]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [03:50:20]wFMCommunicate OK [03:50:20]wFMCommunicate request_size=4 [03:50:20]MH_SAM_APDU [03:50:20]CAPDU: 80 17 00 00 [03:50:20]Write to MH i2c: E2 08 00 A0 04 80 17 00 00 00 00 00 00 24 [03:50:20]Write i2c OK [03:50:20]MH_I2C_Read... [03:50:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:50:20]Read from MH i2c: E2 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 CA 00 [03:50:20]MH_I2C_Read... [03:50:20]Read from MH i2c: E2 CA 00 A0 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 09 [03:50:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:50:21]wFMCommunicate OK [03:50:21]SAM_PROTO_GetShiftData done [03:50:21]requested_item shift.sale.total_cash is exist - process it [03:50:21]requested_item shift.sale_refund.total is exist - process it [03:50:21]requested_item shift.sale_refund.total_cash is exist - process it [03:50:21]produce_requested_data done [03:50:21]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42965,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2112.00,"shift.sale.total_cash":1440.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:50:21]process_action_free close_receipt [03:50:21]json_value_free [03:50:21]json_value_free done [03:50:21]process_json_proto returns [03:50:21]Send response to host [03:50:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42965,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2112.00,"shift.sale.total_cash":1440.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:50:21]free response buf [03:50:21]execute_script done [03:50:21]execute_script returns [03:50:21]free content buf [03:50:21]Sock 9.Close socket [03:50:21]Sock 9.Thread stoped [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:37]accept exits with 7 [05:11:37]New connection [05:11:37]New thread 3067530596 created [05:11:37]Thread 3067387236 joined [05:11:37]Waiting for new connection... [05:11:37] Sock 7.Parse request [05:11:37]Sock 7.Check first char [05:11:37]Sock 7.First char is OK [05:11:37]request: POST /json_proto HTTP/1.0 [05:11:37]Method: POST [05:11:37]URL: /json_proto [05:11:37]Method is POST - this is cgi request [05:11:37]url: /json_proto [05:11:37]query_string will be loaded in cgi processing [05:11:37]execute_cgi json_proto POST (null) [05:11:37]execute_cgi path=json_proto method=POST [05:11:37]POST find Content-Length [05:11:37]Host: 172.17.38.197:8080 [05:11:37]Content-Length: 729 [05:11:37]Content-Type: application/json [05:11:37] [05:11:37]POST finish read [05:11:37]Found Content-Length = 729 [05:11:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300094", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:11:37]execute_script... [05:11:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300094", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:11:37]POST & json_proto [05:11:37]process_json_proto [05:11:37]json parsed OK: [05:11:37]protocol is kg_v1.0 [05:11:37]action value=close_receipt [05:11:37]process_action close_receipt [05:11:37]cmd_close_receipt [05:11:37]MH_GetDate [05:11:37]Write to MH i2c: F0 00 00 A1 04 94 [05:11:37]Write i2c OK [05:11:37]MH_I2C_Read... [05:11:37]Read from MH i2c: F0 [05:11:37]MH_I2C_Read... [05:11:37]Read from MH i2c: F0 09 00 [05:11:37]MH_I2C_Read... [05:11:37]Read from MH i2c: F0 09 00 A1 04 00 8B 0C 92 66 1E 0D 88 66 45 [05:11:37]GetLastDocTimeStamp 1720842617 [05:11:37]current date 1720847499 [05:11:37]FM_GetShiftState [05:11:37]SAM_PROTO_GetShiftState [05:11:37]wFMCommunicate request_size=4 [05:11:37]MH_SAM_APDU [05:11:37]CAPDU: 80 13 01 00 [05:11:37]Write to MH i2c: E2 08 00 A2 04 80 13 01 00 00 00 00 00 23 [05:11:37]Write i2c OK [05:11:37]MH_I2C_Read... [05:11:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:11:37]Read from MH i2c: E2 [05:11:37]MH_I2C_Read... [05:11:37]Read from MH i2c: E2 0E 00 [05:11:37]MH_I2C_Read... [05:11:37]Read from MH i2c: E2 0E 00 A2 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BA [05:11:37]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [05:11:37]wFMCommunicate OK [05:11:37]SAM_PROTO_GetShiftState done [05:11:37]FM_GetShiftState done [05:11:37]opened in 1720829646 [05:11:37]opened+sec_in_day 1720916046 [05:11:37]quantity*price = 15000 [05:11:37]sum+1 = 15001 [05:11:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 11 13.07.2024 05:11 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42966 ФПД: 113720431950401 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T051139&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42966&fm=113720431950401&tin=02508201610067®Number=0000000000091176&sum=15000 0 [05:11:39]StoreToDocumentArchive [05:11:39]shift 445 fd 42966 [05:11:39]save to /storage/0445/doc_00042966 [05:11:39]save last doc name /storage/0445/doc_00042966 to /storage/kkm_last_doc_name [05:11:39]save OK [05:11:39]Clear old archive folders... [05:11:39]ProcessDocumentItem done err = 0, tmpTLVsize=277 [05:11:39]tlvbuf is 015B22E0 [05:11:39]SAM_PROTO_ClearQueue [05:11:39]wFMCommunicate request_size=4 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 09 00 00 [05:11:39]Write to MH i2c: E2 08 00 AF 04 80 09 00 00 00 00 00 00 25 [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 AF 04 00 90 00 27 [05:11:39]RAPDU: 90 00 [05:11:39]wFMCommunicate OK [05:11:39]SAM_PROTO_ClearQueue done [05:11:39]KKMCreateOFDPacket [05:11:39]OFDProtocolAddRootSTLVToBuf [05:11:39]FM_MakeSignedData [05:11:39]FM_MakeSignedData [05:11:39]SAM_PROTO_SignData [05:11:39]wFMCommunicate request_size=4 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 0D 01 02 [05:11:39]Write to MH i2c: E2 08 00 B0 04 80 0D 01 02 00 00 00 00 2D [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 B0 04 00 90 00 28 [05:11:39]RAPDU: 90 00 [05:11:39]wFMCommunicate OK [05:11:39]wFMCommunicate request_size=255 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 8B 0C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 [05:11:39]Write to MH i2c: E2 02 01 B1 04 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 8B 0C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 00 00 6C [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 B1 04 00 90 00 29 [05:11:39]RAPDU: 90 00 [05:11:39]wFMCommunicate OK [05:11:39]wFMCommunicate request_size=36 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D6 A7 00 00 35 04 06 00 67 6D 99 F3 3A 41 [05:11:39]Write to MH i2c: E2 27 00 B2 04 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D6 A7 00 00 35 04 06 00 67 6D 99 F3 3A 41 00 00 B1 [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 03 00 B2 04 00 90 00 2A [05:11:39]RAPDU: 90 00 [05:11:39]wFMCommunicate OK [05:11:39]wFMCommunicate request_size=4 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 0D 03 02 [05:11:39]Write to MH i2c: E2 08 00 B3 04 80 0D 03 02 00 00 00 00 32 [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 0B 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 0B 00 B3 04 00 98 D1 68 63 C1 8C 15 B4 90 00 7D [05:11:39]RAPDU: 98 D1 68 63 C1 8C 15 B4 90 00 [05:11:39]wFMCommunicate OK [05:11:39]SAM_PROTO_SignData done [05:11:39]FM_MakeSignedData done [05:11:39]CreateOFDProtocolMessage [05:11:39]wFMCommunicate request_size=4 [05:11:39]MH_SAM_APDU [05:11:39]CAPDU: 80 11 00 00 [05:11:39]Write to MH i2c: E2 08 00 B4 04 80 11 00 00 00 00 00 00 32 [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:11:39]Read from MH i2c: E2 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 17 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: E2 17 00 B4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 89 [05:11:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [05:11:39]wFMCommunicate OK [05:11:39]CreateOFDProtocolMessage done [05:11:39]OFDSenderStorePacket 42966 [05:11:39]StoreOFDPacket docnum=42966 [05:11:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 01 00 00 51 9D 21 01 5C 33 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 8B 0C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D6 A7 00 00 35 04 06 00 67 6D 99 F3 3A 41 98 D1 68 63 C1 8C 15 B4 [05:11:39]CheckFolder [05:11:39]dirname=/storage/ofd_packets [05:11:39]CheckFolder done [05:11:39]ProducePacketName [05:11:39]name=ofd_packets/00042966 [05:11:39]NVStorageSaveData ofd_packets/00042966 [05:11:39]File name is /storage/ofd_packets/00042966 [05:11:39]Write 327 bytes [05:11:39]NVStorageSaveData done [05:11:39]OFDSenderStorePacket done [05:11:39]KKMCreateOFDPacket done [05:11:39]NVStorageSaveData kkm_last_timestamp [05:11:39]File name is /storage/kkm_last_timestamp [05:11:39]Write 4 bytes [05:11:39]NVStorageSaveData done [05:11:39]ExternCall_PrintAddStr [05:11:39]wPrintStart [05:11:39]Write to MH i2c: 01 00 00 B5 04 B9 [05:11:39]Write i2c OK [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: 01 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: 01 07 00 [05:11:39]MH_I2C_Read... [05:11:39]Read from MH i2c: 01 07 00 B5 04 00 00 00 00 00 FF 0F CE [05:11:39]RasterBufferAndPrint [05:11:39]line Счет N : (3)300094 [05:11:39]line ИНН: 02508201610067 [05:11:39]line Контрольно-Кассовый Чек [05:11:39]line ПРОДАЖА [05:11:39]line Товар: 46230607 [05:11:39]line Сигареты Richmond Bronze Edition [05:11:39]line 1.000 * 150.00 [05:11:39]line = 150.00 [05:11:39]line НДС 12% НСП 1% [05:11:39]line > о реализуемом товаре [05:11:39]line ИТОГО: 150.00 [05:11:39]line НСП 1% : 1.33 [05:11:39]line НДС 12% : 15.93 [05:11:39]line Наличными: 150.00 [05:11:39]line Безнал.: 0.00 [05:11:39]line Место: АЗС № 71 "Партнер Нефть" [05:11:39]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [05:11:39]line СНО: Общий режим [05:11:39]line Чек 11 13.07.2024 05:11 [05:11:39]line Смена: 445 ФФД: 1.0 [05:11:39]line ЗНМ: 0300000153 [05:11:39]line РНМ: 0000000000091176 [05:11:39]line Версия ККМ: 001 [05:11:39]line ФМ: 0000000000874935 [05:11:39]line ФД: 42966 [05:11:39]line ФПД: 113720431950401 [05:11:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T051139&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42966&fm=113720431950401&tin=02508201610067®Number=0000000000091176&sum=15000 [05:11:39]OFD Sender: Processing packet 42966 [packets to send 31, broken 30] [05:11:39]ProducePacketName [05:11:39]name=ofd_packets/00042966 [05:11:39]OFD Sender: To server: pG, [05:11:39]CommunicateWithHost lk.salyk.kg:30040 [05:11:39]ConnectInit lk.salyk.kg [05:11:39]line 0 [05:11:39]written 0, free lines is 4095 [05:11:40]Connected sock=10 [05:11:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 01 00 00 51 9D 21 01 5C 33 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 8B 0C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D6 A7 00 00 35 04 06 00 67 6D 99 F3 3A 41 98 D1 68 63 C1 8C 15 B4 [05:11:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F5 02 47 00 B3 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 38 37 34 39 33 35 10 04 04 00 D6 A7 00 00 F4 03 04 00 87 B8 91 66 B6 04 01 00 00 24 51 64 6B 45 89 F9 C4 [05:11:40]CommunicateWithHost err = 0 [05:11:40]CheckOFDResponse [05:11:40]1017 (14) - 77093643461234 [05:11:40]1041 (16) - 0000000000874935 [05:11:40]1040 (4) - 42966 [05:11:40]1012 (4) - 12.07.2024 23:13 [05:11:40]1206 (1) - 0 [05:11:40]OFD Sender: Remove packet 42966 [05:11:40]ProducePacketName [05:11:40]name=ofd_packets/00042966 [05:11:40]NVStorageDeleteData [05:11:40]Write to MH i2c: 01 00 00 DE 04 E2 [05:11:40]Write i2c OK [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: 01 [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: 01 07 00 [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: 01 07 00 DE 04 00 00 00 00 00 D7 0C CC [05:11:40]RasterBufferAndPrint [05:11:40]line [05:11:40]line [05:11:40]line [05:11:40]line [05:11:40]line [05:11:40]written 0, free lines is 3293 [05:11:40]MH_Cut [05:11:40]Write to MH i2c: D1 01 00 E5 04 01 BB [05:11:40]Write i2c OK [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: D1 [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: D1 01 00 [05:11:40]MH_I2C_Read... [05:11:40]Read from MH i2c: D1 01 00 E5 04 00 BA [05:11:40]Write to MH i2c: 01 00 00 E6 04 EA [05:11:40]Write i2c OK [05:11:40]MH_I2C_Read... [05:11:40]OFD Sender: No OFD packet to send [05:11:41]*** Cut start [05:11:41]*** Partial cut [05:11:41]*** CUTSNS_PIN = 1 [05:11:41]*** CUTSNS_PIN = 0 [05:11:41]*** Brake cut motor [05:11:41]Read from MH i2c: 01 [05:11:41]MH_I2C_Read... [05:11:41]*** Stop cut motor [05:11:41]*** Cut end [05:11:41]Read from MH i2c: 01 07 00 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: 01 07 00 E6 04 00 00 00 00 00 FF 0F FF [05:11:41]process_action close_receipt done [05:11:41]requested_data is exist [05:11:41]produce_requested_data [05:11:41]requested_item fm.sn is exist - process it [05:11:41]wFMCommunicate request_size=4 [05:11:41]MH_SAM_APDU [05:11:41]CAPDU: 80 11 00 00 [05:11:41]Write to MH i2c: E2 08 00 E7 04 80 11 00 00 00 00 00 00 65 [05:11:41]Write i2c OK [05:11:41]MH_I2C_Read... [05:11:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:11:41]Read from MH i2c: E2 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 17 00 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 17 00 E7 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 BC [05:11:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [05:11:41]wFMCommunicate OK [05:11:41]requested_item fd.num is exist - process it [05:11:41]SAM_PROTO_GetFieldsCounters [05:11:41]wFMCommunicate request_size=4 [05:11:41]MH_SAM_APDU [05:11:41]CAPDU: 80 13 00 00 [05:11:41]Write to MH i2c: E2 08 00 E8 04 80 13 00 00 00 00 00 00 68 [05:11:41]Write i2c OK [05:11:41]MH_I2C_Read... [05:11:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:11:41]Read from MH i2c: E2 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 62 00 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 62 00 E8 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D6 A7 00 00 0E 04 04 00 BD 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 E8 [05:11:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D6 A7 00 00 0E 04 04 00 BD 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 [05:11:41]wFMCommunicate OK [05:11:41]SAM_PROTO_GetFieldsCounters done [05:11:41]requested_item shift.num is exist - process it [05:11:41]requested_item shift.opened is exist - process it [05:11:41]req_shift_opened [05:11:41]FM_GetShiftState [05:11:41]SAM_PROTO_GetShiftState [05:11:41]wFMCommunicate request_size=4 [05:11:41]MH_SAM_APDU [05:11:41]CAPDU: 80 13 01 00 [05:11:41]Write to MH i2c: E2 08 00 E9 04 80 13 01 00 00 00 00 00 6A [05:11:41]Write i2c OK [05:11:41]MH_I2C_Read... [05:11:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:11:41]Read from MH i2c: E2 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 0E 00 [05:11:41]MH_I2C_Read... [05:11:41]Read from MH i2c: E2 0E 00 E9 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 01 [05:11:41]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [05:11:41]wFMCommunicate OK [05:11:41]SAM_PROTO_GetShiftState done [05:11:41]FM_GetShiftState done [05:11:41]req_shift_opened done [05:11:41]requested_item shift.open_date is exist - process it [05:11:41]req_shift_open_date [05:11:41]req_shift_open_date done [05:11:41]requested_item shift.sale.total is exist - process it [05:11:41]SAM_PROTO_GetShiftData [05:11:41]wFMCommunicate request_size=4 [05:11:41]MH_SAM_APDU [05:11:41]CAPDU: 80 13 02 00 [05:11:41]Write to MH i2c: E2 08 00 EA 04 80 13 02 00 00 00 00 00 6C [05:11:41]Write i2c OK [05:11:41]MH_I2C_Read... [05:11:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:11:42]Read from MH i2c: E2 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 EA 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 98 73 03 70 04 03 00 18 6D 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D5 5D 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 D0 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 65 [05:11:42]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 98 73 03 70 04 03 00 18 6D 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D5 5D 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 D0 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [05:11:42]wFMCommunicate OK [05:11:42]wFMCommunicate request_size=4 [05:11:42]MH_SAM_APDU [05:11:42]CAPDU: 80 17 00 00 [05:11:42]Write to MH i2c: E2 08 00 EB 04 80 17 00 00 00 00 00 00 6F [05:11:42]Write i2c OK [05:11:42]MH_I2C_Read... [05:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:11:42]Read from MH i2c: E2 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 EB 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 81 [05:11:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [05:11:42]wFMCommunicate OK [05:11:42]wFMCommunicate request_size=4 [05:11:42]MH_SAM_APDU [05:11:42]CAPDU: 80 17 00 00 [05:11:42]Write to MH i2c: E2 08 00 EC 04 80 17 00 00 00 00 00 00 70 [05:11:42]Write i2c OK [05:11:42]MH_I2C_Read... [05:11:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:11:42]Read from MH i2c: E2 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 [05:11:42]MH_I2C_Read... [05:11:42]Read from MH i2c: E2 FD 00 EC 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 34 [05:11:43]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [05:11:43]wFMCommunicate OK [05:11:43]wFMCommunicate request_size=4 [05:11:43]MH_SAM_APDU [05:11:43]CAPDU: 80 17 00 00 [05:11:43]Write to MH i2c: E2 08 00 ED 04 80 17 00 00 00 00 00 00 71 [05:11:43]Write i2c OK [05:11:43]MH_I2C_Read... [05:11:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:11:43]Read from MH i2c: E2 [05:11:43]MH_I2C_Read... [05:11:43]Read from MH i2c: E2 FD 00 [05:11:43]MH_I2C_Read... [05:11:43]Read from MH i2c: E2 FD 00 ED 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 E6 [05:11:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [05:11:43]wFMCommunicate OK [05:11:43]wFMCommunicate request_size=4 [05:11:43]MH_SAM_APDU [05:11:43]CAPDU: 80 17 00 00 [05:11:43]Write to MH i2c: E2 08 00 EE 04 80 17 00 00 00 00 00 00 72 [05:11:43]Write i2c OK [05:11:43]MH_I2C_Read... [05:11:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [05:11:43]Read from MH i2c: E2 [05:11:43]MH_I2C_Read... [05:11:43]Read from MH i2c: E2 CA 00 [05:11:43]MH_I2C_Read... [05:11:43]Read from MH i2c: E2 CA 00 EE 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 57 [05:11:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [05:11:43]wFMCommunicate OK [05:11:43]SAM_PROTO_GetShiftData done [05:11:43]requested_item shift.sale.total_cash is exist - process it [05:11:43]requested_item shift.sale_refund.total is exist - process it [05:11:43]requested_item shift.sale_refund.total_cash is exist - process it [05:11:43]produce_requested_data done [05:11:43]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42966,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2262.00,"shift.sale.total_cash":1590.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [05:11:43]process_action_free close_receipt [05:11:43]json_value_free [05:11:43]json_value_free done [05:11:43]process_json_proto returns [05:11:43]Send response to host [05:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42966,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2262.00,"shift.sale.total_cash":1590.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [05:11:43]free response buf [05:11:43]execute_script done [05:11:43]execute_script returns [05:11:43]free content buf [05:11:43]Sock 7.Close socket [05:11:43]Sock 7.Thread stoped [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:04]accept exits with 9 [05:28:04]New connection [05:28:04]New thread 3067387236 created [05:28:04]Thread 3067530596 joined [05:28:04]Waiting for new connection... [05:28:04] Sock 9.Parse request [05:28:04]Sock 9.Check first char [05:28:04]Sock 9.First char is OK [05:28:04]request: POST /json_proto HTTP/1.0 [05:28:04]Method: POST [05:28:04]URL: /json_proto [05:28:04]Method is POST - this is cgi request [05:28:04]url: /json_proto [05:28:04]query_string will be loaded in cgi processing [05:28:04]execute_cgi json_proto POST (null) [05:28:04]execute_cgi path=json_proto method=POST [05:28:04]POST find Content-Length [05:28:04]Host: 172.17.38.197:8080 [05:28:04]Content-Length: 759 [05:28:04]Content-Type: application/json [05:28:04] [05:28:04]POST finish read [05:28:04]Found Content-Length = 759 [05:28:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300095", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:28:04]execute_script... [05:28:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300095", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:28:04]POST & json_proto [05:28:04]process_json_proto [05:28:04]json parsed OK: [05:28:04]protocol is kg_v1.0 [05:28:04]action value=close_receipt [05:28:04]process_action close_receipt [05:28:04]cmd_close_receipt [05:28:04]MH_GetDate [05:28:04]Write to MH i2c: F0 00 00 EF 04 E2 [05:28:04]Write i2c OK [05:28:04]MH_I2C_Read... [05:28:04]Read from MH i2c: F0 [05:28:04]MH_I2C_Read... [05:28:04]Read from MH i2c: F0 09 00 [05:28:04]MH_I2C_Read... [05:28:04]Read from MH i2c: F0 09 00 EF 04 00 67 10 92 66 1E 0D 88 66 73 [05:28:04]GetLastDocTimeStamp 1720847499 [05:28:04]current date 1720848487 [05:28:04]FM_GetShiftState [05:28:04]SAM_PROTO_GetShiftState [05:28:04]wFMCommunicate request_size=4 [05:28:04]MH_SAM_APDU [05:28:04]CAPDU: 80 13 01 00 [05:28:04]Write to MH i2c: E2 08 00 F0 04 80 13 01 00 00 00 00 00 71 [05:28:04]Write i2c OK [05:28:04]MH_I2C_Read... [05:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:28:04]Read from MH i2c: E2 [05:28:04]MH_I2C_Read... [05:28:04]Read from MH i2c: E2 0E 00 [05:28:04]MH_I2C_Read... [05:28:04]Read from MH i2c: E2 0E 00 F0 04 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 08 [05:28:04]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [05:28:04]wFMCommunicate OK [05:28:04]SAM_PROTO_GetShiftState done [05:28:04]FM_GetShiftState done [05:28:04]opened in 1720829646 [05:28:04]opened+sec_in_day 1720916046 [05:28:04]quantity*price = 8500 [05:28:04]sum+1 = 8501 [05:28:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 12 13.07.2024 05:28 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42967 ФПД: 124347163125460 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T052807&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42967&fm=124347163125460&tin=02508201610067®Number=0000000000091176&sum=8500 0 [05:28:06]StoreToDocumentArchive [05:28:06]shift 445 fd 42967 [05:28:06]save to /storage/0445/doc_00042967 [05:28:06]save last doc name /storage/0445/doc_00042967 to /storage/kkm_last_doc_name [05:28:06]save OK [05:28:06]Clear old archive folders... [05:28:06]ProcessDocumentItem done err = 0, tmpTLVsize=294 [05:28:06]tlvbuf is 0156E1D0 [05:28:06]SAM_PROTO_ClearQueue [05:28:06]wFMCommunicate request_size=4 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 09 00 00 [05:28:06]Write to MH i2c: E2 08 00 FD 04 80 09 00 00 00 00 00 00 73 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 FD 04 00 90 00 75 [05:28:06]RAPDU: 90 00 [05:28:06]wFMCommunicate OK [05:28:06]SAM_PROTO_ClearQueue done [05:28:06]KKMCreateOFDPacket [05:28:06]OFDProtocolAddRootSTLVToBuf [05:28:06]FM_MakeSignedData [05:28:06]FM_MakeSignedData [05:28:06]SAM_PROTO_SignData [05:28:06]wFMCommunicate request_size=4 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 0D 01 02 [05:28:06]Write to MH i2c: E2 08 00 FE 04 80 0D 01 02 00 00 00 00 7B [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 FE 04 00 90 00 76 [05:28:06]RAPDU: 90 00 [05:28:06]wFMCommunicate OK [05:28:06]wFMCommunicate request_size=255 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 10 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [05:28:06]Write to MH i2c: E2 02 01 FF 04 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 10 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 98 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 FF 04 00 90 00 77 [05:28:06]RAPDU: 90 00 [05:28:06]wFMCommunicate OK [05:28:06]wFMCommunicate request_size=53 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D7 A7 00 00 35 04 06 00 71 17 D4 7C A6 D4 [05:28:06]Write to MH i2c: E2 38 00 00 05 80 0D 02 02 30 00 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D7 A7 00 00 35 04 06 00 71 17 D4 7C A6 D4 00 00 47 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 03 00 00 05 00 90 00 79 [05:28:06]RAPDU: 90 00 [05:28:06]wFMCommunicate OK [05:28:06]wFMCommunicate request_size=4 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 0D 03 02 [05:28:06]Write to MH i2c: E2 08 00 01 05 80 0D 03 02 00 00 00 00 81 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 0B 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 0B 00 01 05 00 9D D3 6A 9A C8 DC E6 1E 90 00 9E [05:28:06]RAPDU: 9D D3 6A 9A C8 DC E6 1E 90 00 [05:28:06]wFMCommunicate OK [05:28:06]SAM_PROTO_SignData done [05:28:06]FM_MakeSignedData done [05:28:06]CreateOFDProtocolMessage [05:28:06]wFMCommunicate request_size=4 [05:28:06]MH_SAM_APDU [05:28:06]CAPDU: 80 11 00 00 [05:28:06]Write to MH i2c: E2 08 00 02 05 80 11 00 00 00 00 00 00 81 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]OFD Sender: No OFD packet to send [05:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:28:06]Read from MH i2c: E2 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 17 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: E2 17 00 02 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D8 [05:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [05:28:06]wFMCommunicate OK [05:28:06]CreateOFDProtocolMessage done [05:28:06]OFDSenderStorePacket 42967 [05:28:06]StoreOFDPacket docnum=42967 [05:28:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 FB FC 32 01 21 5F 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 10 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D7 A7 00 00 35 04 06 00 71 17 D4 7C A6 D4 9D D3 6A 9A C8 DC E6 1E [05:28:06]CheckFolder [05:28:06]dirname=/storage/ofd_packets [05:28:06]CheckFolder done [05:28:06]ProducePacketName [05:28:06]name=ofd_packets/00042967 [05:28:06]NVStorageSaveData ofd_packets/00042967 [05:28:06]File name is /storage/ofd_packets/00042967 [05:28:06]Write 344 bytes [05:28:06]NVStorageSaveData done [05:28:06]OFDSenderStorePacket done [05:28:06]KKMCreateOFDPacket done [05:28:06]NVStorageSaveData kkm_last_timestamp [05:28:06]File name is /storage/kkm_last_timestamp [05:28:06]Write 4 bytes [05:28:06]NVStorageSaveData done [05:28:06]ExternCall_PrintAddStr [05:28:06]wPrintStart [05:28:06]Write to MH i2c: 01 00 00 03 05 08 [05:28:06]Write i2c OK [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: 01 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: 01 07 00 [05:28:06]MH_I2C_Read... [05:28:06]Read from MH i2c: 01 07 00 03 05 00 00 00 00 00 FF 0F 1D [05:28:06]RasterBufferAndPrint [05:28:06]line Счет N : (3)300095 [05:28:06]line ИНН: 02508201610067 [05:28:06]line Контрольно-Кассовый Чек [05:28:06]line ПРОДАЖА [05:28:06]line Товар: 4600682557456 [05:28:06]line Напиток FLash up energy эн ж/б 0,5/0,45л [05:28:06]line 1.000 * 85.00 [05:28:06]line = 85.00 [05:28:06]line НДС 12% НСП 1% [05:28:06]line > о реализуемом товаре [05:28:06]line ИТОГО: 85.00 [05:28:06]line НСП 1% : 0.75 [05:28:06]line НДС 12% : 9.03 [05:28:06]line Наличными: 85.00 [05:28:06]line Безнал.: 0.00 [05:28:06]line Место: АЗС № 71 "Партнер Нефть" [05:28:06]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [05:28:06]line СНО: Общий режим [05:28:06]line Чек 12 13.07.2024 05:28 [05:28:06]line Смена: 445 ФФД: 1.0 [05:28:06]line ЗНМ: 0300000153 [05:28:06]line РНМ: 0000000000091176 [05:28:06]line Версия ККМ: 001 [05:28:06]line ФМ: 0000000000874935 [05:28:06]line ФД: 42967 [05:28:06]line ФПД: 124347163125460 [05:28:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T052807&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42967&fm=124347163125460&tin=02508201610067®Number=0000000000091176&sum=8500 [05:28:07]line 0 [05:28:07]OFD Sender: Processing packet 42967 [packets to send 31, broken 30] [05:28:07]ProducePacketName [05:28:07]name=ofd_packets/00042967 [05:28:07]OFD Sender: To server: pG, [05:28:07]CommunicateWithHost lk.salyk.kg:30040 [05:28:07]ConnectInit lk.salyk.kg [05:28:07]written 0, free lines is 4095 [05:28:07]Connected sock=11 [05:28:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 FB FC 32 01 21 5F 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 10 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D7 A7 00 00 35 04 06 00 71 17 D4 7C A6 D4 9D D3 6A 9A C8 DC E6 1E [05:28:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 77 A7 47 00 4C B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D7 A7 00 00 F4 03 04 00 62 BC 91 66 B6 04 01 00 00 85 87 14 23 F6 42 09 BC [05:28:07]CommunicateWithHost err = 0 [05:28:07]CheckOFDResponse [05:28:07]1017 (14) - 77093643461234 [05:28:07]1041 (16) - 0000000000874935 [05:28:07]1040 (4) - 42967 [05:28:07]1012 (4) - 12.07.2024 23:29 [05:28:07]1206 (1) - 0 [05:28:07]OFD Sender: Remove packet 42967 [05:28:07]ProducePacketName [05:28:07]name=ofd_packets/00042967 [05:28:07]NVStorageDeleteData [05:28:07]Write to MH i2c: 01 00 00 2C 05 31 [05:28:07]Write i2c OK [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: 01 [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: 01 07 00 [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: 01 07 00 2C 05 00 00 00 00 00 01 0D 46 [05:28:07]RasterBufferAndPrint [05:28:07]line [05:28:07]line [05:28:07]line [05:28:07]line [05:28:07]line [05:28:07]written 0, free lines is 3335 [05:28:07]MH_Cut [05:28:07]Write to MH i2c: D1 01 00 33 05 01 0A [05:28:07]Write i2c OK [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: D1 [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: D1 01 00 [05:28:07]MH_I2C_Read... [05:28:07]Read from MH i2c: D1 01 00 33 05 00 09 [05:28:07]Write to MH i2c: 01 00 00 34 05 39 [05:28:07]Write i2c OK [05:28:07]MH_I2C_Read... [05:28:07]OFD Sender: No OFD packet to send [05:28:08]*** Cut start [05:28:08]*** Partial cut [05:28:08]*** CUTSNS_PIN = 1 [05:28:08]*** CUTSNS_PIN = 0 [05:28:08]*** Brake cut motor [05:28:08]Read from MH i2c: 01 [05:28:08]MH_I2C_Read... [05:28:08]*** Stop cut motor [05:28:08]*** Cut end [05:28:08]Read from MH i2c: 01 07 00 [05:28:08]MH_I2C_Read... [05:28:08]Read from MH i2c: 01 07 00 34 05 00 00 00 00 00 FF 0F 4E [05:28:08]process_action close_receipt done [05:28:08]requested_data is exist [05:28:08]produce_requested_data [05:28:08]requested_item fm.sn is exist - process it [05:28:08]wFMCommunicate request_size=4 [05:28:08]MH_SAM_APDU [05:28:08]CAPDU: 80 11 00 00 [05:28:08]Write to MH i2c: E2 08 00 35 05 80 11 00 00 00 00 00 00 B4 [05:28:08]Write i2c OK [05:28:08]MH_I2C_Read... [05:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:28:08]Read from MH i2c: E2 [05:28:08]MH_I2C_Read... [05:28:08]Read from MH i2c: E2 17 00 [05:28:08]MH_I2C_Read... [05:28:08]Read from MH i2c: E2 17 00 35 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 0B [05:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [05:28:08]wFMCommunicate OK [05:28:08]requested_item fd.num is exist - process it [05:28:08]SAM_PROTO_GetFieldsCounters [05:28:08]wFMCommunicate request_size=4 [05:28:08]MH_SAM_APDU [05:28:08]CAPDU: 80 13 00 00 [05:28:08]Write to MH i2c: E2 08 00 36 05 80 13 00 00 00 00 00 00 B7 [05:28:08]Write i2c OK [05:28:08]MH_I2C_Read... [05:28:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:28:09]Read from MH i2c: E2 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 62 00 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 62 00 36 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D7 A7 00 00 0E 04 04 00 BD 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 3B [05:28:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D7 A7 00 00 0E 04 04 00 BD 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 [05:28:09]wFMCommunicate OK [05:28:09]SAM_PROTO_GetFieldsCounters done [05:28:09]requested_item shift.num is exist - process it [05:28:09]requested_item shift.opened is exist - process it [05:28:09]req_shift_opened [05:28:09]FM_GetShiftState [05:28:09]SAM_PROTO_GetShiftState [05:28:09]wFMCommunicate request_size=4 [05:28:09]MH_SAM_APDU [05:28:09]CAPDU: 80 13 01 00 [05:28:09]Write to MH i2c: E2 08 00 37 05 80 13 01 00 00 00 00 00 B9 [05:28:09]Write i2c OK [05:28:09]MH_I2C_Read... [05:28:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:28:09]Read from MH i2c: E2 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 0E 00 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 0E 00 37 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 50 [05:28:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [05:28:09]wFMCommunicate OK [05:28:09]SAM_PROTO_GetShiftState done [05:28:09]FM_GetShiftState done [05:28:09]req_shift_opened done [05:28:09]requested_item shift.open_date is exist - process it [05:28:09]req_shift_open_date [05:28:09]req_shift_open_date done [05:28:09]requested_item shift.sale.total is exist - process it [05:28:09]SAM_PROTO_GetShiftData [05:28:09]wFMCommunicate request_size=4 [05:28:09]MH_SAM_APDU [05:28:09]CAPDU: 80 13 02 00 [05:28:09]Write to MH i2c: E2 08 00 38 05 80 13 02 00 00 00 00 00 BB [05:28:09]Write i2c OK [05:28:09]MH_I2C_Read... [05:28:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:28:09]Read from MH i2c: E2 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 FD 00 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 FD 00 38 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 CC 94 03 70 04 03 00 4C 8E 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5C 61 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 1B 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 37 [05:28:09]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 CC 94 03 70 04 03 00 4C 8E 02 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5C 61 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 1B 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [05:28:09]wFMCommunicate OK [05:28:09]wFMCommunicate request_size=4 [05:28:09]MH_SAM_APDU [05:28:09]CAPDU: 80 17 00 00 [05:28:09]Write to MH i2c: E2 08 00 39 05 80 17 00 00 00 00 00 00 BE [05:28:09]Write i2c OK [05:28:09]MH_I2C_Read... [05:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:28:09]Read from MH i2c: E2 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 FD 00 [05:28:09]MH_I2C_Read... [05:28:09]Read from MH i2c: E2 FD 00 39 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 D0 [05:28:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [05:28:09]wFMCommunicate OK [05:28:09]wFMCommunicate request_size=4 [05:28:09]MH_SAM_APDU [05:28:09]CAPDU: 80 17 00 00 [05:28:09]Write to MH i2c: E2 08 00 3A 05 80 17 00 00 00 00 00 00 BF [05:28:09]Write i2c OK [05:28:09]MH_I2C_Read... [05:28:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:28:10]Read from MH i2c: E2 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 FD 00 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 FD 00 3A 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 83 [05:28:10]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [05:28:10]wFMCommunicate OK [05:28:10]wFMCommunicate request_size=4 [05:28:10]MH_SAM_APDU [05:28:10]CAPDU: 80 17 00 00 [05:28:10]Write to MH i2c: E2 08 00 3B 05 80 17 00 00 00 00 00 00 C0 [05:28:10]Write i2c OK [05:28:10]MH_I2C_Read... [05:28:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:28:10]Read from MH i2c: E2 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 FD 00 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 FD 00 3B 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 35 [05:28:10]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [05:28:10]wFMCommunicate OK [05:28:10]wFMCommunicate request_size=4 [05:28:10]MH_SAM_APDU [05:28:10]CAPDU: 80 17 00 00 [05:28:10]Write to MH i2c: E2 08 00 3C 05 80 17 00 00 00 00 00 00 C1 [05:28:10]Write i2c OK [05:28:10]MH_I2C_Read... [05:28:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [05:28:10]Read from MH i2c: E2 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 CA 00 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 CA 00 3C 05 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [05:28:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [05:28:10]wFMCommunicate OK [05:28:10]SAM_PROTO_GetShiftData done [05:28:10]requested_item shift.sale.total_cash is exist - process it [05:28:10]requested_item shift.sale_refund.total is exist - process it [05:28:10]requested_item shift.sale_refund.total_cash is exist - process it [05:28:10]produce_requested_data done [05:28:10]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42967,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2347.00,"shift.sale.total_cash":1675.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [05:28:10]process_action_free close_receipt [05:28:10]json_value_free [05:28:10]json_value_free done [05:28:10]process_json_proto returns [05:28:10]Send response to host [05:28:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42967,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2347.00,"shift.sale.total_cash":1675.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [05:28:10]free response buf [05:28:10]execute_script done [05:28:10]execute_script returns [05:28:10]free content buf [05:28:10]Sock 9.Close socket [05:28:10]Sock 9.Thread stoped [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:49]accept exits with 10 [06:26:49]New connection [06:26:49]New thread 3067530596 created [06:26:49]Thread 3067387236 joined [06:26:49]Waiting for new connection... [06:26:49] Sock 10.Parse request [06:26:49]Sock 10.Check first char [06:26:49]Sock 10.First char is OK [06:26:49]request: POST /json_proto HTTP/1.0 [06:26:49]Method: POST [06:26:49]URL: /json_proto [06:26:49]Method is POST - this is cgi request [06:26:49]url: /json_proto [06:26:49]query_string will be loaded in cgi processing [06:26:49]execute_cgi json_proto POST (null) [06:26:49]execute_cgi path=json_proto method=POST [06:26:49]POST find Content-Length [06:26:49]Host: 172.17.38.197:8080 [06:26:49]Content-Length: 1472 [06:26:49]Content-Type: application/json [06:26:49] [06:26:49]POST finish read [06:26:49]Found Content-Length = 1472 [06:26:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300096", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 648.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:26:49]execute_script... [06:26:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300096", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 648.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:26:49]POST & json_proto [06:26:49]process_json_proto [06:26:49]json parsed OK: [06:26:49]protocol is kg_v1.0 [06:26:49]action value=close_receipt [06:26:49]process_action close_receipt [06:26:49]cmd_close_receipt [06:26:49]MH_GetDate [06:26:49]Write to MH i2c: F0 00 00 3D 05 31 [06:26:49]Write i2c OK [06:26:49]MH_I2C_Read... [06:26:49]Read from MH i2c: F0 [06:26:49]MH_I2C_Read... [06:26:49]Read from MH i2c: F0 09 00 [06:26:49]MH_I2C_Read... [06:26:49]Read from MH i2c: F0 09 00 3D 05 00 2C 1E 92 66 1E 0D 88 66 95 [06:26:49]GetLastDocTimeStamp 1720848487 [06:26:49]current date 1720852012 [06:26:49]FM_GetShiftState [06:26:50]SAM_PROTO_GetShiftState [06:26:50]wFMCommunicate request_size=4 [06:26:50]MH_SAM_APDU [06:26:50]CAPDU: 80 13 01 00 [06:26:50]Write to MH i2c: E2 08 00 3E 05 80 13 01 00 00 00 00 00 C0 [06:26:50]Write i2c OK [06:26:50]MH_I2C_Read... [06:26:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:26:50]Read from MH i2c: E2 [06:26:50]MH_I2C_Read... [06:26:50]Read from MH i2c: E2 0E 00 [06:26:50]MH_I2C_Read... [06:26:50]Read from MH i2c: E2 0E 00 3E 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 57 [06:26:50]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:26:50]wFMCommunicate OK [06:26:50]SAM_PROTO_GetShiftState done [06:26:50]FM_GetShiftState done [06:26:50]opened in 1720829646 [06:26:50]opened+sec_in_day 1720916046 [06:26:50]quantity*price = 23000 [06:26:50]sum+1 = 23001 [06:26:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48745024 Сигареты Winston Superslims Expand Purpl 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 648.00 НСП 1% : 5.73 НДС 12% : 68.81 Наличными: 648.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 13 13.07.2024 06:26 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42968 ФПД: 88684957587314 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T062652&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42968&fm=88684957587314&tin=02508201610067®Number=0000000000091176&sum=64800 0 [06:26:51]StoreToDocumentArchive [06:26:51]shift 445 fd 42968 [06:26:51]save to /storage/0445/doc_00042968 [06:26:51]save last doc name /storage/0445/doc_00042968 to /storage/kkm_last_doc_name [06:26:51]save OK [06:26:51]Clear old archive folders... [06:26:51]ProcessDocumentItem done err = 0, tmpTLVsize=602 [06:26:51]tlvbuf is 0156DDB0 [06:26:51]SAM_PROTO_ClearQueue [06:26:51]wFMCommunicate request_size=4 [06:26:51]MH_SAM_APDU [06:26:51]CAPDU: 80 09 00 00 [06:26:51]Write to MH i2c: E2 08 00 4B 05 80 09 00 00 00 00 00 00 C2 [06:26:51]Write i2c OK [06:26:51]MH_I2C_Read... [06:26:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:26:51]Read from MH i2c: E2 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 4B 05 00 90 00 C4 [06:26:51]RAPDU: 90 00 [06:26:51]wFMCommunicate OK [06:26:51]SAM_PROTO_ClearQueue done [06:26:51]KKMCreateOFDPacket [06:26:51]OFDProtocolAddRootSTLVToBuf [06:26:51]FM_MakeSignedData [06:26:51]FM_MakeSignedData [06:26:51]SAM_PROTO_SignData [06:26:51]wFMCommunicate request_size=4 [06:26:51]MH_SAM_APDU [06:26:51]CAPDU: 80 0D 01 02 [06:26:51]Write to MH i2c: E2 08 00 4C 05 80 0D 01 02 00 00 00 00 CA [06:26:51]Write i2c OK [06:26:51]MH_I2C_Read... [06:26:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:26:51]Read from MH i2c: E2 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 4C 05 00 90 00 C5 [06:26:51]RAPDU: 90 00 [06:26:51]wFMCommunicate OK [06:26:51]wFMCommunicate request_size=255 [06:26:51]MH_SAM_APDU [06:26:51]CAPDU: 80 0D 02 02 FA 03 00 5A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 [06:26:51]Write to MH i2c: E2 02 01 4D 05 80 0D 02 02 FA 00 03 00 5A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 00 00 2B [06:26:51]Write i2c OK [06:26:51]MH_I2C_Read... [06:26:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:26:51]Read from MH i2c: E2 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 4D 05 00 90 00 C6 [06:26:51]RAPDU: 90 00 [06:26:51]wFMCommunicate OK [06:26:51]wFMCommunicate request_size=255 [06:26:51]MH_SAM_APDU [06:26:51]CAPDU: 80 0D 02 02 FA B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 1A 00 00 00 00 07 04 06 00 20 FD 00 [06:26:51]Write to MH i2c: E2 02 01 4E 05 80 0D 02 02 FA 00 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 1A 00 00 00 00 07 04 06 00 20 FD 00 00 00 04 [06:26:51]Write i2c OK [06:26:51]MH_I2C_Read... [06:26:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:26:51]Read from MH i2c: E2 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 [06:26:51]MH_I2C_Read... [06:26:51]Read from MH i2c: E2 03 00 4E 05 00 90 00 C7 [06:26:51]RAPDU: 90 00 [06:26:51]wFMCommunicate OK [06:26:51]wFMCommunicate request_size=111 [06:26:51]MH_SAM_APDU [06:26:51]CAPDU: 80 0D 02 02 6A 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 2C 1E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D8 A7 00 00 35 04 06 00 50 A8 93 64 D7 72 [06:26:51]Write to MH i2c: E2 72 00 4F 05 80 0D 02 02 6A 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 2C 1E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D8 A7 00 00 35 04 06 00 50 A8 93 64 D7 72 00 00 92 [06:26:51]Write i2c OK [06:26:51]MH_I2C_Read... [06:26:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:26:52]Read from MH i2c: E2 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 03 00 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 03 00 4F 05 00 90 00 C8 [06:26:52]RAPDU: 90 00 [06:26:52]wFMCommunicate OK [06:26:52]wFMCommunicate request_size=4 [06:26:52]MH_SAM_APDU [06:26:52]CAPDU: 80 0D 03 02 [06:26:52]Write to MH i2c: E2 08 00 50 05 80 0D 03 02 00 00 00 00 D0 [06:26:52]Write i2c OK [06:26:52]MH_I2C_Read... [06:26:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:26:52]Read from MH i2c: E2 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 0B 00 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 0B 00 50 05 00 CF F3 91 68 CF 90 F9 39 90 00 1D [06:26:52]RAPDU: CF F3 91 68 CF 90 F9 39 90 00 [06:26:52]wFMCommunicate OK [06:26:52]SAM_PROTO_SignData done [06:26:52]FM_MakeSignedData done [06:26:52]CreateOFDProtocolMessage [06:26:52]wFMCommunicate request_size=4 [06:26:52]MH_SAM_APDU [06:26:52]CAPDU: 80 11 00 00 [06:26:52]Write to MH i2c: E2 08 00 51 05 80 11 00 00 00 00 00 00 D0 [06:26:52]Write i2c OK [06:26:52]MH_I2C_Read... [06:26:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:26:52]Read from MH i2c: E2 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 17 00 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: E2 17 00 51 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 27 [06:26:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:26:52]wFMCommunicate OK [06:26:52]CreateOFDProtocolMessage done [06:26:52]OFDSenderStorePacket 42968 [06:26:52]StoreOFDPacket docnum=42968 [06:26:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 6E 02 00 00 BE 5C 66 02 48 AB 5A 03 01 00 03 00 5A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 1A 00 00 00 00 07 04 06 00 20 FD 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 2C 1E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D8 A7 00 00 35 04 06 00 50 A8 93 64 D7 72 CF F3 91 68 CF 90 F9 39 [06:26:52]CheckFolder [06:26:52]dirname=/storage/ofd_packets [06:26:52]CheckFolder done [06:26:52]ProducePacketName [06:26:52]name=ofd_packets/00042968 [06:26:52]NVStorageSaveData ofd_packets/00042968 [06:26:52]File name is /storage/ofd_packets/00042968 [06:26:52]Write 652 bytes [06:26:52]NVStorageSaveData done [06:26:52]OFDSenderStorePacket done [06:26:52]KKMCreateOFDPacket done [06:26:52]NVStorageSaveData kkm_last_timestamp [06:26:52]File name is /storage/kkm_last_timestamp [06:26:52]Write 4 bytes [06:26:52]NVStorageSaveData done [06:26:52]ExternCall_PrintAddStr [06:26:52]wPrintStart [06:26:52]Write to MH i2c: 01 00 00 52 05 57 [06:26:52]Write i2c OK [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: 01 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: 01 07 00 [06:26:52]MH_I2C_Read... [06:26:52]Read from MH i2c: 01 07 00 52 05 00 00 00 00 00 FF 0F 6C [06:26:52]RasterBufferAndPrint [06:26:52]line Счет N : (3)300096 [06:26:52]line ИНН: 02508201610067 [06:26:52]line Контрольно-Кассовый Чек [06:26:52]line ПРОДАЖА [06:26:52]line Товар: 2000036210013 [06:26:52]line Кофе Капучино (GABB TRADE) [06:26:52]line 2.000 * 115.00 [06:26:52]line = 230.00 [06:26:52]line НДС 12% НСП 1% [06:26:52]line > о реализуемом товаре [06:26:52]line Товар: 4640030091645 [06:26:52]line Сигареты ESSE Exchange M [06:26:52]line 1.000 * 138.00 [06:26:52]line = 138.00 [06:26:52]line НДС 12% НСП 1% [06:26:52]line > о реализуемом товаре [06:26:52]line Товар: 48745024 [06:26:52]line Сигареты Winston Superslims Expand Purpl [06:26:52]line 1.000 * 140.00 [06:26:52]line = 140.00 [06:26:52]line НДС 12% НСП 1% [06:26:52]line > о реализуемом товаре [06:26:52]line Товар: 48743570 [06:26:52]line Сигареты Winston XStyle Blue [06:26:52]line 1.000 * 140.00 [06:26:52]line = 140.00 [06:26:52]line НДС 12% НСП 1% [06:26:52]line > о реализуемом товаре [06:26:52]line ИТОГО: 648.00 [06:26:52]line НСП 1% : 5.73 [06:26:52]line НДС 12% : 68.81 [06:26:52]line Наличными: 648.00 [06:26:52]line Безнал.: 0.00 [06:26:52]line Место: АЗС № 71 "Партнер Нефть" [06:26:52]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [06:26:52]line СНО: Общий режим [06:26:52]line Чек 13 13.07.2024 06:26 [06:26:52]line Смена: 445 ФФД: 1.0 [06:26:52]line ЗНМ: 0300000153 [06:26:52]line РНМ: 0000000000091176 [06:26:52]line Версия ККМ: 001 [06:26:52]line ФМ: 0000000000874935 [06:26:52]line ФД: 42968 [06:26:52]line ФПД: 88684957587314 [06:26:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T062652&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42968&fm=88684957587314&tin=02508201610067®Number=0000000000091176&sum=64800 [06:26:52]OFD Sender: Processing packet 42968 [packets to send 31, broken 30] [06:26:52]ProducePacketName [06:26:52]name=ofd_packets/00042968 [06:26:52]OFD Sender: To server: pG, [06:26:52]CommunicateWithHost lk.salyk.kg:30040 [06:26:52]ConnectInit lk.salyk.kg [06:26:52]line 0 [06:26:52]written 0, free lines is 4095 [06:26:52]Connected sock=9 [06:26:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 6E 02 00 00 BE 5C 66 02 48 AB 5A 03 01 00 03 00 5A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 1A 00 00 00 00 07 04 06 00 20 FD 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 2C 1E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D8 A7 00 00 35 04 06 00 50 A8 93 64 D7 72 CF F3 91 68 CF 90 F9 39 [06:26:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A7 00 47 00 55 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D8 A7 00 00 F4 03 04 00 27 CA 91 66 B6 04 01 00 00 C7 D7 1D AD E2 1F 21 78 [06:26:52]CommunicateWithHost err = 0 [06:26:52]CheckOFDResponse [06:26:52]1017 (14) - 77093643461234 [06:26:52]1041 (16) - 0000000000874935 [06:26:52]1040 (4) - 42968 [06:26:52]1012 (4) - 13.07.2024 00:28 [06:26:52]1206 (1) - 0 [06:26:52]OFD Sender: Remove packet 42968 [06:26:52]ProducePacketName [06:26:52]name=ofd_packets/00042968 [06:26:52]NVStorageDeleteData [06:26:53]Write to MH i2c: 01 00 00 8D 05 92 [06:26:53]Write i2c OK [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: 01 [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: 01 07 00 [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: 01 07 00 8D 05 00 00 00 00 00 FF 0B A3 [06:26:53]RasterBufferAndPrint [06:26:53]line [06:26:53]line [06:26:53]line [06:26:53]line [06:26:53]line [06:26:53]written 0, free lines is 3079 [06:26:53]MH_Cut [06:26:53]Write to MH i2c: D1 01 00 94 05 01 6B [06:26:53]Write i2c OK [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: D1 [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: D1 01 00 [06:26:53]MH_I2C_Read... [06:26:53]Read from MH i2c: D1 01 00 94 05 00 6A [06:26:53]Write to MH i2c: 01 00 00 95 05 9A [06:26:53]Write i2c OK [06:26:53]MH_I2C_Read... [06:26:53]OFD Sender: No OFD packet to send [06:26:54]*** Cut start [06:26:54]*** Partial cut [06:26:54]*** CUTSNS_PIN = 1 [06:26:54]*** CUTSNS_PIN = 0 [06:26:54]*** Brake cut motor [06:26:54]Read from MH i2c: 01 [06:26:54]MH_I2C_Read... [06:26:54]*** Stop cut motor [06:26:54]*** Cut end [06:26:54]Read from MH i2c: 01 07 00 [06:26:54]MH_I2C_Read... [06:26:54]Read from MH i2c: 01 07 00 95 05 00 00 00 00 00 FF 0F AF [06:26:54]process_action close_receipt done [06:26:54]requested_data is exist [06:26:54]produce_requested_data [06:26:54]requested_item fm.sn is exist - process it [06:26:54]wFMCommunicate request_size=4 [06:26:54]MH_SAM_APDU [06:26:54]CAPDU: 80 11 00 00 [06:26:54]Write to MH i2c: E2 08 00 96 05 80 11 00 00 00 00 00 00 15 [06:26:54]Write i2c OK [06:26:54]MH_I2C_Read... [06:26:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:26:54]Read from MH i2c: E2 [06:26:54]MH_I2C_Read... [06:26:54]Read from MH i2c: E2 17 00 [06:26:54]MH_I2C_Read... [06:26:54]Read from MH i2c: E2 17 00 96 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6C [06:26:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:26:54]wFMCommunicate OK [06:26:54]requested_item fd.num is exist - process it [06:26:54]SAM_PROTO_GetFieldsCounters [06:26:54]wFMCommunicate request_size=4 [06:26:54]MH_SAM_APDU [06:26:54]CAPDU: 80 13 00 00 [06:26:54]Write to MH i2c: E2 08 00 97 05 80 13 00 00 00 00 00 00 18 [06:26:54]Write i2c OK [06:26:54]MH_I2C_Read... [06:26:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:26:54]Read from MH i2c: E2 [06:26:54]MH_I2C_Read... [06:26:54]Read from MH i2c: E2 62 00 [06:26:54]MH_I2C_Read... [06:26:54]Read from MH i2c: E2 62 00 97 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D8 A7 00 00 0E 04 04 00 BD 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 A0 [06:26:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D8 A7 00 00 0E 04 04 00 BD 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 [06:26:54]wFMCommunicate OK [06:26:54]SAM_PROTO_GetFieldsCounters done [06:26:54]requested_item shift.num is exist - process it [06:26:54]requested_item shift.opened is exist - process it [06:26:54]req_shift_opened [06:26:54]FM_GetShiftState [06:26:54]SAM_PROTO_GetShiftState [06:26:54]wFMCommunicate request_size=4 [06:26:54]MH_SAM_APDU [06:26:54]CAPDU: 80 13 01 00 [06:26:54]Write to MH i2c: E2 08 00 98 05 80 13 01 00 00 00 00 00 1A [06:26:54]Write i2c OK [06:26:54]MH_I2C_Read... [06:26:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:26:55]Read from MH i2c: E2 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 0E 00 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 0E 00 98 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B1 [06:26:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:26:55]wFMCommunicate OK [06:26:55]SAM_PROTO_GetShiftState done [06:26:55]FM_GetShiftState done [06:26:55]req_shift_opened done [06:26:55]requested_item shift.open_date is exist - process it [06:26:55]req_shift_open_date [06:26:55]req_shift_open_date done [06:26:55]requested_item shift.sale.total is exist - process it [06:26:55]SAM_PROTO_GetShiftData [06:26:55]wFMCommunicate request_size=4 [06:26:55]MH_SAM_APDU [06:26:55]CAPDU: 80 13 02 00 [06:26:55]Write to MH i2c: E2 08 00 99 05 80 13 02 00 00 00 00 00 1C [06:26:55]Write i2c OK [06:26:55]MH_I2C_Read... [06:26:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:26:55]Read from MH i2c: E2 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 FD 00 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 FD 00 99 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 EC 91 04 70 04 03 00 6C 8B 03 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3D 7C 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 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 11 [06:26:55]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 EC 91 04 70 04 03 00 6C 8B 03 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3D 7C 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 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [06:26:55]wFMCommunicate OK [06:26:55]wFMCommunicate request_size=4 [06:26:55]MH_SAM_APDU [06:26:55]CAPDU: 80 17 00 00 [06:26:55]Write to MH i2c: E2 08 00 9A 05 80 17 00 00 00 00 00 00 1F [06:26:55]Write i2c OK [06:26:55]MH_I2C_Read... [06:26:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:26:55]Read from MH i2c: E2 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 FD 00 [06:26:55]MH_I2C_Read... [06:26:55]Read from MH i2c: E2 FD 00 9A 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 31 [06:26:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [06:26:55]wFMCommunicate OK [06:26:55]wFMCommunicate request_size=4 [06:26:55]MH_SAM_APDU [06:26:55]CAPDU: 80 17 00 00 [06:26:55]Write to MH i2c: E2 08 00 9B 05 80 17 00 00 00 00 00 00 20 [06:26:55]Write i2c OK [06:26:55]MH_I2C_Read... [06:26:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:26:56]Read from MH i2c: E2 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 FD 00 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 FD 00 9B 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 E4 [06:26:56]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [06:26:56]wFMCommunicate OK [06:26:56]wFMCommunicate request_size=4 [06:26:56]MH_SAM_APDU [06:26:56]CAPDU: 80 17 00 00 [06:26:56]Write to MH i2c: E2 08 00 9C 05 80 17 00 00 00 00 00 00 21 [06:26:56]Write i2c OK [06:26:56]MH_I2C_Read... [06:26:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:26:56]Read from MH i2c: E2 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 FD 00 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 FD 00 9C 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 96 [06:26:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [06:26:56]wFMCommunicate OK [06:26:56]wFMCommunicate request_size=4 [06:26:56]MH_SAM_APDU [06:26:56]CAPDU: 80 17 00 00 [06:26:56]Write to MH i2c: E2 08 00 9D 05 80 17 00 00 00 00 00 00 22 [06:26:56]Write i2c OK [06:26:56]MH_I2C_Read... [06:26:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [06:26:56]Read from MH i2c: E2 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 CA 00 [06:26:56]MH_I2C_Read... [06:26:56]Read from MH i2c: E2 CA 00 9D 05 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 07 [06:26:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:26:56]wFMCommunicate OK [06:26:56]SAM_PROTO_GetShiftData done [06:26:56]requested_item shift.sale.total_cash is exist - process it [06:26:56]requested_item shift.sale_refund.total is exist - process it [06:26:56]requested_item shift.sale_refund.total_cash is exist - process it [06:26:56]produce_requested_data done [06:26:56]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42968,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2995.00,"shift.sale.total_cash":2323.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [06:26:56]process_action_free close_receipt [06:26:56]json_value_free [06:26:56]json_value_free done [06:26:56]process_json_proto returns [06:26:56]Send response to host [06:26:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42968,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":2995.00,"shift.sale.total_cash":2323.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [06:26:56]free response buf [06:26:56]execute_script done [06:26:56]execute_script returns [06:26:56]free content buf [06:26:56]Sock 10.Close socket [06:26:56]Sock 10.Thread stoped [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:33]accept exits with 7 [06:48:33]New connection [06:48:33]New thread 3067387236 created [06:48:33]Thread 3067530596 joined [06:48:33]Waiting for new connection... [06:48:33] Sock 7.Parse request [06:48:33]Sock 7.Check first char [06:48:33]Sock 7.First char is OK [06:48:33]request: POST /json_proto HTTP/1.0 [06:48:33]Method: POST [06:48:33]URL: /json_proto [06:48:33]Method is POST - this is cgi request [06:48:33]url: /json_proto [06:48:33]query_string will be loaded in cgi processing [06:48:33]execute_cgi json_proto POST (null) [06:48:33]execute_cgi path=json_proto method=POST [06:48:33]POST find Content-Length [06:48:33]Host: 172.17.38.197:8080 [06:48:33]Content-Length: 912 [06:48:33]Content-Type: application/json [06:48:33] [06:48:33]POST finish read [06:48:33]Found Content-Length = 912 [06:48:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300097", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:48:33]execute_script... [06:48:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300097", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:48:33]POST & json_proto [06:48:33]process_json_proto [06:48:33]json parsed OK: [06:48:33]protocol is kg_v1.0 [06:48:33]action value=close_receipt [06:48:33]process_action close_receipt [06:48:33]cmd_close_receipt [06:48:33]MH_GetDate [06:48:33]Write to MH i2c: F0 00 00 9E 05 92 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: F0 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: F0 09 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: F0 09 00 9E 05 00 44 23 92 66 1E 0D 88 66 13 [06:48:33]GetLastDocTimeStamp 1720852012 [06:48:33]current date 1720853316 [06:48:33]FM_GetShiftState [06:48:33]SAM_PROTO_GetShiftState [06:48:33]wFMCommunicate request_size=4 [06:48:33]MH_SAM_APDU [06:48:33]CAPDU: 80 13 01 00 [06:48:33]Write to MH i2c: E2 08 00 9F 05 80 13 01 00 00 00 00 00 21 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:33]Read from MH i2c: E2 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 0E 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 0E 00 9F 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B8 [06:48:33]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:48:33]wFMCommunicate OK [06:48:33]SAM_PROTO_GetShiftState done [06:48:33]FM_GetShiftState done [06:48:33]opened in 1720829646 [06:48:33]opened+sec_in_day 1720916046 [06:48:33]quantity*price = 14300 [06:48:33]sum+1 = 14301 [06:48:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744539 LD Compact Blue 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 403.00 НСП 1% : 3.56 НДС 12% : 42.80 Наличными: 403.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 14 13.07.2024 06:48 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42969 ФПД: 101216812022072 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T064836&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42969&fm=101216812022072&tin=02508201610067®Number=0000000000091176&sum=40300 0 [06:48:34]StoreToDocumentArchive [06:48:34]shift 445 fd 42969 [06:48:34]save to /storage/0445/doc_00042969 [06:48:34]save last doc name /storage/0445/doc_00042969 to /storage/kkm_last_doc_name [06:48:34]save OK [06:48:34]Clear old archive folders... [06:48:34]ProcessDocumentItem done err = 0, tmpTLVsize=358 [06:48:34]tlvbuf is 0156DB90 [06:48:34]SAM_PROTO_ClearQueue [06:48:34]wFMCommunicate request_size=4 [06:48:34]MH_SAM_APDU [06:48:34]CAPDU: 80 09 00 00 [06:48:34]Write to MH i2c: E2 08 00 AC 05 80 09 00 00 00 00 00 00 23 [06:48:34]Write i2c OK [06:48:34]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 AC 05 00 90 00 25 [06:48:35]RAPDU: 90 00 [06:48:35]wFMCommunicate OK [06:48:35]SAM_PROTO_ClearQueue done [06:48:35]KKMCreateOFDPacket [06:48:35]OFDProtocolAddRootSTLVToBuf [06:48:35]FM_MakeSignedData [06:48:35]FM_MakeSignedData [06:48:35]SAM_PROTO_SignData [06:48:35]wFMCommunicate request_size=4 [06:48:35]MH_SAM_APDU [06:48:35]CAPDU: 80 0D 01 02 [06:48:35]Write to MH i2c: E2 08 00 AD 05 80 0D 01 02 00 00 00 00 2B [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 AD 05 00 90 00 26 [06:48:35]RAPDU: 90 00 [06:48:35]wFMCommunicate OK [06:48:35]wFMCommunicate request_size=255 [06:48:35]MH_SAM_APDU [06:48:35]CAPDU: 80 0D 02 02 FA 03 00 66 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 [06:48:35]Write to MH i2c: E2 02 01 AE 05 80 0D 02 02 FA 00 03 00 66 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 00 00 C2 [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 AE 05 00 90 00 27 [06:48:35]RAPDU: 90 00 [06:48:35]wFMCommunicate OK [06:48:35]wFMCommunicate request_size=117 [06:48:35]MH_SAM_APDU [06:48:35]CAPDU: 80 0D 02 02 70 04 06 00 6C 9D 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 44 23 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D9 A7 00 00 35 04 06 00 5C 0E 60 20 39 38 [06:48:35]Write to MH i2c: E2 78 00 AF 05 80 0D 02 02 70 00 04 06 00 6C 9D 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 44 23 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D9 A7 00 00 35 04 06 00 5C 0E 60 20 39 38 00 00 53 [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 03 00 AF 05 00 90 00 28 [06:48:35]RAPDU: 90 00 [06:48:35]wFMCommunicate OK [06:48:35]wFMCommunicate request_size=4 [06:48:35]MH_SAM_APDU [06:48:35]CAPDU: 80 0D 03 02 [06:48:35]Write to MH i2c: E2 08 00 B0 05 80 0D 03 02 00 00 00 00 30 [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 0B 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 0B 00 B0 05 00 16 52 08 01 70 13 40 88 90 00 ED [06:48:35]RAPDU: 16 52 08 01 70 13 40 88 90 00 [06:48:35]wFMCommunicate OK [06:48:35]SAM_PROTO_SignData done [06:48:35]FM_MakeSignedData done [06:48:35]CreateOFDProtocolMessage [06:48:35]wFMCommunicate request_size=4 [06:48:35]MH_SAM_APDU [06:48:35]CAPDU: 80 11 00 00 [06:48:35]Write to MH i2c: E2 08 00 B1 05 80 11 00 00 00 00 00 00 30 [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:35]Read from MH i2c: E2 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 17 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: E2 17 00 B1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 87 [06:48:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:48:35]wFMCommunicate OK [06:48:35]CreateOFDProtocolMessage done [06:48:35]OFDSenderStorePacket 42969 [06:48:35]StoreOFDPacket docnum=42969 [06:48:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 7A 01 00 00 D5 3D 72 01 09 07 5A 03 01 00 03 00 66 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 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 44 23 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D9 A7 00 00 35 04 06 00 5C 0E 60 20 39 38 16 52 08 01 70 13 40 88 [06:48:35]CheckFolder [06:48:35]dirname=/storage/ofd_packets [06:48:35]CheckFolder done [06:48:35]ProducePacketName [06:48:35]name=ofd_packets/00042969 [06:48:35]NVStorageSaveData ofd_packets/00042969 [06:48:35]File name is /storage/ofd_packets/00042969 [06:48:35]Write 408 bytes [06:48:35]NVStorageSaveData done [06:48:35]OFDSenderStorePacket done [06:48:35]KKMCreateOFDPacket done [06:48:35]NVStorageSaveData kkm_last_timestamp [06:48:35]File name is /storage/kkm_last_timestamp [06:48:35]Write 4 bytes [06:48:35]NVStorageSaveData done [06:48:35]ExternCall_PrintAddStr [06:48:35]wPrintStart [06:48:35]Write to MH i2c: 01 00 00 B2 05 B7 [06:48:35]Write i2c OK [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: 01 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: 01 07 00 [06:48:35]MH_I2C_Read... [06:48:35]Read from MH i2c: 01 07 00 B2 05 00 00 00 00 00 FF 0F CC [06:48:35]RasterBufferAndPrint [06:48:35]line Счет N : (3)300097 [06:48:35]line ИНН: 02508201610067 [06:48:35]line Контрольно-Кассовый Чек [06:48:35]line ПРОДАЖА [06:48:35]line Товар: 48744683 [06:48:35]line Сигареты Winston XStyle Caster+ [06:48:35]line 1.000 * 143.00 [06:48:35]line = 143.00 [06:48:35]line НДС 12% НСП 1% [06:48:35]line > о реализуемом товаре [06:48:35]line Товар: 48744539 [06:48:35]line LD Compact Blue [06:48:35]line 2.000 * 130.00 [06:48:35]line = 260.00 [06:48:35]line НДС 12% НСП 1% [06:48:35]line > о реализуемом товаре [06:48:35]line ИТОГО: 403.00 [06:48:35]line НСП 1% : 3.56 [06:48:35]line НДС 12% : 42.80 [06:48:35]line Наличными: 403.00 [06:48:35]line Безнал.: 0.00 [06:48:35]line Место: АЗС № 71 "Партнер Нефть" [06:48:35]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [06:48:35]line СНО: Общий режим [06:48:35]line Чек 14 13.07.2024 06:48 [06:48:35]line Смена: 445 ФФД: 1.0 [06:48:35]line ЗНМ: 0300000153 [06:48:35]line РНМ: 0000000000091176 [06:48:35]line Версия ККМ: 001 [06:48:35]line ФМ: 0000000000874935 [06:48:35]line ФД: 42969 [06:48:35]line ФПД: 101216812022072 [06:48:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T064836&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42969&fm=101216812022072&tin=02508201610067®Number=0000000000091176&sum=40300 [06:48:35]line 0 [06:48:35]OFD Sender: Processing packet 42969 [packets to send 31, broken 30] [06:48:35]ProducePacketName [06:48:35]name=ofd_packets/00042969 [06:48:35]OFD Sender: To server: pG, [06:48:35]CommunicateWithHost lk.salyk.kg:30040 [06:48:35]ConnectInit lk.salyk.kg [06:48:35]written 0, free lines is 4095 [06:48:36]Connected sock=10 [06:48:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 7A 01 00 00 D5 3D 72 01 09 07 5A 03 01 00 03 00 66 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 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 44 23 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D9 A7 00 00 35 04 06 00 5C 0E 60 20 39 38 16 52 08 01 70 13 40 88 [06:48:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 27 D0 47 00 AE 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 D9 A7 00 00 F4 03 04 00 3F CF 91 66 B6 04 01 00 00 34 94 4D 25 78 B2 38 93 [06:48:36]CommunicateWithHost err = 0 [06:48:36]CheckOFDResponse [06:48:36]1017 (14) - 77093643461234 [06:48:36]1041 (16) - 0000000000874935 [06:48:36]1040 (4) - 42969 [06:48:36]1012 (4) - 13.07.2024 00:50 [06:48:36]1206 (1) - 0 [06:48:36]OFD Sender: Remove packet 42969 [06:48:36]ProducePacketName [06:48:36]name=ofd_packets/00042969 [06:48:36]NVStorageDeleteData [06:48:36]Write to MH i2c: 01 00 00 E1 05 E6 [06:48:36]Write i2c OK [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: 01 [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: 01 07 00 [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: 01 07 00 E1 05 00 00 00 00 00 B1 0C AA [06:48:36]RasterBufferAndPrint [06:48:36]line [06:48:36]line [06:48:36]line [06:48:36]line [06:48:36]line [06:48:36]written 0, free lines is 3254 [06:48:36]MH_Cut [06:48:36]Write to MH i2c: D1 01 00 E8 05 01 BF [06:48:36]Write i2c OK [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: D1 [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: D1 01 00 [06:48:36]MH_I2C_Read... [06:48:36]Read from MH i2c: D1 01 00 E8 05 00 BE [06:48:36]Write to MH i2c: 01 00 00 E9 05 EE [06:48:36]Write i2c OK [06:48:36]MH_I2C_Read... [06:48:36]OFD Sender: No OFD packet to send [06:48:37]*** Cut start [06:48:37]*** Partial cut [06:48:37]*** CUTSNS_PIN = 1 [06:48:37]*** CUTSNS_PIN = 0 [06:48:37]*** Brake cut motor [06:48:37]Read from MH i2c: 01 [06:48:37]MH_I2C_Read... [06:48:37]*** Stop cut motor [06:48:37]*** Cut end [06:48:37]Read from MH i2c: 01 07 00 [06:48:37]MH_I2C_Read... [06:48:37]Read from MH i2c: 01 07 00 E9 05 00 00 00 00 00 FF 0F 03 [06:48:37]process_action close_receipt done [06:48:37]requested_data is exist [06:48:37]produce_requested_data [06:48:37]requested_item fm.sn is exist - process it [06:48:37]wFMCommunicate request_size=4 [06:48:37]MH_SAM_APDU [06:48:37]CAPDU: 80 11 00 00 [06:48:37]Write to MH i2c: E2 08 00 EA 05 80 11 00 00 00 00 00 00 69 [06:48:37]Write i2c OK [06:48:37]MH_I2C_Read... [06:48:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:37]Read from MH i2c: E2 [06:48:37]MH_I2C_Read... [06:48:37]Read from MH i2c: E2 17 00 [06:48:37]MH_I2C_Read... [06:48:37]Read from MH i2c: E2 17 00 EA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C0 [06:48:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:48:37]wFMCommunicate OK [06:48:37]requested_item fd.num is exist - process it [06:48:37]SAM_PROTO_GetFieldsCounters [06:48:37]wFMCommunicate request_size=4 [06:48:37]MH_SAM_APDU [06:48:37]CAPDU: 80 13 00 00 [06:48:37]Write to MH i2c: E2 08 00 EB 05 80 13 00 00 00 00 00 00 6C [06:48:37]Write i2c OK [06:48:37]MH_I2C_Read... [06:48:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:48:38]Read from MH i2c: E2 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 62 00 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 62 00 EB 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D9 A7 00 00 0E 04 04 00 BD 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 F8 [06:48:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 D9 A7 00 00 0E 04 04 00 BD 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 [06:48:38]wFMCommunicate OK [06:48:38]SAM_PROTO_GetFieldsCounters done [06:48:38]requested_item shift.num is exist - process it [06:48:38]requested_item shift.opened is exist - process it [06:48:38]req_shift_opened [06:48:38]FM_GetShiftState [06:48:38]SAM_PROTO_GetShiftState [06:48:38]wFMCommunicate request_size=4 [06:48:38]MH_SAM_APDU [06:48:38]CAPDU: 80 13 01 00 [06:48:38]Write to MH i2c: E2 08 00 EC 05 80 13 01 00 00 00 00 00 6E [06:48:38]Write i2c OK [06:48:38]MH_I2C_Read... [06:48:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:38]Read from MH i2c: E2 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 0E 00 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 0E 00 EC 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 05 [06:48:38]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:48:38]wFMCommunicate OK [06:48:38]SAM_PROTO_GetShiftState done [06:48:38]FM_GetShiftState done [06:48:38]req_shift_opened done [06:48:38]requested_item shift.open_date is exist - process it [06:48:38]req_shift_open_date [06:48:38]req_shift_open_date done [06:48:38]requested_item shift.sale.total is exist - process it [06:48:38]SAM_PROTO_GetShiftData [06:48:38]wFMCommunicate request_size=4 [06:48:38]MH_SAM_APDU [06:48:38]CAPDU: 80 13 02 00 [06:48:38]Write to MH i2c: E2 08 00 ED 05 80 13 02 00 00 00 00 00 70 [06:48:38]Write i2c OK [06:48:38]MH_I2C_Read... [06:48:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:48:38]Read from MH i2c: E2 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 FD 00 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 FD 00 ED 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 58 2F 05 70 04 03 00 D8 28 04 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 8C 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 BC 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A9 [06:48:38]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 58 2F 05 70 04 03 00 D8 28 04 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 8C 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 BC 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [06:48:38]wFMCommunicate OK [06:48:38]wFMCommunicate request_size=4 [06:48:38]MH_SAM_APDU [06:48:38]CAPDU: 80 17 00 00 [06:48:38]Write to MH i2c: E2 08 00 EE 05 80 17 00 00 00 00 00 00 73 [06:48:38]Write i2c OK [06:48:38]MH_I2C_Read... [06:48:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:38]Read from MH i2c: E2 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 FD 00 [06:48:38]MH_I2C_Read... [06:48:38]Read from MH i2c: E2 FD 00 EE 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 85 [06:48:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [06:48:38]wFMCommunicate OK [06:48:38]wFMCommunicate request_size=4 [06:48:38]MH_SAM_APDU [06:48:38]CAPDU: 80 17 00 00 [06:48:38]Write to MH i2c: E2 08 00 EF 05 80 17 00 00 00 00 00 00 74 [06:48:38]Write i2c OK [06:48:38]MH_I2C_Read... [06:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:39]Read from MH i2c: E2 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 FD 00 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 FD 00 EF 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 38 [06:48:39]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [06:48:39]wFMCommunicate OK [06:48:39]wFMCommunicate request_size=4 [06:48:39]MH_SAM_APDU [06:48:39]CAPDU: 80 17 00 00 [06:48:39]Write to MH i2c: E2 08 00 F0 05 80 17 00 00 00 00 00 00 75 [06:48:39]Write i2c OK [06:48:39]MH_I2C_Read... [06:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:48:39]Read from MH i2c: E2 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 FD 00 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 FD 00 F0 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 EA [06:48:39]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [06:48:39]wFMCommunicate OK [06:48:39]wFMCommunicate request_size=4 [06:48:39]MH_SAM_APDU [06:48:39]CAPDU: 80 17 00 00 [06:48:39]Write to MH i2c: E2 08 00 F1 05 80 17 00 00 00 00 00 00 76 [06:48:39]Write i2c OK [06:48:39]MH_I2C_Read... [06:48:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [06:48:39]Read from MH i2c: E2 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 CA 00 [06:48:39]MH_I2C_Read... [06:48:39]Read from MH i2c: E2 CA 00 F1 05 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5B [06:48:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:48:39]wFMCommunicate OK [06:48:39]SAM_PROTO_GetShiftData done [06:48:39]requested_item shift.sale.total_cash is exist - process it [06:48:39]requested_item shift.sale_refund.total is exist - process it [06:48:39]requested_item shift.sale_refund.total_cash is exist - process it [06:48:39]produce_requested_data done [06:48:39]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42969,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3398.00,"shift.sale.total_cash":2726.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [06:48:39]process_action_free close_receipt [06:48:39]json_value_free [06:48:39]json_value_free done [06:48:39]process_json_proto returns [06:48:39]Send response to host [06:48:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42969,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3398.00,"shift.sale.total_cash":2726.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [06:48:39]free response buf [06:48:39]execute_script done [06:48:39]execute_script returns [06:48:39]free content buf [06:48:39]Sock 7.Close socket [06:48:39]Sock 7.Thread stoped [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:42]accept exits with 9 [06:51:42]New connection [06:51:42]New thread 3067530596 created [06:51:42]Thread 3067387236 joined [06:51:42]Waiting for new connection... [06:51:42] Sock 9.Parse request [06:51:42]Sock 9.Check first char [06:51:42]Sock 9.First char is OK [06:51:42]request: POST /json_proto HTTP/1.0 [06:51:42]Method: POST [06:51:42]URL: /json_proto [06:51:42]Method is POST - this is cgi request [06:51:42]url: /json_proto [06:51:42]query_string will be loaded in cgi processing [06:51:42]execute_cgi json_proto POST (null) [06:51:42]execute_cgi path=json_proto method=POST [06:51:42]POST find Content-Length [06:51:42]Host: 172.17.38.197:8080 [06:51:42]Content-Length: 1054 [06:51:42]Content-Type: application/json [06:51:42] [06:51:42]POST finish read [06:51:42]Found Content-Length = 1054 [06:51:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300098", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:51:42]execute_script... [06:51:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300098", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:51:42]POST & json_proto [06:51:42]process_json_proto [06:51:42]json parsed OK: [06:51:42]protocol is kg_v1.0 [06:51:42]action value=close_receipt [06:51:42]process_action close_receipt [06:51:42]cmd_close_receipt [06:51:42]MH_GetDate [06:51:42]Write to MH i2c: F0 00 00 F2 05 E6 [06:51:42]Write i2c OK [06:51:42]MH_I2C_Read... [06:51:42]Read from MH i2c: F0 [06:51:42]MH_I2C_Read... [06:51:42]Read from MH i2c: F0 09 00 [06:51:42]MH_I2C_Read... [06:51:42]Read from MH i2c: F0 09 00 F2 05 00 01 24 92 66 1E 0D 88 66 25 [06:51:42]GetLastDocTimeStamp 1720853316 [06:51:42]current date 1720853505 [06:51:42]FM_GetShiftState [06:51:42]SAM_PROTO_GetShiftState [06:51:42]wFMCommunicate request_size=4 [06:51:42]MH_SAM_APDU [06:51:42]CAPDU: 80 13 01 00 [06:51:42]Write to MH i2c: E2 08 00 F3 05 80 13 01 00 00 00 00 00 75 [06:51:42]Write i2c OK [06:51:42]MH_I2C_Read... [06:51:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:42]Read from MH i2c: E2 [06:51:42]MH_I2C_Read... [06:51:42]Read from MH i2c: E2 0E 00 [06:51:42]MH_I2C_Read... [06:51:42]Read from MH i2c: E2 0E 00 F3 05 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0C [06:51:42]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:51:42]wFMCommunicate OK [06:51:42]SAM_PROTO_GetShiftState done [06:51:42]FM_GetShiftState done [06:51:42]opened in 1720829646 [06:51:42]opened+sec_in_day 1720916046 [06:51:42]quantity*price = 7000 [06:51:42]sum+1 = 7001 [06:51:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521261 Напиток MAXI чай 1,2 лесные ягоды 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 15 13.07.2024 06:51 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42970 ФПД: 45914289024090 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T065145&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42970&fm=45914289024090&tin=02508201610067®Number=0000000000091176&sum=18000 0 [06:51:43]StoreToDocumentArchive [06:51:43]shift 445 fd 42970 [06:51:43]save to /storage/0445/doc_00042970 [06:51:43]save last doc name /storage/0445/doc_00042970 to /storage/kkm_last_doc_name [06:51:43]save OK [06:51:43]Clear old archive folders... [06:51:43]ProcessDocumentItem done err = 0, tmpTLVsize=398 [06:51:43]tlvbuf is 0156F1D0 [06:51:43]SAM_PROTO_ClearQueue [06:51:43]wFMCommunicate request_size=4 [06:51:43]MH_SAM_APDU [06:51:43]CAPDU: 80 09 00 00 [06:51:43]Write to MH i2c: E2 08 00 00 06 80 09 00 00 00 00 00 00 78 [06:51:43]Write i2c OK [06:51:43]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 00 06 00 90 00 7A [06:51:44]RAPDU: 90 00 [06:51:44]wFMCommunicate OK [06:51:44]SAM_PROTO_ClearQueue done [06:51:44]KKMCreateOFDPacket [06:51:44]OFDProtocolAddRootSTLVToBuf [06:51:44]FM_MakeSignedData [06:51:44]FM_MakeSignedData [06:51:44]SAM_PROTO_SignData [06:51:44]wFMCommunicate request_size=4 [06:51:44]MH_SAM_APDU [06:51:44]CAPDU: 80 0D 01 02 [06:51:44]Write to MH i2c: E2 08 00 01 06 80 0D 01 02 00 00 00 00 80 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [06:51:44]RAPDU: 90 00 [06:51:44]wFMCommunicate OK [06:51:44]wFMCommunicate request_size=255 [06:51:44]MH_SAM_APDU [06:51:44]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 [06:51:44]Write to MH i2c: E2 02 01 02 06 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 00 08 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [06:51:44]RAPDU: 90 00 [06:51:44]wFMCommunicate OK [06:51:44]wFMCommunicate request_size=157 [06:51:44]MH_SAM_APDU [06:51:44]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 01 24 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DA A7 00 00 35 04 06 00 29 C2 40 E3 2C 5A [06:51:44]Write to MH i2c: E2 A0 00 03 06 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 01 24 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DA A7 00 00 35 04 06 00 29 C2 40 E3 2C 5A 00 00 91 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 03 00 03 06 00 90 00 7D [06:51:44]RAPDU: 90 00 [06:51:44]wFMCommunicate OK [06:51:44]wFMCommunicate request_size=4 [06:51:44]MH_SAM_APDU [06:51:44]CAPDU: 80 0D 03 02 [06:51:44]Write to MH i2c: E2 08 00 04 06 80 0D 03 02 00 00 00 00 85 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 0B 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 0B 00 04 06 00 6D 19 4A A1 E5 85 26 95 90 00 1C [06:51:44]RAPDU: 6D 19 4A A1 E5 85 26 95 90 00 [06:51:44]wFMCommunicate OK [06:51:44]SAM_PROTO_SignData done [06:51:44]FM_MakeSignedData done [06:51:44]CreateOFDProtocolMessage [06:51:44]wFMCommunicate request_size=4 [06:51:44]MH_SAM_APDU [06:51:44]CAPDU: 80 11 00 00 [06:51:44]Write to MH i2c: E2 08 00 05 06 80 11 00 00 00 00 00 00 85 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:44]Read from MH i2c: E2 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 17 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: E2 17 00 05 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 DC [06:51:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:51:44]wFMCommunicate OK [06:51:44]CreateOFDProtocolMessage done [06:51:44]OFDSenderStorePacket 42970 [06:51:44]StoreOFDPacket docnum=42970 [06:51:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A2 01 00 00 2B 33 9A 01 83 EC 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 01 24 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DA A7 00 00 35 04 06 00 29 C2 40 E3 2C 5A 6D 19 4A A1 E5 85 26 95 [06:51:44]CheckFolder [06:51:44]dirname=/storage/ofd_packets [06:51:44]CheckFolder done [06:51:44]ProducePacketName [06:51:44]name=ofd_packets/00042970 [06:51:44]NVStorageSaveData ofd_packets/00042970 [06:51:44]File name is /storage/ofd_packets/00042970 [06:51:44]Write 448 bytes [06:51:44]NVStorageSaveData done [06:51:44]OFDSenderStorePacket done [06:51:44]KKMCreateOFDPacket done [06:51:44]NVStorageSaveData kkm_last_timestamp [06:51:44]File name is /storage/kkm_last_timestamp [06:51:44]Write 4 bytes [06:51:44]NVStorageSaveData done [06:51:44]ExternCall_PrintAddStr [06:51:44]wPrintStart [06:51:44]Write to MH i2c: 01 00 00 06 06 0C [06:51:44]OFD Sender: Processing packet 42970 [packets to send 31, broken 30] [06:51:44]ProducePacketName [06:51:44]name=ofd_packets/00042970 [06:51:44]Write i2c OK [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: 01 [06:51:44]MH_I2C_Read... [06:51:44]OFD Sender: To server: pG, [06:51:44]CommunicateWithHost lk.salyk.kg:30040 [06:51:44]ConnectInit lk.salyk.kg [06:51:44]Read from MH i2c: 01 07 00 [06:51:44]MH_I2C_Read... [06:51:44]Read from MH i2c: 01 07 00 06 06 00 00 00 00 00 FF 0F 21 [06:51:44]RasterBufferAndPrint [06:51:44]line Счет N : (3)300098 [06:51:44]line ИНН: 02508201610067 [06:51:44]line Контрольно-Кассовый Чек [06:51:44]line ПРОДАЖА [06:51:44]line Товар: 4630007400358 [06:51:44]line Семечки ДЖИНН 70г [06:51:44]line 1.000 * 70.00 [06:51:44]line = 70.00 [06:51:44]line НДС 12% НСП 1% [06:51:44]line > о реализуемом товаре [06:51:44]line Товар: 4870202521261 [06:51:44]line Напиток MAXI чай 1,2 лесные ягоды [06:51:44]line 1.000 * 110.00 [06:51:44]line = 110.00 [06:51:44]line НДС 12% НСП 1% [06:51:44]line > о реализуемом товаре [06:51:44]line ИТОГО: 180.00 [06:51:44]line НСП 1% : 1.59 [06:51:44]line НДС 12% : 19.11 [06:51:44]line Наличными: 180.00 [06:51:44]line Безнал.: 0.00 [06:51:44]line Место: АЗС № 71 "Партнер Нефть" [06:51:44]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [06:51:44]line СНО: Общий режим [06:51:44]line Чек 15 13.07.2024 06:51 [06:51:44]line Смена: 445 ФФД: 1.0 [06:51:44]line ЗНМ: 0300000153 [06:51:44]line РНМ: 0000000000091176 [06:51:44]line Версия ККМ: 001 [06:51:44]line ФМ: 0000000000874935 [06:51:44]line ФД: 42970 [06:51:44]line ФПД: 45914289024090 [06:51:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T065145&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42970&fm=45914289024090&tin=02508201610067®Number=0000000000091176&sum=18000 [06:51:44]line 0 [06:51:44]written 0, free lines is 4095 [06:51:45]Connected sock=10 [06:51:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A2 01 00 00 2B 33 9A 01 83 EC 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 01 24 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DA A7 00 00 35 04 06 00 29 C2 40 E3 2C 5A 6D 19 4A A1 E5 85 26 95 [06:51:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D5 4D 47 00 00 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 38 37 34 39 33 35 10 04 04 00 DA A7 00 00 F4 03 04 00 FC CF 91 66 B6 04 01 00 00 6B E2 27 C5 D4 8F 26 F5 [06:51:45]CommunicateWithHost err = 0 [06:51:45]CheckOFDResponse [06:51:45]1017 (14) - 77093643461234 [06:51:45]1041 (16) - 0000000000874935 [06:51:45]1040 (4) - 42970 [06:51:45]1012 (4) - 13.07.2024 00:53 [06:51:45]1206 (1) - 0 [06:51:45]OFD Sender: Remove packet 42970 [06:51:45]ProducePacketName [06:51:45]name=ofd_packets/00042970 [06:51:45]NVStorageDeleteData [06:51:45]Write to MH i2c: 01 00 00 35 06 3B [06:51:45]Write i2c OK [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: 01 [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: 01 07 00 [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: 01 07 00 35 06 00 00 00 00 00 B9 0C 07 [06:51:45]RasterBufferAndPrint [06:51:45]line [06:51:45]line [06:51:45]line [06:51:45]line [06:51:45]line [06:51:45]written 0, free lines is 3264 [06:51:45]MH_Cut [06:51:45]Write to MH i2c: D1 01 00 3C 06 01 14 [06:51:45]Write i2c OK [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: D1 [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: D1 01 00 [06:51:45]MH_I2C_Read... [06:51:45]Read from MH i2c: D1 01 00 3C 06 00 13 [06:51:45]Write to MH i2c: 01 00 00 3D 06 43 [06:51:45]Write i2c OK [06:51:45]MH_I2C_Read... [06:51:45]OFD Sender: No OFD packet to send [06:51:46]*** Cut start [06:51:46]*** Partial cut [06:51:46]*** CUTSNS_PIN = 1 [06:51:46]*** CUTSNS_PIN = 0 [06:51:46]*** Brake cut motor [06:51:46]Read from MH i2c: 01 [06:51:46]MH_I2C_Read... [06:51:46]*** Stop cut motor [06:51:46]*** Cut end [06:51:46]Read from MH i2c: 01 07 00 [06:51:46]MH_I2C_Read... [06:51:46]Read from MH i2c: 01 07 00 3D 06 00 00 00 00 00 FF 0F 58 [06:51:46]process_action close_receipt done [06:51:46]requested_data is exist [06:51:46]produce_requested_data [06:51:46]requested_item fm.sn is exist - process it [06:51:46]wFMCommunicate request_size=4 [06:51:46]MH_SAM_APDU [06:51:46]CAPDU: 80 11 00 00 [06:51:46]Write to MH i2c: E2 08 00 3E 06 80 11 00 00 00 00 00 00 BE [06:51:46]Write i2c OK [06:51:46]MH_I2C_Read... [06:51:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:46]Read from MH i2c: E2 [06:51:46]MH_I2C_Read... [06:51:46]Read from MH i2c: E2 17 00 [06:51:46]MH_I2C_Read... [06:51:46]Read from MH i2c: E2 17 00 3E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 15 [06:51:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [06:51:46]wFMCommunicate OK [06:51:46]requested_item fd.num is exist - process it [06:51:46]SAM_PROTO_GetFieldsCounters [06:51:46]wFMCommunicate request_size=4 [06:51:46]MH_SAM_APDU [06:51:46]CAPDU: 80 13 00 00 [06:51:46]Write to MH i2c: E2 08 00 3F 06 80 13 00 00 00 00 00 00 C1 [06:51:46]Write i2c OK [06:51:46]MH_I2C_Read... [06:51:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:51:47]Read from MH i2c: E2 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 62 00 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 62 00 3F 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DA A7 00 00 0E 04 04 00 BD 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 51 [06:51:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DA A7 00 00 0E 04 04 00 BD 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 [06:51:47]wFMCommunicate OK [06:51:47]SAM_PROTO_GetFieldsCounters done [06:51:47]requested_item shift.num is exist - process it [06:51:47]requested_item shift.opened is exist - process it [06:51:47]req_shift_opened [06:51:47]FM_GetShiftState [06:51:47]SAM_PROTO_GetShiftState [06:51:47]wFMCommunicate request_size=4 [06:51:47]MH_SAM_APDU [06:51:47]CAPDU: 80 13 01 00 [06:51:47]Write to MH i2c: E2 08 00 40 06 80 13 01 00 00 00 00 00 C3 [06:51:47]Write i2c OK [06:51:47]MH_I2C_Read... [06:51:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:47]Read from MH i2c: E2 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 0E 00 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 0E 00 40 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5A [06:51:47]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [06:51:47]wFMCommunicate OK [06:51:47]SAM_PROTO_GetShiftState done [06:51:47]FM_GetShiftState done [06:51:47]req_shift_opened done [06:51:47]requested_item shift.open_date is exist - process it [06:51:47]req_shift_open_date [06:51:47]req_shift_open_date done [06:51:47]requested_item shift.sale.total is exist - process it [06:51:47]SAM_PROTO_GetShiftData [06:51:47]wFMCommunicate request_size=4 [06:51:47]MH_SAM_APDU [06:51:47]CAPDU: 80 13 02 00 [06:51:47]Write to MH i2c: E2 08 00 41 06 80 13 02 00 00 00 00 00 C5 [06:51:47]Write i2c OK [06:51:47]MH_I2C_Read... [06:51:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:51:47]Read from MH i2c: E2 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 FD 00 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 FD 00 41 06 00 AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 A8 75 05 70 04 03 00 28 6F 04 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 6C 94 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 5B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 4C [06:51:47]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 A8 75 05 70 04 03 00 28 6F 04 72 04 03 00 80 06 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 6C 94 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 5B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [06:51:47]wFMCommunicate OK [06:51:47]wFMCommunicate request_size=4 [06:51:47]MH_SAM_APDU [06:51:47]CAPDU: 80 17 00 00 [06:51:47]Write to MH i2c: E2 08 00 42 06 80 17 00 00 00 00 00 00 C8 [06:51:47]Write i2c OK [06:51:47]MH_I2C_Read... [06:51:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:51:47]Read from MH i2c: E2 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 FD 00 [06:51:47]MH_I2C_Read... [06:51:47]Read from MH i2c: E2 FD 00 42 06 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 DA [06:51:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [06:51:47]wFMCommunicate OK [06:51:47]wFMCommunicate request_size=4 [06:51:47]MH_SAM_APDU [06:51:47]CAPDU: 80 17 00 00 [06:51:47]Write to MH i2c: E2 08 00 43 06 80 17 00 00 00 00 00 00 C9 [06:51:47]Write i2c OK [06:51:47]MH_I2C_Read... [06:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:51:48]Read from MH i2c: E2 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 FD 00 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 FD 00 43 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 8D [06:51:48]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [06:51:48]wFMCommunicate OK [06:51:48]wFMCommunicate request_size=4 [06:51:48]MH_SAM_APDU [06:51:48]CAPDU: 80 17 00 00 [06:51:48]Write to MH i2c: E2 08 00 44 06 80 17 00 00 00 00 00 00 CA [06:51:48]Write i2c OK [06:51:48]MH_I2C_Read... [06:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:51:48]Read from MH i2c: E2 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 FD 00 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 FD 00 44 06 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 3F [06:51:48]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [06:51:48]wFMCommunicate OK [06:51:48]wFMCommunicate request_size=4 [06:51:48]MH_SAM_APDU [06:51:48]CAPDU: 80 17 00 00 [06:51:48]Write to MH i2c: E2 08 00 45 06 80 17 00 00 00 00 00 00 CB [06:51:48]Write i2c OK [06:51:48]MH_I2C_Read... [06:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [06:51:48]Read from MH i2c: E2 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 CA 00 [06:51:48]MH_I2C_Read... [06:51:48]Read from MH i2c: E2 CA 00 45 06 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B0 [06:51:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:51:48]wFMCommunicate OK [06:51:48]SAM_PROTO_GetShiftData done [06:51:48]requested_item shift.sale.total_cash is exist - process it [06:51:48]requested_item shift.sale_refund.total is exist - process it [06:51:48]requested_item shift.sale_refund.total_cash is exist - process it [06:51:48]produce_requested_data done [06:51:48]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42970,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3578.00,"shift.sale.total_cash":2906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [06:51:48]process_action_free close_receipt [06:51:48]json_value_free [06:51:48]json_value_free done [06:51:48]process_json_proto returns [06:51:48]Send response to host [06:51:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42970,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3578.00,"shift.sale.total_cash":2906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [06:51:48]free response buf [06:51:48]execute_script done [06:51:48]execute_script returns [06:51:48]free content buf [06:51:48]Sock 9.Close socket [06:51:48]Sock 9.Thread stoped [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:11]OFD Sender: No OFD packet to send [07:02:16]OFD Sender: No OFD packet to send [07:02:21]OFD Sender: No OFD packet to send [07:02:26]OFD Sender: No OFD packet to send [07:02:31]OFD Sender: No OFD packet to send [07:02:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:03]accept exits with 7 [07:03:03]New connection [07:03:03]New thread 3067387236 created [07:03:03]Thread 3067530596 joined [07:03:03]Waiting for new connection... [07:03:03] Sock 7.Parse request [07:03:03]Sock 7.Check first char [07:03:03]Sock 7.First char is OK [07:03:03]request: POST /json_proto HTTP/1.0 [07:03:03]Method: POST [07:03:03]URL: /json_proto [07:03:03]Method is POST - this is cgi request [07:03:03]url: /json_proto [07:03:03]query_string will be loaded in cgi processing [07:03:03]execute_cgi json_proto POST (null) [07:03:03]execute_cgi path=json_proto method=POST [07:03:03]POST find Content-Length [07:03:03]Host: 172.17.38.197:8080 [07:03:03]Content-Length: 901 [07:03:03]Content-Type: application/json [07:03:03] [07:03:03]POST finish read [07:03:03]Found Content-Length = 901 [07:03:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300099", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:03:03]execute_script... [07:03:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300099", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:03:03]POST & json_proto [07:03:03]process_json_proto [07:03:03]json parsed OK: [07:03:03]protocol is kg_v1.0 [07:03:03]action value=close_receipt [07:03:03]process_action close_receipt [07:03:03]cmd_close_receipt [07:03:03]MH_GetDate [07:03:03]Write to MH i2c: F0 00 00 46 06 3B [07:03:03]Write i2c OK [07:03:03]MH_I2C_Read... [07:03:03]Read from MH i2c: F0 [07:03:03]MH_I2C_Read... [07:03:03]Read from MH i2c: F0 09 00 [07:03:03]MH_I2C_Read... [07:03:03]Read from MH i2c: F0 09 00 46 06 00 A9 26 92 66 1E 0D 88 66 24 [07:03:03]GetLastDocTimeStamp 1720853505 [07:03:03]current date 1720854185 [07:03:03]FM_GetShiftState [07:03:03]SAM_PROTO_GetShiftState [07:03:03]wFMCommunicate request_size=4 [07:03:03]MH_SAM_APDU [07:03:03]CAPDU: 80 13 01 00 [07:03:03]Write to MH i2c: E2 08 00 47 06 80 13 01 00 00 00 00 00 CA [07:03:03]Write i2c OK [07:03:03]MH_I2C_Read... [07:03:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:03:03]Read from MH i2c: E2 [07:03:03]MH_I2C_Read... [07:03:03]Read from MH i2c: E2 0E 00 [07:03:03]MH_I2C_Read... [07:03:03]Read from MH i2c: E2 0E 00 47 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 61 [07:03:03]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:03:03]wFMCommunicate OK [07:03:03]SAM_PROTO_GetShiftState done [07:03:03]FM_GetShiftState done [07:03:03]opened in 1720829646 [07:03:03]opened+sec_in_day 1720916046 [07:03:03]quantity*price = 13500 [07:03:03]sum+1 = 13501 [07:03:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 16 13.07.2024 07:03 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874935 ФД: 42971 ФПД: 185012672976582 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T070306&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42971&fm=185012672976582&tin=02508201610067®Number=0000000000091176&sum=13500 0 [07:03:04]StoreToDocumentArchive [07:03:04]shift 445 fd 42971 [07:03:04]save to /storage/0445/doc_00042971 [07:03:04]save last doc name /storage/0445/doc_00042971 to /storage/kkm_last_doc_name [07:03:04]save OK [07:03:04]Clear old archive folders... [07:03:04]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:03:04]tlvbuf is 0156EC40 [07:03:04]SAM_PROTO_ClearQueue [07:03:04]wFMCommunicate request_size=4 [07:03:04]MH_SAM_APDU [07:03:04]CAPDU: 80 09 00 00 [07:03:04]Write to MH i2c: E2 08 00 54 06 80 09 00 00 00 00 00 00 CC [07:03:04]Write i2c OK [07:03:04]MH_I2C_Read... [07:03:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:03:04]Read from MH i2c: E2 [07:03:04]MH_I2C_Read... [07:03:04]Read from MH i2c: E2 03 00 [07:03:04]MH_I2C_Read... [07:03:04]Read from MH i2c: E2 03 00 54 06 00 90 00 CE [07:03:04]RAPDU: 90 00 [07:03:04]wFMCommunicate OK [07:03:04]SAM_PROTO_ClearQueue done [07:03:04]KKMCreateOFDPacket [07:03:04]OFDProtocolAddRootSTLVToBuf [07:03:04]FM_MakeSignedData [07:03:04]FM_MakeSignedData [07:03:04]SAM_PROTO_SignData [07:03:04]wFMCommunicate request_size=4 [07:03:04]MH_SAM_APDU [07:03:04]CAPDU: 80 0D 01 02 [07:03:04]Write to MH i2c: E2 08 00 55 06 80 0D 01 02 00 00 00 00 D4 [07:03:04]Write i2c OK [07:03:04]MH_I2C_Read... [07:03:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:03:04]Read from MH i2c: E2 [07:03:04]MH_I2C_Read... [07:03:04]Read from MH i2c: E2 03 00 [07:03:04]MH_I2C_Read... [07:03:04]Read from MH i2c: E2 03 00 55 06 00 90 00 CF [07:03:04]RAPDU: 90 00 [07:03:04]wFMCommunicate OK [07:03:04]wFMCommunicate request_size=255 [07:03:04]MH_SAM_APDU [07:03:04]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA 26 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 [07:03:04]Write to MH i2c: E2 02 01 56 06 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA 26 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 24 [07:03:04]Write i2c OK [07:03:04]MH_I2C_Read... [07:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:03:05]Read from MH i2c: E2 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 03 00 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 03 00 56 06 00 90 00 D0 [07:03:05]RAPDU: 90 00 [07:03:05]wFMCommunicate OK [07:03:05]wFMCommunicate request_size=31 [07:03:05]MH_SAM_APDU [07:03:05]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 35 10 04 04 00 DB A7 00 00 35 04 06 00 A8 44 9E A6 D6 C6 [07:03:05]Write to MH i2c: E2 22 00 57 06 80 0D 02 02 1A 00 30 30 38 37 34 39 33 35 10 04 04 00 DB A7 00 00 35 04 06 00 A8 44 9E A6 D6 C6 00 00 54 [07:03:05]Write i2c OK [07:03:05]MH_I2C_Read... [07:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:03:05]Read from MH i2c: E2 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 03 00 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 03 00 57 06 00 90 00 D1 [07:03:05]RAPDU: 90 00 [07:03:05]wFMCommunicate OK [07:03:05]wFMCommunicate request_size=4 [07:03:05]MH_SAM_APDU [07:03:05]CAPDU: 80 0D 03 02 [07:03:05]Write to MH i2c: E2 08 00 58 06 80 0D 03 02 00 00 00 00 D9 [07:03:05]Write i2c OK [07:03:05]MH_I2C_Read... [07:03:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:03:05]Read from MH i2c: E2 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 0B 00 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 0B 00 58 06 00 92 CB 2C 7C 72 0E 06 72 90 00 D7 [07:03:05]RAPDU: 92 CB 2C 7C 72 0E 06 72 90 00 [07:03:05]wFMCommunicate OK [07:03:05]SAM_PROTO_SignData done [07:03:05]FM_MakeSignedData done [07:03:05]CreateOFDProtocolMessage [07:03:05]wFMCommunicate request_size=4 [07:03:05]MH_SAM_APDU [07:03:05]CAPDU: 80 11 00 00 [07:03:05]Write to MH i2c: E2 08 00 59 06 80 11 00 00 00 00 00 00 D9 [07:03:05]Write i2c OK [07:03:05]MH_I2C_Read... [07:03:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:03:05]Read from MH i2c: E2 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 17 00 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: E2 17 00 59 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 30 [07:03:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:03:05]wFMCommunicate OK [07:03:05]CreateOFDProtocolMessage done [07:03:05]OFDSenderStorePacket 42971 [07:03:05]StoreOFDPacket docnum=42971 [07:03:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 51 09 1C 01 CE 18 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA 26 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DB A7 00 00 35 04 06 00 A8 44 9E A6 D6 C6 92 CB 2C 7C 72 0E 06 72 [07:03:05]CheckFolder [07:03:05]dirname=/storage/ofd_packets [07:03:05]CheckFolder done [07:03:05]ProducePacketName [07:03:05]name=ofd_packets/00042971 [07:03:05]NVStorageSaveData ofd_packets/00042971 [07:03:05]File name is /storage/ofd_packets/00042971 [07:03:05]Write 322 bytes [07:03:05]NVStorageSaveData done [07:03:05]OFDSenderStorePacket done [07:03:05]KKMCreateOFDPacket done [07:03:05]NVStorageSaveData kkm_last_timestamp [07:03:05]File name is /storage/kkm_last_timestamp [07:03:05]Write 4 bytes [07:03:05]NVStorageSaveData done [07:03:05]ExternCall_PrintAddStr [07:03:05]wPrintStart [07:03:05]Write to MH i2c: 01 00 00 5A 06 60 [07:03:05]Write i2c OK [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: 01 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: 01 07 00 [07:03:05]MH_I2C_Read... [07:03:05]Read from MH i2c: 01 07 00 5A 06 00 00 00 00 00 FF 0F 75 [07:03:05]RasterBufferAndPrint [07:03:05]line Счет N : (3)300099 [07:03:05]line ИНН: 02508201610067 [07:03:05]line Контрольно-Кассовый Чек [07:03:05]line ПРОДАЖА [07:03:05]line Товар: 48745000 [07:03:05]line Сигареты Winston Purple Mix [07:03:05]line 1.000 * 135.00 [07:03:05]line = 135.00 [07:03:05]line НДС 12% НСП 1% [07:03:05]line > о реализуемом товаре [07:03:05]line ИТОГО: 135.00 [07:03:05]line НСП 1% : 1.19 [07:03:05]line НДС 12% : 14.34 [07:03:05]line Наличными: 0.00 [07:03:05]line Безнал.: 135.00 [07:03:05]line Место: АЗС № 71 "Партнер Нефть" [07:03:05]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [07:03:05]line СНО: Общий режим [07:03:05]line Чек 16 13.07.2024 07:03 [07:03:05]line Смена: 445 ФФД: 1.0 [07:03:05]line ЗНМ: 0300000153 [07:03:05]line РНМ: 0000000000091176 [07:03:05]line Версия ККМ: 001 [07:03:05]line Платежная система: Бакай Банк [07:03:05]line ФМ: 0000000000874935 [07:03:05]line ФД: 42971 [07:03:05]line ФПД: 185012672976582 [07:03:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T070306&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42971&fm=185012672976582&tin=02508201610067®Number=0000000000091176&sum=13500 [07:03:05]OFD Sender: Processing packet 42971 [packets to send 31, broken 30] [07:03:05]ProducePacketName [07:03:05]name=ofd_packets/00042971 [07:03:05]OFD Sender: To server: pG, [07:03:05]CommunicateWithHost lk.salyk.kg:30040 [07:03:05]ConnectInit lk.salyk.kg [07:03:05]line 0 [07:03:05]written 0, free lines is 4095 [07:03:05]Connected sock=10 [07:03:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 51 09 1C 01 CE 18 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA 26 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DB A7 00 00 35 04 06 00 A8 44 9E A6 D6 C6 92 CB 2C 7C 72 0E 06 72 [07:03:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 3C 49 47 00 E0 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DB A7 00 00 F4 03 04 00 A4 D2 91 66 B6 04 01 00 00 3C 79 2E 7B D5 A5 DC 5B [07:03:05]CommunicateWithHost err = 0 [07:03:05]CheckOFDResponse [07:03:05]1017 (14) - 77093643461234 [07:03:05]1041 (16) - 0000000000874935 [07:03:05]1040 (4) - 42971 [07:03:05]1012 (4) - 13.07.2024 01:04 [07:03:05]1206 (1) - 0 [07:03:05]OFD Sender: Remove packet 42971 [07:03:05]ProducePacketName [07:03:05]name=ofd_packets/00042971 [07:03:05]NVStorageDeleteData [07:03:06]Write to MH i2c: 01 00 00 84 06 8A [07:03:06]Write i2c OK [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: 01 [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: 01 07 00 [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: 01 07 00 84 06 00 00 00 00 00 E6 0C 83 [07:03:06]RasterBufferAndPrint [07:03:06]line [07:03:06]line [07:03:06]line [07:03:06]line [07:03:06]line [07:03:06]written 0, free lines is 3309 [07:03:06]MH_Cut [07:03:06]Write to MH i2c: D1 01 00 8B 06 01 63 [07:03:06]Write i2c OK [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: D1 [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: D1 01 00 [07:03:06]MH_I2C_Read... [07:03:06]Read from MH i2c: D1 01 00 8B 06 00 62 [07:03:06]Write to MH i2c: 01 00 00 8C 06 92 [07:03:06]Write i2c OK [07:03:06]MH_I2C_Read... [07:03:06]OFD Sender: No OFD packet to send [07:03:06]*** Cut start [07:03:06]*** Partial cut [07:03:06]*** CUTSNS_PIN = 1 [07:03:06]*** CUTSNS_PIN = 0 [07:03:07]*** Brake cut motor [07:03:07]Read from MH i2c: 01 [07:03:07]MH_I2C_Read... [07:03:07]*** Stop cut motor [07:03:07]*** Cut end [07:03:07]Read from MH i2c: 01 07 00 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: 01 07 00 8C 06 00 00 00 00 00 FF 0F A7 [07:03:07]process_action close_receipt done [07:03:07]requested_data is exist [07:03:07]produce_requested_data [07:03:07]requested_item fm.sn is exist - process it [07:03:07]wFMCommunicate request_size=4 [07:03:07]MH_SAM_APDU [07:03:07]CAPDU: 80 11 00 00 [07:03:07]Write to MH i2c: E2 08 00 8D 06 80 11 00 00 00 00 00 00 0D [07:03:07]Write i2c OK [07:03:07]MH_I2C_Read... [07:03:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:03:07]Read from MH i2c: E2 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 17 00 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 17 00 8D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 64 [07:03:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:03:07]wFMCommunicate OK [07:03:07]requested_item fd.num is exist - process it [07:03:07]SAM_PROTO_GetFieldsCounters [07:03:07]wFMCommunicate request_size=4 [07:03:07]MH_SAM_APDU [07:03:07]CAPDU: 80 13 00 00 [07:03:07]Write to MH i2c: E2 08 00 8E 06 80 13 00 00 00 00 00 00 10 [07:03:07]Write i2c OK [07:03:07]MH_I2C_Read... [07:03:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:03:07]Read from MH i2c: E2 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 62 00 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 62 00 8E 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DB A7 00 00 0E 04 04 00 BD 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 A4 [07:03:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DB A7 00 00 0E 04 04 00 BD 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 [07:03:07]wFMCommunicate OK [07:03:07]SAM_PROTO_GetFieldsCounters done [07:03:07]requested_item shift.num is exist - process it [07:03:07]requested_item shift.opened is exist - process it [07:03:07]req_shift_opened [07:03:07]FM_GetShiftState [07:03:07]SAM_PROTO_GetShiftState [07:03:07]wFMCommunicate request_size=4 [07:03:07]MH_SAM_APDU [07:03:07]CAPDU: 80 13 01 00 [07:03:07]Write to MH i2c: E2 08 00 8F 06 80 13 01 00 00 00 00 00 12 [07:03:07]Write i2c OK [07:03:07]MH_I2C_Read... [07:03:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:03:07]Read from MH i2c: E2 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 0E 00 [07:03:07]MH_I2C_Read... [07:03:07]Read from MH i2c: E2 0E 00 8F 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 A9 [07:03:07]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:03:07]wFMCommunicate OK [07:03:07]SAM_PROTO_GetShiftState done [07:03:07]FM_GetShiftState done [07:03:07]req_shift_opened done [07:03:07]requested_item shift.open_date is exist - process it [07:03:07]req_shift_open_date [07:03:07]req_shift_open_date done [07:03:07]requested_item shift.sale.total is exist - process it [07:03:07]SAM_PROTO_GetShiftData [07:03:07]wFMCommunicate request_size=4 [07:03:07]MH_SAM_APDU [07:03:07]CAPDU: 80 13 02 00 [07:03:07]Write to MH i2c: E2 08 00 90 06 80 13 02 00 00 00 00 00 14 [07:03:07]Write i2c OK [07:03:07]MH_I2C_Read... [07:03:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:03:08]Read from MH i2c: E2 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 90 06 00 AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 64 AA 05 70 04 03 00 28 6F 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 06 9A 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 D2 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 96 [07:03:08]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 64 AA 05 70 04 03 00 28 6F 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 06 9A 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 D2 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [07:03:08]wFMCommunicate OK [07:03:08]wFMCommunicate request_size=4 [07:03:08]MH_SAM_APDU [07:03:08]CAPDU: 80 17 00 00 [07:03:08]Write to MH i2c: E2 08 00 91 06 80 17 00 00 00 00 00 00 17 [07:03:08]Write i2c OK [07:03:08]MH_I2C_Read... [07:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:03:08]Read from MH i2c: E2 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 91 06 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 29 [07:03:08]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [07:03:08]wFMCommunicate OK [07:03:08]wFMCommunicate request_size=4 [07:03:08]MH_SAM_APDU [07:03:08]CAPDU: 80 17 00 00 [07:03:08]Write to MH i2c: E2 08 00 92 06 80 17 00 00 00 00 00 00 18 [07:03:08]Write i2c OK [07:03:08]MH_I2C_Read... [07:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:03:08]Read from MH i2c: E2 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 [07:03:08]MH_I2C_Read... [07:03:08]Read from MH i2c: E2 FD 00 92 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 DC [07:03:08]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [07:03:08]wFMCommunicate OK [07:03:08]wFMCommunicate request_size=4 [07:03:08]MH_SAM_APDU [07:03:08]CAPDU: 80 17 00 00 [07:03:08]Write to MH i2c: E2 08 00 93 06 80 17 00 00 00 00 00 00 19 [07:03:08]Write i2c OK [07:03:08]MH_I2C_Read... [07:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:03:09]Read from MH i2c: E2 [07:03:09]MH_I2C_Read... [07:03:09]Read from MH i2c: E2 FD 00 [07:03:09]MH_I2C_Read... [07:03:09]Read from MH i2c: E2 FD 00 93 06 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 8E [07:03:09]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [07:03:09]wFMCommunicate OK [07:03:09]wFMCommunicate request_size=4 [07:03:09]MH_SAM_APDU [07:03:09]CAPDU: 80 17 00 00 [07:03:09]Write to MH i2c: E2 08 00 94 06 80 17 00 00 00 00 00 00 1A [07:03:09]Write i2c OK [07:03:09]MH_I2C_Read... [07:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [07:03:09]Read from MH i2c: E2 [07:03:09]MH_I2C_Read... [07:03:09]Read from MH i2c: E2 CA 00 [07:03:09]MH_I2C_Read... [07:03:09]Read from MH i2c: E2 CA 00 94 06 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FF [07:03:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:03:09]wFMCommunicate OK [07:03:09]SAM_PROTO_GetShiftData done [07:03:09]requested_item shift.sale.total_cash is exist - process it [07:03:09]requested_item shift.sale_refund.total is exist - process it [07:03:09]requested_item shift.sale_refund.total_cash is exist - process it [07:03:09]produce_requested_data done [07:03:09]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42971,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3713.00,"shift.sale.total_cash":2906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:03:09]process_action_free close_receipt [07:03:09]json_value_free [07:03:09]json_value_free done [07:03:09]process_json_proto returns [07:03:09]Send response to host [07:03:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42971,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3713.00,"shift.sale.total_cash":2906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:03:09]free response buf [07:03:09]execute_script done [07:03:09]execute_script returns [07:03:09]free content buf [07:03:09]Sock 7.Close socket [07:03:09]Sock 7.Thread stoped [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:56]OFD Sender: No OFD packet to send [07:05:01]OFD Sender: No OFD packet to send [07:05:06]OFD Sender: No OFD packet to send [07:05:11]OFD Sender: No OFD packet to send [07:05:16]OFD Sender: No OFD packet to send [07:05:21]OFD Sender: No OFD packet to send [07:05:26]OFD Sender: No OFD packet to send [07:05:31]OFD Sender: No OFD packet to send [07:05:36]OFD Sender: No OFD packet to send [07:05:41]OFD Sender: No OFD packet to send [07:05:46]OFD Sender: No OFD packet to send [07:05:51]OFD Sender: No OFD packet to send [07:05:56]OFD Sender: No OFD packet to send [07:06:01]OFD Sender: No OFD packet to send [07:06:06]OFD Sender: No OFD packet to send [07:06:11]OFD Sender: No OFD packet to send [07:06:16]OFD Sender: No OFD packet to send [07:06:21]OFD Sender: No OFD packet to send [07:06:26]OFD Sender: No OFD packet to send [07:06:31]OFD Sender: No OFD packet to send [07:06:36]OFD Sender: No OFD packet to send [07:06:41]OFD Sender: No OFD packet to send [07:06:46]OFD Sender: No OFD packet to send [07:06:51]OFD Sender: No OFD packet to send [07:06:56]OFD Sender: No OFD packet to send [07:07:01]OFD Sender: No OFD packet to send [07:07:06]OFD Sender: No OFD packet to send [07:07:11]OFD Sender: No OFD packet to send [07:07:16]OFD Sender: No OFD packet to send [07:07:21]OFD Sender: No OFD packet to send [07:07:26]OFD Sender: No OFD packet to send [07:07:31]OFD Sender: No OFD packet to send [07:07:36]OFD Sender: No OFD packet to send [07:07:41]OFD Sender: No OFD packet to send [07:07:46]OFD Sender: No OFD packet to send [07:07:51]OFD Sender: No OFD packet to send [07:07:56]OFD Sender: No OFD packet to send [07:08:01]OFD Sender: No OFD packet to send [07:08:06]OFD Sender: No OFD packet to send [07:08:11]OFD Sender: No OFD packet to send [07:08:16]OFD Sender: No OFD packet to send [07:08:21]OFD Sender: No OFD packet to send [07:08:26]OFD Sender: No OFD packet to send [07:08:31]OFD Sender: No OFD packet to send [07:08:36]OFD Sender: No OFD packet to send [07:08:41]OFD Sender: No OFD packet to send [07:08:46]OFD Sender: No OFD packet to send [07:08:51]OFD Sender: No OFD packet to send [07:08:56]OFD Sender: No OFD packet to send [07:09:01]OFD Sender: No OFD packet to send [07:09:06]OFD Sender: No OFD packet to send [07:09:11]OFD Sender: No OFD packet to send [07:09:16]OFD Sender: No OFD packet to send [07:09:21]OFD Sender: No OFD packet to send [07:09:26]OFD Sender: No OFD packet to send [07:09:31]OFD Sender: No OFD packet to send [07:09:36]OFD Sender: No OFD packet to send [07:09:41]OFD Sender: No OFD packet to send [07:09:46]OFD Sender: No OFD packet to send [07:09:51]OFD Sender: No OFD packet to send [07:09:56]OFD Sender: No OFD packet to send [07:10:01]OFD Sender: No OFD packet to send [07:10:06]OFD Sender: No OFD packet to send [07:10:11]accept exits with 9 [07:10:11]New connection [07:10:11]New thread 3067530596 created [07:10:11]Thread 3067387236 joined [07:10:11]Waiting for new connection... [07:10:11] Sock 9.Parse request [07:10:11]Sock 9.Check first char [07:10:11]Sock 9.First char is OK [07:10:11]request: POST /json_proto HTTP/1.0 [07:10:11]Method: POST [07:10:11]URL: /json_proto [07:10:11]Method is POST - this is cgi request [07:10:11]url: /json_proto [07:10:11]query_string will be loaded in cgi processing [07:10:11]execute_cgi json_proto POST (null) [07:10:11]execute_cgi path=json_proto method=POST [07:10:11]POST find Content-Length [07:10:11]Host: 172.17.38.197:8080 [07:10:11]Content-Length: 725 [07:10:11]Content-Type: application/json [07:10:11] [07:10:11]POST finish read [07:10:11]Found Content-Length = 725 [07:10:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300100", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:10:11]execute_script... [07:10:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300100", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:10:11]POST & json_proto [07:10:11]process_json_proto [07:10:11]json parsed OK: [07:10:11]protocol is kg_v1.0 [07:10:11]action value=close_receipt [07:10:11]process_action close_receipt [07:10:11]cmd_close_receipt [07:10:11]MH_GetDate [07:10:11]Write to MH i2c: F0 00 00 95 06 8A [07:10:11]Write i2c OK [07:10:11]MH_I2C_Read... [07:10:11]Read from MH i2c: F0 [07:10:11]MH_I2C_Read... [07:10:11]Read from MH i2c: F0 09 00 [07:10:11]MH_I2C_Read... [07:10:11]Read from MH i2c: F0 09 00 95 06 00 55 28 92 66 1E 0D 88 66 21 [07:10:11]GetLastDocTimeStamp 1720854186 [07:10:11]current date 1720854613 [07:10:11]FM_GetShiftState [07:10:11]SAM_PROTO_GetShiftState [07:10:11]wFMCommunicate request_size=4 [07:10:11]MH_SAM_APDU [07:10:11]CAPDU: 80 13 01 00 [07:10:11]Write to MH i2c: E2 08 00 96 06 80 13 01 00 00 00 00 00 19 [07:10:11]Write i2c OK [07:10:11]MH_I2C_Read... [07:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:10:11]Read from MH i2c: E2 [07:10:11]MH_I2C_Read... [07:10:11]Read from MH i2c: E2 0E 00 [07:10:11]MH_I2C_Read... [07:10:11]Read from MH i2c: E2 0E 00 96 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B0 [07:10:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:10:11]wFMCommunicate OK [07:10:11]SAM_PROTO_GetShiftState done [07:10:11]FM_GetShiftState done [07:10:11]opened in 1720829646 [07:10:11]opened+sec_in_day 1720916046 [07:10:11]quantity*price = 14000 [07:10:11]sum+1 = 14001 [07:10:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 17 13.07.2024 07:10 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42972 ФПД: 123329801713174 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T071014&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42972&fm=123329801713174&tin=02508201610067®Number=0000000000091176&sum=14000 0 [07:10:12]StoreToDocumentArchive [07:10:12]shift 445 fd 42972 [07:10:12]save to /storage/0445/doc_00042972 [07:10:12]save last doc name /storage/0445/doc_00042972 to /storage/kkm_last_doc_name [07:10:12]save OK [07:10:12]Clear old archive folders... [07:10:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [07:10:12]tlvbuf is 01573850 [07:10:12]SAM_PROTO_ClearQueue [07:10:12]wFMCommunicate request_size=4 [07:10:12]MH_SAM_APDU [07:10:12]CAPDU: 80 09 00 00 [07:10:12]Write to MH i2c: E2 08 00 A3 06 80 09 00 00 00 00 00 00 1B [07:10:12]Write i2c OK [07:10:12]MH_I2C_Read... [07:10:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:10:12]Read from MH i2c: E2 [07:10:12]MH_I2C_Read... [07:10:12]Read from MH i2c: E2 03 00 [07:10:12]MH_I2C_Read... [07:10:12]Read from MH i2c: E2 03 00 A3 06 00 90 00 1D [07:10:12]RAPDU: 90 00 [07:10:12]wFMCommunicate OK [07:10:12]SAM_PROTO_ClearQueue done [07:10:12]KKMCreateOFDPacket [07:10:12]OFDProtocolAddRootSTLVToBuf [07:10:12]FM_MakeSignedData [07:10:12]FM_MakeSignedData [07:10:12]SAM_PROTO_SignData [07:10:12]wFMCommunicate request_size=4 [07:10:12]MH_SAM_APDU [07:10:12]CAPDU: 80 0D 01 02 [07:10:12]Write to MH i2c: E2 08 00 A4 06 80 0D 01 02 00 00 00 00 23 [07:10:12]Write i2c OK [07:10:12]MH_I2C_Read... [07:10:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:10:12]Read from MH i2c: E2 [07:10:12]MH_I2C_Read... [07:10:12]Read from MH i2c: E2 03 00 [07:10:12]MH_I2C_Read... [07:10:12]Read from MH i2c: E2 03 00 A4 06 00 90 00 1E [07:10:12]RAPDU: 90 00 [07:10:12]wFMCommunicate OK [07:10:12]wFMCommunicate request_size=255 [07:10:12]MH_SAM_APDU [07:10:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 56 28 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [07:10:12]Write to MH i2c: E2 02 01 A5 06 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 56 28 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 48 [07:10:12]Write i2c OK [07:10:12]MH_I2C_Read... [07:10:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:10:13]Read from MH i2c: E2 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 03 00 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 03 00 A5 06 00 90 00 1F [07:10:13]RAPDU: 90 00 [07:10:13]wFMCommunicate OK [07:10:13]wFMCommunicate request_size=32 [07:10:13]MH_SAM_APDU [07:10:13]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 DC A7 00 00 35 04 06 00 70 2A F5 05 76 16 [07:10:13]Write to MH i2c: E2 23 00 A6 06 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 DC A7 00 00 35 04 06 00 70 2A F5 05 76 16 00 00 2A [07:10:13]Write i2c OK [07:10:13]MH_I2C_Read... [07:10:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:10:13]Read from MH i2c: E2 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 03 00 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 03 00 A6 06 00 90 00 20 [07:10:13]RAPDU: 90 00 [07:10:13]wFMCommunicate OK [07:10:13]wFMCommunicate request_size=4 [07:10:13]MH_SAM_APDU [07:10:13]CAPDU: 80 0D 03 02 [07:10:13]Write to MH i2c: E2 08 00 A7 06 80 0D 03 02 00 00 00 00 28 [07:10:13]Write i2c OK [07:10:13]MH_I2C_Read... [07:10:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:10:13]Read from MH i2c: E2 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 0B 00 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 0B 00 A7 06 00 51 ED 63 5F 57 A0 4C 79 90 00 E5 [07:10:13]RAPDU: 51 ED 63 5F 57 A0 4C 79 90 00 [07:10:13]wFMCommunicate OK [07:10:13]SAM_PROTO_SignData done [07:10:13]FM_MakeSignedData done [07:10:13]CreateOFDProtocolMessage [07:10:13]wFMCommunicate request_size=4 [07:10:13]MH_SAM_APDU [07:10:13]CAPDU: 80 11 00 00 [07:10:13]Write to MH i2c: E2 08 00 A8 06 80 11 00 00 00 00 00 00 28 [07:10:13]Write i2c OK [07:10:13]MH_I2C_Read... [07:10:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:10:13]Read from MH i2c: E2 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 17 00 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: E2 17 00 A8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 7F [07:10:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:10:13]wFMCommunicate OK [07:10:13]CreateOFDProtocolMessage done [07:10:13]OFDSenderStorePacket 42972 [07:10:13]StoreOFDPacket docnum=42972 [07:10:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 80 0E 1D 01 B7 7F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 56 28 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DC A7 00 00 35 04 06 00 70 2A F5 05 76 16 51 ED 63 5F 57 A0 4C 79 [07:10:13]CheckFolder [07:10:13]dirname=/storage/ofd_packets [07:10:13]CheckFolder done [07:10:13]ProducePacketName [07:10:13]name=ofd_packets/00042972 [07:10:13]NVStorageSaveData ofd_packets/00042972 [07:10:13]File name is /storage/ofd_packets/00042972 [07:10:13]Write 323 bytes [07:10:13]NVStorageSaveData done [07:10:13]OFDSenderStorePacket done [07:10:13]KKMCreateOFDPacket done [07:10:13]NVStorageSaveData kkm_last_timestamp [07:10:13]File name is /storage/kkm_last_timestamp [07:10:13]Write 4 bytes [07:10:13]NVStorageSaveData done [07:10:13]ExternCall_PrintAddStr [07:10:13]wPrintStart [07:10:13]Write to MH i2c: 01 00 00 A9 06 AF [07:10:13]Write i2c OK [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: 01 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: 01 07 00 [07:10:13]MH_I2C_Read... [07:10:13]Read from MH i2c: 01 07 00 A9 06 00 00 00 00 00 FF 0F C4 [07:10:13]RasterBufferAndPrint [07:10:13]line Счет N : (3)300100 [07:10:13]line ИНН: 02508201610067 [07:10:13]line Контрольно-Кассовый Чек [07:10:13]line ПРОДАЖА [07:10:13]line Товар: 48747059 [07:10:13]line Сигареты Winston Legend Blue [07:10:13]line 1.000 * 140.00 [07:10:13]line = 140.00 [07:10:13]line НДС 12% НСП 1% [07:10:13]line > о реализуемом товаре [07:10:13]line ИТОГО: 140.00 [07:10:13]line НСП 1% : 1.24 [07:10:13]line НДС 12% : 14.87 [07:10:13]line Наличными: 140.00 [07:10:13]line Безнал.: 0.00 [07:10:13]line Место: АЗС № 71 "Партнер Нефть" [07:10:13]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [07:10:13]line СНО: Общий режим [07:10:13]line Чек 17 13.07.2024 07:10 [07:10:13]line Смена: 445 ФФД: 1.0 [07:10:13]line ЗНМ: 0300000153 [07:10:13]line РНМ: 0000000000091176 [07:10:13]line Версия ККМ: 001 [07:10:13]line ФМ: 0000000000874935 [07:10:13]line ФД: 42972 [07:10:13]line ФПД: 123329801713174 [07:10:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T071014&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42972&fm=123329801713174&tin=02508201610067®Number=0000000000091176&sum=14000 [07:10:13]line 0 [07:10:13]OFD Sender: Processing packet 42972 [packets to send 31, broken 30] [07:10:13]ProducePacketName [07:10:13]name=ofd_packets/00042972 [07:10:13]OFD Sender: To server: pG, [07:10:13]CommunicateWithHost lk.salyk.kg:30040 [07:10:13]ConnectInit lk.salyk.kg [07:10:13]written 0, free lines is 4095 [07:10:13]Connected sock=7 [07:10:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 80 0E 1D 01 B7 7F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 56 28 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DC A7 00 00 35 04 06 00 70 2A F5 05 76 16 51 ED 63 5F 57 A0 4C 79 [07:10:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 CB BD 47 00 3B 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 38 37 34 39 33 35 10 04 04 00 DC A7 00 00 F4 03 04 00 50 D4 91 66 B6 04 01 00 00 1D A4 21 3B C6 64 3A 4C [07:10:13]CommunicateWithHost err = 0 [07:10:13]CheckOFDResponse [07:10:13]1017 (14) - 77093643461234 [07:10:13]1041 (16) - 0000000000874935 [07:10:13]1040 (4) - 42972 [07:10:13]1012 (4) - 13.07.2024 01:11 [07:10:13]1206 (1) - 0 [07:10:13]OFD Sender: Remove packet 42972 [07:10:13]ProducePacketName [07:10:13]name=ofd_packets/00042972 [07:10:13]NVStorageDeleteData [07:10:14]Write to MH i2c: 01 00 00 D2 06 D8 [07:10:14]Write i2c OK [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: 01 [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: 01 07 00 [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: 01 07 00 D2 06 00 00 00 00 00 E7 0C D2 [07:10:14]RasterBufferAndPrint [07:10:14]line [07:10:14]line [07:10:14]line [07:10:14]line [07:10:14]line [07:10:14]written 0, free lines is 3310 [07:10:14]MH_Cut [07:10:14]Write to MH i2c: D1 01 00 D9 06 01 B1 [07:10:14]Write i2c OK [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: D1 [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: D1 01 00 [07:10:14]MH_I2C_Read... [07:10:14]Read from MH i2c: D1 01 00 D9 06 00 B0 [07:10:14]Write to MH i2c: 01 00 00 DA 06 E0 [07:10:14]Write i2c OK [07:10:14]MH_I2C_Read... [07:10:14]OFD Sender: No OFD packet to send [07:10:14]*** Cut start [07:10:14]*** Partial cut [07:10:14]*** CUTSNS_PIN = 1 [07:10:14]*** CUTSNS_PIN = 0 [07:10:15]*** Brake cut motor [07:10:15]Read from MH i2c: 01 [07:10:15]MH_I2C_Read... [07:10:15]*** Stop cut motor [07:10:15]*** Cut end [07:10:15]Read from MH i2c: 01 07 00 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: 01 07 00 DA 06 00 00 00 00 00 FF 0F F5 [07:10:15]process_action close_receipt done [07:10:15]requested_data is exist [07:10:15]produce_requested_data [07:10:15]requested_item fm.sn is exist - process it [07:10:15]wFMCommunicate request_size=4 [07:10:15]MH_SAM_APDU [07:10:15]CAPDU: 80 11 00 00 [07:10:15]Write to MH i2c: E2 08 00 DB 06 80 11 00 00 00 00 00 00 5B [07:10:15]Write i2c OK [07:10:15]MH_I2C_Read... [07:10:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:10:15]Read from MH i2c: E2 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 17 00 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 17 00 DB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B2 [07:10:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:10:15]wFMCommunicate OK [07:10:15]requested_item fd.num is exist - process it [07:10:15]SAM_PROTO_GetFieldsCounters [07:10:15]wFMCommunicate request_size=4 [07:10:15]MH_SAM_APDU [07:10:15]CAPDU: 80 13 00 00 [07:10:15]Write to MH i2c: E2 08 00 DC 06 80 13 00 00 00 00 00 00 5E [07:10:15]Write i2c OK [07:10:15]MH_I2C_Read... [07:10:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:10:15]Read from MH i2c: E2 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 62 00 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 62 00 DC 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DC A7 00 00 0E 04 04 00 BD 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 F6 [07:10:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DC A7 00 00 0E 04 04 00 BD 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 [07:10:15]wFMCommunicate OK [07:10:15]SAM_PROTO_GetFieldsCounters done [07:10:15]requested_item shift.num is exist - process it [07:10:15]requested_item shift.opened is exist - process it [07:10:15]req_shift_opened [07:10:15]FM_GetShiftState [07:10:15]SAM_PROTO_GetShiftState [07:10:15]wFMCommunicate request_size=4 [07:10:15]MH_SAM_APDU [07:10:15]CAPDU: 80 13 01 00 [07:10:15]Write to MH i2c: E2 08 00 DD 06 80 13 01 00 00 00 00 00 60 [07:10:15]Write i2c OK [07:10:15]MH_I2C_Read... [07:10:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:10:15]Read from MH i2c: E2 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 0E 00 [07:10:15]MH_I2C_Read... [07:10:15]Read from MH i2c: E2 0E 00 DD 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F7 [07:10:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:10:15]wFMCommunicate OK [07:10:15]SAM_PROTO_GetShiftState done [07:10:15]FM_GetShiftState done [07:10:15]req_shift_opened done [07:10:15]requested_item shift.open_date is exist - process it [07:10:15]req_shift_open_date [07:10:15]req_shift_open_date done [07:10:15]requested_item shift.sale.total is exist - process it [07:10:15]SAM_PROTO_GetShiftData [07:10:15]wFMCommunicate request_size=4 [07:10:15]MH_SAM_APDU [07:10:15]CAPDU: 80 13 02 00 [07:10:15]Write to MH i2c: E2 08 00 DE 06 80 13 02 00 00 00 00 00 62 [07:10:15]Write i2c OK [07:10:15]MH_I2C_Read... [07:10:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:10:16]Read from MH i2c: E2 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 DE 06 00 AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 14 E1 05 70 04 03 00 D8 A5 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D5 9F 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 4E 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 04 [07:10:16]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 14 E1 05 70 04 03 00 D8 A5 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D5 9F 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 4E 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [07:10:16]wFMCommunicate OK [07:10:16]wFMCommunicate request_size=4 [07:10:16]MH_SAM_APDU [07:10:16]CAPDU: 80 17 00 00 [07:10:16]Write to MH i2c: E2 08 00 DF 06 80 17 00 00 00 00 00 00 65 [07:10:16]Write i2c OK [07:10:16]MH_I2C_Read... [07:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:10:16]Read from MH i2c: E2 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 DF 06 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 77 [07:10:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [07:10:16]wFMCommunicate OK [07:10:16]wFMCommunicate request_size=4 [07:10:16]MH_SAM_APDU [07:10:16]CAPDU: 80 17 00 00 [07:10:16]Write to MH i2c: E2 08 00 E0 06 80 17 00 00 00 00 00 00 66 [07:10:16]Write i2c OK [07:10:16]MH_I2C_Read... [07:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:10:16]Read from MH i2c: E2 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 E0 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 2A [07:10:16]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [07:10:16]wFMCommunicate OK [07:10:16]wFMCommunicate request_size=4 [07:10:16]MH_SAM_APDU [07:10:16]CAPDU: 80 17 00 00 [07:10:16]Write to MH i2c: E2 08 00 E1 06 80 17 00 00 00 00 00 00 67 [07:10:16]Write i2c OK [07:10:16]MH_I2C_Read... [07:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:10:16]Read from MH i2c: E2 [07:10:16]MH_I2C_Read... [07:10:16]Read from MH i2c: E2 FD 00 [07:10:16]MH_I2C_Read... [07:10:17]Read from MH i2c: E2 FD 00 E1 06 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 DC [07:10:17]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [07:10:17]wFMCommunicate OK [07:10:17]wFMCommunicate request_size=4 [07:10:17]MH_SAM_APDU [07:10:17]CAPDU: 80 17 00 00 [07:10:17]Write to MH i2c: E2 08 00 E2 06 80 17 00 00 00 00 00 00 68 [07:10:17]Write i2c OK [07:10:17]MH_I2C_Read... [07:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [07:10:17]Read from MH i2c: E2 [07:10:17]MH_I2C_Read... [07:10:17]Read from MH i2c: E2 CA 00 [07:10:17]MH_I2C_Read... [07:10:17]Read from MH i2c: E2 CA 00 E2 06 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4D [07:10:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:10:17]wFMCommunicate OK [07:10:17]SAM_PROTO_GetShiftData done [07:10:17]requested_item shift.sale.total_cash is exist - process it [07:10:17]requested_item shift.sale_refund.total is exist - process it [07:10:17]requested_item shift.sale_refund.total_cash is exist - process it [07:10:17]produce_requested_data done [07:10:17]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42972,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3853.00,"shift.sale.total_cash":3046.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:10:17]process_action_free close_receipt [07:10:17]json_value_free [07:10:17]json_value_free done [07:10:17]process_json_proto returns [07:10:17]Send response to host [07:10:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42972,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3853.00,"shift.sale.total_cash":3046.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:10:17]free response buf [07:10:17]execute_script done [07:10:17]execute_script returns [07:10:17]free content buf [07:10:17]Sock 9.Close socket [07:10:17]Sock 9.Thread stoped [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:53]accept exits with 10 [07:17:53]New connection [07:17:53]New thread 3067387236 created [07:17:53]Thread 3067530596 joined [07:17:53]Waiting for new connection... [07:17:53] Sock 10.Parse request [07:17:53]Sock 10.Check first char [07:17:53]Sock 10.First char is OK [07:17:53]request: POST /json_proto HTTP/1.0 [07:17:53]Method: POST [07:17:53]URL: /json_proto [07:17:53]Method is POST - this is cgi request [07:17:53]url: /json_proto [07:17:53]query_string will be loaded in cgi processing [07:17:53]execute_cgi json_proto POST (null) [07:17:53]execute_cgi path=json_proto method=POST [07:17:53]POST find Content-Length [07:17:53]Host: 172.17.38.197:8080 [07:17:53]Content-Length: 695 [07:17:53]Content-Type: application/json [07:17:53] [07:17:53]POST finish read [07:17:53]Found Content-Length = 695 [07:17:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300101", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:17:53]execute_script... [07:17:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300101", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:17:53]POST & json_proto [07:17:53]process_json_proto [07:17:53]json parsed OK: [07:17:53]protocol is kg_v1.0 [07:17:53]action value=close_receipt [07:17:53]process_action close_receipt [07:17:53]cmd_close_receipt [07:17:53]MH_GetDate [07:17:53]Write to MH i2c: F0 00 00 E3 06 D8 [07:17:53]Write i2c OK [07:17:53]MH_I2C_Read... [07:17:53]Read from MH i2c: F0 [07:17:53]MH_I2C_Read... [07:17:53]Read from MH i2c: F0 09 00 [07:17:53]MH_I2C_Read... [07:17:53]Read from MH i2c: F0 09 00 E3 06 00 24 2A 92 66 1E 0D 88 66 40 [07:17:53]GetLastDocTimeStamp 1720854614 [07:17:53]current date 1720855076 [07:17:53]FM_GetShiftState [07:17:53]SAM_PROTO_GetShiftState [07:17:53]wFMCommunicate request_size=4 [07:17:53]MH_SAM_APDU [07:17:53]CAPDU: 80 13 01 00 [07:17:53]Write to MH i2c: E2 08 00 E4 06 80 13 01 00 00 00 00 00 67 [07:17:53]Write i2c OK [07:17:53]MH_I2C_Read... [07:17:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:54]Read from MH i2c: E2 [07:17:54]MH_I2C_Read... [07:17:54]Read from MH i2c: E2 0E 00 [07:17:54]MH_I2C_Read... [07:17:54]Read from MH i2c: E2 0E 00 E4 06 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 FE [07:17:54]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:17:54]wFMCommunicate OK [07:17:54]SAM_PROTO_GetShiftState done [07:17:54]FM_GetShiftState done [07:17:54]opened in 1720829646 [07:17:54]opened+sec_in_day 1720916046 [07:17:54]quantity*price = 4500 [07:17:54]sum+1 = 4501 [07:17:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 18 13.07.2024 07:17 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42973 ФПД: 47789441025860 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T071756&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42973&fm=47789441025860&tin=02508201610067®Number=0000000000091176&sum=4500 0 [07:17:55]StoreToDocumentArchive [07:17:55]shift 445 fd 42973 [07:17:55]save to /storage/0445/doc_00042973 [07:17:55]save last doc name /storage/0445/doc_00042973 to /storage/kkm_last_doc_name [07:17:55]save OK [07:17:55]Clear old archive folders... [07:17:55]ProcessDocumentItem done err = 0, tmpTLVsize=266 [07:17:55]tlvbuf is 0156E7B0 [07:17:55]SAM_PROTO_ClearQueue [07:17:55]wFMCommunicate request_size=4 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 09 00 00 [07:17:55]Write to MH i2c: E2 08 00 F1 06 80 09 00 00 00 00 00 00 69 [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 F1 06 00 90 00 6B [07:17:55]RAPDU: 90 00 [07:17:55]wFMCommunicate OK [07:17:55]SAM_PROTO_ClearQueue done [07:17:55]KKMCreateOFDPacket [07:17:55]OFDProtocolAddRootSTLVToBuf [07:17:55]FM_MakeSignedData [07:17:55]FM_MakeSignedData [07:17:55]SAM_PROTO_SignData [07:17:55]wFMCommunicate request_size=4 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 0D 01 02 [07:17:55]Write to MH i2c: E2 08 00 F2 06 80 0D 01 02 00 00 00 00 71 [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 F2 06 00 90 00 6C [07:17:55]RAPDU: 90 00 [07:17:55]wFMCommunicate OK [07:17:55]wFMCommunicate request_size=255 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 24 2A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 [07:17:55]Write to MH i2c: E2 02 01 F3 06 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 24 2A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 00 00 3D [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 F3 06 00 90 00 6D [07:17:55]RAPDU: 90 00 [07:17:55]wFMCommunicate OK [07:17:55]wFMCommunicate request_size=25 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 0D 02 02 14 33 35 10 04 04 00 DD A7 00 00 35 04 06 00 2B 76 D8 A8 07 44 [07:17:55]Write to MH i2c: E2 1C 00 F4 06 80 0D 02 02 14 00 33 35 10 04 04 00 DD A7 00 00 35 04 06 00 2B 76 D8 A8 07 44 00 00 4B [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 03 00 F4 06 00 90 00 6E [07:17:55]RAPDU: 90 00 [07:17:55]wFMCommunicate OK [07:17:55]wFMCommunicate request_size=4 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 0D 03 02 [07:17:55]Write to MH i2c: E2 08 00 F5 06 80 0D 03 02 00 00 00 00 76 [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 0B 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 0B 00 F5 06 00 62 72 FC 3A 93 02 8E CC 90 00 70 [07:17:55]RAPDU: 62 72 FC 3A 93 02 8E CC 90 00 [07:17:55]wFMCommunicate OK [07:17:55]SAM_PROTO_SignData done [07:17:55]FM_MakeSignedData done [07:17:55]CreateOFDProtocolMessage [07:17:55]wFMCommunicate request_size=4 [07:17:55]MH_SAM_APDU [07:17:55]CAPDU: 80 11 00 00 [07:17:55]Write to MH i2c: E2 08 00 F6 06 80 11 00 00 00 00 00 00 76 [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:55]Read from MH i2c: E2 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 17 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: E2 17 00 F6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CD [07:17:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:17:55]wFMCommunicate OK [07:17:55]CreateOFDProtocolMessage done [07:17:55]OFDSenderStorePacket 42973 [07:17:55]StoreOFDPacket docnum=42973 [07:17:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1E 01 00 00 12 0E 16 01 9A 42 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 24 2A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DD A7 00 00 35 04 06 00 2B 76 D8 A8 07 44 62 72 FC 3A 93 02 8E CC [07:17:55]CheckFolder [07:17:55]dirname=/storage/ofd_packets [07:17:55]CheckFolder done [07:17:55]ProducePacketName [07:17:55]name=ofd_packets/00042973 [07:17:55]NVStorageSaveData ofd_packets/00042973 [07:17:55]File name is /storage/ofd_packets/00042973 [07:17:55]Write 316 bytes [07:17:55]NVStorageSaveData done [07:17:55]OFDSenderStorePacket done [07:17:55]KKMCreateOFDPacket done [07:17:55]NVStorageSaveData kkm_last_timestamp [07:17:55]File name is /storage/kkm_last_timestamp [07:17:55]Write 4 bytes [07:17:55]NVStorageSaveData done [07:17:55]ExternCall_PrintAddStr [07:17:55]wPrintStart [07:17:55]Write to MH i2c: 01 00 00 F7 06 FD [07:17:55]Write i2c OK [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: 01 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: 01 07 00 [07:17:55]MH_I2C_Read... [07:17:55]Read from MH i2c: 01 07 00 F7 06 00 00 00 00 00 FF 0F 12 [07:17:55]RasterBufferAndPrint [07:17:55]line Счет N : (3)300101 [07:17:55]line ИНН: 02508201610067 [07:17:55]line Контрольно-Кассовый Чек [07:17:55]line ПРОДАЖА [07:17:55]line Товар: 42069942 [07:17:55]line Жев Orbit White Fresh Mint [07:17:55]line 1.000 * 45.00 [07:17:55]line = 45.00 [07:17:55]line НДС 12% НСП 1% [07:17:55]line > о реализуемом товаре [07:17:55]line ИТОГО: 45.00 [07:17:55]line НСП 1% : 0.40 [07:17:55]line НДС 12% : 4.78 [07:17:55]line Наличными: 45.00 [07:17:55]line Безнал.: 0.00 [07:17:55]line Место: АЗС № 71 "Партнер Нефть" [07:17:55]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [07:17:55]line СНО: Общий режим [07:17:55]line Чек 18 13.07.2024 07:17 [07:17:55]line Смена: 445 ФФД: 1.0 [07:17:55]line ЗНМ: 0300000153 [07:17:55]line РНМ: 0000000000091176 [07:17:55]line Версия ККМ: 001 [07:17:55]line ФМ: 0000000000874935 [07:17:55]line ФД: 42973 [07:17:55]line ФПД: 47789441025860 [07:17:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T071756&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42973&fm=47789441025860&tin=02508201610067®Number=0000000000091176&sum=4500 [07:17:56]OFD Sender: Processing packet 42973 [packets to send 31, broken 30] [07:17:56]ProducePacketName [07:17:56]name=ofd_packets/00042973 [07:17:56]OFD Sender: To server: pG, [07:17:56]CommunicateWithHost lk.salyk.kg:30040 [07:17:56]ConnectInit lk.salyk.kg [07:17:56]line 0 [07:17:56]written 0, free lines is 4095 [07:17:56]Connected sock=9 [07:17:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1E 01 00 00 12 0E 16 01 9A 42 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 24 2A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DD A7 00 00 35 04 06 00 2B 76 D8 A8 07 44 62 72 FC 3A 93 02 8E CC [07:17:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 9B 0C 47 00 81 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 38 37 34 39 33 35 10 04 04 00 DD A7 00 00 F4 03 04 00 1F D6 91 66 B6 04 01 00 00 85 BD 33 0C DF 9C 28 23 [07:17:56]CommunicateWithHost err = 0 [07:17:56]CheckOFDResponse [07:17:56]1017 (14) - 77093643461234 [07:17:56]1041 (16) - 0000000000874935 [07:17:56]1040 (4) - 42973 [07:17:56]1012 (4) - 13.07.2024 01:19 [07:17:56]1206 (1) - 0 [07:17:56]OFD Sender: Remove packet 42973 [07:17:56]ProducePacketName [07:17:56]name=ofd_packets/00042973 [07:17:56]NVStorageDeleteData [07:17:56]Write to MH i2c: 01 00 00 1F 07 26 [07:17:56]Write i2c OK [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: 01 [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: 01 07 00 [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: 01 07 00 1F 07 00 00 00 00 00 03 0D 3D [07:17:56]RasterBufferAndPrint [07:17:56]line [07:17:56]line [07:17:56]line [07:17:56]line [07:17:56]line [07:17:56]written 0, free lines is 3340 [07:17:56]MH_Cut [07:17:56]Write to MH i2c: D1 01 00 26 07 01 FF [07:17:56]Write i2c OK [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: D1 [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: D1 01 00 [07:17:56]MH_I2C_Read... [07:17:56]Read from MH i2c: D1 01 00 26 07 00 FE [07:17:56]Write to MH i2c: 01 00 00 27 07 2E [07:17:56]Write i2c OK [07:17:56]MH_I2C_Read... [07:17:56]OFD Sender: No OFD packet to send [07:17:57]*** Cut start [07:17:57]*** Partial cut [07:17:57]*** CUTSNS_PIN = 1 [07:17:57]*** CUTSNS_PIN = 0 [07:17:57]*** Brake cut motor [07:17:57]Read from MH i2c: 01 [07:17:57]MH_I2C_Read... [07:17:57]*** Stop cut motor [07:17:57]*** Cut end [07:17:57]Read from MH i2c: 01 07 00 [07:17:57]MH_I2C_Read... [07:17:57]Read from MH i2c: 01 07 00 27 07 00 00 00 00 00 FF 0F 43 [07:17:57]process_action close_receipt done [07:17:57]requested_data is exist [07:17:57]produce_requested_data [07:17:57]requested_item fm.sn is exist - process it [07:17:57]wFMCommunicate request_size=4 [07:17:57]MH_SAM_APDU [07:17:57]CAPDU: 80 11 00 00 [07:17:57]Write to MH i2c: E2 08 00 28 07 80 11 00 00 00 00 00 00 A9 [07:17:57]Write i2c OK [07:17:57]MH_I2C_Read... [07:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:57]Read from MH i2c: E2 [07:17:57]MH_I2C_Read... [07:17:57]Read from MH i2c: E2 17 00 [07:17:57]MH_I2C_Read... [07:17:57]Read from MH i2c: E2 17 00 28 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 00 [07:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [07:17:57]wFMCommunicate OK [07:17:57]requested_item fd.num is exist - process it [07:17:57]SAM_PROTO_GetFieldsCounters [07:17:57]wFMCommunicate request_size=4 [07:17:57]MH_SAM_APDU [07:17:57]CAPDU: 80 13 00 00 [07:17:57]Write to MH i2c: E2 08 00 29 07 80 13 00 00 00 00 00 00 AC [07:17:57]Write i2c OK [07:17:57]MH_I2C_Read... [07:17:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:17:58]Read from MH i2c: E2 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 62 00 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 62 00 29 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DD A7 00 00 0E 04 04 00 BD 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 48 [07:17:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DD A7 00 00 0E 04 04 00 BD 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 [07:17:58]wFMCommunicate OK [07:17:58]SAM_PROTO_GetFieldsCounters done [07:17:58]requested_item shift.num is exist - process it [07:17:58]requested_item shift.opened is exist - process it [07:17:58]req_shift_opened [07:17:58]FM_GetShiftState [07:17:58]SAM_PROTO_GetShiftState [07:17:58]wFMCommunicate request_size=4 [07:17:58]MH_SAM_APDU [07:17:58]CAPDU: 80 13 01 00 [07:17:58]Write to MH i2c: E2 08 00 2A 07 80 13 01 00 00 00 00 00 AE [07:17:58]Write i2c OK [07:17:58]MH_I2C_Read... [07:17:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:58]Read from MH i2c: E2 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 0E 00 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 0E 00 2A 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 45 [07:17:58]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [07:17:58]wFMCommunicate OK [07:17:58]SAM_PROTO_GetShiftState done [07:17:58]FM_GetShiftState done [07:17:58]req_shift_opened done [07:17:58]requested_item shift.open_date is exist - process it [07:17:58]req_shift_open_date [07:17:58]req_shift_open_date done [07:17:58]requested_item shift.sale.total is exist - process it [07:17:58]SAM_PROTO_GetShiftData [07:17:58]wFMCommunicate request_size=4 [07:17:58]MH_SAM_APDU [07:17:58]CAPDU: 80 13 02 00 [07:17:58]Write to MH i2c: E2 08 00 2B 07 80 13 02 00 00 00 00 00 B0 [07:17:58]Write i2c OK [07:17:58]MH_I2C_Read... [07:17:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:17:58]Read from MH i2c: E2 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 FD 00 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 FD 00 2B 07 00 AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 A8 F2 05 70 04 03 00 6C B7 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 A1 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 76 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A7 [07:17:58]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 A8 F2 05 70 04 03 00 6C B7 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 A1 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 76 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [07:17:58]wFMCommunicate OK [07:17:58]wFMCommunicate request_size=4 [07:17:58]MH_SAM_APDU [07:17:58]CAPDU: 80 17 00 00 [07:17:58]Write to MH i2c: E2 08 00 2C 07 80 17 00 00 00 00 00 00 B3 [07:17:58]Write i2c OK [07:17:58]MH_I2C_Read... [07:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:58]Read from MH i2c: E2 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 FD 00 [07:17:58]MH_I2C_Read... [07:17:58]Read from MH i2c: E2 FD 00 2C 07 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 C5 [07:17:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [07:17:58]wFMCommunicate OK [07:17:58]wFMCommunicate request_size=4 [07:17:58]MH_SAM_APDU [07:17:58]CAPDU: 80 17 00 00 [07:17:58]Write to MH i2c: E2 08 00 2D 07 80 17 00 00 00 00 00 00 B4 [07:17:58]Write i2c OK [07:17:58]MH_I2C_Read... [07:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:59]Read from MH i2c: E2 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 FD 00 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 FD 00 2D 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 78 [07:17:59]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [07:17:59]wFMCommunicate OK [07:17:59]wFMCommunicate request_size=4 [07:17:59]MH_SAM_APDU [07:17:59]CAPDU: 80 17 00 00 [07:17:59]Write to MH i2c: E2 08 00 2E 07 80 17 00 00 00 00 00 00 B5 [07:17:59]Write i2c OK [07:17:59]MH_I2C_Read... [07:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:59]Read from MH i2c: E2 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 FD 00 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 FD 00 2E 07 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 2A [07:17:59]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [07:17:59]wFMCommunicate OK [07:17:59]wFMCommunicate request_size=4 [07:17:59]MH_SAM_APDU [07:17:59]CAPDU: 80 17 00 00 [07:17:59]Write to MH i2c: E2 08 00 2F 07 80 17 00 00 00 00 00 00 B6 [07:17:59]Write i2c OK [07:17:59]MH_I2C_Read... [07:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [07:17:59]Read from MH i2c: E2 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 CA 00 [07:17:59]MH_I2C_Read... [07:17:59]Read from MH i2c: E2 CA 00 2F 07 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9B [07:17:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:17:59]wFMCommunicate OK [07:17:59]SAM_PROTO_GetShiftData done [07:17:59]requested_item shift.sale.total_cash is exist - process it [07:17:59]requested_item shift.sale_refund.total is exist - process it [07:17:59]requested_item shift.sale_refund.total_cash is exist - process it [07:17:59]produce_requested_data done [07:17:59]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42973,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3898.00,"shift.sale.total_cash":3091.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:17:59]process_action_free close_receipt [07:17:59]json_value_free [07:17:59]json_value_free done [07:17:59]process_json_proto returns [07:17:59]Send response to host [07:17:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42973,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":3898.00,"shift.sale.total_cash":3091.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:17:59]free response buf [07:17:59]execute_script done [07:17:59]execute_script returns [07:17:59]free content buf [07:17:59]Sock 10.Close socket [07:17:59]Sock 10.Thread stoped [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]OFD Sender: No OFD packet to send [07:25:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:18]OFD Sender: No OFD packet to send [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:43]OFD Sender: No OFD packet to send [07:47:48]OFD Sender: No OFD packet to send [07:47:53]OFD Sender: No OFD packet to send [07:47:58]OFD Sender: No OFD packet to send [07:48:03]OFD Sender: No OFD packet to send [07:48:08]OFD Sender: No OFD packet to send [07:48:13]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:41]accept exits with 7 [08:01:41]New connection [08:01:41]New thread 3067530596 created [08:01:41]Thread 3067387236 joined [08:01:41]Waiting for new connection... [08:01:41] Sock 7.Parse request [08:01:41]Sock 7.Check first char [08:01:41]Sock 7.First char is OK [08:01:41]request: POST /json_proto HTTP/1.0 [08:01:41]Method: POST [08:01:41]URL: /json_proto [08:01:41]Method is POST - this is cgi request [08:01:41]url: /json_proto [08:01:41]query_string will be loaded in cgi processing [08:01:41]execute_cgi json_proto POST (null) [08:01:41]execute_cgi path=json_proto method=POST [08:01:41]POST find Content-Length [08:01:41]Host: 172.17.38.197:8080 [08:01:41]Content-Length: 727 [08:01:41]Content-Type: application/json [08:01:41] [08:01:41]POST finish read [08:01:41]Found Content-Length = 727 [08:01:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300102", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:01:41]execute_script... [08:01:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300102", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:01:41]POST & json_proto [08:01:41]process_json_proto [08:01:41]json parsed OK: [08:01:41]protocol is kg_v1.0 [08:01:41]action value=close_receipt [08:01:41]process_action close_receipt [08:01:41]cmd_close_receipt [08:01:41]MH_GetDate [08:01:41]Write to MH i2c: F0 00 00 30 07 26 [08:01:41]Write i2c OK [08:01:41]MH_I2C_Read... [08:01:41]Read from MH i2c: F0 [08:01:41]MH_I2C_Read... [08:01:41]Read from MH i2c: F0 09 00 [08:01:41]MH_I2C_Read... [08:01:41]Read from MH i2c: F0 09 00 30 07 00 67 34 92 66 1E 0D 88 66 DB [08:01:41]GetLastDocTimeStamp 1720855076 [08:01:41]current date 1720857703 [08:01:41]FM_GetShiftState [08:01:41]SAM_PROTO_GetShiftState [08:01:41]wFMCommunicate request_size=4 [08:01:41]MH_SAM_APDU [08:01:41]CAPDU: 80 13 01 00 [08:01:41]Write to MH i2c: E2 08 00 31 07 80 13 01 00 00 00 00 00 B5 [08:01:41]Write i2c OK [08:01:41]MH_I2C_Read... [08:01:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:41]Read from MH i2c: E2 [08:01:41]MH_I2C_Read... [08:01:41]Read from MH i2c: E2 0E 00 [08:01:41]MH_I2C_Read... [08:01:41]Read from MH i2c: E2 0E 00 31 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4C [08:01:41]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:01:41]wFMCommunicate OK [08:01:41]SAM_PROTO_GetShiftState done [08:01:41]FM_GetShiftState done [08:01:41]opened in 1720829646 [08:01:41]opened+sec_in_day 1720916046 [08:01:41]quantity*price = 14000 [08:01:41]sum+1 = 14001 [08:01:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 19 13.07.2024 08:01 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42974 ФПД: 20483713406020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T080143&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42974&fm=20483713406020&tin=02508201610067®Number=0000000000091176&sum=14000 0 [08:01:42]StoreToDocumentArchive [08:01:42]shift 445 fd 42974 [08:01:42]save to /storage/0445/doc_00042974 [08:01:42]save last doc name /storage/0445/doc_00042974 to /storage/kkm_last_doc_name [08:01:42]save OK [08:01:42]Clear old archive folders... [08:01:42]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:01:42]tlvbuf is 0157F830 [08:01:42]SAM_PROTO_ClearQueue [08:01:42]wFMCommunicate request_size=4 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 09 00 00 [08:01:42]Write to MH i2c: E2 08 00 3E 07 80 09 00 00 00 00 00 00 B7 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 3E 07 00 90 00 B9 [08:01:42]RAPDU: 90 00 [08:01:42]wFMCommunicate OK [08:01:42]SAM_PROTO_ClearQueue done [08:01:42]KKMCreateOFDPacket [08:01:42]OFDProtocolAddRootSTLVToBuf [08:01:42]FM_MakeSignedData [08:01:42]FM_MakeSignedData [08:01:42]SAM_PROTO_SignData [08:01:42]wFMCommunicate request_size=4 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 0D 01 02 [08:01:42]Write to MH i2c: E2 08 00 3F 07 80 0D 01 02 00 00 00 00 BF [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 3F 07 00 90 00 BA [08:01:42]RAPDU: 90 00 [08:01:42]wFMCommunicate OK [08:01:42]wFMCommunicate request_size=255 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 67 34 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 [08:01:42]Write to MH i2c: E2 02 01 40 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 67 34 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 00 00 B2 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 40 07 00 90 00 BB [08:01:42]RAPDU: 90 00 [08:01:42]wFMCommunicate OK [08:01:42]wFMCommunicate request_size=34 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DE A7 00 00 35 04 06 00 12 A1 3C 76 14 44 [08:01:42]Write to MH i2c: E2 25 00 41 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DE A7 00 00 35 04 06 00 12 A1 3C 76 14 44 00 00 C9 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 03 00 41 07 00 90 00 BC [08:01:42]RAPDU: 90 00 [08:01:42]wFMCommunicate OK [08:01:42]wFMCommunicate request_size=4 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 0D 03 02 [08:01:42]Write to MH i2c: E2 08 00 42 07 80 0D 03 02 00 00 00 00 C4 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 0B 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 0B 00 42 07 00 F3 42 2C 35 0B D0 99 D7 90 00 A6 [08:01:42]RAPDU: F3 42 2C 35 0B D0 99 D7 90 00 [08:01:42]wFMCommunicate OK [08:01:42]SAM_PROTO_SignData done [08:01:42]FM_MakeSignedData done [08:01:42]CreateOFDProtocolMessage [08:01:42]wFMCommunicate request_size=4 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 11 00 00 [08:01:42]Write to MH i2c: E2 08 00 43 07 80 11 00 00 00 00 00 00 C4 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 17 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 17 00 43 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1B [08:01:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:01:42]wFMCommunicate OK [08:01:42]CreateOFDProtocolMessage done [08:01:42]OFDSenderStorePacket 42974 [08:01:42]StoreOFDPacket docnum=42974 [08:01:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 CA EC 1F 01 D0 D9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 67 34 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DE A7 00 00 35 04 06 00 12 A1 3C 76 14 44 F3 42 2C 35 0B D0 99 D7 [08:01:42]CheckFolder [08:01:42]dirname=/storage/ofd_packets [08:01:42]CheckFolder done [08:01:42]ProducePacketName [08:01:42]name=ofd_packets/00042974 [08:01:42]NVStorageSaveData ofd_packets/00042974 [08:01:42]File name is /storage/ofd_packets/00042974 [08:01:42]Write 325 bytes [08:01:42]NVStorageSaveData done [08:01:42]OFDSenderStorePacket done [08:01:42]KKMCreateOFDPacket done [08:01:42]NVStorageSaveData kkm_last_timestamp [08:01:42]File name is /storage/kkm_last_timestamp [08:01:42]Write 4 bytes [08:01:42]NVStorageSaveData done [08:01:42]ExternCall_PrintAddStr [08:01:42]wPrintStart [08:01:42]Write to MH i2c: 01 00 00 44 07 4B [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: 01 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: 01 07 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: 01 07 00 44 07 00 00 00 00 00 FF 0F 60 [08:01:42]RasterBufferAndPrint [08:01:42]line Счет N : (3)300102 [08:01:42]line ИНН: 02508201610067 [08:01:42]line Контрольно-Кассовый Чек [08:01:42]line ПРОДАЖА [08:01:42]line Товар: 48743587 [08:01:42]line Сигареты Winston XStyle Silver [08:01:42]line 1.000 * 140.00 [08:01:42]line = 140.00 [08:01:42]line НДС 12% НСП 1% [08:01:42]line > о реализуемом товаре [08:01:42]line ИТОГО: 140.00 [08:01:42]line НСП 1% : 1.24 [08:01:42]line НДС 12% : 14.87 [08:01:42]line Наличными: 140.00 [08:01:42]line Безнал.: 0.00 [08:01:42]line Место: АЗС № 71 "Партнер Нефть" [08:01:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [08:01:42]line СНО: Общий режим [08:01:42]line Чек 19 13.07.2024 08:01 [08:01:42]line Смена: 445 ФФД: 1.0 [08:01:42]line ЗНМ: 0300000153 [08:01:42]line РНМ: 0000000000091176 [08:01:42]line Версия ККМ: 001 [08:01:42]line ФМ: 0000000000874935 [08:01:42]line ФД: 42974 [08:01:42]line ФПД: 20483713406020 [08:01:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T080143&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42974&fm=20483713406020&tin=02508201610067®Number=0000000000091176&sum=14000 [08:01:43]line 0 [08:01:43]OFD Sender: Processing packet 42974 [packets to send 31, broken 30] [08:01:43]ProducePacketName [08:01:43]name=ofd_packets/00042974 [08:01:43]OFD Sender: To server: pG, [08:01:43]CommunicateWithHost lk.salyk.kg:30040 [08:01:43]ConnectInit lk.salyk.kg [08:01:43]written 0, free lines is 4095 [08:01:43]Connected sock=10 [08:01:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 CA EC 1F 01 D0 D9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 67 34 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DE A7 00 00 35 04 06 00 12 A1 3C 76 14 44 F3 42 2C 35 0B D0 99 D7 [08:01:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DC E8 47 00 09 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DE A7 00 00 F4 03 04 00 62 E0 91 66 B6 04 01 00 00 BA 3A 2C 56 DF ED 3E D5 [08:01:43]CommunicateWithHost err = 0 [08:01:43]CheckOFDResponse [08:01:43]1017 (14) - 77093643461234 [08:01:43]1041 (16) - 0000000000874935 [08:01:43]1040 (4) - 42974 [08:01:43]1012 (4) - 13.07.2024 02:03 [08:01:43]1206 (1) - 0 [08:01:43]OFD Sender: Remove packet 42974 [08:01:43]ProducePacketName [08:01:43]name=ofd_packets/00042974 [08:01:43]NVStorageDeleteData [08:01:43]Write to MH i2c: 01 00 00 6D 07 74 [08:01:43]Write i2c OK [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: 01 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: 01 07 00 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: 01 07 00 6D 07 00 00 00 00 00 F3 0C 7A [08:01:43]RasterBufferAndPrint [08:01:43]line [08:01:43]line [08:01:43]line [08:01:43]line [08:01:43]line [08:01:43]written 0, free lines is 3322 [08:01:43]MH_Cut [08:01:43]Write to MH i2c: D1 01 00 74 07 01 4D [08:01:43]Write i2c OK [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: D1 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: D1 01 00 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: D1 01 00 74 07 00 4C [08:01:43]Write to MH i2c: 01 00 00 75 07 7C [08:01:43]Write i2c OK [08:01:43]MH_I2C_Read... [08:01:44]OFD Sender: No OFD packet to send [08:01:44]*** Cut start [08:01:44]*** Partial cut [08:01:44]*** CUTSNS_PIN = 1 [08:01:44]*** CUTSNS_PIN = 0 [08:01:44]*** Brake cut motor [08:01:45]Read from MH i2c: 01 [08:01:45]MH_I2C_Read... [08:01:45]*** Stop cut motor [08:01:45]*** Cut end [08:01:45]Read from MH i2c: 01 07 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: 01 07 00 75 07 00 00 00 00 00 FF 0F 91 [08:01:45]process_action close_receipt done [08:01:45]requested_data is exist [08:01:45]produce_requested_data [08:01:45]requested_item fm.sn is exist - process it [08:01:45]wFMCommunicate request_size=4 [08:01:45]MH_SAM_APDU [08:01:45]CAPDU: 80 11 00 00 [08:01:45]Write to MH i2c: E2 08 00 76 07 80 11 00 00 00 00 00 00 F7 [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:45]Read from MH i2c: E2 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 17 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 17 00 76 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4E [08:01:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:01:45]wFMCommunicate OK [08:01:45]requested_item fd.num is exist - process it [08:01:45]SAM_PROTO_GetFieldsCounters [08:01:45]wFMCommunicate request_size=4 [08:01:45]MH_SAM_APDU [08:01:45]CAPDU: 80 13 00 00 [08:01:45]Write to MH i2c: E2 08 00 77 07 80 13 00 00 00 00 00 00 FA [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:45]Read from MH i2c: E2 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 62 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 62 00 77 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DE A7 00 00 0E 04 04 00 BD 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 9A [08:01:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DE A7 00 00 0E 04 04 00 BD 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 [08:01:45]wFMCommunicate OK [08:01:45]SAM_PROTO_GetFieldsCounters done [08:01:45]requested_item shift.num is exist - process it [08:01:45]requested_item shift.opened is exist - process it [08:01:45]req_shift_opened [08:01:45]FM_GetShiftState [08:01:45]SAM_PROTO_GetShiftState [08:01:45]wFMCommunicate request_size=4 [08:01:45]MH_SAM_APDU [08:01:45]CAPDU: 80 13 01 00 [08:01:45]Write to MH i2c: E2 08 00 78 07 80 13 01 00 00 00 00 00 FC [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:45]Read from MH i2c: E2 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 0E 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 0E 00 78 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 93 [08:01:45]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:01:45]wFMCommunicate OK [08:01:45]SAM_PROTO_GetShiftState done [08:01:45]FM_GetShiftState done [08:01:45]req_shift_opened done [08:01:45]requested_item shift.open_date is exist - process it [08:01:45]req_shift_open_date [08:01:45]req_shift_open_date done [08:01:45]requested_item shift.sale.total is exist - process it [08:01:45]SAM_PROTO_GetShiftData [08:01:45]wFMCommunicate request_size=4 [08:01:45]MH_SAM_APDU [08:01:45]CAPDU: 80 13 02 00 [08:01:45]Write to MH i2c: E2 08 00 79 07 80 13 02 00 00 00 00 00 FE [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:01:45]Read from MH i2c: E2 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 FD 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: E2 FD 00 79 07 00 AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 58 29 06 70 04 03 00 1C EE 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 82 A7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F2 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 17 [08:01:45]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 58 29 06 70 04 03 00 1C EE 04 72 04 03 00 3C 3B 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 82 A7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F2 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [08:01:45]wFMCommunicate OK [08:01:45]wFMCommunicate request_size=4 [08:01:45]MH_SAM_APDU [08:01:45]CAPDU: 80 17 00 00 [08:01:45]Write to MH i2c: E2 08 00 7A 07 80 17 00 00 00 00 00 00 01 [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 7A 07 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 13 [08:01:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [08:01:46]wFMCommunicate OK [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 17 00 00 [08:01:46]Write to MH i2c: E2 08 00 7B 07 80 17 00 00 00 00 00 00 02 [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 7B 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 C6 [08:01:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:01:46]wFMCommunicate OK [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 17 00 00 [08:01:46]Write to MH i2c: E2 08 00 7C 07 80 17 00 00 00 00 00 00 03 [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 FD 00 7C 07 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 78 [08:01:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [08:01:46]wFMCommunicate OK [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 17 00 00 [08:01:46]Write to MH i2c: E2 08 00 7D 07 80 17 00 00 00 00 00 00 04 [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 CA 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 CA 00 7D 07 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E9 [08:01:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:01:47]wFMCommunicate OK [08:01:47]SAM_PROTO_GetShiftData done [08:01:47]requested_item shift.sale.total_cash is exist - process it [08:01:47]requested_item shift.sale_refund.total is exist - process it [08:01:47]requested_item shift.sale_refund.total_cash is exist - process it [08:01:47]produce_requested_data done [08:01:47]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42974,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4038.00,"shift.sale.total_cash":3231.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:01:47]process_action_free close_receipt [08:01:47]json_value_free [08:01:47]json_value_free done [08:01:47]process_json_proto returns [08:01:47]Send response to host [08:01:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42974,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4038.00,"shift.sale.total_cash":3231.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:01:47]free response buf [08:01:47]execute_script done [08:01:47]execute_script returns [08:01:47]free content buf [08:01:47]Sock 7.Close socket [08:01:47]Sock 7.Thread stoped [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:28]accept exits with 9 [08:16:28]New connection [08:16:28]New thread 3067387236 created [08:16:28]Thread 3067530596 joined [08:16:28]Waiting for new connection... [08:16:28] Sock 9.Parse request [08:16:28]Sock 9.Check first char [08:16:28]Sock 9.First char is OK [08:16:28]request: POST /json_proto HTTP/1.0 [08:16:28]Method: POST [08:16:28]URL: /json_proto [08:16:28]Method is POST - this is cgi request [08:16:28]url: /json_proto [08:16:28]query_string will be loaded in cgi processing [08:16:28]execute_cgi json_proto POST (null) [08:16:28]execute_cgi path=json_proto method=POST [08:16:28]POST find Content-Length [08:16:28]Host: 172.17.38.197:8080 [08:16:28]Content-Length: 926 [08:16:28]Content-Type: application/json [08:16:28] [08:16:28]POST finish read [08:16:28]Found Content-Length = 926 [08:16:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300103", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:16:28]execute_script... [08:16:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300103", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:16:28]POST & json_proto [08:16:28]process_json_proto [08:16:28]json parsed OK: [08:16:28]protocol is kg_v1.0 [08:16:28]action value=close_receipt [08:16:28]process_action close_receipt [08:16:28]cmd_close_receipt [08:16:28]MH_GetDate [08:16:28]Write to MH i2c: F0 00 00 7E 07 74 [08:16:28]Write i2c OK [08:16:28]MH_I2C_Read... [08:16:28]Read from MH i2c: F0 [08:16:28]MH_I2C_Read... [08:16:28]Read from MH i2c: F0 09 00 [08:16:28]MH_I2C_Read... [08:16:28]Read from MH i2c: F0 09 00 7E 07 00 DE 37 92 66 1E 0D 88 66 A3 [08:16:28]GetLastDocTimeStamp 1720857703 [08:16:28]current date 1720858590 [08:16:28]FM_GetShiftState [08:16:28]SAM_PROTO_GetShiftState [08:16:28]wFMCommunicate request_size=4 [08:16:28]MH_SAM_APDU [08:16:28]CAPDU: 80 13 01 00 [08:16:28]Write to MH i2c: E2 08 00 7F 07 80 13 01 00 00 00 00 00 03 [08:16:28]Write i2c OK [08:16:28]MH_I2C_Read... [08:16:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:28]Read from MH i2c: E2 [08:16:28]MH_I2C_Read... [08:16:28]Read from MH i2c: E2 0E 00 [08:16:28]MH_I2C_Read... [08:16:28]Read from MH i2c: E2 0E 00 7F 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9A [08:16:28]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:16:28]wFMCommunicate OK [08:16:28]SAM_PROTO_GetShiftState done [08:16:28]FM_GetShiftState done [08:16:28]opened in 1720829646 [08:16:28]opened+sec_in_day 1720916046 [08:16:28]quantity*price = 14000 [08:16:28]sum+1 = 14001 [08:16:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 20 13.07.2024 08:16 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 42975 ФПД: 27062797030297 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T081630&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42975&fm=27062797030297&tin=02508201610067®Number=0000000000091176&sum=14000 0 [08:16:29]StoreToDocumentArchive [08:16:29]shift 445 fd 42975 [08:16:29]save to /storage/0445/doc_00042975 [08:16:29]save last doc name /storage/0445/doc_00042975 to /storage/kkm_last_doc_name [08:16:29]save OK [08:16:29]Clear old archive folders... [08:16:29]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:16:29]tlvbuf is 0157F9F0 [08:16:29]SAM_PROTO_ClearQueue [08:16:29]wFMCommunicate request_size=4 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 09 00 00 [08:16:29]Write to MH i2c: E2 08 00 8C 07 80 09 00 00 00 00 00 00 05 [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 8C 07 00 90 00 07 [08:16:29]RAPDU: 90 00 [08:16:29]wFMCommunicate OK [08:16:29]SAM_PROTO_ClearQueue done [08:16:29]KKMCreateOFDPacket [08:16:29]OFDProtocolAddRootSTLVToBuf [08:16:29]FM_MakeSignedData [08:16:29]FM_MakeSignedData [08:16:29]SAM_PROTO_SignData [08:16:29]wFMCommunicate request_size=4 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 0D 01 02 [08:16:29]Write to MH i2c: E2 08 00 8D 07 80 0D 01 02 00 00 00 00 0D [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [08:16:29]RAPDU: 90 00 [08:16:29]wFMCommunicate OK [08:16:29]wFMCommunicate request_size=255 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 DE 37 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [08:16:29]Write to MH i2c: E2 02 01 8E 07 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 DE 37 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 CC [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 8E 07 00 90 00 09 [08:16:29]RAPDU: 90 00 [08:16:29]wFMCommunicate OK [08:16:29]wFMCommunicate request_size=32 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 DF A7 00 00 35 04 06 00 18 9D 0C 67 53 99 [08:16:29]Write to MH i2c: E2 23 00 8F 07 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 DF A7 00 00 35 04 06 00 18 9D 0C 67 53 99 00 00 0B [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 03 00 8F 07 00 90 00 0A [08:16:29]RAPDU: 90 00 [08:16:29]wFMCommunicate OK [08:16:29]wFMCommunicate request_size=4 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 0D 03 02 [08:16:29]Write to MH i2c: E2 08 00 90 07 80 0D 03 02 00 00 00 00 12 [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 0B 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 0B 00 90 07 00 C6 36 5B BB 7B DC 92 B4 90 00 C2 [08:16:29]RAPDU: C6 36 5B BB 7B DC 92 B4 90 00 [08:16:29]wFMCommunicate OK [08:16:29]SAM_PROTO_SignData done [08:16:29]FM_MakeSignedData done [08:16:29]CreateOFDProtocolMessage [08:16:29]wFMCommunicate request_size=4 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 11 00 00 [08:16:29]Write to MH i2c: E2 08 00 91 07 80 11 00 00 00 00 00 00 12 [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 17 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 17 00 91 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 69 [08:16:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:16:29]wFMCommunicate OK [08:16:29]CreateOFDProtocolMessage done [08:16:29]OFDSenderStorePacket 42975 [08:16:29]StoreOFDPacket docnum=42975 [08:16:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 6B 2A 1D 01 9B 7B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 DE 37 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DF A7 00 00 35 04 06 00 18 9D 0C 67 53 99 C6 36 5B BB 7B DC 92 B4 [08:16:29]CheckFolder [08:16:29]dirname=/storage/ofd_packets [08:16:29]CheckFolder done [08:16:29]ProducePacketName [08:16:29]name=ofd_packets/00042975 [08:16:29]NVStorageSaveData ofd_packets/00042975 [08:16:29]File name is /storage/ofd_packets/00042975 [08:16:29]Write 323 bytes [08:16:29]NVStorageSaveData done [08:16:29]OFDSenderStorePacket done [08:16:29]KKMCreateOFDPacket done [08:16:29]NVStorageSaveData kkm_last_timestamp [08:16:29]File name is /storage/kkm_last_timestamp [08:16:29]Write 4 bytes [08:16:29]NVStorageSaveData done [08:16:29]ExternCall_PrintAddStr [08:16:29]wPrintStart [08:16:29]Write to MH i2c: 01 00 00 92 07 99 [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: 01 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: 01 07 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: 01 07 00 92 07 00 00 00 00 00 FF 0F AE [08:16:29]RasterBufferAndPrint [08:16:29]line Счет N : (3)300103 [08:16:29]line ИНН: 02508201610067 [08:16:29]line Контрольно-Кассовый Чек [08:16:29]line ПРОДАЖА [08:16:29]line Товар: 48747059 [08:16:29]line Сигареты Winston Legend Blue [08:16:29]line 1.000 * 140.00 [08:16:29]line = 140.00 [08:16:29]line НДС 12% НСП 1% [08:16:29]line > о реализуемом товаре [08:16:29]line ИТОГО: 140.00 [08:16:29]line НСП 1% : 1.24 [08:16:29]line НДС 12% : 14.87 [08:16:29]line Наличными: 0.00 [08:16:29]line Безнал.: 140.00 [08:16:29]line Место: АЗС № 71 "Партнер Нефть" [08:16:29]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [08:16:29]line СНО: Общий режим [08:16:29]line Чек 20 13.07.2024 08:16 [08:16:29]line Смена: 445 ФФД: 1.0 [08:16:29]line ЗНМ: 0300000153 [08:16:29]line РНМ: 0000000000091176 [08:16:29]line Версия ККМ: 001 [08:16:29]line Платежная система: АКБ Кыргызстан [08:16:29]line ФМ: 0000000000874935 [08:16:29]line ФД: 42975 [08:16:29]line ФПД: 27062797030297 [08:16:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T081630&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42975&fm=27062797030297&tin=02508201610067®Number=0000000000091176&sum=14000 [08:16:30]OFD Sender: Processing packet 42975 [packets to send 31, broken 30] [08:16:30]ProducePacketName [08:16:30]name=ofd_packets/00042975 [08:16:30]OFD Sender: To server: pG, [08:16:30]CommunicateWithHost lk.salyk.kg:30040 [08:16:30]ConnectInit lk.salyk.kg [08:16:30]line 0 [08:16:30]written 0, free lines is 4095 [08:16:30]Connected sock=11 [08:16:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 6B 2A 1D 01 9B 7B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 DE 37 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 DF A7 00 00 35 04 06 00 18 9D 0C 67 53 99 C6 36 5B BB 7B DC 92 B4 [08:16:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 00 B0 47 00 91 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 38 37 34 39 33 35 10 04 04 00 DF A7 00 00 F4 03 04 00 D9 E3 91 66 B6 04 01 00 00 9A E5 C3 8F 91 11 D7 32 [08:16:30]CommunicateWithHost err = 0 [08:16:30]CheckOFDResponse [08:16:30]1017 (14) - 77093643461234 [08:16:30]1041 (16) - 0000000000874935 [08:16:30]1040 (4) - 42975 [08:16:30]1012 (4) - 13.07.2024 02:18 [08:16:30]1206 (1) - 0 [08:16:30]OFD Sender: Remove packet 42975 [08:16:30]ProducePacketName [08:16:30]name=ofd_packets/00042975 [08:16:30]NVStorageDeleteData [08:16:30]Write to MH i2c: 01 00 00 BD 07 C4 [08:16:30]Write i2c OK [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: 01 [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: 01 07 00 [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: 01 07 00 BD 07 00 00 00 00 00 D0 0C A7 [08:16:30]RasterBufferAndPrint [08:16:30]line [08:16:30]line [08:16:30]line [08:16:30]line [08:16:30]line [08:16:30]written 0, free lines is 3287 [08:16:30]MH_Cut [08:16:30]Write to MH i2c: D1 01 00 C4 07 01 9D [08:16:30]Write i2c OK [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: D1 [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: D1 01 00 [08:16:30]MH_I2C_Read... [08:16:30]Read from MH i2c: D1 01 00 C4 07 00 9C [08:16:30]Write to MH i2c: 01 00 00 C5 07 CC [08:16:30]Write i2c OK [08:16:30]MH_I2C_Read... [08:16:31]OFD Sender: No OFD packet to send [08:16:31]*** Cut start [08:16:31]*** Partial cut [08:16:31]*** CUTSNS_PIN = 1 [08:16:31]*** CUTSNS_PIN = 0 [08:16:31]*** Brake cut motor [08:16:32]Read from MH i2c: 01 [08:16:32]MH_I2C_Read... [08:16:32]*** Stop cut motor [08:16:32]*** Cut end [08:16:32]Read from MH i2c: 01 07 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: 01 07 00 C5 07 00 00 00 00 00 FF 0F E1 [08:16:32]process_action close_receipt done [08:16:32]requested_data is exist [08:16:32]produce_requested_data [08:16:32]requested_item fm.sn is exist - process it [08:16:32]wFMCommunicate request_size=4 [08:16:32]MH_SAM_APDU [08:16:32]CAPDU: 80 11 00 00 [08:16:32]Write to MH i2c: E2 08 00 C6 07 80 11 00 00 00 00 00 00 47 [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:32]Read from MH i2c: E2 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 17 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 17 00 C6 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 9E [08:16:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:16:32]wFMCommunicate OK [08:16:32]requested_item fd.num is exist - process it [08:16:32]SAM_PROTO_GetFieldsCounters [08:16:32]wFMCommunicate request_size=4 [08:16:32]MH_SAM_APDU [08:16:32]CAPDU: 80 13 00 00 [08:16:32]Write to MH i2c: E2 08 00 C7 07 80 13 00 00 00 00 00 00 4A [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:16:32]Read from MH i2c: E2 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 62 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 62 00 C7 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DF A7 00 00 0E 04 04 00 BD 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 EE [08:16:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 DF A7 00 00 0E 04 04 00 BD 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 [08:16:32]wFMCommunicate OK [08:16:32]SAM_PROTO_GetFieldsCounters done [08:16:32]requested_item shift.num is exist - process it [08:16:32]requested_item shift.opened is exist - process it [08:16:32]req_shift_opened [08:16:32]FM_GetShiftState [08:16:32]SAM_PROTO_GetShiftState [08:16:32]wFMCommunicate request_size=4 [08:16:32]MH_SAM_APDU [08:16:32]CAPDU: 80 13 01 00 [08:16:32]Write to MH i2c: E2 08 00 C8 07 80 13 01 00 00 00 00 00 4C [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:32]Read from MH i2c: E2 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 0E 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 0E 00 C8 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E3 [08:16:32]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:16:32]wFMCommunicate OK [08:16:32]SAM_PROTO_GetShiftState done [08:16:32]FM_GetShiftState done [08:16:32]req_shift_opened done [08:16:32]requested_item shift.open_date is exist - process it [08:16:32]req_shift_open_date [08:16:32]req_shift_open_date done [08:16:32]requested_item shift.sale.total is exist - process it [08:16:32]SAM_PROTO_GetShiftData [08:16:32]wFMCommunicate request_size=4 [08:16:32]MH_SAM_APDU [08:16:32]CAPDU: 80 13 02 00 [08:16:32]Write to MH i2c: E2 08 00 C9 07 80 13 02 00 00 00 00 00 4E [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:16:32]Read from MH i2c: E2 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 FD 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: E2 FD 00 C9 07 00 AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 08 60 06 70 04 03 00 1C EE 04 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 51 AD 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 6E 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 88 [08:16:32]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 08 60 06 70 04 03 00 1C EE 04 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 51 AD 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 6E 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [08:16:32]wFMCommunicate OK [08:16:32]wFMCommunicate request_size=4 [08:16:32]MH_SAM_APDU [08:16:32]CAPDU: 80 17 00 00 [08:16:32]Write to MH i2c: E2 08 00 CA 07 80 17 00 00 00 00 00 00 51 [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:16:33]Read from MH i2c: E2 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 CA 07 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 63 [08:16:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [08:16:33]wFMCommunicate OK [08:16:33]wFMCommunicate request_size=4 [08:16:33]MH_SAM_APDU [08:16:33]CAPDU: 80 17 00 00 [08:16:33]Write to MH i2c: E2 08 00 CB 07 80 17 00 00 00 00 00 00 52 [08:16:33]Write i2c OK [08:16:33]MH_I2C_Read... [08:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:16:33]Read from MH i2c: E2 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 CB 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 16 [08:16:33]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:16:33]wFMCommunicate OK [08:16:33]wFMCommunicate request_size=4 [08:16:33]MH_SAM_APDU [08:16:33]CAPDU: 80 17 00 00 [08:16:33]Write to MH i2c: E2 08 00 CC 07 80 17 00 00 00 00 00 00 53 [08:16:33]Write i2c OK [08:16:33]MH_I2C_Read... [08:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:16:33]Read from MH i2c: E2 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 FD 00 CC 07 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 C8 [08:16:33]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [08:16:33]wFMCommunicate OK [08:16:33]wFMCommunicate request_size=4 [08:16:33]MH_SAM_APDU [08:16:33]CAPDU: 80 17 00 00 [08:16:33]Write to MH i2c: E2 08 00 CD 07 80 17 00 00 00 00 00 00 54 [08:16:33]Write i2c OK [08:16:33]MH_I2C_Read... [08:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:16:33]Read from MH i2c: E2 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 CA 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 CA 00 CD 07 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 39 [08:16:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:16:34]wFMCommunicate OK [08:16:34]SAM_PROTO_GetShiftData done [08:16:34]requested_item shift.sale.total_cash is exist - process it [08:16:34]requested_item shift.sale_refund.total is exist - process it [08:16:34]requested_item shift.sale_refund.total_cash is exist - process it [08:16:34]produce_requested_data done [08:16:34]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42975,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4178.00,"shift.sale.total_cash":3231.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:16:34]process_action_free close_receipt [08:16:34]json_value_free [08:16:34]json_value_free done [08:16:34]process_json_proto returns [08:16:34]Send response to host [08:16:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42975,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4178.00,"shift.sale.total_cash":3231.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:16:34]free response buf [08:16:34]execute_script done [08:16:34]execute_script returns [08:16:34]free content buf [08:16:34]Sock 9.Close socket [08:16:34]Sock 9.Thread stoped [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:10]accept exits with 7 [08:26:10]New connection [08:26:10]New thread 3067530596 created [08:26:10]Thread 3067387236 joined [08:26:10]Waiting for new connection... [08:26:10] Sock 7.Parse request [08:26:10]Sock 7.Check first char [08:26:10]Sock 7.First char is OK [08:26:10]request: POST /json_proto HTTP/1.0 [08:26:10]Method: POST [08:26:10]URL: /json_proto [08:26:10]Method is POST - this is cgi request [08:26:10]url: /json_proto [08:26:10]query_string will be loaded in cgi processing [08:26:10]execute_cgi json_proto POST (null) [08:26:10]execute_cgi path=json_proto method=POST [08:26:10]POST find Content-Length [08:26:10]Host: 172.17.38.197:8080 [08:26:10]Content-Length: 727 [08:26:10]Content-Type: application/json [08:26:10] [08:26:10]POST finish read [08:26:10]Found Content-Length = 727 [08:26:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300104", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:26:10]execute_script... [08:26:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300104", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:26:10]POST & json_proto [08:26:10]process_json_proto [08:26:10]json parsed OK: [08:26:10]protocol is kg_v1.0 [08:26:10]action value=close_receipt [08:26:10]process_action close_receipt [08:26:10]cmd_close_receipt [08:26:10]MH_GetDate [08:26:10]Write to MH i2c: F0 00 00 CE 07 C4 [08:26:10]Write i2c OK [08:26:10]MH_I2C_Read... [08:26:10]Read from MH i2c: F0 [08:26:10]MH_I2C_Read... [08:26:10]Read from MH i2c: F0 09 00 [08:26:10]MH_I2C_Read... [08:26:10]Read from MH i2c: F0 09 00 CE 07 00 24 3A 92 66 1E 0D 88 66 3C [08:26:10]GetLastDocTimeStamp 1720858590 [08:26:10]current date 1720859172 [08:26:10]FM_GetShiftState [08:26:10]SAM_PROTO_GetShiftState [08:26:10]wFMCommunicate request_size=4 [08:26:10]MH_SAM_APDU [08:26:10]CAPDU: 80 13 01 00 [08:26:10]Write to MH i2c: E2 08 00 CF 07 80 13 01 00 00 00 00 00 53 [08:26:10]Write i2c OK [08:26:10]MH_I2C_Read... [08:26:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:10]Read from MH i2c: E2 [08:26:10]MH_I2C_Read... [08:26:10]Read from MH i2c: E2 0E 00 [08:26:10]MH_I2C_Read... [08:26:10]Read from MH i2c: E2 0E 00 CF 07 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 EA [08:26:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:26:10]wFMCommunicate OK [08:26:10]SAM_PROTO_GetShiftState done [08:26:10]FM_GetShiftState done [08:26:10]opened in 1720829646 [08:26:10]opened+sec_in_day 1720916046 [08:26:10]quantity*price = 14000 [08:26:10]sum+1 = 14001 [08:26:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 21 13.07.2024 08:26 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42976 ФПД: 158807379800872 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T082612&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42976&fm=158807379800872&tin=02508201610067®Number=0000000000091176&sum=14000 0 [08:26:11]StoreToDocumentArchive [08:26:11]shift 445 fd 42976 [08:26:11]save to /storage/0445/doc_00042976 [08:26:11]save last doc name /storage/0445/doc_00042976 to /storage/kkm_last_doc_name [08:26:11]save OK [08:26:11]Clear old archive folders... [08:26:11]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:26:11]tlvbuf is 0159F7F0 [08:26:11]SAM_PROTO_ClearQueue [08:26:11]wFMCommunicate request_size=4 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 09 00 00 [08:26:11]Write to MH i2c: E2 08 00 DC 07 80 09 00 00 00 00 00 00 55 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 DC 07 00 90 00 57 [08:26:11]RAPDU: 90 00 [08:26:11]wFMCommunicate OK [08:26:11]SAM_PROTO_ClearQueue done [08:26:11]KKMCreateOFDPacket [08:26:11]OFDProtocolAddRootSTLVToBuf [08:26:11]FM_MakeSignedData [08:26:11]FM_MakeSignedData [08:26:11]SAM_PROTO_SignData [08:26:11]wFMCommunicate request_size=4 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 0D 01 02 [08:26:11]Write to MH i2c: E2 08 00 DD 07 80 0D 01 02 00 00 00 00 5D [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 DD 07 00 90 00 58 [08:26:11]RAPDU: 90 00 [08:26:11]wFMCommunicate OK [08:26:11]wFMCommunicate request_size=255 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 24 3A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 [08:26:11]Write to MH i2c: E2 02 01 DE 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 24 3A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 00 00 15 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]OFD Sender: No OFD packet to send [08:26:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 DE 07 00 90 00 59 [08:26:11]RAPDU: 90 00 [08:26:11]wFMCommunicate OK [08:26:11]wFMCommunicate request_size=34 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E0 A7 00 00 35 04 06 00 90 6F 39 75 F3 28 [08:26:11]Write to MH i2c: E2 25 00 DF 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E0 A7 00 00 35 04 06 00 90 6F 39 75 F3 28 00 00 74 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 03 00 DF 07 00 90 00 5A [08:26:11]RAPDU: 90 00 [08:26:11]wFMCommunicate OK [08:26:11]wFMCommunicate request_size=4 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 0D 03 02 [08:26:11]Write to MH i2c: E2 08 00 E0 07 80 0D 03 02 00 00 00 00 62 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 0B 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 0B 00 E0 07 00 C6 E0 93 0D 6A 13 2B 7B 90 00 CC [08:26:11]RAPDU: C6 E0 93 0D 6A 13 2B 7B 90 00 [08:26:11]wFMCommunicate OK [08:26:11]SAM_PROTO_SignData done [08:26:11]FM_MakeSignedData done [08:26:11]CreateOFDProtocolMessage [08:26:11]wFMCommunicate request_size=4 [08:26:11]MH_SAM_APDU [08:26:11]CAPDU: 80 11 00 00 [08:26:11]Write to MH i2c: E2 08 00 E1 07 80 11 00 00 00 00 00 00 62 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:11]Read from MH i2c: E2 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 17 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: E2 17 00 E1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B9 [08:26:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:26:11]wFMCommunicate OK [08:26:11]CreateOFDProtocolMessage done [08:26:11]OFDSenderStorePacket 42976 [08:26:11]StoreOFDPacket docnum=42976 [08:26:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 01 47 1F 01 BE 6A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 24 3A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E0 A7 00 00 35 04 06 00 90 6F 39 75 F3 28 C6 E0 93 0D 6A 13 2B 7B [08:26:11]CheckFolder [08:26:11]dirname=/storage/ofd_packets [08:26:11]CheckFolder done [08:26:11]ProducePacketName [08:26:11]name=ofd_packets/00042976 [08:26:11]NVStorageSaveData ofd_packets/00042976 [08:26:11]File name is /storage/ofd_packets/00042976 [08:26:11]Write 325 bytes [08:26:11]NVStorageSaveData done [08:26:11]OFDSenderStorePacket done [08:26:11]KKMCreateOFDPacket done [08:26:11]NVStorageSaveData kkm_last_timestamp [08:26:11]File name is /storage/kkm_last_timestamp [08:26:11]Write 4 bytes [08:26:11]NVStorageSaveData done [08:26:11]ExternCall_PrintAddStr [08:26:11]wPrintStart [08:26:11]Write to MH i2c: 01 00 00 E2 07 E9 [08:26:11]Write i2c OK [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: 01 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: 01 07 00 [08:26:11]MH_I2C_Read... [08:26:11]Read from MH i2c: 01 07 00 E2 07 00 00 00 00 00 FF 0F FE [08:26:11]RasterBufferAndPrint [08:26:11]line Счет N : (3)300104 [08:26:11]line ИНН: 02508201610067 [08:26:11]line Контрольно-Кассовый Чек [08:26:11]line ПРОДАЖА [08:26:11]line Товар: 48743587 [08:26:11]line Сигареты Winston XStyle Silver [08:26:11]line 1.000 * 140.00 [08:26:11]line = 140.00 [08:26:11]line НДС 12% НСП 1% [08:26:11]line > о реализуемом товаре [08:26:11]line ИТОГО: 140.00 [08:26:11]line НСП 1% : 1.24 [08:26:11]line НДС 12% : 14.87 [08:26:11]line Наличными: 140.00 [08:26:11]line Безнал.: 0.00 [08:26:11]line Место: АЗС № 71 "Партнер Нефть" [08:26:11]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [08:26:11]line СНО: Общий режим [08:26:11]line Чек 21 13.07.2024 08:26 [08:26:11]line Смена: 445 ФФД: 1.0 [08:26:11]line ЗНМ: 0300000153 [08:26:11]line РНМ: 0000000000091176 [08:26:11]line Версия ККМ: 001 [08:26:11]line ФМ: 0000000000874935 [08:26:11]line ФД: 42976 [08:26:11]line ФПД: 158807379800872 [08:26:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T082612&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42976&fm=158807379800872&tin=02508201610067®Number=0000000000091176&sum=14000 [08:26:12]OFD Sender: Processing packet 42976 [packets to send 31, broken 30] [08:26:12]ProducePacketName [08:26:12]name=ofd_packets/00042976 [08:26:12]OFD Sender: To server: pG, [08:26:12]CommunicateWithHost lk.salyk.kg:30040 [08:26:12]ConnectInit lk.salyk.kg [08:26:12]line 0 [08:26:12]written 0, free lines is 4095 [08:26:12]Connected sock=11 [08:26:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 27 01 00 00 01 47 1F 01 BE 6A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 24 3A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E0 A7 00 00 35 04 06 00 90 6F 39 75 F3 28 C6 E0 93 0D 6A 13 2B 7B [08:26:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A0 E6 47 00 4D B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E0 A7 00 00 F4 03 04 00 1F E6 91 66 B6 04 01 00 00 27 AE 26 70 30 6F F7 90 [08:26:12]CommunicateWithHost err = 0 [08:26:12]CheckOFDResponse [08:26:12]1017 (14) - 77093643461234 [08:26:12]1041 (16) - 0000000000874935 [08:26:12]1040 (4) - 42976 [08:26:12]1012 (4) - 13.07.2024 02:27 [08:26:12]1206 (1) - 0 [08:26:12]OFD Sender: Remove packet 42976 [08:26:12]ProducePacketName [08:26:12]name=ofd_packets/00042976 [08:26:12]NVStorageDeleteData [08:26:12]Write to MH i2c: 01 00 00 0B 08 13 [08:26:12]Write i2c OK [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: 01 [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: 01 07 00 [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: 01 07 00 0B 08 00 00 00 00 00 E5 0C 0B [08:26:12]RasterBufferAndPrint [08:26:12]line [08:26:12]line [08:26:12]line [08:26:12]line [08:26:12]line [08:26:12]written 0, free lines is 3307 [08:26:12]MH_Cut [08:26:12]Write to MH i2c: D1 01 00 12 08 01 EC [08:26:12]Write i2c OK [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: D1 [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: D1 01 00 [08:26:12]MH_I2C_Read... [08:26:12]Read from MH i2c: D1 01 00 12 08 00 EB [08:26:12]Write to MH i2c: 01 00 00 13 08 1B [08:26:12]Write i2c OK [08:26:12]MH_I2C_Read... [08:26:13]OFD Sender: No OFD packet to send [08:26:13]*** Cut start [08:26:13]*** Partial cut [08:26:13]*** CUTSNS_PIN = 1 [08:26:13]*** CUTSNS_PIN = 0 [08:26:13]*** Brake cut motor [08:26:14]Read from MH i2c: 01 [08:26:14]MH_I2C_Read... [08:26:14]*** Stop cut motor [08:26:14]*** Cut end [08:26:14]Read from MH i2c: 01 07 00 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: 01 07 00 13 08 00 00 00 00 00 FF 0F 30 [08:26:14]process_action close_receipt done [08:26:14]requested_data is exist [08:26:14]produce_requested_data [08:26:14]requested_item fm.sn is exist - process it [08:26:14]wFMCommunicate request_size=4 [08:26:14]MH_SAM_APDU [08:26:14]CAPDU: 80 11 00 00 [08:26:14]Write to MH i2c: E2 08 00 14 08 80 11 00 00 00 00 00 00 96 [08:26:14]Write i2c OK [08:26:14]MH_I2C_Read... [08:26:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:14]Read from MH i2c: E2 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 17 00 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 17 00 14 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 ED [08:26:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:26:14]wFMCommunicate OK [08:26:14]requested_item fd.num is exist - process it [08:26:14]SAM_PROTO_GetFieldsCounters [08:26:14]wFMCommunicate request_size=4 [08:26:14]MH_SAM_APDU [08:26:14]CAPDU: 80 13 00 00 [08:26:14]Write to MH i2c: E2 08 00 15 08 80 13 00 00 00 00 00 00 99 [08:26:14]Write i2c OK [08:26:14]MH_I2C_Read... [08:26:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:26:14]Read from MH i2c: E2 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 62 00 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 62 00 15 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E0 A7 00 00 0E 04 04 00 BD 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 41 [08:26:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E0 A7 00 00 0E 04 04 00 BD 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 [08:26:14]wFMCommunicate OK [08:26:14]SAM_PROTO_GetFieldsCounters done [08:26:14]requested_item shift.num is exist - process it [08:26:14]requested_item shift.opened is exist - process it [08:26:14]req_shift_opened [08:26:14]FM_GetShiftState [08:26:14]SAM_PROTO_GetShiftState [08:26:14]wFMCommunicate request_size=4 [08:26:14]MH_SAM_APDU [08:26:14]CAPDU: 80 13 01 00 [08:26:14]Write to MH i2c: E2 08 00 16 08 80 13 01 00 00 00 00 00 9B [08:26:14]Write i2c OK [08:26:14]MH_I2C_Read... [08:26:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:14]Read from MH i2c: E2 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 0E 00 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 0E 00 16 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 32 [08:26:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:26:14]wFMCommunicate OK [08:26:14]SAM_PROTO_GetShiftState done [08:26:14]FM_GetShiftState done [08:26:14]req_shift_opened done [08:26:14]requested_item shift.open_date is exist - process it [08:26:14]req_shift_open_date [08:26:14]req_shift_open_date done [08:26:14]requested_item shift.sale.total is exist - process it [08:26:14]SAM_PROTO_GetShiftData [08:26:14]wFMCommunicate request_size=4 [08:26:14]MH_SAM_APDU [08:26:14]CAPDU: 80 13 02 00 [08:26:14]Write to MH i2c: E2 08 00 17 08 80 13 02 00 00 00 00 00 9D [08:26:14]Write i2c OK [08:26:14]MH_I2C_Read... [08:26:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:26:14]Read from MH i2c: E2 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 FD 00 [08:26:14]MH_I2C_Read... [08:26:14]Read from MH i2c: E2 FD 00 17 08 00 AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 B8 96 06 70 04 03 00 CC 24 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 20 B3 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 EA 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 F7 [08:26:14]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 15 00 00 00 B1 04 03 00 B8 96 06 70 04 03 00 CC 24 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 20 B3 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 EA 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [08:26:14]wFMCommunicate OK [08:26:14]wFMCommunicate request_size=4 [08:26:14]MH_SAM_APDU [08:26:14]CAPDU: 80 17 00 00 [08:26:14]Write to MH i2c: E2 08 00 18 08 80 17 00 00 00 00 00 00 A0 [08:26:14]Write i2c OK [08:26:14]MH_I2C_Read... [08:26:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:15]Read from MH i2c: E2 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 18 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 B2 [08:26:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [08:26:15]wFMCommunicate OK [08:26:15]wFMCommunicate request_size=4 [08:26:15]MH_SAM_APDU [08:26:15]CAPDU: 80 17 00 00 [08:26:15]Write to MH i2c: E2 08 00 19 08 80 17 00 00 00 00 00 00 A1 [08:26:15]Write i2c OK [08:26:15]MH_I2C_Read... [08:26:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:15]Read from MH i2c: E2 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 19 08 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 65 [08:26:15]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:26:15]wFMCommunicate OK [08:26:15]wFMCommunicate request_size=4 [08:26:15]MH_SAM_APDU [08:26:15]CAPDU: 80 17 00 00 [08:26:15]Write to MH i2c: E2 08 00 1A 08 80 17 00 00 00 00 00 00 A2 [08:26:15]Write i2c OK [08:26:15]MH_I2C_Read... [08:26:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:15]Read from MH i2c: E2 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 FD 00 1A 08 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 17 [08:26:15]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [08:26:15]wFMCommunicate OK [08:26:15]wFMCommunicate request_size=4 [08:26:15]MH_SAM_APDU [08:26:15]CAPDU: 80 17 00 00 [08:26:15]Write to MH i2c: E2 08 00 1B 08 80 17 00 00 00 00 00 00 A3 [08:26:15]Write i2c OK [08:26:15]MH_I2C_Read... [08:26:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:26:15]Read from MH i2c: E2 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 CA 00 [08:26:15]MH_I2C_Read... [08:26:15]Read from MH i2c: E2 CA 00 1B 08 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 88 [08:26:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:26:16]wFMCommunicate OK [08:26:16]SAM_PROTO_GetShiftData done [08:26:16]requested_item shift.sale.total_cash is exist - process it [08:26:16]requested_item shift.sale_refund.total is exist - process it [08:26:16]requested_item shift.sale_refund.total_cash is exist - process it [08:26:16]produce_requested_data done [08:26:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42976,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4318.00,"shift.sale.total_cash":3371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:26:16]process_action_free close_receipt [08:26:16]json_value_free [08:26:16]json_value_free done [08:26:16]process_json_proto returns [08:26:16]Send response to host [08:26:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42976,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4318.00,"shift.sale.total_cash":3371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:26:16]free response buf [08:26:16]execute_script done [08:26:16]execute_script returns [08:26:16]free content buf [08:26:16]Sock 7.Close socket [08:26:16]Sock 7.Thread stoped [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39: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:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:08]accept exits with 9 [08:43:08]New connection [08:43:08]New thread 3067387236 created [08:43:08]Thread 3067530596 joined [08:43:08]Waiting for new connection... [08:43:08] Sock 9.Parse request [08:43:08]Sock 9.Check first char [08:43:08]Sock 9.First char is OK [08:43:08]request: POST /json_proto HTTP/1.0 [08:43:08]Method: POST [08:43:08]URL: /json_proto [08:43:08]Method is POST - this is cgi request [08:43:08]url: /json_proto [08:43:08]query_string will be loaded in cgi processing [08:43:08]execute_cgi json_proto POST (null) [08:43:08]execute_cgi path=json_proto method=POST [08:43:08]POST find Content-Length [08:43:08]Host: 172.17.38.197:8080 [08:43:08]Content-Length: 732 [08:43:08]Content-Type: application/json [08:43:08] [08:43:08]POST finish read [08:43:08]Found Content-Length = 732 [08:43:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300105", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:43:08]execute_script... [08:43:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300105", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:43:08]POST & json_proto [08:43:08]process_json_proto [08:43:08]json parsed OK: [08:43:08]protocol is kg_v1.0 [08:43:08]action value=close_receipt [08:43:08]process_action close_receipt [08:43:08]cmd_close_receipt [08:43:08]MH_GetDate [08:43:08]Write to MH i2c: F0 00 00 1C 08 13 [08:43:08]Write i2c OK [08:43:08]MH_I2C_Read... [08:43:08]Read from MH i2c: F0 [08:43:08]MH_I2C_Read... [08:43:08]Read from MH i2c: F0 09 00 [08:43:08]MH_I2C_Read... [08:43:08]Read from MH i2c: F0 09 00 1C 08 00 1F 3E 92 66 1E 0D 88 66 8A [08:43:08]GetLastDocTimeStamp 1720859172 [08:43:08]current date 1720860191 [08:43:08]FM_GetShiftState [08:43:08]SAM_PROTO_GetShiftState [08:43:08]wFMCommunicate request_size=4 [08:43:08]MH_SAM_APDU [08:43:08]CAPDU: 80 13 01 00 [08:43:08]Write to MH i2c: E2 08 00 1D 08 80 13 01 00 00 00 00 00 A2 [08:43:08]Write i2c OK [08:43:08]MH_I2C_Read... [08:43:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:08]Read from MH i2c: E2 [08:43:08]MH_I2C_Read... [08:43:08]Read from MH i2c: E2 0E 00 [08:43:08]MH_I2C_Read... [08:43:08]Read from MH i2c: E2 0E 00 1D 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 39 [08:43:08]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:43:08]wFMCommunicate OK [08:43:08]SAM_PROTO_GetShiftState done [08:43:08]FM_GetShiftState done [08:43:08]opened in 1720829646 [08:43:08]opened+sec_in_day 1720916046 [08:43:08]quantity*price = 13000 [08:43:08]sum+1 = 13001 [08:43:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 22 13.07.2024 08:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42977 ФПД: 32372073744877 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T084311&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42977&fm=32372073744877&tin=02508201610067®Number=0000000000091176&sum=13000 0 [08:43:10]StoreToDocumentArchive [08:43:10]shift 445 fd 42977 [08:43:10]save to /storage/0445/doc_00042977 [08:43:10]save last doc name /storage/0445/doc_00042977 to /storage/kkm_last_doc_name [08:43:10]save OK [08:43:10]Clear old archive folders... [08:43:10]ProcessDocumentItem done err = 0, tmpTLVsize=276 [08:43:10]tlvbuf is 0159F7A0 [08:43:10]SAM_PROTO_ClearQueue [08:43:10]wFMCommunicate request_size=4 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 09 00 00 [08:43:10]Write to MH i2c: E2 08 00 2A 08 80 09 00 00 00 00 00 00 A4 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 2A 08 00 90 00 A6 [08:43:10]RAPDU: 90 00 [08:43:10]wFMCommunicate OK [08:43:10]SAM_PROTO_ClearQueue done [08:43:10]KKMCreateOFDPacket [08:43:10]OFDProtocolAddRootSTLVToBuf [08:43:10]FM_MakeSignedData [08:43:10]FM_MakeSignedData [08:43:10]SAM_PROTO_SignData [08:43:10]wFMCommunicate request_size=4 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 0D 01 02 [08:43:10]Write to MH i2c: E2 08 00 2B 08 80 0D 01 02 00 00 00 00 AC [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 2B 08 00 90 00 A7 [08:43:10]RAPDU: 90 00 [08:43:10]wFMCommunicate OK [08:43:10]wFMCommunicate request_size=255 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 3E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 [08:43:10]Write to MH i2c: E2 02 01 2C 08 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 3E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 00 00 EF [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 2C 08 00 90 00 A8 [08:43:10]RAPDU: 90 00 [08:43:10]wFMCommunicate OK [08:43:10]wFMCommunicate request_size=35 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E1 A7 00 00 35 04 06 00 1D 71 35 F4 C9 ED [08:43:10]Write to MH i2c: E2 26 00 2D 08 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E1 A7 00 00 35 04 06 00 1D 71 35 F4 C9 ED 00 00 9B [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [08:43:10]RAPDU: 90 00 [08:43:10]wFMCommunicate OK [08:43:10]wFMCommunicate request_size=4 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 0D 03 02 [08:43:10]Write to MH i2c: E2 08 00 2E 08 80 0D 03 02 00 00 00 00 B1 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 0B 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 0B 00 2E 08 00 BF 47 A8 88 06 E8 EA B1 90 00 71 [08:43:10]RAPDU: BF 47 A8 88 06 E8 EA B1 90 00 [08:43:10]wFMCommunicate OK [08:43:10]SAM_PROTO_SignData done [08:43:10]FM_MakeSignedData done [08:43:10]CreateOFDProtocolMessage [08:43:10]wFMCommunicate request_size=4 [08:43:10]MH_SAM_APDU [08:43:10]CAPDU: 80 11 00 00 [08:43:10]Write to MH i2c: E2 08 00 2F 08 80 11 00 00 00 00 00 00 B1 [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:10]Read from MH i2c: E2 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 17 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: E2 17 00 2F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 08 [08:43:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:43:10]wFMCommunicate OK [08:43:10]CreateOFDProtocolMessage done [08:43:10]OFDSenderStorePacket 42977 [08:43:10]StoreOFDPacket docnum=42977 [08:43:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 36 A2 20 01 6B CA 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 3E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E1 A7 00 00 35 04 06 00 1D 71 35 F4 C9 ED BF 47 A8 88 06 E8 EA B1 [08:43:10]CheckFolder [08:43:10]dirname=/storage/ofd_packets [08:43:10]CheckFolder done [08:43:10]ProducePacketName [08:43:10]name=ofd_packets/00042977 [08:43:10]NVStorageSaveData ofd_packets/00042977 [08:43:10]File name is /storage/ofd_packets/00042977 [08:43:10]Write 326 bytes [08:43:10]NVStorageSaveData done [08:43:10]OFDSenderStorePacket done [08:43:10]KKMCreateOFDPacket done [08:43:10]NVStorageSaveData kkm_last_timestamp [08:43:10]File name is /storage/kkm_last_timestamp [08:43:10]Write 4 bytes [08:43:10]NVStorageSaveData done [08:43:10]ExternCall_PrintAddStr [08:43:10]wPrintStart [08:43:10]Write to MH i2c: 01 00 00 30 08 38 [08:43:10]OFD Sender: Processing packet 42977 [packets to send 31, broken 30] [08:43:10]ProducePacketName [08:43:10]name=ofd_packets/00042977 [08:43:10]OFD Sender: To server: pG, [08:43:10]CommunicateWithHost lk.salyk.kg:30040 [08:43:10]ConnectInit lk.salyk.kg [08:43:10]Write i2c OK [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 07 00 [08:43:10]MH_I2C_Read... [08:43:10]Read from MH i2c: 01 07 00 30 08 00 00 00 00 00 FF 0F 4D [08:43:10]RasterBufferAndPrint [08:43:10]line Счет N : (3)300105 [08:43:10]line ИНН: 02508201610067 [08:43:10]line Контрольно-Кассовый Чек [08:43:10]line ПРОДАЖА [08:43:10]line Товар: 2000036230011 [08:43:10]line Кофе Латте XL(GABB TRADE) [08:43:10]line 1.000 * 130.00 [08:43:10]line = 130.00 [08:43:10]line НДС 12% НСП 1% [08:43:10]line > о реализуемом товаре [08:43:10]line ИТОГО: 130.00 [08:43:10]line НСП 1% : 1.15 [08:43:10]line НДС 12% : 13.80 [08:43:10]line Наличными: 130.00 [08:43:10]line Безнал.: 0.00 [08:43:10]line Место: АЗС № 71 "Партнер Нефть" [08:43:10]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [08:43:10]line СНО: Общий режим [08:43:10]line Чек 22 13.07.2024 08:43 [08:43:10]line Смена: 445 ФФД: 1.0 [08:43:10]line ЗНМ: 0300000153 [08:43:10]line РНМ: 0000000000091176 [08:43:10]line Версия ККМ: 001 [08:43:10]line ФМ: 0000000000874935 [08:43:10]line ФД: 42977 [08:43:10]line ФПД: 32372073744877 [08:43:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T084311&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42977&fm=32372073744877&tin=02508201610067®Number=0000000000091176&sum=13000 [08:43:10]line 0 [08:43:10]written 0, free lines is 4095 [08:43:10]Connected sock=10 [08:43:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 36 A2 20 01 6B CA 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 3E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E1 A7 00 00 35 04 06 00 1D 71 35 F4 C9 ED BF 47 A8 88 06 E8 EA B1 [08:43:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 4F 2D 47 00 BA 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E1 A7 00 00 F4 03 04 00 1A EA 91 66 B6 04 01 00 00 AA F4 1C 1E 10 4C A9 4D [08:43:11]CommunicateWithHost err = 0 [08:43:11]CheckOFDResponse [08:43:11]1017 (14) - 77093643461234 [08:43:11]1041 (16) - 0000000000874935 [08:43:11]1040 (4) - 42977 [08:43:11]1012 (4) - 13.07.2024 02:44 [08:43:11]1206 (1) - 0 [08:43:11]OFD Sender: Remove packet 42977 [08:43:11]ProducePacketName [08:43:11]name=ofd_packets/00042977 [08:43:11]NVStorageDeleteData [08:43:11]Write to MH i2c: 01 00 00 58 08 60 [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: 01 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: 01 07 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: 01 07 00 58 08 00 00 00 00 00 06 0D 7A [08:43:11]RasterBufferAndPrint [08:43:11]line [08:43:11]line [08:43:11]line [08:43:11]line [08:43:11]line [08:43:11]written 0, free lines is 3340 [08:43:11]MH_Cut [08:43:11]Write to MH i2c: D1 01 00 5F 08 01 39 [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: D1 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: D1 01 00 [08:43:11]MH_I2C_Read... [08:43:11]Read from MH i2c: D1 01 00 5F 08 00 38 [08:43:11]Write to MH i2c: 01 00 00 60 08 68 [08:43:11]Write i2c OK [08:43:11]MH_I2C_Read... [08:43:11]OFD Sender: No OFD packet to send [08:43:12]*** Cut start [08:43:12]*** Partial cut [08:43:12]*** CUTSNS_PIN = 1 [08:43:12]*** CUTSNS_PIN = 0 [08:43:12]*** Brake cut motor [08:43:12]Read from MH i2c: 01 [08:43:12]MH_I2C_Read... [08:43:12]*** Stop cut motor [08:43:12]*** Cut end [08:43:12]Read from MH i2c: 01 07 00 [08:43:12]MH_I2C_Read... [08:43:12]Read from MH i2c: 01 07 00 60 08 00 00 00 00 00 FF 0F 7D [08:43:12]process_action close_receipt done [08:43:12]requested_data is exist [08:43:12]produce_requested_data [08:43:12]requested_item fm.sn is exist - process it [08:43:12]wFMCommunicate request_size=4 [08:43:12]MH_SAM_APDU [08:43:12]CAPDU: 80 11 00 00 [08:43:12]Write to MH i2c: E2 08 00 61 08 80 11 00 00 00 00 00 00 E3 [08:43:12]Write i2c OK [08:43:12]MH_I2C_Read... [08:43:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:12]Read from MH i2c: E2 [08:43:12]MH_I2C_Read... [08:43:12]Read from MH i2c: E2 17 00 [08:43:12]MH_I2C_Read... [08:43:12]Read from MH i2c: E2 17 00 61 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3A [08:43:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:43:12]wFMCommunicate OK [08:43:12]requested_item fd.num is exist - process it [08:43:12]SAM_PROTO_GetFieldsCounters [08:43:12]wFMCommunicate request_size=4 [08:43:12]MH_SAM_APDU [08:43:12]CAPDU: 80 13 00 00 [08:43:12]Write to MH i2c: E2 08 00 62 08 80 13 00 00 00 00 00 00 E6 [08:43:12]Write i2c OK [08:43:12]MH_I2C_Read... [08:43:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:12]Read from MH i2c: E2 [08:43:12]MH_I2C_Read... [08:43:12]Read from MH i2c: E2 62 00 [08:43:12]MH_I2C_Read... [08:43:12]Read from MH i2c: E2 62 00 62 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E1 A7 00 00 0E 04 04 00 BD 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 92 [08:43:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E1 A7 00 00 0E 04 04 00 BD 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 [08:43:12]wFMCommunicate OK [08:43:12]SAM_PROTO_GetFieldsCounters done [08:43:12]requested_item shift.num is exist - process it [08:43:12]requested_item shift.opened is exist - process it [08:43:12]req_shift_opened [08:43:12]FM_GetShiftState [08:43:12]SAM_PROTO_GetShiftState [08:43:12]wFMCommunicate request_size=4 [08:43:12]MH_SAM_APDU [08:43:12]CAPDU: 80 13 01 00 [08:43:12]Write to MH i2c: E2 08 00 63 08 80 13 01 00 00 00 00 00 E8 [08:43:12]Write i2c OK [08:43:12]MH_I2C_Read... [08:43:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:13]Read from MH i2c: E2 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 0E 00 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 0E 00 63 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 7F [08:43:13]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:43:13]wFMCommunicate OK [08:43:13]SAM_PROTO_GetShiftState done [08:43:13]FM_GetShiftState done [08:43:13]req_shift_opened done [08:43:13]requested_item shift.open_date is exist - process it [08:43:13]req_shift_open_date [08:43:13]req_shift_open_date done [08:43:13]requested_item shift.sale.total is exist - process it [08:43:13]SAM_PROTO_GetShiftData [08:43:13]wFMCommunicate request_size=4 [08:43:13]MH_SAM_APDU [08:43:13]CAPDU: 80 13 02 00 [08:43:13]Write to MH i2c: E2 08 00 64 08 80 13 02 00 00 00 00 00 EA [08:43:13]Write i2c OK [08:43:13]MH_I2C_Read... [08:43:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:43:13]Read from MH i2c: E2 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 FD 00 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 FD 00 64 08 00 AD 04 AA 04 A9 04 6E 04 04 00 16 00 00 00 69 04 9A 00 6F 04 04 00 16 00 00 00 B1 04 03 00 80 C9 06 70 04 03 00 94 57 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 84 B8 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 19 [08:43:13]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 16 00 00 00 69 04 9A 00 6F 04 04 00 16 00 00 00 B1 04 03 00 80 C9 06 70 04 03 00 94 57 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 84 B8 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [08:43:13]wFMCommunicate OK [08:43:13]wFMCommunicate request_size=4 [08:43:13]MH_SAM_APDU [08:43:13]CAPDU: 80 17 00 00 [08:43:13]Write to MH i2c: E2 08 00 65 08 80 17 00 00 00 00 00 00 ED [08:43:13]Write i2c OK [08:43:13]MH_I2C_Read... [08:43:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:13]Read from MH i2c: E2 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 FD 00 [08:43:13]MH_I2C_Read... [08:43:13]Read from MH i2c: E2 FD 00 65 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 FF [08:43:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [08:43:13]wFMCommunicate OK [08:43:13]wFMCommunicate request_size=4 [08:43:13]MH_SAM_APDU [08:43:13]CAPDU: 80 17 00 00 [08:43:13]Write to MH i2c: E2 08 00 66 08 80 17 00 00 00 00 00 00 EE [08:43:13]Write i2c OK [08:43:13]MH_I2C_Read... [08:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:14]Read from MH i2c: E2 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 FD 00 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 FD 00 66 08 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 B2 [08:43:14]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:43:14]wFMCommunicate OK [08:43:14]wFMCommunicate request_size=4 [08:43:14]MH_SAM_APDU [08:43:14]CAPDU: 80 17 00 00 [08:43:14]Write to MH i2c: E2 08 00 67 08 80 17 00 00 00 00 00 00 EF [08:43:14]Write i2c OK [08:43:14]MH_I2C_Read... [08:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:14]Read from MH i2c: E2 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 FD 00 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 FD 00 67 08 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 64 [08:43:14]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [08:43:14]wFMCommunicate OK [08:43:14]wFMCommunicate request_size=4 [08:43:14]MH_SAM_APDU [08:43:14]CAPDU: 80 17 00 00 [08:43:14]Write to MH i2c: E2 08 00 68 08 80 17 00 00 00 00 00 00 F0 [08:43:14]Write i2c OK [08:43:14]MH_I2C_Read... [08:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:43:14]Read from MH i2c: E2 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 CA 00 [08:43:14]MH_I2C_Read... [08:43:14]Read from MH i2c: E2 CA 00 68 08 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D5 [08:43:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:43:14]wFMCommunicate OK [08:43:14]SAM_PROTO_GetShiftData done [08:43:14]requested_item shift.sale.total_cash is exist - process it [08:43:14]requested_item shift.sale_refund.total is exist - process it [08:43:14]requested_item shift.sale_refund.total_cash is exist - process it [08:43:14]produce_requested_data done [08:43:14]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42977,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4448.00,"shift.sale.total_cash":3501.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:43:14]process_action_free close_receipt [08:43:14]json_value_free [08:43:14]json_value_free done [08:43:14]process_json_proto returns [08:43:14]Send response to host [08:43:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42977,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4448.00,"shift.sale.total_cash":3501.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:43:14]free response buf [08:43:14]execute_script done [08:43:14]execute_script returns [08:43:14]free content buf [08:43:14]Sock 9.Close socket [08:43:14]Sock 9.Thread stoped [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]accept exits with 7 [08:48:06]New connection [08:48:06]New thread 3067530596 created [08:48:06]Thread 3067387236 joined [08:48:06]Waiting for new connection... [08:48:06] Sock 7.Parse request [08:48:06]Sock 7.Check first char [08:48:06]Sock 7.First char is OK [08:48:06]request: POST /json_proto HTTP/1.0 [08:48:06]Method: POST [08:48:06]URL: /json_proto [08:48:06]Method is POST - this is cgi request [08:48:06]url: /json_proto [08:48:06]query_string will be loaded in cgi processing [08:48:06]execute_cgi json_proto POST (null) [08:48:06]execute_cgi path=json_proto method=POST [08:48:06]POST find Content-Length [08:48:06]Host: 172.17.38.197:8080 [08:48:06]Content-Length: 730 [08:48:06]Content-Type: application/json [08:48:06] [08:48:06]POST finish read [08:48:06]Found Content-Length = 730 [08:48:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300106", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:48:06]execute_script... [08:48:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300106", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:48:06]POST & json_proto [08:48:06]process_json_proto [08:48:06]json parsed OK: [08:48:06]protocol is kg_v1.0 [08:48:06]action value=close_receipt [08:48:06]process_action close_receipt [08:48:06]cmd_close_receipt [08:48:06]MH_GetDate [08:48:06]Write to MH i2c: F0 00 00 69 08 60 [08:48:06]Write i2c OK [08:48:06]MH_I2C_Read... [08:48:06]Read from MH i2c: F0 [08:48:06]MH_I2C_Read... [08:48:06]Read from MH i2c: F0 09 00 [08:48:06]MH_I2C_Read... [08:48:06]Read from MH i2c: F0 09 00 69 08 00 48 3F 92 66 1E 0D 88 66 01 [08:48:06]GetLastDocTimeStamp 1720860191 [08:48:06]current date 1720860488 [08:48:06]FM_GetShiftState [08:48:06]SAM_PROTO_GetShiftState [08:48:06]wFMCommunicate request_size=4 [08:48:06]MH_SAM_APDU [08:48:06]CAPDU: 80 13 01 00 [08:48:06]Write to MH i2c: E2 08 00 6A 08 80 13 01 00 00 00 00 00 EF [08:48:06]Write i2c OK [08:48:06]MH_I2C_Read... [08:48:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:06]Read from MH i2c: E2 [08:48:06]MH_I2C_Read... [08:48:06]Read from MH i2c: E2 0E 00 [08:48:06]MH_I2C_Read... [08:48:06]Read from MH i2c: E2 0E 00 6A 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 86 [08:48:06]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:48:06]wFMCommunicate OK [08:48:06]SAM_PROTO_GetShiftState done [08:48:06]FM_GetShiftState done [08:48:06]opened in 1720829646 [08:48:06]opened+sec_in_day 1720916046 [08:48:06]quantity*price = 11500 [08:48:06]sum+1 = 11501 [08:48:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 23 13.07.2024 08:48 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42978 ФПД: 83047818630032 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T084808&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42978&fm=83047818630032&tin=02508201610067®Number=0000000000091176&sum=11500 0 [08:48:07]StoreToDocumentArchive [08:48:07]shift 445 fd 42978 [08:48:07]save to /storage/0445/doc_00042978 [08:48:07]save last doc name /storage/0445/doc_00042978 to /storage/kkm_last_doc_name [08:48:07]save OK [08:48:07]Clear old archive folders... [08:48:07]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:48:07]tlvbuf is 0159F7F0 [08:48:07]SAM_PROTO_ClearQueue [08:48:07]wFMCommunicate request_size=4 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 09 00 00 [08:48:07]Write to MH i2c: E2 08 00 77 08 80 09 00 00 00 00 00 00 F1 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 77 08 00 90 00 F3 [08:48:07]RAPDU: 90 00 [08:48:07]wFMCommunicate OK [08:48:07]SAM_PROTO_ClearQueue done [08:48:07]KKMCreateOFDPacket [08:48:07]OFDProtocolAddRootSTLVToBuf [08:48:07]FM_MakeSignedData [08:48:07]FM_MakeSignedData [08:48:07]SAM_PROTO_SignData [08:48:07]wFMCommunicate request_size=4 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 0D 01 02 [08:48:07]Write to MH i2c: E2 08 00 78 08 80 0D 01 02 00 00 00 00 F9 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [08:48:07]RAPDU: 90 00 [08:48:07]wFMCommunicate OK [08:48:07]wFMCommunicate request_size=255 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 48 3F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [08:48:07]Write to MH i2c: E2 02 01 79 08 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 48 3F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 E8 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 79 08 00 90 00 F5 [08:48:07]RAPDU: 90 00 [08:48:07]wFMCommunicate OK [08:48:07]wFMCommunicate request_size=33 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E2 A7 00 00 35 04 06 00 4B 88 13 BA 93 90 [08:48:07]Write to MH i2c: E2 24 00 7A 08 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E2 A7 00 00 35 04 06 00 4B 88 13 BA 93 90 00 00 DB [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 03 00 7A 08 00 90 00 F6 [08:48:07]RAPDU: 90 00 [08:48:07]wFMCommunicate OK [08:48:07]wFMCommunicate request_size=4 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 0D 03 02 [08:48:07]Write to MH i2c: E2 08 00 7B 08 80 0D 03 02 00 00 00 00 FE [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 0B 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 0B 00 7B 08 00 89 F6 65 6A 71 BB 23 30 90 00 CC [08:48:07]RAPDU: 89 F6 65 6A 71 BB 23 30 90 00 [08:48:07]wFMCommunicate OK [08:48:07]SAM_PROTO_SignData done [08:48:07]FM_MakeSignedData done [08:48:07]CreateOFDProtocolMessage [08:48:07]wFMCommunicate request_size=4 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 11 00 00 [08:48:07]Write to MH i2c: E2 08 00 7C 08 80 11 00 00 00 00 00 00 FE [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 17 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 17 00 7C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 55 [08:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:48:07]wFMCommunicate OK [08:48:07]CreateOFDProtocolMessage done [08:48:07]OFDSenderStorePacket 42978 [08:48:07]StoreOFDPacket docnum=42978 [08:48:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 D0 7A 1E 01 A1 D9 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 48 3F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E2 A7 00 00 35 04 06 00 4B 88 13 BA 93 90 89 F6 65 6A 71 BB 23 30 [08:48:07]CheckFolder [08:48:07]dirname=/storage/ofd_packets [08:48:07]CheckFolder done [08:48:07]ProducePacketName [08:48:07]name=ofd_packets/00042978 [08:48:07]NVStorageSaveData ofd_packets/00042978 [08:48:07]File name is /storage/ofd_packets/00042978 [08:48:07]Write 324 bytes [08:48:07]NVStorageSaveData done [08:48:07]OFDSenderStorePacket done [08:48:07]KKMCreateOFDPacket done [08:48:07]NVStorageSaveData kkm_last_timestamp [08:48:07]File name is /storage/kkm_last_timestamp [08:48:07]Write 4 bytes [08:48:07]NVStorageSaveData done [08:48:07]ExternCall_PrintAddStr [08:48:07]wPrintStart [08:48:07]Write to MH i2c: 01 00 00 7D 08 85 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: 01 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: 01 07 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: 01 07 00 7D 08 00 00 00 00 00 FF 0F 9A [08:48:07]RasterBufferAndPrint [08:48:07]line Счет N : (3)300106 [08:48:07]line ИНН: 02508201610067 [08:48:07]line Контрольно-Кассовый Чек [08:48:07]line ПРОДАЖА [08:48:07]line Товар: 2000036240010 [08:48:07]line Кофе Латте (GABB TRADE) [08:48:07]line 1.000 * 115.00 [08:48:07]line = 115.00 [08:48:07]line НДС 12% НСП 1% [08:48:07]line > о реализуемом товаре [08:48:07]line ИТОГО: 115.00 [08:48:07]line НСП 1% : 1.02 [08:48:07]line НДС 12% : 12.21 [08:48:07]line Наличными: 115.00 [08:48:07]line Безнал.: 0.00 [08:48:07]line Место: АЗС № 71 "Партнер Нефть" [08:48:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [08:48:07]line СНО: Общий режим [08:48:07]line Чек 23 13.07.2024 08:48 [08:48:07]line Смена: 445 ФФД: 1.0 [08:48:07]line ЗНМ: 0300000153 [08:48:07]line РНМ: 0000000000091176 [08:48:07]line Версия ККМ: 001 [08:48:07]line ФМ: 0000000000874935 [08:48:07]line ФД: 42978 [08:48:07]line ФПД: 83047818630032 [08:48:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T084808&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42978&fm=83047818630032&tin=02508201610067®Number=0000000000091176&sum=11500 [08:48:08]OFD Sender: Processing packet 42978 [packets to send 31, broken 30] [08:48:08]ProducePacketName [08:48:08]name=ofd_packets/00042978 [08:48:08]OFD Sender: To server: pG, [08:48:08]CommunicateWithHost lk.salyk.kg:30040 [08:48:08]ConnectInit lk.salyk.kg [08:48:08]line 0 [08:48:08]written 0, free lines is 4095 [08:48:08]Connected sock=10 [08:48:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 D0 7A 1E 01 A1 D9 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 48 3F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E2 A7 00 00 35 04 06 00 4B 88 13 BA 93 90 89 F6 65 6A 71 BB 23 30 [08:48:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DD CE 47 00 CA 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E2 A7 00 00 F4 03 04 00 43 EB 91 66 B6 04 01 00 00 7C 41 81 47 C3 9C 03 3F [08:48:08]CommunicateWithHost err = 0 [08:48:08]CheckOFDResponse [08:48:08]1017 (14) - 77093643461234 [08:48:08]1041 (16) - 0000000000874935 [08:48:08]1040 (4) - 42978 [08:48:08]1012 (4) - 13.07.2024 02:49 [08:48:08]1206 (1) - 0 [08:48:08]OFD Sender: Remove packet 42978 [08:48:08]ProducePacketName [08:48:08]name=ofd_packets/00042978 [08:48:08]NVStorageDeleteData [08:48:08]Write to MH i2c: 01 00 00 A5 08 AD [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: 01 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: 01 07 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: 01 07 00 A5 08 00 00 00 00 00 0C 0D CD [08:48:08]RasterBufferAndPrint [08:48:08]line [08:48:08]line [08:48:08]line [08:48:08]line [08:48:08]line [08:48:08]written 0, free lines is 3347 [08:48:08]MH_Cut [08:48:08]Write to MH i2c: D1 01 00 AC 08 01 86 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: D1 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: D1 01 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: D1 01 00 AC 08 00 85 [08:48:08]Write to MH i2c: 01 00 00 AD 08 B5 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:09]OFD Sender: No OFD packet to send [08:48:09]*** Cut start [08:48:09]*** Partial cut [08:48:09]*** CUTSNS_PIN = 1 [08:48:09]*** CUTSNS_PIN = 0 [08:48:09]*** Brake cut motor [08:48:10]Read from MH i2c: 01 [08:48:10]MH_I2C_Read... [08:48:10]*** Stop cut motor [08:48:10]*** Cut end [08:48:10]Read from MH i2c: 01 07 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: 01 07 00 AD 08 00 00 00 00 00 FF 0F CA [08:48:10]process_action close_receipt done [08:48:10]requested_data is exist [08:48:10]produce_requested_data [08:48:10]requested_item fm.sn is exist - process it [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 11 00 00 [08:48:10]Write to MH i2c: E2 08 00 AE 08 80 11 00 00 00 00 00 00 30 [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 17 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 17 00 AE 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 87 [08:48:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [08:48:10]wFMCommunicate OK [08:48:10]requested_item fd.num is exist - process it [08:48:10]SAM_PROTO_GetFieldsCounters [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 13 00 00 [08:48:10]Write to MH i2c: E2 08 00 AF 08 80 13 00 00 00 00 00 00 33 [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 62 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 62 00 AF 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E2 A7 00 00 0E 04 04 00 BD 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 E3 [08:48:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E2 A7 00 00 0E 04 04 00 BD 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 [08:48:10]wFMCommunicate OK [08:48:10]SAM_PROTO_GetFieldsCounters done [08:48:10]requested_item shift.num is exist - process it [08:48:10]requested_item shift.opened is exist - process it [08:48:10]req_shift_opened [08:48:10]FM_GetShiftState [08:48:10]SAM_PROTO_GetShiftState [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 13 01 00 [08:48:10]Write to MH i2c: E2 08 00 B0 08 80 13 01 00 00 00 00 00 35 [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 0E 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 0E 00 B0 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 CC [08:48:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [08:48:10]wFMCommunicate OK [08:48:10]SAM_PROTO_GetShiftState done [08:48:10]FM_GetShiftState done [08:48:10]req_shift_opened done [08:48:10]requested_item shift.open_date is exist - process it [08:48:10]req_shift_open_date [08:48:10]req_shift_open_date done [08:48:10]requested_item shift.sale.total is exist - process it [08:48:10]SAM_PROTO_GetShiftData [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 13 02 00 [08:48:10]Write to MH i2c: E2 08 00 B1 08 80 13 02 00 00 00 00 00 37 [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 FD 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 FD 00 B1 08 00 AD 04 AA 04 A9 04 6E 04 04 00 17 00 00 00 69 04 9A 00 6F 04 04 00 17 00 00 00 B1 04 03 00 6C F6 06 70 04 03 00 80 84 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 49 BD 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 C3 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 CA [08:48:10]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 17 00 00 00 69 04 9A 00 6F 04 04 00 17 00 00 00 B1 04 03 00 6C F6 06 70 04 03 00 80 84 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 49 BD 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 C3 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [08:48:10]wFMCommunicate OK [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 17 00 00 [08:48:10]Write to MH i2c: E2 08 00 B2 08 80 17 00 00 00 00 00 00 3A [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:11]Read from MH i2c: E2 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 B2 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 4C [08:48:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [08:48:11]wFMCommunicate OK [08:48:11]wFMCommunicate request_size=4 [08:48:11]MH_SAM_APDU [08:48:11]CAPDU: 80 17 00 00 [08:48:11]Write to MH i2c: E2 08 00 B3 08 80 17 00 00 00 00 00 00 3B [08:48:11]Write i2c OK [08:48:11]MH_I2C_Read... [08:48:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:11]Read from MH i2c: E2 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 B3 08 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 FF [08:48:11]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [08:48:11]wFMCommunicate OK [08:48:11]wFMCommunicate request_size=4 [08:48:11]MH_SAM_APDU [08:48:11]CAPDU: 80 17 00 00 [08:48:11]Write to MH i2c: E2 08 00 B4 08 80 17 00 00 00 00 00 00 3C [08:48:11]Write i2c OK [08:48:11]MH_I2C_Read... [08:48:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:48:11]Read from MH i2c: E2 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 FD 00 B4 08 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 B1 [08:48:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [08:48:11]wFMCommunicate OK [08:48:11]wFMCommunicate request_size=4 [08:48:11]MH_SAM_APDU [08:48:11]CAPDU: 80 17 00 00 [08:48:11]Write to MH i2c: E2 08 00 B5 08 80 17 00 00 00 00 00 00 3D [08:48:11]Write i2c OK [08:48:11]MH_I2C_Read... [08:48:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [08:48:11]Read from MH i2c: E2 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 CA 00 [08:48:11]MH_I2C_Read... [08:48:11]Read from MH i2c: E2 CA 00 B5 08 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 22 [08:48:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:48:11]wFMCommunicate OK [08:48:11]SAM_PROTO_GetShiftData done [08:48:11]requested_item shift.sale.total_cash is exist - process it [08:48:11]requested_item shift.sale_refund.total is exist - process it [08:48:11]requested_item shift.sale_refund.total_cash is exist - process it [08:48:11]produce_requested_data done [08:48:11]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42978,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4563.00,"shift.sale.total_cash":3616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:48:11]process_action_free close_receipt [08:48:11]json_value_free [08:48:11]json_value_free done [08:48:11]process_json_proto returns [08:48:11]Send response to host [08:48:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42978,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4563.00,"shift.sale.total_cash":3616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:48:11]free response buf [08:48:11]execute_script done [08:48:11]execute_script returns [08:48:11]free content buf [08:48:11]Sock 7.Close socket [08:48:11]Sock 7.Thread stoped [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]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:11]accept exits with 9 [09:03:11]New connection [09:03:11]New thread 3067387236 created [09:03:11]Thread 3067530596 joined [09:03:11]Waiting for new connection... [09:03:11] Sock 9.Parse request [09:03:11]Sock 9.Check first char [09:03:11]Sock 9.First char is OK [09:03:11]request: POST /json_proto HTTP/1.0 [09:03:11]Method: POST [09:03:11]URL: /json_proto [09:03:11]Method is POST - this is cgi request [09:03:11]url: /json_proto [09:03:11]query_string will be loaded in cgi processing [09:03:11]execute_cgi json_proto POST (null) [09:03:11]execute_cgi path=json_proto method=POST [09:03:11]POST find Content-Length [09:03:11]Host: 172.17.38.197:8080 [09:03:11]Content-Length: 753 [09:03:11]Content-Type: application/json [09:03:11] [09:03:11]POST finish read [09:03:11]Found Content-Length = 753 [09:03:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300107", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:03:11]execute_script... [09: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 : (3)300107", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:03:11]POST & json_proto [09:03:11]process_json_proto [09:03:11]json parsed OK: [09:03:11]protocol is kg_v1.0 [09:03:11]action value=close_receipt [09:03:11]process_action close_receipt [09:03:11]cmd_close_receipt [09:03:11]MH_GetDate [09:03:11]Write to MH i2c: F0 00 00 B6 08 AD [09:03:11]Write i2c OK [09:03:11]MH_I2C_Read... [09:03:11]Read from MH i2c: F0 [09:03:11]MH_I2C_Read... [09:03:11]Read from MH i2c: F0 09 00 [09:03:11]MH_I2C_Read... [09:03:11]Read from MH i2c: F0 09 00 B6 08 00 D2 42 92 66 1E 0D 88 66 DB [09:03:11]GetLastDocTimeStamp 1720860488 [09:03:11]current date 1720861394 [09:03:11]FM_GetShiftState [09:03:11]SAM_PROTO_GetShiftState [09:03:11]wFMCommunicate request_size=4 [09:03:11]MH_SAM_APDU [09:03:11]CAPDU: 80 13 01 00 [09:03:11]Write to MH i2c: E2 08 00 B7 08 80 13 01 00 00 00 00 00 3C [09:03:11]Write i2c OK [09:03:11]MH_I2C_Read... [09:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:11]Read from MH i2c: E2 [09:03:11]MH_I2C_Read... [09:03:11]Read from MH i2c: E2 0E 00 [09:03:11]MH_I2C_Read... [09:03:11]Read from MH i2c: E2 0E 00 B7 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D3 [09:03:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:03:11]wFMCommunicate OK [09:03:11]SAM_PROTO_GetShiftState done [09:03:11]FM_GetShiftState done [09:03:11]opened in 1720829646 [09:03:11]opened+sec_in_day 1720916046 [09:03:11]quantity*price = 17000 [09:03:11]sum+1 = 17001 [09:03:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 24 13.07.2024 09:03 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42979 ФПД: 53475646065086 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T090314&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42979&fm=53475646065086&tin=02508201610067®Number=0000000000091176&sum=17000 0 [09:03:12]StoreToDocumentArchive [09:03:12]shift 445 fd 42979 [09:03:12]save to /storage/0445/doc_00042979 [09:03:12]save last doc name /storage/0445/doc_00042979 to /storage/kkm_last_doc_name [09:03:12]save OK [09:03:12]Clear old archive folders... [09:03:12]ProcessDocumentItem done err = 0, tmpTLVsize=277 [09:03:12]tlvbuf is 0159F7F0 [09:03:12]SAM_PROTO_ClearQueue [09:03:12]wFMCommunicate request_size=4 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 09 00 00 [09:03:12]Write to MH i2c: E2 08 00 C4 08 80 09 00 00 00 00 00 00 3E [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 C4 08 00 90 00 40 [09:03:12]RAPDU: 90 00 [09:03:12]wFMCommunicate OK [09:03:12]SAM_PROTO_ClearQueue done [09:03:12]KKMCreateOFDPacket [09:03:12]OFDProtocolAddRootSTLVToBuf [09:03:12]FM_MakeSignedData [09:03:12]FM_MakeSignedData [09:03:12]SAM_PROTO_SignData [09:03:12]wFMCommunicate request_size=4 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 0D 01 02 [09:03:12]Write to MH i2c: E2 08 00 C5 08 80 0D 01 02 00 00 00 00 46 [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 C5 08 00 90 00 41 [09:03:12]RAPDU: 90 00 [09:03:12]wFMCommunicate OK [09:03:12]wFMCommunicate request_size=255 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 D2 42 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 [09:03:12]Write to MH i2c: E2 02 01 C6 08 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 D2 42 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 00 00 56 [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 C6 08 00 90 00 42 [09:03:12]RAPDU: 90 00 [09:03:12]wFMCommunicate OK [09:03:12]wFMCommunicate request_size=36 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E3 A7 00 00 35 04 06 00 30 A2 C4 E3 49 BE [09:03:12]Write to MH i2c: E2 27 00 C7 08 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E3 A7 00 00 35 04 06 00 30 A2 C4 E3 49 BE 00 00 7C [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 03 00 C7 08 00 90 00 43 [09:03:12]RAPDU: 90 00 [09:03:12]wFMCommunicate OK [09:03:12]wFMCommunicate request_size=4 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 0D 03 02 [09:03:12]Write to MH i2c: E2 08 00 C8 08 80 0D 03 02 00 00 00 00 4B [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 0B 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 0B 00 C8 08 00 51 26 35 CC 8D 1C 7E 5E 90 00 49 [09:03:12]RAPDU: 51 26 35 CC 8D 1C 7E 5E 90 00 [09:03:12]wFMCommunicate OK [09:03:12]SAM_PROTO_SignData done [09:03:12]FM_MakeSignedData done [09:03:12]CreateOFDProtocolMessage [09:03:12]wFMCommunicate request_size=4 [09:03:12]MH_SAM_APDU [09:03:12]CAPDU: 80 11 00 00 [09:03:12]Write to MH i2c: E2 08 00 C9 08 80 11 00 00 00 00 00 00 4B [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:12]Read from MH i2c: E2 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 17 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: E2 17 00 C9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A2 [09:03:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:03:12]wFMCommunicate OK [09:03:12]CreateOFDProtocolMessage done [09:03:12]OFDSenderStorePacket 42979 [09:03:12]StoreOFDPacket docnum=42979 [09:03:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 01 00 00 30 B2 21 01 B2 E1 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 D2 42 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E3 A7 00 00 35 04 06 00 30 A2 C4 E3 49 BE 51 26 35 CC 8D 1C 7E 5E [09:03:12]CheckFolder [09:03:12]dirname=/storage/ofd_packets [09:03:12]CheckFolder done [09:03:12]ProducePacketName [09:03:12]name=ofd_packets/00042979 [09:03:12]NVStorageSaveData ofd_packets/00042979 [09:03:12]File name is /storage/ofd_packets/00042979 [09:03:12]Write 327 bytes [09:03:12]NVStorageSaveData done [09:03:12]OFDSenderStorePacket done [09:03:12]KKMCreateOFDPacket done [09:03:12]NVStorageSaveData kkm_last_timestamp [09:03:12]File name is /storage/kkm_last_timestamp [09:03:12]Write 4 bytes [09:03:12]NVStorageSaveData done [09:03:12]OFD Sender: Processing packet 42979 [packets to send 31, broken 30] [09:03:12]ProducePacketName [09:03:12]name=ofd_packets/00042979 [09:03:12]OFD Sender: To server: pG, [09:03:12]CommunicateWithHost lk.salyk.kg:30040 [09:03:12]ConnectInit lk.salyk.kg [09:03:12]ExternCall_PrintAddStr [09:03:12]wPrintStart [09:03:12]Write to MH i2c: 01 00 00 CA 08 D2 [09:03:12]Write i2c OK [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: 01 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: 01 07 00 [09:03:12]MH_I2C_Read... [09:03:12]Read from MH i2c: 01 07 00 CA 08 00 00 00 00 00 FF 0F E7 [09:03:12]RasterBufferAndPrint [09:03:12]line Счет N : (3)300107 [09:03:12]line ИНН: 02508201610067 [09:03:12]line Контрольно-Кассовый Чек [09:03:12]line ПРОДАЖА [09:03:12]line Товар: 8901086040008 [09:03:12]line Жид/ст ПН летняя 4,5л [09:03:12]line 1.000 * 170.00 [09:03:12]line = 170.00 [09:03:12]line НДС 12% НСП 1% [09:03:12]line > о реализуемом товаре [09:03:12]line ИТОГО: 170.00 [09:03:12]line НСП 1% : 1.50 [09:03:12]line НДС 12% : 18.05 [09:03:12]line Наличными: 170.00 [09:03:12]line Безнал.: 0.00 [09:03:12]line Место: АЗС № 71 "Партнер Нефть" [09:03:12]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:03:12]line СНО: Общий режим [09:03:12]line Чек 24 13.07.2024 09:03 [09:03:12]line Смена: 445 ФФД: 1.0 [09:03:12]line ЗНМ: 0300000153 [09:03:12]line РНМ: 0000000000091176 [09:03:12]line Версия ККМ: 001 [09:03:12]line ФМ: 0000000000874935 [09:03:12]line ФД: 42979 [09:03:12]line ФПД: 53475646065086 [09:03:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T090314&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42979&fm=53475646065086&tin=02508201610067®Number=0000000000091176&sum=17000 [09:03:13]line 0 [09:03:13]Connected sock=11 [09:03:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 01 00 00 30 B2 21 01 B2 E1 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 D2 42 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E3 A7 00 00 35 04 06 00 30 A2 C4 E3 49 BE 51 26 35 CC 8D 1C 7E 5E [09:03:13]written 0, free lines is 4095 [09:03:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 5E E4 47 00 99 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 38 37 34 39 33 35 10 04 04 00 E3 A7 00 00 F4 03 04 00 CC EE 91 66 B6 04 01 00 00 CD 21 F9 9A E1 08 69 16 [09:03:13]CommunicateWithHost err = 0 [09:03:13]CheckOFDResponse [09:03:13]1017 (14) - 77093643461234 [09:03:13]1041 (16) - 0000000000874935 [09:03:13]1040 (4) - 42979 [09:03:13]1012 (4) - 13.07.2024 03:04 [09:03:13]1206 (1) - 0 [09:03:13]OFD Sender: Remove packet 42979 [09:03:13]ProducePacketName [09:03:13]name=ofd_packets/00042979 [09:03:13]NVStorageDeleteData [09:03:13]Write to MH i2c: 01 00 00 F2 08 FA [09:03:13]Write i2c OK [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: 01 [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: 01 07 00 [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: 01 07 00 F2 08 00 00 00 00 00 05 0D 13 [09:03:13]RasterBufferAndPrint [09:03:13]line [09:03:13]line [09:03:13]line [09:03:13]line [09:03:13]line [09:03:13]written 0, free lines is 3340 [09:03:13]MH_Cut [09:03:13]Write to MH i2c: D1 01 00 F9 08 01 D3 [09:03:13]Write i2c OK [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: D1 [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: D1 01 00 [09:03:13]MH_I2C_Read... [09:03:13]Read from MH i2c: D1 01 00 F9 08 00 D2 [09:03:13]Write to MH i2c: 01 00 00 FA 08 02 [09:03:13]Write i2c OK [09:03:13]MH_I2C_Read... [09:03:13]OFD Sender: No OFD packet to send [09:03:14]*** Cut start [09:03:14]*** Partial cut [09:03:14]*** CUTSNS_PIN = 1 [09:03:14]*** CUTSNS_PIN = 0 [09:03:14]*** Brake cut motor [09:03:15]Read from MH i2c: 01 [09:03:15]MH_I2C_Read... [09:03:15]*** Stop cut motor [09:03:15]*** Cut end [09:03:15]Read from MH i2c: 01 07 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: 01 07 00 FA 08 00 00 00 00 00 FF 0F 17 [09:03:15]process_action close_receipt done [09:03:15]requested_data is exist [09:03:15]produce_requested_data [09:03:15]requested_item fm.sn is exist - process it [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 11 00 00 [09:03:15]Write to MH i2c: E2 08 00 FB 08 80 11 00 00 00 00 00 00 7D [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 17 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 17 00 FB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D4 [09:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:03:15]wFMCommunicate OK [09:03:15]requested_item fd.num is exist - process it [09:03:15]SAM_PROTO_GetFieldsCounters [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 13 00 00 [09:03:15]Write to MH i2c: E2 08 00 FC 08 80 13 00 00 00 00 00 00 80 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 62 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 62 00 FC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E3 A7 00 00 0E 04 04 00 BD 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 34 [09:03:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E3 A7 00 00 0E 04 04 00 BD 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 [09:03:15]wFMCommunicate OK [09:03:15]SAM_PROTO_GetFieldsCounters done [09:03:15]requested_item shift.num is exist - process it [09:03:15]requested_item shift.opened is exist - process it [09:03:15]req_shift_opened [09:03:15]FM_GetShiftState [09:03:15]SAM_PROTO_GetShiftState [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 13 01 00 [09:03:15]Write to MH i2c: E2 08 00 FD 08 80 13 01 00 00 00 00 00 82 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 0E 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 0E 00 FD 08 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 19 [09:03:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:03:15]wFMCommunicate OK [09:03:15]SAM_PROTO_GetShiftState done [09:03:15]FM_GetShiftState done [09:03:15]req_shift_opened done [09:03:15]requested_item shift.open_date is exist - process it [09:03:15]req_shift_open_date [09:03:15]req_shift_open_date done [09:03:15]requested_item shift.sale.total is exist - process it [09:03:15]SAM_PROTO_GetShiftData [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 13 02 00 [09:03:15]Write to MH i2c: E2 08 00 FE 08 80 13 02 00 00 00 00 00 84 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 FD 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 FD 00 FE 08 00 AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D4 38 07 70 04 03 00 E8 C6 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 56 C4 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 10 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 19 [09:03:15]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 D4 38 07 70 04 03 00 E8 C6 05 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 56 C4 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 10 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:03:15]wFMCommunicate OK [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 17 00 00 [09:03:15]Write to MH i2c: E2 08 00 FF 08 80 17 00 00 00 00 00 00 87 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:16]Read from MH i2c: E2 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 FF 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 99 [09:03:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:03:16]wFMCommunicate OK [09:03:16]wFMCommunicate request_size=4 [09:03:16]MH_SAM_APDU [09:03:16]CAPDU: 80 17 00 00 [09:03:16]Write to MH i2c: E2 08 00 00 09 80 17 00 00 00 00 00 00 89 [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:16]Read from MH i2c: E2 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 00 09 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 4D [09:03:16]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:03:16]wFMCommunicate OK [09:03:16]wFMCommunicate request_size=4 [09:03:16]MH_SAM_APDU [09:03:16]CAPDU: 80 17 00 00 [09:03:16]Write to MH i2c: E2 08 00 01 09 80 17 00 00 00 00 00 00 8A [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:16]Read from MH i2c: E2 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 FD 00 01 09 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 FF [09:03:16]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:03:16]wFMCommunicate OK [09:03:16]wFMCommunicate request_size=4 [09:03:16]MH_SAM_APDU [09:03:16]CAPDU: 80 17 00 00 [09:03:16]Write to MH i2c: E2 08 00 02 09 80 17 00 00 00 00 00 00 8B [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:03:16]Read from MH i2c: E2 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 CA 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: E2 CA 00 02 09 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 70 [09:03:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:03:16]wFMCommunicate OK [09:03:16]SAM_PROTO_GetShiftData done [09:03:16]requested_item shift.sale.total_cash is exist - process it [09:03:16]requested_item shift.sale_refund.total is exist - process it [09:03:16]requested_item shift.sale_refund.total_cash is exist - process it [09:03:16]produce_requested_data done [09:03:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42979,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4733.00,"shift.sale.total_cash":3786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:03:16]process_action_free close_receipt [09:03:16]json_value_free [09:03:16]json_value_free done [09:03:16]process_json_proto returns [09:03:16]Send response to host [09:03:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42979,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4733.00,"shift.sale.total_cash":3786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:03:16]free response buf [09:03:16]execute_script done [09:03:16]execute_script returns [09:03:16]free content buf [09:03:16]Sock 9.Close socket [09:03:16]Sock 9.Thread stoped [09:03:18]OFD Sender: No OFD packet to send [09:03:23]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:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:20]accept exits with 7 [09:18:20]New connection [09:18:20]New thread 3067530596 created [09:18:20]Thread 3067387236 joined [09:18:20]Waiting for new connection... [09:18:20] Sock 7.Parse request [09:18:20]Sock 7.Check first char [09:18:20]Sock 7.First char is OK [09:18:20]request: POST /json_proto HTTP/1.0 [09:18:20]Method: POST [09:18:20]URL: /json_proto [09:18:20]Method is POST - this is cgi request [09:18:20]url: /json_proto [09:18:20]query_string will be loaded in cgi processing [09:18:20]execute_cgi json_proto POST (null) [09:18:20]execute_cgi path=json_proto method=POST [09:18:20]POST find Content-Length [09:18:20]Host: 172.17.38.197:8080 [09:18:20]Content-Length: 760 [09:18:20]Content-Type: application/json [09:18:20] [09:18:20]POST finish read [09:18:20]Found Content-Length = 760 [09:18:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300108", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:18:20]execute_script... [09:18:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300108", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:18:20]POST & json_proto [09:18:20]process_json_proto [09:18:20]json parsed OK: [09:18:20]protocol is kg_v1.0 [09:18:20]action value=close_receipt [09:18:20]process_action close_receipt [09:18:20]cmd_close_receipt [09:18:20]MH_GetDate [09:18:20]Write to MH i2c: F0 00 00 03 09 FB [09:18:20]Write i2c OK [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: F0 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: F0 09 00 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: F0 09 00 03 09 00 5E 46 92 66 1E 0D 88 66 B9 [09:18:20]GetLastDocTimeStamp 1720861394 [09:18:20]current date 1720862302 [09:18:20]FM_GetShiftState [09:18:20]SAM_PROTO_GetShiftState [09:18:20]wFMCommunicate request_size=4 [09:18:20]MH_SAM_APDU [09:18:20]CAPDU: 80 13 01 00 [09:18:20]Write to MH i2c: E2 08 00 04 09 80 13 01 00 00 00 00 00 8A [09:18:20]Write i2c OK [09:18:20]MH_I2C_Read... [09:18:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:18:20]Read from MH i2c: E2 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: E2 0E 00 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: E2 0E 00 04 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 21 [09:18:20]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:18:20]wFMCommunicate OK [09:18:20]SAM_PROTO_GetShiftState done [09:18:20]FM_GetShiftState done [09:18:20]opened in 1720829646 [09:18:20]opened+sec_in_day 1720916046 [09:18:20]quantity*price = 19000 [09:18:20]sum+1 = 19001 [09:18:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 25 13.07.2024 09:18 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42980 ФПД: 215267881297732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T091822&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42980&fm=215267881297732&tin=02508201610067®Number=0000000000091176&sum=19000 0 [09:18:21]StoreToDocumentArchive [09:18:21]shift 445 fd 42980 [09:18:21]save to /storage/0445/doc_00042980 [09:18:21]save last doc name /storage/0445/doc_00042980 to /storage/kkm_last_doc_name [09:18:21]save OK [09:18:21]Clear old archive folders... [09:18:21]ProcessDocumentItem done err = 0, tmpTLVsize=293 [09:18:21]tlvbuf is B6F35370 [09:18:21]SAM_PROTO_ClearQueue [09:18:21]wFMCommunicate request_size=4 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 09 00 00 [09:18:21]Write to MH i2c: E2 08 00 11 09 80 09 00 00 00 00 00 00 8C [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 11 09 00 90 00 8E [09:18:21]RAPDU: 90 00 [09:18:21]wFMCommunicate OK [09:18:21]SAM_PROTO_ClearQueue done [09:18:21]KKMCreateOFDPacket [09:18:21]OFDProtocolAddRootSTLVToBuf [09:18:21]FM_MakeSignedData [09:18:21]FM_MakeSignedData [09:18:21]SAM_PROTO_SignData [09:18:21]wFMCommunicate request_size=4 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 0D 01 02 [09:18:21]Write to MH i2c: E2 08 00 12 09 80 0D 01 02 00 00 00 00 94 [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 12 09 00 90 00 8F [09:18:21]RAPDU: 90 00 [09:18:21]wFMCommunicate OK [09:18:21]wFMCommunicate request_size=255 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 5E 46 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [09:18:21]Write to MH i2c: E2 02 01 13 09 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 5E 46 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 9F [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 13 09 00 90 00 90 [09:18:21]RAPDU: 90 00 [09:18:21]wFMCommunicate OK [09:18:21]wFMCommunicate request_size=52 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E4 A7 00 00 35 04 06 00 C3 C8 F5 98 A7 44 [09:18:21]Write to MH i2c: E2 37 00 14 09 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E4 A7 00 00 35 04 06 00 C3 C8 F5 98 A7 44 00 00 EB [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 03 00 14 09 00 90 00 91 [09:18:21]RAPDU: 90 00 [09:18:21]wFMCommunicate OK [09:18:21]wFMCommunicate request_size=4 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 0D 03 02 [09:18:21]Write to MH i2c: E2 08 00 15 09 80 0D 03 02 00 00 00 00 99 [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 0B 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 0B 00 15 09 00 3A 59 77 27 D6 C2 19 41 90 00 BD [09:18:21]RAPDU: 3A 59 77 27 D6 C2 19 41 90 00 [09:18:21]wFMCommunicate OK [09:18:21]SAM_PROTO_SignData done [09:18:21]FM_MakeSignedData done [09:18:21]CreateOFDProtocolMessage [09:18:21]wFMCommunicate request_size=4 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 11 00 00 [09:18:21]Write to MH i2c: E2 08 00 16 09 80 11 00 00 00 00 00 00 99 [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 17 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 17 00 16 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F0 [09:18:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:18:21]wFMCommunicate OK [09:18:21]CreateOFDProtocolMessage done [09:18:21]OFDSenderStorePacket 42980 [09:18:21]StoreOFDPacket docnum=42980 [09:18:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 DD 15 31 01 A4 30 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 5E 46 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E4 A7 00 00 35 04 06 00 C3 C8 F5 98 A7 44 3A 59 77 27 D6 C2 19 41 [09:18:21]CheckFolder [09:18:21]dirname=/storage/ofd_packets [09:18:21]CheckFolder done [09:18:21]ProducePacketName [09:18:21]name=ofd_packets/00042980 [09:18:21]NVStorageSaveData ofd_packets/00042980 [09:18:21]File name is /storage/ofd_packets/00042980 [09:18:21]Write 343 bytes [09:18:21]NVStorageSaveData done [09:18:21]OFDSenderStorePacket done [09:18:21]KKMCreateOFDPacket done [09:18:21]NVStorageSaveData kkm_last_timestamp [09:18:21]File name is /storage/kkm_last_timestamp [09:18:21]Write 4 bytes [09:18:21]NVStorageSaveData done [09:18:21]ExternCall_PrintAddStr [09:18:21]wPrintStart [09:18:21]Write to MH i2c: 01 00 00 17 09 20 [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: 01 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: 01 07 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: 01 07 00 17 09 00 00 00 00 00 FF 0F 35 [09:18:21]RasterBufferAndPrint [09:18:21]line Счет N : (3)300108 [09:18:21]line ИНН: 02508201610067 [09:18:21]line Контрольно-Кассовый Чек [09:18:21]line ПРОДАЖА [09:18:21]line Товар: 4700000480050 [09:18:21]line Напиток Nitro Energy эн green ж/б 0,45л [09:18:21]line 2.000 * 95.00 [09:18:21]line = 190.00 [09:18:21]line НДС 12% НСП 1% [09:18:21]line > о реализуемом товаре [09:18:21]line ИТОГО: 190.00 [09:18:21]line НСП 1% : 1.68 [09:18:21]line НДС 12% : 20.18 [09:18:21]line Наличными: 190.00 [09:18:21]line Безнал.: 0.00 [09:18:21]line Место: АЗС № 71 "Партнер Нефть" [09:18:21]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:18:21]line СНО: Общий режим [09:18:21]line Чек 25 13.07.2024 09:18 [09:18:21]line Смена: 445 ФФД: 1.0 [09:18:21]line ЗНМ: 0300000153 [09:18:21]line РНМ: 0000000000091176 [09:18:22]line Версия ККМ: 001 [09:18:22]line ФМ: 0000000000874935 [09:18:22]line ФД: 42980 [09:18:22]line ФПД: 215267881297732 [09:18:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T091822&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42980&fm=215267881297732&tin=02508201610067®Number=0000000000091176&sum=19000 [09:18:22]line 0 [09:18:22]OFD Sender: Processing packet 42980 [packets to send 31, broken 30] [09:18:22]ProducePacketName [09:18:22]name=ofd_packets/00042980 [09:18:22]OFD Sender: To server: pG, [09:18:22]CommunicateWithHost lk.salyk.kg:30040 [09:18:22]ConnectInit lk.salyk.kg [09:18:22]written 0, free lines is 4095 [09:18:22]Connected sock=10 [09:18:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 DD 15 31 01 A4 30 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 5E 46 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E4 A7 00 00 35 04 06 00 C3 C8 F5 98 A7 44 3A 59 77 27 D6 C2 19 41 [09:18:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F9 B9 47 00 CE 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E4 A7 00 00 F4 03 04 00 59 F2 91 66 B6 04 01 00 00 E1 FB 49 B5 FB 1B CA 5A [09:18:22]CommunicateWithHost err = 0 [09:18:22]CheckOFDResponse [09:18:22]1017 (14) - 77093643461234 [09:18:22]1041 (16) - 0000000000874935 [09:18:22]1040 (4) - 42980 [09:18:22]1012 (4) - 13.07.2024 03:19 [09:18:22]1206 (1) - 0 [09:18:22]OFD Sender: Remove packet 42980 [09:18:22]ProducePacketName [09:18:22]name=ofd_packets/00042980 [09:18:22]NVStorageDeleteData [09:18:22]Write to MH i2c: 01 00 00 40 09 49 [09:18:22]Write i2c OK [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: 01 [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: 01 07 00 [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: 01 07 00 40 09 00 00 00 00 00 EB 0C 47 [09:18:22]RasterBufferAndPrint [09:18:22]line [09:18:22]line [09:18:22]line [09:18:22]line [09:18:22]line [09:18:22]written 0, free lines is 3313 [09:18:22]MH_Cut [09:18:22]Write to MH i2c: D1 01 00 47 09 01 22 [09:18:22]Write i2c OK [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: D1 [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: D1 01 00 [09:18:22]MH_I2C_Read... [09:18:22]Read from MH i2c: D1 01 00 47 09 00 21 [09:18:22]Write to MH i2c: 01 00 00 48 09 51 [09:18:22]Write i2c OK [09:18:22]MH_I2C_Read... [09:18:22]OFD Sender: No OFD packet to send [09:18:23]*** Cut start [09:18:23]*** Partial cut [09:18:23]*** CUTSNS_PIN = 1 [09:18:23]*** CUTSNS_PIN = 0 [09:18:23]*** Brake cut motor [09:18:23]Read from MH i2c: 01 [09:18:23]MH_I2C_Read... [09:18:23]*** Stop cut motor [09:18:23]*** Cut end [09:18:23]Read from MH i2c: 01 07 00 [09:18:23]MH_I2C_Read... [09:18:23]Read from MH i2c: 01 07 00 48 09 00 00 00 00 00 FF 0F 66 [09:18:23]process_action close_receipt done [09:18:23]requested_data is exist [09:18:23]produce_requested_data [09:18:23]requested_item fm.sn is exist - process it [09:18:23]wFMCommunicate request_size=4 [09:18:23]MH_SAM_APDU [09:18:23]CAPDU: 80 11 00 00 [09:18:23]Write to MH i2c: E2 08 00 49 09 80 11 00 00 00 00 00 00 CC [09:18:23]Write i2c OK [09:18:23]MH_I2C_Read... [09:18:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:18:23]Read from MH i2c: E2 [09:18:23]MH_I2C_Read... [09:18:23]Read from MH i2c: E2 17 00 [09:18:23]MH_I2C_Read... [09:18:23]Read from MH i2c: E2 17 00 49 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 23 [09:18:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:18:23]wFMCommunicate OK [09:18:23]requested_item fd.num is exist - process it [09:18:23]SAM_PROTO_GetFieldsCounters [09:18:23]wFMCommunicate request_size=4 [09:18:23]MH_SAM_APDU [09:18:23]CAPDU: 80 13 00 00 [09:18:23]Write to MH i2c: E2 08 00 4A 09 80 13 00 00 00 00 00 00 CF [09:18:23]Write i2c OK [09:18:23]MH_I2C_Read... [09:18:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:18:24]Read from MH i2c: E2 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 62 00 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 62 00 4A 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E4 A7 00 00 0E 04 04 00 BD 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 87 [09:18:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E4 A7 00 00 0E 04 04 00 BD 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 [09:18:24]wFMCommunicate OK [09:18:24]SAM_PROTO_GetFieldsCounters done [09:18:24]requested_item shift.num is exist - process it [09:18:24]requested_item shift.opened is exist - process it [09:18:24]req_shift_opened [09:18:24]FM_GetShiftState [09:18:24]SAM_PROTO_GetShiftState [09:18:24]wFMCommunicate request_size=4 [09:18:24]MH_SAM_APDU [09:18:24]CAPDU: 80 13 01 00 [09:18:24]Write to MH i2c: E2 08 00 4B 09 80 13 01 00 00 00 00 00 D1 [09:18:24]Write i2c OK [09:18:24]MH_I2C_Read... [09:18:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:18:24]Read from MH i2c: E2 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 0E 00 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 0E 00 4B 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 68 [09:18:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:18:24]wFMCommunicate OK [09:18:24]SAM_PROTO_GetShiftState done [09:18:24]FM_GetShiftState done [09:18:24]req_shift_opened done [09:18:24]requested_item shift.open_date is exist - process it [09:18:24]req_shift_open_date [09:18:24]req_shift_open_date done [09:18:24]requested_item shift.sale.total is exist - process it [09:18:24]SAM_PROTO_GetShiftData [09:18:24]wFMCommunicate request_size=4 [09:18:24]MH_SAM_APDU [09:18:24]CAPDU: 80 13 02 00 [09:18:24]Write to MH i2c: E2 08 00 4C 09 80 13 02 00 00 00 00 00 D3 [09:18:24]Write i2c OK [09:18:24]MH_I2C_Read... [09:18:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:18:24]Read from MH i2c: E2 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 FD 00 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 FD 00 4C 09 00 AD 04 AA 04 A9 04 6E 04 04 00 19 00 00 00 69 04 9A 00 6F 04 04 00 19 00 00 00 B1 04 03 00 0C 83 07 70 04 03 00 20 11 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 38 CC 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 01 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 04 [09:18:24]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 19 00 00 00 69 04 9A 00 6F 04 04 00 19 00 00 00 B1 04 03 00 0C 83 07 70 04 03 00 20 11 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 38 CC 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 01 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:18:24]wFMCommunicate OK [09:18:24]wFMCommunicate request_size=4 [09:18:24]MH_SAM_APDU [09:18:24]CAPDU: 80 17 00 00 [09:18:24]Write to MH i2c: E2 08 00 4D 09 80 17 00 00 00 00 00 00 D6 [09:18:24]Write i2c OK [09:18:24]MH_I2C_Read... [09:18:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:18:24]Read from MH i2c: E2 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 FD 00 [09:18:24]MH_I2C_Read... [09:18:24]Read from MH i2c: E2 FD 00 4D 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 E8 [09:18:24]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:18:24]wFMCommunicate OK [09:18:24]wFMCommunicate request_size=4 [09:18:24]MH_SAM_APDU [09:18:24]CAPDU: 80 17 00 00 [09:18:24]Write to MH i2c: E2 08 00 4E 09 80 17 00 00 00 00 00 00 D7 [09:18:24]Write i2c OK [09:18:24]MH_I2C_Read... [09:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:18:25]Read from MH i2c: E2 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 FD 00 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 FD 00 4E 09 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 9B [09:18:25]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:18:25]wFMCommunicate OK [09:18:25]wFMCommunicate request_size=4 [09:18:25]MH_SAM_APDU [09:18:25]CAPDU: 80 17 00 00 [09:18:25]Write to MH i2c: E2 08 00 4F 09 80 17 00 00 00 00 00 00 D8 [09:18:25]Write i2c OK [09:18:25]MH_I2C_Read... [09:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:18:25]Read from MH i2c: E2 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 FD 00 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 FD 00 4F 09 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 4D [09:18:25]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:18:25]wFMCommunicate OK [09:18:25]wFMCommunicate request_size=4 [09:18:25]MH_SAM_APDU [09:18:25]CAPDU: 80 17 00 00 [09:18:25]Write to MH i2c: E2 08 00 50 09 80 17 00 00 00 00 00 00 D9 [09:18:25]Write i2c OK [09:18:25]MH_I2C_Read... [09:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:18:25]Read from MH i2c: E2 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 CA 00 [09:18:25]MH_I2C_Read... [09:18:25]Read from MH i2c: E2 CA 00 50 09 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [09:18:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:18:25]wFMCommunicate OK [09:18:25]SAM_PROTO_GetShiftData done [09:18:25]requested_item shift.sale.total_cash is exist - process it [09:18:25]requested_item shift.sale_refund.total is exist - process it [09:18:25]requested_item shift.sale_refund.total_cash is exist - process it [09:18:25]produce_requested_data done [09:18:25]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42980,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4923.00,"shift.sale.total_cash":3976.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:18:25]process_action_free close_receipt [09:18:25]json_value_free [09:18:25]json_value_free done [09:18:25]process_json_proto returns [09:18:25]Send response to host [09:18:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42980,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":4923.00,"shift.sale.total_cash":3976.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:18:25]free response buf [09:18:25]execute_script done [09:18:25]execute_script returns [09:18:25]free content buf [09:18:25]Sock 7.Close socket [09:18:25]Sock 7.Thread stoped [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]OFD Sender: No OFD packet to send [09:22:43]OFD Sender: No OFD packet to send [09:22:48]OFD Sender: No OFD packet to send [09:22:53]OFD Sender: No OFD packet to send [09:22:58]OFD Sender: No OFD packet to send [09:23:03]OFD Sender: No OFD packet to send [09:23:08]OFD Sender: No OFD packet to send [09:23:13]OFD Sender: No OFD packet to send [09:23:18]OFD Sender: No OFD packet to send [09:23:23]OFD Sender: No OFD packet to send [09:23:28]OFD Sender: No OFD packet to send [09:23:33]OFD Sender: No OFD packet to send [09:23:38]OFD Sender: No OFD packet to send [09:23:43]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:04]recv_with_timeout no data received [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:55]accept exits with 9 [09:25:55]New connection [09:25:55]New thread 3067387236 created [09:25:55]Thread 3067530596 joined [09:25:55]Waiting for new connection... [09:25:55] Sock 9.Parse request [09:25:55]Sock 9.Check first char [09:25:55]Sock 9.First char is OK [09:25:55]request: POST /json_proto HTTP/1.0 [09:25:55]Method: POST [09:25:55]URL: /json_proto [09:25:55]Method is POST - this is cgi request [09:25:55]url: /json_proto [09:25:55]query_string will be loaded in cgi processing [09:25:55]execute_cgi json_proto POST (null) [09:25:55]execute_cgi path=json_proto method=POST [09:25:55]POST find Content-Length [09:25:55]Host: 172.17.38.197:8080 [09:25:55]Content-Length: 725 [09:25:55]Content-Type: application/json [09:25:55] [09:25:55]POST finish read [09:25:55]Found Content-Length = 725 [09:25:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300109", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:25:55]execute_script... [09:25:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300109", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:25:55]POST & json_proto [09:25:55]process_json_proto [09:25:55]json parsed OK: [09:25:55]protocol is kg_v1.0 [09:25:55]action value=close_receipt [09:25:55]process_action close_receipt [09:25:55]cmd_close_receipt [09:25:55]MH_GetDate [09:25:55]Write to MH i2c: F0 00 00 51 09 49 [09:25:55]Write i2c OK [09:25:55]MH_I2C_Read... [09:25:55]Read from MH i2c: F0 [09:25:55]MH_I2C_Read... [09:25:55]Read from MH i2c: F0 09 00 [09:25:55]MH_I2C_Read... [09:25:55]Read from MH i2c: F0 09 00 51 09 00 25 48 92 66 1E 0D 88 66 D0 [09:25:55]GetLastDocTimeStamp 1720862302 [09:25:55]current date 1720862757 [09:25:55]FM_GetShiftState [09:25:55]SAM_PROTO_GetShiftState [09:25:55]wFMCommunicate request_size=4 [09:25:55]MH_SAM_APDU [09:25:55]CAPDU: 80 13 01 00 [09:25:55]Write to MH i2c: E2 08 00 52 09 80 13 01 00 00 00 00 00 D8 [09:25:55]Write i2c OK [09:25:55]MH_I2C_Read... [09:25:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:55]Read from MH i2c: E2 [09:25:55]MH_I2C_Read... [09:25:55]Read from MH i2c: E2 0E 00 [09:25:55]MH_I2C_Read... [09:25:55]Read from MH i2c: E2 0E 00 52 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6F [09:25:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:25:55]wFMCommunicate OK [09:25:55]SAM_PROTO_GetShiftState done [09:25:55]FM_GetShiftState done [09:25:55]opened in 1720829646 [09:25:55]opened+sec_in_day 1720916046 [09:25:55]quantity*price = 14000 [09:25:55]sum+1 = 14001 [09:25:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 26 13.07.2024 09:25 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42981 ФПД: 262050721115592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T092558&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42981&fm=262050721115592&tin=02508201610067®Number=0000000000091176&sum=14000 0 [09:25:56]StoreToDocumentArchive [09:25:56]shift 445 fd 42981 [09:25:56]save to /storage/0445/doc_00042981 [09:25:56]save last doc name /storage/0445/doc_00042981 to /storage/kkm_last_doc_name [09:25:56]save OK [09:25:56]Clear old archive folders... [09:25:56]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:25:56]tlvbuf is 01576500 [09:25:56]SAM_PROTO_ClearQueue [09:25:56]wFMCommunicate request_size=4 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 09 00 00 [09:25:56]Write to MH i2c: E2 08 00 5F 09 80 09 00 00 00 00 00 00 DA [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 5F 09 00 90 00 DC [09:25:56]RAPDU: 90 00 [09:25:56]wFMCommunicate OK [09:25:56]SAM_PROTO_ClearQueue done [09:25:56]KKMCreateOFDPacket [09:25:56]OFDProtocolAddRootSTLVToBuf [09:25:56]FM_MakeSignedData [09:25:56]FM_MakeSignedData [09:25:56]SAM_PROTO_SignData [09:25:56]wFMCommunicate request_size=4 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 0D 01 02 [09:25:56]Write to MH i2c: E2 08 00 60 09 80 0D 01 02 00 00 00 00 E2 [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 60 09 00 90 00 DD [09:25:56]RAPDU: 90 00 [09:25:56]wFMCommunicate OK [09:25:56]wFMCommunicate request_size=255 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 26 48 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [09:25:56]Write to MH i2c: E2 02 01 61 09 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 26 48 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 3C [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 61 09 00 90 00 DE [09:25:56]RAPDU: 90 00 [09:25:56]wFMCommunicate OK [09:25:56]wFMCommunicate request_size=32 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 E5 A7 00 00 35 04 06 00 EE 55 70 25 2D C8 [09:25:56]Write to MH i2c: E2 23 00 62 09 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 E5 A7 00 00 35 04 06 00 EE 55 70 25 2D C8 00 00 9F [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 03 00 62 09 00 90 00 DF [09:25:56]RAPDU: 90 00 [09:25:56]wFMCommunicate OK [09:25:56]wFMCommunicate request_size=4 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 0D 03 02 [09:25:56]Write to MH i2c: E2 08 00 63 09 80 0D 03 02 00 00 00 00 E7 [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 0B 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 0B 00 63 09 00 AE EE FC 1A 68 92 16 6E 90 00 18 [09:25:56]RAPDU: AE EE FC 1A 68 92 16 6E 90 00 [09:25:56]wFMCommunicate OK [09:25:56]SAM_PROTO_SignData done [09:25:56]FM_MakeSignedData done [09:25:56]CreateOFDProtocolMessage [09:25:56]wFMCommunicate request_size=4 [09:25:56]MH_SAM_APDU [09:25:56]CAPDU: 80 11 00 00 [09:25:56]Write to MH i2c: E2 08 00 64 09 80 11 00 00 00 00 00 00 E7 [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:56]Read from MH i2c: E2 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 17 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: E2 17 00 64 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3E [09:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:25:56]wFMCommunicate OK [09:25:56]CreateOFDProtocolMessage done [09:25:56]OFDSenderStorePacket 42981 [09:25:56]StoreOFDPacket docnum=42981 [09:25:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 36 53 1D 01 7C A1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 26 48 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E5 A7 00 00 35 04 06 00 EE 55 70 25 2D C8 AE EE FC 1A 68 92 16 6E [09:25:56]CheckFolder [09:25:56]dirname=/storage/ofd_packets [09:25:56]CheckFolder done [09:25:56]ProducePacketName [09:25:56]name=ofd_packets/00042981 [09:25:56]NVStorageSaveData ofd_packets/00042981 [09:25:56]File name is /storage/ofd_packets/00042981 [09:25:56]Write 323 bytes [09:25:56]NVStorageSaveData done [09:25:56]OFDSenderStorePacket done [09:25:56]KKMCreateOFDPacket done [09:25:56]NVStorageSaveData kkm_last_timestamp [09:25:56]File name is /storage/kkm_last_timestamp [09:25:56]Write 4 bytes [09:25:56]NVStorageSaveData done [09:25:56]ExternCall_PrintAddStr [09:25:56]wPrintStart [09:25:56]Write to MH i2c: 01 00 00 65 09 6E [09:25:56]Write i2c OK [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: 01 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: 01 07 00 [09:25:56]MH_I2C_Read... [09:25:56]Read from MH i2c: 01 07 00 65 09 00 00 00 00 00 FF 0F 83 [09:25:56]RasterBufferAndPrint [09:25:56]line Счет N : (3)300109 [09:25:56]line ИНН: 02508201610067 [09:25:56]line Контрольно-Кассовый Чек [09:25:56]line ПРОДАЖА [09:25:56]line Товар: 48747066 [09:25:56]line Сигареты Winston True Silver [09:25:56]line 1.000 * 140.00 [09:25:56]line = 140.00 [09:25:56]line НДС 12% НСП 1% [09:25:56]line > о реализуемом товаре [09:25:56]line ИТОГО: 140.00 [09:25:56]line НСП 1% : 1.24 [09:25:56]line НДС 12% : 14.87 [09:25:56]line Наличными: 140.00 [09:25:56]line Безнал.: 0.00 [09:25:56]line Место: АЗС № 71 "Партнер Нефть" [09:25:56]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:25:56]line СНО: Общий режим [09:25:56]line Чек 26 13.07.2024 09:25 [09:25:56]line Смена: 445 ФФД: 1.0 [09:25:56]line ЗНМ: 0300000153 [09:25:56]line РНМ: 0000000000091176 [09:25:56]line Версия ККМ: 001 [09:25:56]line ФМ: 0000000000874935 [09:25:56]line ФД: 42981 [09:25:56]line ФПД: 262050721115592 [09:25:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T092558&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42981&fm=262050721115592&tin=02508201610067®Number=0000000000091176&sum=14000 [09:25:56]line 0 [09:25:56]written 0, free lines is 4095 [09:25:56]OFD Sender: Processing packet 42981 [packets to send 31, broken 30] [09:25:56]ProducePacketName [09:25:56]name=ofd_packets/00042981 [09:25:56]OFD Sender: To server: pG, [09:25:56]CommunicateWithHost lk.salyk.kg:30040 [09:25:56]ConnectInit lk.salyk.kg [09:25:57]Connected sock=11 [09:25:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 36 53 1D 01 7C A1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 26 48 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E5 A7 00 00 35 04 06 00 EE 55 70 25 2D C8 AE EE FC 1A 68 92 16 6E [09:25:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 69 07 47 00 E0 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 38 37 34 39 33 35 10 04 04 00 E5 A7 00 00 F4 03 04 00 20 F4 91 66 B6 04 01 00 00 B0 6A 8D 8D EE B0 58 0B [09:25:57]CommunicateWithHost err = 0 [09:25:57]CheckOFDResponse [09:25:57]1017 (14) - 77093643461234 [09:25:57]1041 (16) - 0000000000874935 [09:25:57]1040 (4) - 42981 [09:25:57]1012 (4) - 13.07.2024 03:27 [09:25:57]1206 (1) - 0 [09:25:57]OFD Sender: Remove packet 42981 [09:25:57]ProducePacketName [09:25:57]name=ofd_packets/00042981 [09:25:57]NVStorageDeleteData [09:25:57]Write to MH i2c: 01 00 00 8D 09 96 [09:25:57]Write i2c OK [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: 01 [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: 01 07 00 [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: 01 07 00 8D 09 00 00 00 00 00 00 0D AA [09:25:57]RasterBufferAndPrint [09:25:57]line [09:25:57]line [09:25:57]line [09:25:57]line [09:25:57]line [09:25:57]written 0, free lines is 3334 [09:25:57]MH_Cut [09:25:57]Write to MH i2c: D1 01 00 94 09 01 6F [09:25:57]Write i2c OK [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: D1 [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: D1 01 00 [09:25:57]MH_I2C_Read... [09:25:57]Read from MH i2c: D1 01 00 94 09 00 6E [09:25:57]Write to MH i2c: 01 00 00 95 09 9E [09:25:57]Write i2c OK [09:25:57]MH_I2C_Read... [09:25:57]OFD Sender: No OFD packet to send [09:25:57]*** Cut start [09:25:57]*** Partial cut [09:25:57]*** CUTSNS_PIN = 1 [09:25:58]*** CUTSNS_PIN = 0 [09:25:58]*** Brake cut motor [09:25:58]Read from MH i2c: 01 [09:25:58]MH_I2C_Read... [09:25:58]*** Stop cut motor [09:25:58]*** Cut end [09:25:58]Read from MH i2c: 01 07 00 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: 01 07 00 95 09 00 00 00 00 00 FF 0F B3 [09:25:58]process_action close_receipt done [09:25:58]requested_data is exist [09:25:58]produce_requested_data [09:25:58]requested_item fm.sn is exist - process it [09:25:58]wFMCommunicate request_size=4 [09:25:58]MH_SAM_APDU [09:25:58]CAPDU: 80 11 00 00 [09:25:58]Write to MH i2c: E2 08 00 96 09 80 11 00 00 00 00 00 00 19 [09:25:58]Write i2c OK [09:25:58]MH_I2C_Read... [09:25:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:58]Read from MH i2c: E2 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 17 00 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 17 00 96 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 70 [09:25:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:25:58]wFMCommunicate OK [09:25:58]requested_item fd.num is exist - process it [09:25:58]SAM_PROTO_GetFieldsCounters [09:25:58]wFMCommunicate request_size=4 [09:25:58]MH_SAM_APDU [09:25:58]CAPDU: 80 13 00 00 [09:25:58]Write to MH i2c: E2 08 00 97 09 80 13 00 00 00 00 00 00 1C [09:25:58]Write i2c OK [09:25:58]MH_I2C_Read... [09:25:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:25:58]Read from MH i2c: E2 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 62 00 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 62 00 97 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E5 A7 00 00 0E 04 04 00 BD 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 D8 [09:25:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E5 A7 00 00 0E 04 04 00 BD 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 [09:25:58]wFMCommunicate OK [09:25:58]SAM_PROTO_GetFieldsCounters done [09:25:58]requested_item shift.num is exist - process it [09:25:58]requested_item shift.opened is exist - process it [09:25:58]req_shift_opened [09:25:58]FM_GetShiftState [09:25:58]SAM_PROTO_GetShiftState [09:25:58]wFMCommunicate request_size=4 [09:25:58]MH_SAM_APDU [09:25:58]CAPDU: 80 13 01 00 [09:25:58]Write to MH i2c: E2 08 00 98 09 80 13 01 00 00 00 00 00 1E [09:25:58]Write i2c OK [09:25:58]MH_I2C_Read... [09:25:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:58]Read from MH i2c: E2 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 0E 00 [09:25:58]MH_I2C_Read... [09:25:58]Read from MH i2c: E2 0E 00 98 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B5 [09:25:58]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:25:58]wFMCommunicate OK [09:25:58]SAM_PROTO_GetShiftState done [09:25:58]FM_GetShiftState done [09:25:58]req_shift_opened done [09:25:58]requested_item shift.open_date is exist - process it [09:25:58]req_shift_open_date [09:25:58]req_shift_open_date done [09:25:58]requested_item shift.sale.total is exist - process it [09:25:58]SAM_PROTO_GetShiftData [09:25:58]wFMCommunicate request_size=4 [09:25:58]MH_SAM_APDU [09:25:58]CAPDU: 80 13 02 00 [09:25:58]Write to MH i2c: E2 08 00 99 09 80 13 02 00 00 00 00 00 20 [09:25:58]Write i2c OK [09:25:58]MH_I2C_Read... [09:25:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:25:59]Read from MH i2c: E2 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 99 09 00 AD 04 AA 04 A9 04 6E 04 04 00 1A 00 00 00 69 04 9A 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 BC B9 07 70 04 03 00 D0 47 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 D2 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 7D 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 70 [09:25:59]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1A 00 00 00 69 04 9A 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 BC B9 07 70 04 03 00 D0 47 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 D2 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 7D 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:25:59]wFMCommunicate OK [09:25:59]wFMCommunicate request_size=4 [09:25:59]MH_SAM_APDU [09:25:59]CAPDU: 80 17 00 00 [09:25:59]Write to MH i2c: E2 08 00 9A 09 80 17 00 00 00 00 00 00 23 [09:25:59]Write i2c OK [09:25:59]MH_I2C_Read... [09:25:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:25:59]Read from MH i2c: E2 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 9A 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 35 [09:25:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:25:59]wFMCommunicate OK [09:25:59]wFMCommunicate request_size=4 [09:25:59]MH_SAM_APDU [09:25:59]CAPDU: 80 17 00 00 [09:25:59]Write to MH i2c: E2 08 00 9B 09 80 17 00 00 00 00 00 00 24 [09:25:59]Write i2c OK [09:25:59]MH_I2C_Read... [09:25:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:25:59]Read from MH i2c: E2 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 [09:25:59]MH_I2C_Read... [09:25:59]Read from MH i2c: E2 FD 00 9B 09 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 E8 [09:25:59]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:25:59]wFMCommunicate OK [09:25:59]wFMCommunicate request_size=4 [09:25:59]MH_SAM_APDU [09:25:59]CAPDU: 80 17 00 00 [09:25:59]Write to MH i2c: E2 08 00 9C 09 80 17 00 00 00 00 00 00 25 [09:25:59]Write i2c OK [09:25:59]MH_I2C_Read... [09:26:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:26:00]Read from MH i2c: E2 [09:26:00]MH_I2C_Read... [09:26:00]Read from MH i2c: E2 FD 00 [09:26:00]MH_I2C_Read... [09:26:00]Read from MH i2c: E2 FD 00 9C 09 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 9A [09:26:00]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:26:00]wFMCommunicate OK [09:26:00]wFMCommunicate request_size=4 [09:26:00]MH_SAM_APDU [09:26:00]CAPDU: 80 17 00 00 [09:26:00]Write to MH i2c: E2 08 00 9D 09 80 17 00 00 00 00 00 00 26 [09:26:00]Write i2c OK [09:26:00]MH_I2C_Read... [09:26:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:26:00]Read from MH i2c: E2 [09:26:00]MH_I2C_Read... [09:26:00]Read from MH i2c: E2 CA 00 [09:26:00]MH_I2C_Read... [09:26:00]Read from MH i2c: E2 CA 00 9D 09 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [09:26:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:26:00]wFMCommunicate OK [09:26:00]SAM_PROTO_GetShiftData done [09:26:00]requested_item shift.sale.total_cash is exist - process it [09:26:00]requested_item shift.sale_refund.total is exist - process it [09:26:00]requested_item shift.sale_refund.total_cash is exist - process it [09:26:00]produce_requested_data done [09:26:00]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42981,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5063.00,"shift.sale.total_cash":4116.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:26:00]process_action_free close_receipt [09:26:00]json_value_free [09:26:00]json_value_free done [09:26:00]process_json_proto returns [09:26:00]Send response to host [09:26:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42981,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5063.00,"shift.sale.total_cash":4116.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:26:00]free response buf [09:26:00]execute_script done [09:26:00]execute_script returns [09:26:00]free content buf [09:26:00]Sock 9.Close socket [09:26:00]Sock 9.Thread stoped [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:05]accept exits with 7 [09:43:05]New connection [09:43:05]New thread 3067530596 created [09:43:05]Thread 3067387236 joined [09:43:05]Waiting for new connection... [09:43:05] Sock 7.Parse request [09:43:05]Sock 7.Check first char [09:43:05]Sock 7.First char is OK [09:43:05]request: POST /json_proto HTTP/1.0 [09:43:05]Method: POST [09:43:05]URL: /json_proto [09:43:05]Method is POST - this is cgi request [09:43:05]url: /json_proto [09:43:05]query_string will be loaded in cgi processing [09:43:05]execute_cgi json_proto POST (null) [09:43:05]execute_cgi path=json_proto method=POST [09:43:05]POST find Content-Length [09:43:05]Host: 172.17.38.197:8080 [09:43:05]Content-Length: 988 [09:43:05]Content-Type: application/json [09:43:05] [09:43:05]POST finish read [09:43:05]Found Content-Length = 988 [09:43:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300110", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:43:05]execute_script... [09:43:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300110", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46123428", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:43:05]POST & json_proto [09:43:05]process_json_proto [09:43:05]json parsed OK: [09:43:05]protocol is kg_v1.0 [09:43:05]action value=close_receipt [09:43:05]process_action close_receipt [09:43:05]cmd_close_receipt [09:43:05]MH_GetDate [09:43:05]Write to MH i2c: F0 00 00 9E 09 96 [09:43:05]Write i2c OK [09:43:05]MH_I2C_Read... [09:43:05]Read from MH i2c: F0 [09:43:05]MH_I2C_Read... [09:43:05]Read from MH i2c: F0 09 00 [09:43:05]MH_I2C_Read... [09:43:05]Read from MH i2c: F0 09 00 9E 09 00 2C 4C 92 66 1E 0D 88 66 28 [09:43:05]GetLastDocTimeStamp 1720862758 [09:43:05]current date 1720863788 [09:43:05]FM_GetShiftState [09:43:05]SAM_PROTO_GetShiftState [09:43:05]wFMCommunicate request_size=4 [09:43:05]MH_SAM_APDU [09:43:05]CAPDU: 80 13 01 00 [09:43:05]Write to MH i2c: E2 08 00 9F 09 80 13 01 00 00 00 00 00 25 [09:43:05]Write i2c OK [09:43:05]MH_I2C_Read... [09:43:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:05]Read from MH i2c: E2 [09:43:05]MH_I2C_Read... [09:43:05]Read from MH i2c: E2 0E 00 [09:43:05]MH_I2C_Read... [09:43:05]Read from MH i2c: E2 0E 00 9F 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BC [09:43:05]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:43:05]wFMCommunicate OK [09:43:05]SAM_PROTO_GetShiftState done [09:43:05]FM_GetShiftState done [09:43:05]opened in 1720829646 [09:43:05]opened+sec_in_day 1720916046 [09:43:05]quantity*price = 10500 [09:43:05]sum+1 = 10501 [09:43:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46123428 Сигареты Mevius Wind Blue 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 27 13.07.2024 09:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42982 ФПД: 223622386053182 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094308&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42982&fm=223622386053182&tin=02508201610067®Number=0000000000091176&sum=26000 0 [09:43:06]StoreToDocumentArchive [09:43:06]shift 445 fd 42982 [09:43:06]save to /storage/0445/doc_00042982 [09:43:06]save last doc name /storage/0445/doc_00042982 to /storage/kkm_last_doc_name [09:43:06]save OK [09:43:06]Clear old archive folders... [09:43:06]ProcessDocumentItem done err = 0, tmpTLVsize=382 [09:43:06]tlvbuf is 01589A60 [09:43:06]SAM_PROTO_ClearQueue [09:43:06]wFMCommunicate request_size=4 [09:43:06]MH_SAM_APDU [09:43:06]CAPDU: 80 09 00 00 [09:43:06]Write to MH i2c: E2 08 00 AC 09 80 09 00 00 00 00 00 00 27 [09:43:06]Write i2c OK [09:43:06]MH_I2C_Read... [09:43:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:06]Read from MH i2c: E2 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 AC 09 00 90 00 29 [09:43:06]RAPDU: 90 00 [09:43:06]wFMCommunicate OK [09:43:06]SAM_PROTO_ClearQueue done [09:43:06]KKMCreateOFDPacket [09:43:06]OFDProtocolAddRootSTLVToBuf [09:43:06]FM_MakeSignedData [09:43:06]FM_MakeSignedData [09:43:06]SAM_PROTO_SignData [09:43:06]wFMCommunicate request_size=4 [09:43:06]MH_SAM_APDU [09:43:06]CAPDU: 80 0D 01 02 [09:43:06]Write to MH i2c: E2 08 00 AD 09 80 0D 01 02 00 00 00 00 2F [09:43:06]Write i2c OK [09:43:06]MH_I2C_Read... [09:43:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:06]Read from MH i2c: E2 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 AD 09 00 90 00 2A [09:43:06]RAPDU: 90 00 [09:43:06]wFMCommunicate OK [09:43:06]wFMCommunicate request_size=255 [09:43:06]MH_SAM_APDU [09:43:06]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 [09:43:06]Write to MH i2c: E2 02 01 AE 09 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 6E [09:43:06]Write i2c OK [09:43:06]MH_I2C_Read... [09:43:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:06]Read from MH i2c: E2 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 [09:43:06]MH_I2C_Read... [09:43:06]Read from MH i2c: E2 03 00 AE 09 00 90 00 2B [09:43:06]RAPDU: 90 00 [09:43:06]wFMCommunicate OK [09:43:06]wFMCommunicate request_size=141 [09:43:06]MH_SAM_APDU [09:43:06]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 2C 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E6 A7 00 00 35 04 06 00 CB 62 24 E2 70 3E [09:43:06]Write to MH i2c: E2 90 00 AF 09 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 2C 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E6 A7 00 00 35 04 06 00 CB 62 24 E2 70 3E 00 00 F1 [09:43:06]Write i2c OK [09:43:06]MH_I2C_Read... [09:43:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:07]Read from MH i2c: E2 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 03 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 03 00 AF 09 00 90 00 2C [09:43:07]RAPDU: 90 00 [09:43:07]wFMCommunicate OK [09:43:07]wFMCommunicate request_size=4 [09:43:07]MH_SAM_APDU [09:43:07]CAPDU: 80 0D 03 02 [09:43:07]Write to MH i2c: E2 08 00 B0 09 80 0D 03 02 00 00 00 00 34 [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:07]Read from MH i2c: E2 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 0B 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 0B 00 B0 09 00 49 33 AA 17 B7 4F F0 CC 90 00 34 [09:43:07]RAPDU: 49 33 AA 17 B7 4F F0 CC 90 00 [09:43:07]wFMCommunicate OK [09:43:07]SAM_PROTO_SignData done [09:43:07]FM_MakeSignedData done [09:43:07]CreateOFDProtocolMessage [09:43:07]wFMCommunicate request_size=4 [09:43:07]MH_SAM_APDU [09:43:07]CAPDU: 80 11 00 00 [09:43:07]Write to MH i2c: E2 08 00 B1 09 80 11 00 00 00 00 00 00 34 [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:07]Read from MH i2c: E2 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 17 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: E2 17 00 B1 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 8B [09:43:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:43:07]wFMCommunicate OK [09:43:07]CreateOFDProtocolMessage done [09:43:07]OFDSenderStorePacket 42982 [09:43:07]StoreOFDPacket docnum=42982 [09:43:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 92 01 00 00 40 A7 8A 01 22 1E 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 2C 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E6 A7 00 00 35 04 06 00 CB 62 24 E2 70 3E 49 33 AA 17 B7 4F F0 CC [09:43:07]CheckFolder [09:43:07]dirname=/storage/ofd_packets [09:43:07]CheckFolder done [09:43:07]ProducePacketName [09:43:07]name=ofd_packets/00042982 [09:43:07]NVStorageSaveData ofd_packets/00042982 [09:43:07]File name is /storage/ofd_packets/00042982 [09:43:07]Write 432 bytes [09:43:07]NVStorageSaveData done [09:43:07]OFDSenderStorePacket done [09:43:07]KKMCreateOFDPacket done [09:43:07]NVStorageSaveData kkm_last_timestamp [09:43:07]File name is /storage/kkm_last_timestamp [09:43:07]Write 4 bytes [09:43:07]NVStorageSaveData done [09:43:07]ExternCall_PrintAddStr [09:43:07]wPrintStart [09:43:07]Write to MH i2c: 01 00 00 B2 09 BB [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 07 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 07 00 B2 09 00 00 00 00 00 FF 0F D0 [09:43:07]RasterBufferAndPrint [09:43:07]line Счет N : (3)300110 [09:43:07]line ИНН: 02508201610067 [09:43:07]line Контрольно-Кассовый Чек [09:43:07]line ПРОДАЖА [09:43:07]line Товар: 2000034730018 [09:43:07]line Кофе Американо (GABB TRADE) [09:43:07]line 1.000 * 105.00 [09:43:07]line = 105.00 [09:43:07]line НДС 12% НСП 1% [09:43:07]line > о реализуемом товаре [09:43:07]line Товар: 46123428 [09:43:07]line Сигареты Mevius Wind Blue [09:43:07]line 1.000 * 155.00 [09:43:07]line = 155.00 [09:43:07]line НДС 12% НСП 1% [09:43:07]line > о реализуемом товаре [09:43:07]line ИТОГО: 260.00 [09:43:07]line НСП 1% : 2.30 [09:43:07]line НДС 12% : 27.61 [09:43:07]line Наличными: 260.00 [09:43:07]line Безнал.: 0.00 [09:43:07]line Место: АЗС № 71 "Партнер Нефть" [09:43:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:43:07]line СНО: Общий режим [09:43:07]line Чек 27 13.07.2024 09:43 [09:43:07]line Смена: 445 ФФД: 1.0 [09:43:07]line ЗНМ: 0300000153 [09:43:07]line РНМ: 0000000000091176 [09:43:07]line Версия ККМ: 001 [09:43:07]line ФМ: 0000000000874935 [09:43:07]line ФД: 42982 [09:43:07]line ФПД: 223622386053182 [09:43:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094308&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42982&fm=223622386053182&tin=02508201610067®Number=0000000000091176&sum=26000 [09:43:07]line 0 [09:43:07]OFD Sender: Processing packet 42982 [packets to send 31, broken 30] [09:43:07]ProducePacketName [09:43:07]name=ofd_packets/00042982 [09:43:07]OFD Sender: To server: pG, [09:43:07]CommunicateWithHost lk.salyk.kg:30040 [09:43:07]ConnectInit lk.salyk.kg [09:43:07]written 0, free lines is 4095 [09:43:07]Connected sock=10 [09:43:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 92 01 00 00 40 A7 8A 01 22 1E 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 36 31 32 33 34 32 38 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 2C 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E6 A7 00 00 35 04 06 00 CB 62 24 E2 70 3E 49 33 AA 17 B7 4F F0 CC [09:43:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D1 D0 47 00 E0 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E6 A7 00 00 F4 03 04 00 27 F8 91 66 B6 04 01 00 00 A3 11 D9 C1 5D 51 E5 A0 [09:43:07]CommunicateWithHost err = 0 [09:43:07]CheckOFDResponse [09:43:07]1017 (14) - 77093643461234 [09:43:07]1041 (16) - 0000000000874935 [09:43:07]1040 (4) - 42982 [09:43:07]1012 (4) - 13.07.2024 03:44 [09:43:07]1206 (1) - 0 [09:43:07]OFD Sender: Remove packet 42982 [09:43:07]ProducePacketName [09:43:07]name=ofd_packets/00042982 [09:43:07]NVStorageDeleteData [09:43:07]Write to MH i2c: 01 00 00 E1 09 EA [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 07 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: 01 07 00 E1 09 00 00 00 00 00 9E 0C 9B [09:43:07]RasterBufferAndPrint [09:43:07]line [09:43:07]line [09:43:07]line [09:43:07]line [09:43:07]line [09:43:07]written 0, free lines is 3238 [09:43:07]MH_Cut [09:43:07]Write to MH i2c: D1 01 00 E8 09 01 C3 [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: D1 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: D1 01 00 [09:43:07]MH_I2C_Read... [09:43:07]Read from MH i2c: D1 01 00 E8 09 00 C2 [09:43:07]Write to MH i2c: 01 00 00 E9 09 F2 [09:43:07]Write i2c OK [09:43:07]MH_I2C_Read... [09:43:08]OFD Sender: No OFD packet to send [09:43:08]*** Cut start [09:43:08]*** Partial cut [09:43:08]*** CUTSNS_PIN = 1 [09:43:08]*** CUTSNS_PIN = 0 [09:43:09]*** Brake cut motor [09:43:09]Read from MH i2c: 01 [09:43:09]MH_I2C_Read... [09:43:09]*** Stop cut motor [09:43:09]*** Cut end [09:43:09]Read from MH i2c: 01 07 00 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: 01 07 00 E9 09 00 00 00 00 00 FF 0F 07 [09:43:09]process_action close_receipt done [09:43:09]requested_data is exist [09:43:09]produce_requested_data [09:43:09]requested_item fm.sn is exist - process it [09:43:09]wFMCommunicate request_size=4 [09:43:09]MH_SAM_APDU [09:43:09]CAPDU: 80 11 00 00 [09:43:09]Write to MH i2c: E2 08 00 EA 09 80 11 00 00 00 00 00 00 6D [09:43:09]Write i2c OK [09:43:09]MH_I2C_Read... [09:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:09]Read from MH i2c: E2 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 17 00 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 17 00 EA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C4 [09:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:43:09]wFMCommunicate OK [09:43:09]requested_item fd.num is exist - process it [09:43:09]SAM_PROTO_GetFieldsCounters [09:43:09]wFMCommunicate request_size=4 [09:43:09]MH_SAM_APDU [09:43:09]CAPDU: 80 13 00 00 [09:43:09]Write to MH i2c: E2 08 00 EB 09 80 13 00 00 00 00 00 00 70 [09:43:09]Write i2c OK [09:43:09]MH_I2C_Read... [09:43:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:43:09]Read from MH i2c: E2 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 62 00 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 62 00 EB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E6 A7 00 00 0E 04 04 00 BD 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 30 [09:43:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E6 A7 00 00 0E 04 04 00 BD 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 [09:43:09]wFMCommunicate OK [09:43:09]SAM_PROTO_GetFieldsCounters done [09:43:09]requested_item shift.num is exist - process it [09:43:09]requested_item shift.opened is exist - process it [09:43:09]req_shift_opened [09:43:09]FM_GetShiftState [09:43:09]SAM_PROTO_GetShiftState [09:43:09]wFMCommunicate request_size=4 [09:43:09]MH_SAM_APDU [09:43:09]CAPDU: 80 13 01 00 [09:43:09]Write to MH i2c: E2 08 00 EC 09 80 13 01 00 00 00 00 00 72 [09:43:09]Write i2c OK [09:43:09]MH_I2C_Read... [09:43:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:09]Read from MH i2c: E2 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 0E 00 [09:43:09]MH_I2C_Read... [09:43:09]Read from MH i2c: E2 0E 00 EC 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 09 [09:43:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:43:09]wFMCommunicate OK [09:43:09]SAM_PROTO_GetShiftState done [09:43:09]FM_GetShiftState done [09:43:09]req_shift_opened done [09:43:09]requested_item shift.open_date is exist - process it [09:43:09]req_shift_open_date [09:43:09]req_shift_open_date done [09:43:09]requested_item shift.sale.total is exist - process it [09:43:09]SAM_PROTO_GetShiftData [09:43:09]wFMCommunicate request_size=4 [09:43:09]MH_SAM_APDU [09:43:09]CAPDU: 80 13 02 00 [09:43:09]Write to MH i2c: E2 08 00 ED 09 80 13 02 00 00 00 00 00 74 [09:43:09]Write i2c OK [09:43:09]MH_I2C_Read... [09:43:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:43:10]Read from MH i2c: E2 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 ED 09 00 AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 4C 1F 08 70 04 03 00 60 AD 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D0 DC 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 63 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 6D [09:43:10]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1B 00 00 00 69 04 9A 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 4C 1F 08 70 04 03 00 60 AD 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D0 DC 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 63 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:43:10]wFMCommunicate OK [09:43:10]wFMCommunicate request_size=4 [09:43:10]MH_SAM_APDU [09:43:10]CAPDU: 80 17 00 00 [09:43:10]Write to MH i2c: E2 08 00 EE 09 80 17 00 00 00 00 00 00 77 [09:43:10]Write i2c OK [09:43:10]MH_I2C_Read... [09:43:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:43:10]Read from MH i2c: E2 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 EE 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 89 [09:43:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:43:10]wFMCommunicate OK [09:43:10]wFMCommunicate request_size=4 [09:43:10]MH_SAM_APDU [09:43:10]CAPDU: 80 17 00 00 [09:43:10]Write to MH i2c: E2 08 00 EF 09 80 17 00 00 00 00 00 00 78 [09:43:10]Write i2c OK [09:43:10]MH_I2C_Read... [09:43:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:43:10]Read from MH i2c: E2 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 EF 09 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 3C [09:43:10]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:43:10]wFMCommunicate OK [09:43:10]wFMCommunicate request_size=4 [09:43:10]MH_SAM_APDU [09:43:10]CAPDU: 80 17 00 00 [09:43:10]Write to MH i2c: E2 08 00 F0 09 80 17 00 00 00 00 00 00 79 [09:43:10]Write i2c OK [09:43:10]MH_I2C_Read... [09:43:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:43:10]Read from MH i2c: E2 [09:43:10]MH_I2C_Read... [09:43:10]Read from MH i2c: E2 FD 00 [09:43:11]MH_I2C_Read... [09:43:11]Read from MH i2c: E2 FD 00 F0 09 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 EE [09:43:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:43:11]wFMCommunicate OK [09:43:11]wFMCommunicate request_size=4 [09:43:11]MH_SAM_APDU [09:43:11]CAPDU: 80 17 00 00 [09:43:11]Write to MH i2c: E2 08 00 F1 09 80 17 00 00 00 00 00 00 7A [09:43:11]Write i2c OK [09:43:11]MH_I2C_Read... [09:43:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:43:11]Read from MH i2c: E2 [09:43:11]MH_I2C_Read... [09:43:11]Read from MH i2c: E2 CA 00 [09:43:11]MH_I2C_Read... [09:43:11]Read from MH i2c: E2 CA 00 F1 09 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5F [09:43:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:43:11]wFMCommunicate OK [09:43:11]SAM_PROTO_GetShiftData done [09:43:11]requested_item shift.sale.total_cash is exist - process it [09:43:11]requested_item shift.sale_refund.total is exist - process it [09:43:11]requested_item shift.sale_refund.total_cash is exist - process it [09:43:11]produce_requested_data done [09:43:11]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42982,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5323.00,"shift.sale.total_cash":4376.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:43:11]process_action_free close_receipt [09:43:11]json_value_free [09:43:11]json_value_free done [09:43:11]process_json_proto returns [09:43:11]Send response to host [09:43:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42982,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5323.00,"shift.sale.total_cash":4376.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:43:11]free response buf [09:43:11]execute_script done [09:43:11]execute_script returns [09:43:11]free content buf [09:43:11]Sock 7.Close socket [09:43:11]Sock 7.Thread stoped [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:08]accept exits with 9 [09:45:08]New connection [09:45:08]New thread 3067387236 created [09:45:08]Thread 3067530596 joined [09:45:08]Waiting for new connection... [09:45:08] Sock 9.Parse request [09:45:08]Sock 9.Check first char [09:45:08]Sock 9.First char is OK [09:45:08]request: POST /json_proto HTTP/1.0 [09:45:08]Method: POST [09:45:08]URL: /json_proto [09:45:08]Method is POST - this is cgi request [09:45:08]url: /json_proto [09:45:08]query_string will be loaded in cgi processing [09:45:08]execute_cgi json_proto POST (null) [09:45:08]execute_cgi path=json_proto method=POST [09:45:08]POST find Content-Length [09:45:08]Host: 172.17.38.197:8080 [09:45:08]Content-Length: 773 [09:45:08]Content-Type: application/json [09:45:08] [09:45:08]POST finish read [09:45:08]Found Content-Length = 773 [09:45:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300111", "tax_sys" : 0, "items" : [ { "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:45:08]execute_script... [09:45:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300111", "tax_sys" : 0, "items" : [ { "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:45:08]POST & json_proto [09:45:08]process_json_proto [09:45:08]json parsed OK: [09:45:08]protocol is kg_v1.0 [09:45:08]action value=close_receipt [09:45:08]process_action close_receipt [09:45:08]cmd_close_receipt [09:45:08]MH_GetDate [09:45:08]Write to MH i2c: F0 00 00 F2 09 EA [09:45:08]Write i2c OK [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: F0 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: F0 09 00 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: F0 09 00 F2 09 00 A7 4C 92 66 1E 0D 88 66 F7 [09:45:08]GetLastDocTimeStamp 1720863788 [09:45:08]current date 1720863911 [09:45:08]FM_GetShiftState [09:45:08]SAM_PROTO_GetShiftState [09:45:08]wFMCommunicate request_size=4 [09:45:08]MH_SAM_APDU [09:45:08]CAPDU: 80 13 01 00 [09:45:08]Write to MH i2c: E2 08 00 F3 09 80 13 01 00 00 00 00 00 79 [09:45:08]Write i2c OK [09:45:08]MH_I2C_Read... [09:45:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:09]Read from MH i2c: E2 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 0E 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 0E 00 F3 09 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 10 [09:45:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:45:09]wFMCommunicate OK [09:45:09]SAM_PROTO_GetShiftState done [09:45:09]FM_GetShiftState done [09:45:09]opened in 1720829646 [09:45:09]opened+sec_in_day 1720916046 [09:45:09]quantity*price = 9500 [09:45:09]sum+1 = 9501 [09:45:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 28 13.07.2024 09:45 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42983 ФПД: 1818341660786 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094511&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42983&fm=1818341660786&tin=02508201610067®Number=0000000000091176&sum=9500 0 [09:45:10]StoreToDocumentArchive [09:45:10]shift 445 fd 42983 [09:45:10]save to /storage/0445/doc_00042983 [09:45:10]save last doc name /storage/0445/doc_00042983 to /storage/kkm_last_doc_name [09:45:10]save OK [09:45:10]Clear old archive folders... [09:45:10]ProcessDocumentItem done err = 0, tmpTLVsize=288 [09:45:10]tlvbuf is 01554850 [09:45:10]SAM_PROTO_ClearQueue [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 09 00 00 [09:45:10]Write to MH i2c: E2 08 00 00 0A 80 09 00 00 00 00 00 00 7C [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 00 0A 00 90 00 7E [09:45:10]RAPDU: 90 00 [09:45:10]wFMCommunicate OK [09:45:10]SAM_PROTO_ClearQueue done [09:45:10]KKMCreateOFDPacket [09:45:10]OFDProtocolAddRootSTLVToBuf [09:45:10]FM_MakeSignedData [09:45:10]FM_MakeSignedData [09:45:10]SAM_PROTO_SignData [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 0D 01 02 [09:45:10]Write to MH i2c: E2 08 00 01 0A 80 0D 01 02 00 00 00 00 84 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 01 0A 00 90 00 7F [09:45:10]RAPDU: 90 00 [09:45:10]wFMCommunicate OK [09:45:10]wFMCommunicate request_size=255 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 A7 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [09:45:10]Write to MH i2c: E2 02 01 02 0A 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 A7 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 AB [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 02 0A 00 90 00 80 [09:45:10]RAPDU: 90 00 [09:45:10]wFMCommunicate OK [09:45:10]wFMCommunicate request_size=47 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 0D 02 02 2A 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E7 A7 00 00 35 04 06 00 01 A7 5D 9B D8 72 [09:45:10]Write to MH i2c: E2 32 00 03 0A 80 0D 02 02 2A 00 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E7 A7 00 00 35 04 06 00 01 A7 5D 9B D8 72 00 00 C2 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 03 00 03 0A 00 90 00 81 [09:45:10]RAPDU: 90 00 [09:45:10]wFMCommunicate OK [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 0D 03 02 [09:45:10]Write to MH i2c: E2 08 00 04 0A 80 0D 03 02 00 00 00 00 89 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 0B 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 0B 00 04 0A 00 20 90 BE EB 38 BA 2B 57 90 00 57 [09:45:10]RAPDU: 20 90 BE EB 38 BA 2B 57 90 00 [09:45:10]wFMCommunicate OK [09:45:10]SAM_PROTO_SignData done [09:45:10]FM_MakeSignedData done [09:45:10]CreateOFDProtocolMessage [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 11 00 00 [09:45:10]Write to MH i2c: E2 08 00 05 0A 80 11 00 00 00 00 00 00 89 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 17 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 17 00 05 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E0 [09:45:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:45:10]wFMCommunicate OK [09:45:10]CreateOFDProtocolMessage done [09:45:10]OFDSenderStorePacket 42983 [09:45:10]StoreOFDPacket docnum=42983 [09:45:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 34 01 00 00 23 C7 2C 01 C3 1C 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 A7 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E7 A7 00 00 35 04 06 00 01 A7 5D 9B D8 72 20 90 BE EB 38 BA 2B 57 [09:45:10]CheckFolder [09:45:10]dirname=/storage/ofd_packets [09:45:10]CheckFolder done [09:45:10]ProducePacketName [09:45:10]name=ofd_packets/00042983 [09:45:10]NVStorageSaveData ofd_packets/00042983 [09:45:10]File name is /storage/ofd_packets/00042983 [09:45:10]Write 338 bytes [09:45:10]NVStorageSaveData done [09:45:10]OFDSenderStorePacket done [09:45:10]KKMCreateOFDPacket done [09:45:10]NVStorageSaveData kkm_last_timestamp [09:45:10]File name is /storage/kkm_last_timestamp [09:45:10]Write 4 bytes [09:45:10]NVStorageSaveData done [09:45:10]ExternCall_PrintAddStr [09:45:10]wPrintStart [09:45:10]Write to MH i2c: 01 00 00 06 0A 10 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: 01 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: 01 07 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: 01 07 00 06 0A 00 00 00 00 00 FF 0F 25 [09:45:10]RasterBufferAndPrint [09:45:10]line Счет N : (3)300111 [09:45:10]line ИНН: 02508201610067 [09:45:10]line Контрольно-Кассовый Чек [09:45:10]line ПРОДАЖА [09:45:10]line Товар: 4870235681369 [09:45:10]line ЧИПСЫ SLANG СО ВКУСОМ СЫР 60Г [09:45:10]line 1.000 * 95.00 [09:45:10]line = 95.00 [09:45:10]line НДС 12% НСП 1% [09:45:10]line > о реализуемом товаре [09:45:10]line ИТОГО: 95.00 [09:45:10]line НСП 1% : 0.84 [09:45:10]line НДС 12% : 10.09 [09:45:10]line Наличными: 95.00 [09:45:10]line Безнал.: 0.00 [09:45:10]line Место: АЗС № 71 "Партнер Нефть" [09:45:10]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:45:10]line СНО: Общий режим [09:45:10]line Чек 28 13.07.2024 09:45 [09:45:10]line Смена: 445 ФФД: 1.0 [09:45:10]line ЗНМ: 0300000153 [09:45:10]line РНМ: 0000000000091176 [09:45:10]line Версия ККМ: 001 [09:45:10]line ФМ: 0000000000874935 [09:45:10]line ФД: 42983 [09:45:10]line ФПД: 1818341660786 [09:45:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094511&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42983&fm=1818341660786&tin=02508201610067®Number=0000000000091176&sum=9500 [09:45:11]line 0 [09:45:11]OFD Sender: Processing packet 42983 [packets to send 31, broken 30] [09:45:11]ProducePacketName [09:45:11]name=ofd_packets/00042983 [09:45:11]OFD Sender: To server: pG, [09:45:11]CommunicateWithHost lk.salyk.kg:30040 [09:45:11]ConnectInit lk.salyk.kg [09:45:11]written 0, free lines is 4095 [09:45:11]Connected sock=10 [09:45:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 34 01 00 00 23 C7 2C 01 C3 1C 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 A7 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E7 A7 00 00 35 04 06 00 01 A7 5D 9B D8 72 20 90 BE EB 38 BA 2B 57 [09:45:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 3F 29 47 00 BF A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E7 A7 00 00 F4 03 04 00 A2 F8 91 66 B6 04 01 00 00 93 EE 45 56 3A C9 84 C7 [09:45:11]CommunicateWithHost err = 0 [09:45:11]CheckOFDResponse [09:45:11]1017 (14) - 77093643461234 [09:45:11]1041 (16) - 0000000000874935 [09:45:11]1040 (4) - 42983 [09:45:11]1012 (4) - 13.07.2024 03:46 [09:45:11]1206 (1) - 0 [09:45:11]OFD Sender: Remove packet 42983 [09:45:11]ProducePacketName [09:45:11]name=ofd_packets/00042983 [09:45:11]NVStorageDeleteData [09:45:11]Write to MH i2c: 01 00 00 2F 0A 39 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: 01 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: 01 07 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: 01 07 00 2F 0A 00 00 00 00 00 F2 0C 3E [09:45:11]RasterBufferAndPrint [09:45:11]line [09:45:11]line [09:45:11]line [09:45:11]line [09:45:11]line [09:45:11]written 0, free lines is 3320 [09:45:11]MH_Cut [09:45:11]Write to MH i2c: D1 01 00 36 0A 01 12 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: D1 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: D1 01 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: D1 01 00 36 0A 00 11 [09:45:11]Write to MH i2c: 01 00 00 37 0A 41 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]OFD Sender: No OFD packet to send [09:45:12]*** Cut start [09:45:12]*** Partial cut [09:45:12]*** CUTSNS_PIN = 1 [09:45:12]*** CUTSNS_PIN = 0 [09:45:12]*** Brake cut motor [09:45:12]Read from MH i2c: 01 [09:45:12]MH_I2C_Read... [09:45:12]*** Stop cut motor [09:45:12]*** Cut end [09:45:12]Read from MH i2c: 01 07 00 [09:45:12]MH_I2C_Read... [09:45:12]Read from MH i2c: 01 07 00 37 0A 00 00 00 00 00 FF 0F 56 [09:45:12]process_action close_receipt done [09:45:12]requested_data is exist [09:45:12]produce_requested_data [09:45:12]requested_item fm.sn is exist - process it [09:45:12]wFMCommunicate request_size=4 [09:45:12]MH_SAM_APDU [09:45:12]CAPDU: 80 11 00 00 [09:45:12]Write to MH i2c: E2 08 00 38 0A 80 11 00 00 00 00 00 00 BC [09:45:12]Write i2c OK [09:45:12]MH_I2C_Read... [09:45:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:12]Read from MH i2c: E2 [09:45:12]MH_I2C_Read... [09:45:12]Read from MH i2c: E2 17 00 [09:45:12]MH_I2C_Read... [09:45:12]Read from MH i2c: E2 17 00 38 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 13 [09:45:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:45:12]wFMCommunicate OK [09:45:12]requested_item fd.num is exist - process it [09:45:12]SAM_PROTO_GetFieldsCounters [09:45:12]wFMCommunicate request_size=4 [09:45:12]MH_SAM_APDU [09:45:12]CAPDU: 80 13 00 00 [09:45:12]Write to MH i2c: E2 08 00 39 0A 80 13 00 00 00 00 00 00 BF [09:45:12]Write i2c OK [09:45:12]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 62 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 62 00 39 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E7 A7 00 00 0E 04 04 00 BD 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 83 [09:45:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E7 A7 00 00 0E 04 04 00 BD 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 [09:45:13]wFMCommunicate OK [09:45:13]SAM_PROTO_GetFieldsCounters done [09:45:13]requested_item shift.num is exist - process it [09:45:13]requested_item shift.opened is exist - process it [09:45:13]req_shift_opened [09:45:13]FM_GetShiftState [09:45:13]SAM_PROTO_GetShiftState [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 13 01 00 [09:45:13]Write to MH i2c: E2 08 00 3A 0A 80 13 01 00 00 00 00 00 C1 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 0E 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 0E 00 3A 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 58 [09:45:13]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:45:13]wFMCommunicate OK [09:45:13]SAM_PROTO_GetShiftState done [09:45:13]FM_GetShiftState done [09:45:13]req_shift_opened done [09:45:13]requested_item shift.open_date is exist - process it [09:45:13]req_shift_open_date [09:45:13]req_shift_open_date done [09:45:13]requested_item shift.sale.total is exist - process it [09:45:13]SAM_PROTO_GetShiftData [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 13 02 00 [09:45:13]Write to MH i2c: E2 08 00 3B 0A 80 13 02 00 00 00 00 00 C3 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 FD 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 FD 00 3B 0A 00 AD 04 AA 04 A9 04 6E 04 04 00 1C 00 00 00 69 04 9A 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 68 44 08 70 04 03 00 7C D2 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C1 E0 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 B7 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 89 [09:45:13]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1C 00 00 00 69 04 9A 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 68 44 08 70 04 03 00 7C D2 06 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C1 E0 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 B7 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:45:13]wFMCommunicate OK [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 17 00 00 [09:45:13]Write to MH i2c: E2 08 00 3C 0A 80 17 00 00 00 00 00 00 C6 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 FD 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 FD 00 3C 0A 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 D8 [09:45:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:45:13]wFMCommunicate OK [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 17 00 00 [09:45:13]Write to MH i2c: E2 08 00 3D 0A 80 17 00 00 00 00 00 00 C7 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:14]Read from MH i2c: E2 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 FD 00 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 FD 00 3D 0A 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 8B [09:45:14]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:45:14]wFMCommunicate OK [09:45:14]wFMCommunicate request_size=4 [09:45:14]MH_SAM_APDU [09:45:14]CAPDU: 80 17 00 00 [09:45:14]Write to MH i2c: E2 08 00 3E 0A 80 17 00 00 00 00 00 00 C8 [09:45:14]Write i2c OK [09:45:14]MH_I2C_Read... [09:45:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:14]Read from MH i2c: E2 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 FD 00 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 FD 00 3E 0A 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 3D [09:45:14]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:45:14]wFMCommunicate OK [09:45:14]wFMCommunicate request_size=4 [09:45:14]MH_SAM_APDU [09:45:14]CAPDU: 80 17 00 00 [09:45:14]Write to MH i2c: E2 08 00 3F 0A 80 17 00 00 00 00 00 00 C9 [09:45:14]Write i2c OK [09:45:14]MH_I2C_Read... [09:45:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:45:14]Read from MH i2c: E2 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 CA 00 [09:45:14]MH_I2C_Read... [09:45:14]Read from MH i2c: E2 CA 00 3F 0A 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AE [09:45:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:45:14]wFMCommunicate OK [09:45:14]SAM_PROTO_GetShiftData done [09:45:14]requested_item shift.sale.total_cash is exist - process it [09:45:14]requested_item shift.sale_refund.total is exist - process it [09:45:14]requested_item shift.sale_refund.total_cash is exist - process it [09:45:14]produce_requested_data done [09:45:14]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42983,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5418.00,"shift.sale.total_cash":4471.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:45:14]process_action_free close_receipt [09:45:14]json_value_free [09:45:14]json_value_free done [09:45:14]process_json_proto returns [09:45:14]Send response to host [09:45:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42983,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5418.00,"shift.sale.total_cash":4471.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:45:14]free response buf [09:45:14]execute_script done [09:45:14]execute_script returns [09:45:14]free content buf [09:45:14]Sock 9.Close socket [09:45:14]Sock 9.Thread stoped [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:50]accept exits with 7 [09:45:50]New connection [09:45:50]New thread 3067530596 created [09:45:50]Thread 3067387236 joined [09:45:50]Waiting for new connection... [09:45:50] Sock 7.Parse request [09:45:50]Sock 7.Check first char [09:45:50]Sock 7.First char is OK [09:45:50]request: POST /json_proto HTTP/1.0 [09:45:50]Method: POST [09:45:50]URL: /json_proto [09:45:50]Method is POST - this is cgi request [09:45:50]url: /json_proto [09:45:50]query_string will be loaded in cgi processing [09:45:50]execute_cgi json_proto POST (null) [09:45:50]execute_cgi path=json_proto method=POST [09:45:50]POST find Content-Length [09:45:50]Host: 172.17.38.197:8080 [09:45:50]Content-Length: 725 [09:45:50]Content-Type: application/json [09:45:50] [09:45:50]POST finish read [09:45:50]Found Content-Length = 725 [09:45:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300112", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:45:50]execute_script... [09:45:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300112", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:45:50]POST & json_proto [09:45:50]process_json_proto [09:45:50]json parsed OK: [09:45:50]protocol is kg_v1.0 [09:45:50]action value=close_receipt [09:45:50]process_action close_receipt [09:45:50]cmd_close_receipt [09:45:50]MH_GetDate [09:45:50]Write to MH i2c: F0 00 00 40 0A 39 [09:45:50]Write i2c OK [09:45:50]MH_I2C_Read... [09:45:50]Read from MH i2c: F0 [09:45:50]MH_I2C_Read... [09:45:50]Read from MH i2c: F0 09 00 [09:45:50]MH_I2C_Read... [09:45:50]Read from MH i2c: F0 09 00 40 0A 00 D1 4C 92 66 1E 0D 88 66 70 [09:45:50]GetLastDocTimeStamp 1720863911 [09:45:50]current date 1720863953 [09:45:50]FM_GetShiftState [09:45:50]SAM_PROTO_GetShiftState [09:45:50]wFMCommunicate request_size=4 [09:45:50]MH_SAM_APDU [09:45:50]CAPDU: 80 13 01 00 [09:45:50]Write to MH i2c: E2 08 00 41 0A 80 13 01 00 00 00 00 00 C8 [09:45:50]Write i2c OK [09:45:50]MH_I2C_Read... [09:45:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:51]Read from MH i2c: E2 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: E2 0E 00 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: E2 0E 00 41 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5F [09:45:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:45:51]wFMCommunicate OK [09:45:51]SAM_PROTO_GetShiftState done [09:45:51]FM_GetShiftState done [09:45:51]opened in 1720829646 [09:45:51]opened+sec_in_day 1720916046 [09:45:51]quantity*price = 13000 [09:45:51]sum+1 = 13001 [09:45:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 29 13.07.2024 09:45 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42984 ФПД: 133316669275321 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094553&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42984&fm=133316669275321&tin=02508201610067®Number=0000000000091176&sum=13000 0 [09:45:52]StoreToDocumentArchive [09:45:52]shift 445 fd 42984 [09:45:52]save to /storage/0445/doc_00042984 [09:45:52]save last doc name /storage/0445/doc_00042984 to /storage/kkm_last_doc_name [09:45:52]save OK [09:45:52]Clear old archive folders... [09:45:52]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:45:52]tlvbuf is 015765D0 [09:45:52]SAM_PROTO_ClearQueue [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 09 00 00 [09:45:52]Write to MH i2c: E2 08 00 4E 0A 80 09 00 00 00 00 00 00 CA [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 4E 0A 00 90 00 CC [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]SAM_PROTO_ClearQueue done [09:45:52]KKMCreateOFDPacket [09:45:52]OFDProtocolAddRootSTLVToBuf [09:45:52]FM_MakeSignedData [09:45:52]FM_MakeSignedData [09:45:52]SAM_PROTO_SignData [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 01 02 [09:45:52]Write to MH i2c: E2 08 00 4F 0A 80 0D 01 02 00 00 00 00 D2 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 4F 0A 00 90 00 CD [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=255 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 D1 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [09:45:52]Write to MH i2c: E2 02 01 50 0A 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 D1 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 BB [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 50 0A 00 90 00 CE [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=32 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 E8 A7 00 00 35 04 06 00 79 40 34 B6 FC B9 [09:45:52]Write to MH i2c: E2 23 00 51 0A 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 E8 A7 00 00 35 04 06 00 79 40 34 B6 FC B9 00 00 1D [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 51 0A 00 90 00 CF [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 03 02 [09:45:52]Write to MH i2c: E2 08 00 52 0A 80 0D 03 02 00 00 00 00 D7 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 0B 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 0B 00 52 0A 00 68 3C 96 2D 7F 76 CB 49 90 00 48 [09:45:52]RAPDU: 68 3C 96 2D 7F 76 CB 49 90 00 [09:45:52]wFMCommunicate OK [09:45:52]SAM_PROTO_SignData done [09:45:52]FM_MakeSignedData done [09:45:52]CreateOFDProtocolMessage [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 11 00 00 [09:45:52]Write to MH i2c: E2 08 00 53 0A 80 11 00 00 00 00 00 00 D7 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 17 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 17 00 53 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 2E [09:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:45:52]wFMCommunicate OK [09:45:52]CreateOFDProtocolMessage done [09:45:52]OFDSenderStorePacket 42984 [09:45:52]StoreOFDPacket docnum=42984 [09:45:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 5B 49 1D 01 CA 22 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 D1 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E8 A7 00 00 35 04 06 00 79 40 34 B6 FC B9 68 3C 96 2D 7F 76 CB 49 [09:45:52]CheckFolder [09:45:52]dirname=/storage/ofd_packets [09:45:52]CheckFolder done [09:45:52]ProducePacketName [09:45:52]name=ofd_packets/00042984 [09:45:52]NVStorageSaveData ofd_packets/00042984 [09:45:52]File name is /storage/ofd_packets/00042984 [09:45:52]Write 323 bytes [09:45:52]NVStorageSaveData done [09:45:52]OFDSenderStorePacket done [09:45:52]KKMCreateOFDPacket done [09:45:52]NVStorageSaveData kkm_last_timestamp [09:45:52]File name is /storage/kkm_last_timestamp [09:45:52]Write 4 bytes [09:45:52]NVStorageSaveData done [09:45:52]ExternCall_PrintAddStr [09:45:52]wPrintStart [09:45:52]Write to MH i2c: 01 00 00 54 0A 5E [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 07 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 07 00 54 0A 00 00 00 00 00 FF 0F 73 [09:45:52]RasterBufferAndPrint [09:45:52]line Счет N : (3)300112 [09:45:52]line ИНН: 02508201610067 [09:45:52]line Контрольно-Кассовый Чек [09:45:52]line ПРОДАЖА [09:45:52]line Товар: 4780014240406 [09:45:52]line Сигареты Sovereign Blue [09:45:52]line 1.000 * 130.00 [09:45:52]line = 130.00 [09:45:52]line НДС 12% НСП 1% [09:45:52]line > о реализуемом товаре [09:45:52]line ИТОГО: 130.00 [09:45:52]line НСП 1% : 1.15 [09:45:52]line НДС 12% : 13.80 [09:45:52]line Наличными: 130.00 [09:45:52]line Безнал.: 0.00 [09:45:52]line Место: АЗС № 71 "Партнер Нефть" [09:45:52]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:45:52]line СНО: Общий режим [09:45:52]line Чек 29 13.07.2024 09:45 [09:45:52]line Смена: 445 ФФД: 1.0 [09:45:52]line ЗНМ: 0300000153 [09:45:52]line РНМ: 0000000000091176 [09:45:52]line Версия ККМ: 001 [09:45:52]line ФМ: 0000000000874935 [09:45:52]line ФД: 42984 [09:45:52]line ФПД: 133316669275321 [09:45:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094553&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42984&fm=133316669275321&tin=02508201610067®Number=0000000000091176&sum=13000 [09:45:53]line 0 [09:45:53]OFD Sender: Processing packet 42984 [packets to send 31, broken 30] [09:45:53]ProducePacketName [09:45:53]name=ofd_packets/00042984 [09:45:53]OFD Sender: To server: pG, [09:45:53]CommunicateWithHost lk.salyk.kg:30040 [09:45:53]ConnectInit lk.salyk.kg [09:45:53]written 0, free lines is 4095 [09:45:53]Connected sock=10 [09:45:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 5B 49 1D 01 CA 22 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 D1 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E8 A7 00 00 35 04 06 00 79 40 34 B6 FC B9 68 3C 96 2D 7F 76 CB 49 [09:45:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 6C 52 47 00 E2 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E8 A7 00 00 F4 03 04 00 CC F8 91 66 B6 04 01 00 00 F8 85 76 85 9A 3C BF 60 [09:45:53]CommunicateWithHost err = 0 [09:45:53]CheckOFDResponse [09:45:53]1017 (14) - 77093643461234 [09:45:53]1041 (16) - 0000000000874935 [09:45:53]1040 (4) - 42984 [09:45:53]1012 (4) - 13.07.2024 03:47 [09:45:53]1206 (1) - 0 [09:45:53]OFD Sender: Remove packet 42984 [09:45:53]ProducePacketName [09:45:53]name=ofd_packets/00042984 [09:45:53]NVStorageDeleteData [09:45:53]Write to MH i2c: 01 00 00 7C 0A 86 [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 07 00 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 07 00 7C 0A 00 00 00 00 00 09 0D A3 [09:45:53]RasterBufferAndPrint [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]written 0, free lines is 3346 [09:45:53]MH_Cut [09:45:53]Write to MH i2c: D1 01 00 83 0A 01 5F [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 01 00 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 01 00 83 0A 00 5E [09:45:53]Write to MH i2c: 01 00 00 84 0A 8E [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:53]OFD Sender: No OFD packet to send [09:45:54]*** Cut start [09:45:54]*** Partial cut [09:45:54]*** CUTSNS_PIN = 1 [09:45:54]*** CUTSNS_PIN = 0 [09:45:54]*** Brake cut motor [09:45:54]Read from MH i2c: 01 [09:45:54]MH_I2C_Read... [09:45:54]*** Stop cut motor [09:45:54]*** Cut end [09:45:54]Read from MH i2c: 01 07 00 [09:45:54]MH_I2C_Read... [09:45:54]Read from MH i2c: 01 07 00 84 0A 00 00 00 00 00 FF 0F A3 [09:45:54]process_action close_receipt done [09:45:54]requested_data is exist [09:45:54]produce_requested_data [09:45:54]requested_item fm.sn is exist - process it [09:45:54]wFMCommunicate request_size=4 [09:45:54]MH_SAM_APDU [09:45:54]CAPDU: 80 11 00 00 [09:45:54]Write to MH i2c: E2 08 00 85 0A 80 11 00 00 00 00 00 00 09 [09:45:54]Write i2c OK [09:45:54]MH_I2C_Read... [09:45:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:54]Read from MH i2c: E2 [09:45:54]MH_I2C_Read... [09:45:54]Read from MH i2c: E2 17 00 [09:45:54]MH_I2C_Read... [09:45:54]Read from MH i2c: E2 17 00 85 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 60 [09:45:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:45:54]wFMCommunicate OK [09:45:54]requested_item fd.num is exist - process it [09:45:54]SAM_PROTO_GetFieldsCounters [09:45:54]wFMCommunicate request_size=4 [09:45:54]MH_SAM_APDU [09:45:54]CAPDU: 80 13 00 00 [09:45:54]Write to MH i2c: E2 08 00 86 0A 80 13 00 00 00 00 00 00 0C [09:45:54]Write i2c OK [09:45:54]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 62 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 62 00 86 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E8 A7 00 00 0E 04 04 00 BD 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 D4 [09:45:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E8 A7 00 00 0E 04 04 00 BD 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 [09:45:55]wFMCommunicate OK [09:45:55]SAM_PROTO_GetFieldsCounters done [09:45:55]requested_item shift.num is exist - process it [09:45:55]requested_item shift.opened is exist - process it [09:45:55]req_shift_opened [09:45:55]FM_GetShiftState [09:45:55]SAM_PROTO_GetShiftState [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 13 01 00 [09:45:55]Write to MH i2c: E2 08 00 87 0A 80 13 01 00 00 00 00 00 0E [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 0E 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 0E 00 87 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 A5 [09:45:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:45:55]wFMCommunicate OK [09:45:55]SAM_PROTO_GetShiftState done [09:45:55]FM_GetShiftState done [09:45:55]req_shift_opened done [09:45:55]requested_item shift.open_date is exist - process it [09:45:55]req_shift_open_date [09:45:55]req_shift_open_date done [09:45:55]requested_item shift.sale.total is exist - process it [09:45:55]SAM_PROTO_GetShiftData [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 13 02 00 [09:45:55]Write to MH i2c: E2 08 00 88 0A 80 13 02 00 00 00 00 00 10 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 FD 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 FD 00 88 0A 00 AD 04 AA 04 A9 04 6E 04 04 00 1D 00 00 00 69 04 9A 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 30 77 08 70 04 03 00 44 05 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 25 E6 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 2A 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 AD [09:45:55]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1D 00 00 00 69 04 9A 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 30 77 08 70 04 03 00 44 05 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 25 E6 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 2A 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:45:55]wFMCommunicate OK [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 17 00 00 [09:45:55]Write to MH i2c: E2 08 00 89 0A 80 17 00 00 00 00 00 00 13 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 FD 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 FD 00 89 0A 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 25 [09:45:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:45:55]wFMCommunicate OK [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 17 00 00 [09:45:55]Write to MH i2c: E2 08 00 8A 0A 80 17 00 00 00 00 00 00 14 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:56]Read from MH i2c: E2 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 FD 00 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 FD 00 8A 0A 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 D8 [09:45:56]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:45:56]wFMCommunicate OK [09:45:56]wFMCommunicate request_size=4 [09:45:56]MH_SAM_APDU [09:45:56]CAPDU: 80 17 00 00 [09:45:56]Write to MH i2c: E2 08 00 8B 0A 80 17 00 00 00 00 00 00 15 [09:45:56]Write i2c OK [09:45:56]MH_I2C_Read... [09:45:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:56]Read from MH i2c: E2 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 FD 00 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 FD 00 8B 0A 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 8A [09:45:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:45:56]wFMCommunicate OK [09:45:56]wFMCommunicate request_size=4 [09:45:56]MH_SAM_APDU [09:45:56]CAPDU: 80 17 00 00 [09:45:56]Write to MH i2c: E2 08 00 8C 0A 80 17 00 00 00 00 00 00 16 [09:45:56]Write i2c OK [09:45:56]MH_I2C_Read... [09:45:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:45:56]Read from MH i2c: E2 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 CA 00 [09:45:56]MH_I2C_Read... [09:45:56]Read from MH i2c: E2 CA 00 8C 0A 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FB [09:45:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:45:56]wFMCommunicate OK [09:45:56]SAM_PROTO_GetShiftData done [09:45:56]requested_item shift.sale.total_cash is exist - process it [09:45:56]requested_item shift.sale_refund.total is exist - process it [09:45:56]requested_item shift.sale_refund.total_cash is exist - process it [09:45:56]produce_requested_data done [09:45:56]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42984,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5548.00,"shift.sale.total_cash":4601.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:45:56]process_action_free close_receipt [09:45:56]json_value_free [09:45:56]json_value_free done [09:45:56]process_json_proto returns [09:45:56]Send response to host [09:45:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42984,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5548.00,"shift.sale.total_cash":4601.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:45:56]free response buf [09:45:56]execute_script done [09:45:56]execute_script returns [09:45:56]free content buf [09:45:56]Sock 7.Close socket [09:45:56]Sock 7.Thread stoped [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:30]accept exits with 9 [09:46:30]New connection [09:46:30]New thread 3067387236 created [09:46:30]Thread 3067530596 joined [09:46:30]Waiting for new connection... [09:46:30] Sock 9.Parse request [09:46:30]Sock 9.Check first char [09:46:30]Sock 9.First char is OK [09:46:30]request: POST /json_proto HTTP/1.0 [09:46:30]Method: POST [09:46:30]URL: /json_proto [09:46:30]Method is POST - this is cgi request [09:46:30]url: /json_proto [09:46:30]query_string will be loaded in cgi processing [09:46:30]execute_cgi json_proto POST (null) [09:46:30]execute_cgi path=json_proto method=POST [09:46:30]POST find Content-Length [09:46:30]Host: 172.17.38.197:8080 [09:46:30]Content-Length: 748 [09:46:30]Content-Type: application/json [09:46:30] [09:46:30]POST finish read [09:46:30]Found Content-Length = 748 [09:46:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300113", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:46:30]execute_script... [09:46:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300113", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:46:30]POST & json_proto [09:46:30]process_json_proto [09:46:30]json parsed OK: [09:46:30]protocol is kg_v1.0 [09:46:30]action value=close_receipt [09:46:30]process_action close_receipt [09:46:30]cmd_close_receipt [09:46:30]MH_GetDate [09:46:30]Write to MH i2c: F0 00 00 8D 0A 86 [09:46:30]Write i2c OK [09:46:30]MH_I2C_Read... [09:46:30]Read from MH i2c: F0 [09:46:30]MH_I2C_Read... [09:46:30]Read from MH i2c: F0 09 00 [09:46:30]MH_I2C_Read... [09:46:30]Read from MH i2c: F0 09 00 8D 0A 00 F8 4C 92 66 1E 0D 88 66 E4 [09:46:30]GetLastDocTimeStamp 1720863953 [09:46:30]current date 1720863992 [09:46:30]FM_GetShiftState [09:46:30]SAM_PROTO_GetShiftState [09:46:30]wFMCommunicate request_size=4 [09:46:30]MH_SAM_APDU [09:46:30]CAPDU: 80 13 01 00 [09:46:30]Write to MH i2c: E2 08 00 8E 0A 80 13 01 00 00 00 00 00 15 [09:46:30]Write i2c OK [09:46:30]MH_I2C_Read... [09:46:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:30]Read from MH i2c: E2 [09:46:30]MH_I2C_Read... [09:46:30]Read from MH i2c: E2 0E 00 [09:46:30]MH_I2C_Read... [09:46:30]Read from MH i2c: E2 0E 00 8E 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 AC [09:46:30]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:46:30]wFMCommunicate OK [09:46:30]SAM_PROTO_GetShiftState done [09:46:30]FM_GetShiftState done [09:46:30]opened in 1720829646 [09:46:30]opened+sec_in_day 1720916046 [09:46:30]quantity*price = 23000 [09:46:30]sum+1 = 23001 [09:46:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 30 13.07.2024 09:46 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42985 ФПД: 41352912179104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094633&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42985&fm=41352912179104&tin=02508201610067®Number=0000000000091176&sum=23000 0 [09:46:31]StoreToDocumentArchive [09:46:31]shift 445 fd 42985 [09:46:31]save to /storage/0445/doc_00042985 [09:46:31]save last doc name /storage/0445/doc_00042985 to /storage/kkm_last_doc_name [09:46:31]save OK [09:46:31]Clear old archive folders... [09:46:31]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:46:31]tlvbuf is B6F4EB10 [09:46:31]SAM_PROTO_ClearQueue [09:46:31]wFMCommunicate request_size=4 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 09 00 00 [09:46:31]Write to MH i2c: E2 08 00 9B 0A 80 09 00 00 00 00 00 00 17 [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 9B 0A 00 90 00 19 [09:46:31]RAPDU: 90 00 [09:46:31]wFMCommunicate OK [09:46:31]SAM_PROTO_ClearQueue done [09:46:31]KKMCreateOFDPacket [09:46:31]OFDProtocolAddRootSTLVToBuf [09:46:31]FM_MakeSignedData [09:46:31]FM_MakeSignedData [09:46:31]SAM_PROTO_SignData [09:46:31]wFMCommunicate request_size=4 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 0D 01 02 [09:46:31]Write to MH i2c: E2 08 00 9C 0A 80 0D 01 02 00 00 00 00 1F [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 9C 0A 00 90 00 1A [09:46:31]RAPDU: 90 00 [09:46:31]wFMCommunicate OK [09:46:31]wFMCommunicate request_size=255 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 [09:46:31]Write to MH i2c: E2 02 01 9D 0A 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 00 00 DD [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 9D 0A 00 90 00 1B [09:46:31]RAPDU: 90 00 [09:46:31]wFMCommunicate OK [09:46:31]wFMCommunicate request_size=39 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E9 A7 00 00 35 04 06 00 25 9C 39 A4 0F A0 [09:46:31]Write to MH i2c: E2 2A 00 9E 0A 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E9 A7 00 00 35 04 06 00 25 9C 39 A4 0F A0 00 00 BE [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 03 00 9E 0A 00 90 00 1C [09:46:31]RAPDU: 90 00 [09:46:31]wFMCommunicate OK [09:46:31]wFMCommunicate request_size=4 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 0D 03 02 [09:46:31]Write to MH i2c: E2 08 00 9F 0A 80 0D 03 02 00 00 00 00 24 [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 0B 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 0B 00 9F 0A 00 B1 C9 CC 7C 2C 23 96 1A 90 00 E6 [09:46:31]RAPDU: B1 C9 CC 7C 2C 23 96 1A 90 00 [09:46:31]wFMCommunicate OK [09:46:31]SAM_PROTO_SignData done [09:46:31]FM_MakeSignedData done [09:46:31]CreateOFDProtocolMessage [09:46:31]wFMCommunicate request_size=4 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 11 00 00 [09:46:31]Write to MH i2c: E2 08 00 A0 0A 80 11 00 00 00 00 00 00 24 [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 17 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 17 00 A0 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 7B [09:46:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:46:31]wFMCommunicate OK [09:46:31]CreateOFDProtocolMessage done [09:46:31]OFDSenderStorePacket 42985 [09:46:31]StoreOFDPacket docnum=42985 [09:46:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 F8 FE 24 01 E5 C3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E9 A7 00 00 35 04 06 00 25 9C 39 A4 0F A0 B1 C9 CC 7C 2C 23 96 1A [09:46:31]CheckFolder [09:46:31]dirname=/storage/ofd_packets [09:46:31]CheckFolder done [09:46:31]ProducePacketName [09:46:31]name=ofd_packets/00042985 [09:46:31]NVStorageSaveData ofd_packets/00042985 [09:46:31]File name is /storage/ofd_packets/00042985 [09:46:31]Write 330 bytes [09:46:31]NVStorageSaveData done [09:46:31]OFDSenderStorePacket done [09:46:31]KKMCreateOFDPacket done [09:46:31]NVStorageSaveData kkm_last_timestamp [09:46:31]File name is /storage/kkm_last_timestamp [09:46:31]Write 4 bytes [09:46:31]NVStorageSaveData done [09:46:31]ExternCall_PrintAddStr [09:46:31]wPrintStart [09:46:31]Write to MH i2c: 01 00 00 A1 0A AB [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: 01 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: 01 07 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: 01 07 00 A1 0A 00 00 00 00 00 FF 0F C0 [09:46:31]RasterBufferAndPrint [09:46:31]line Счет N : (3)300113 [09:46:31]line ИНН: 02508201610067 [09:46:31]line Контрольно-Кассовый Чек [09:46:31]line ПРОДАЖА [09:46:31]line Товар: 2000036210013 [09:46:31]line Кофе Капучино (GABB TRADE) [09:46:31]line 2.000 * 115.00 [09:46:31]line = 230.00 [09:46:31]line НДС 12% НСП 1% [09:46:31]line > о реализуемом товаре [09:46:31]line ИТОГО: 230.00 [09:46:31]line НСП 1% : 2.03 [09:46:31]line НДС 12% : 24.42 [09:46:31]line Наличными: 230.00 [09:46:31]line Безнал.: 0.00 [09:46:31]line Место: АЗС № 71 "Партнер Нефть" [09:46:31]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:46:31]line СНО: Общий режим [09:46:32]line Чек 30 13.07.2024 09:46 [09:46:32]line Смена: 445 ФФД: 1.0 [09:46:32]line ЗНМ: 0300000153 [09:46:32]line РНМ: 0000000000091176 [09:46:32]line Версия ККМ: 001 [09:46:32]line ФМ: 0000000000874935 [09:46:32]line ФД: 42985 [09:46:32]line ФПД: 41352912179104 [09:46:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094633&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42985&fm=41352912179104&tin=02508201610067®Number=0000000000091176&sum=23000 [09:46:32]line 0 [09:46:32]OFD Sender: Processing packet 42985 [packets to send 31, broken 30] [09:46:32]ProducePacketName [09:46:32]name=ofd_packets/00042985 [09:46:32]OFD Sender: To server: pG, [09:46:32]CommunicateWithHost lk.salyk.kg:30040 [09:46:32]ConnectInit lk.salyk.kg [09:46:32]written 0, free lines is 4095 [09:46:32]Connected sock=10 [09:46:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 F8 FE 24 01 E5 C3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 4C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E9 A7 00 00 35 04 06 00 25 9C 39 A4 0F A0 B1 C9 CC 7C 2C 23 96 1A [09:46:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1C A3 47 00 61 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 E9 A7 00 00 F4 03 04 00 F3 F8 91 66 B6 04 01 00 00 51 6C 50 BF 17 0D 8C 43 [09:46:32]CommunicateWithHost err = 0 [09:46:32]CheckOFDResponse [09:46:32]1017 (14) - 77093643461234 [09:46:32]1041 (16) - 0000000000874935 [09:46:32]1040 (4) - 42985 [09:46:32]1012 (4) - 13.07.2024 03:48 [09:46:32]1206 (1) - 0 [09:46:32]OFD Sender: Remove packet 42985 [09:46:32]ProducePacketName [09:46:32]name=ofd_packets/00042985 [09:46:32]NVStorageDeleteData [09:46:32]Write to MH i2c: 01 00 00 C9 0A D3 [09:46:32]Write i2c OK [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: 01 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: 01 07 00 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: 01 07 00 C9 0A 00 00 00 00 00 10 0D F7 [09:46:32]RasterBufferAndPrint [09:46:32]line [09:46:32]line [09:46:32]line [09:46:32]line [09:46:32]line [09:46:32]written 0, free lines is 3350 [09:46:32]MH_Cut [09:46:32]Write to MH i2c: D1 01 00 D0 0A 01 AC [09:46:32]Write i2c OK [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: D1 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: D1 01 00 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: D1 01 00 D0 0A 00 AB [09:46:32]Write to MH i2c: 01 00 00 D1 0A DB [09:46:32]Write i2c OK [09:46:32]MH_I2C_Read... [09:46:32]OFD Sender: No OFD packet to send [09:46:33]*** Cut start [09:46:33]*** Partial cut [09:46:33]*** CUTSNS_PIN = 1 [09:46:33]*** CUTSNS_PIN = 0 [09:46:33]*** Brake cut motor [09:46:33]Read from MH i2c: 01 [09:46:33]MH_I2C_Read... [09:46:33]*** Stop cut motor [09:46:33]*** Cut end [09:46:33]Read from MH i2c: 01 07 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 07 00 D1 0A 00 00 00 00 00 FF 0F F0 [09:46:33]process_action close_receipt done [09:46:33]requested_data is exist [09:46:33]produce_requested_data [09:46:33]requested_item fm.sn is exist - process it [09:46:33]wFMCommunicate request_size=4 [09:46:33]MH_SAM_APDU [09:46:33]CAPDU: 80 11 00 00 [09:46:33]Write to MH i2c: E2 08 00 D2 0A 80 11 00 00 00 00 00 00 56 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:33]Read from MH i2c: E2 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 17 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 17 00 D2 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 AD [09:46:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:46:33]wFMCommunicate OK [09:46:33]requested_item fd.num is exist - process it [09:46:33]SAM_PROTO_GetFieldsCounters [09:46:33]wFMCommunicate request_size=4 [09:46:33]MH_SAM_APDU [09:46:33]CAPDU: 80 13 00 00 [09:46:33]Write to MH i2c: E2 08 00 D3 0A 80 13 00 00 00 00 00 00 59 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:34]Read from MH i2c: E2 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 62 00 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 62 00 D3 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E9 A7 00 00 0E 04 04 00 BD 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 25 [09:46:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 E9 A7 00 00 0E 04 04 00 BD 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 [09:46:34]wFMCommunicate OK [09:46:34]SAM_PROTO_GetFieldsCounters done [09:46:34]requested_item shift.num is exist - process it [09:46:34]requested_item shift.opened is exist - process it [09:46:34]req_shift_opened [09:46:34]FM_GetShiftState [09:46:34]SAM_PROTO_GetShiftState [09:46:34]wFMCommunicate request_size=4 [09:46:34]MH_SAM_APDU [09:46:34]CAPDU: 80 13 01 00 [09:46:34]Write to MH i2c: E2 08 00 D4 0A 80 13 01 00 00 00 00 00 5B [09:46:34]Write i2c OK [09:46:34]MH_I2C_Read... [09:46:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:34]Read from MH i2c: E2 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 0E 00 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 0E 00 D4 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F2 [09:46:34]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:46:34]wFMCommunicate OK [09:46:34]SAM_PROTO_GetShiftState done [09:46:34]FM_GetShiftState done [09:46:34]req_shift_opened done [09:46:34]requested_item shift.open_date is exist - process it [09:46:34]req_shift_open_date [09:46:34]req_shift_open_date done [09:46:34]requested_item shift.sale.total is exist - process it [09:46:34]SAM_PROTO_GetShiftData [09:46:34]wFMCommunicate request_size=4 [09:46:34]MH_SAM_APDU [09:46:34]CAPDU: 80 13 02 00 [09:46:34]Write to MH i2c: E2 08 00 D5 0A 80 13 02 00 00 00 00 00 5D [09:46:34]Write i2c OK [09:46:34]MH_I2C_Read... [09:46:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:46:34]Read from MH i2c: E2 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 FD 00 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 FD 00 D5 0A 00 AD 04 AA 04 A9 04 6E 04 04 00 1E 00 00 00 69 04 9A 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 08 D1 08 70 04 03 00 1C 5F 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF EF 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 F5 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 BE [09:46:34]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1E 00 00 00 69 04 9A 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 08 D1 08 70 04 03 00 1C 5F 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF EF 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 F5 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:46:34]wFMCommunicate OK [09:46:34]wFMCommunicate request_size=4 [09:46:34]MH_SAM_APDU [09:46:34]CAPDU: 80 17 00 00 [09:46:34]Write to MH i2c: E2 08 00 D6 0A 80 17 00 00 00 00 00 00 60 [09:46:34]Write i2c OK [09:46:34]MH_I2C_Read... [09:46:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:46:34]Read from MH i2c: E2 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 FD 00 [09:46:34]MH_I2C_Read... [09:46:34]Read from MH i2c: E2 FD 00 D6 0A 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 72 [09:46:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:46:34]wFMCommunicate OK [09:46:34]wFMCommunicate request_size=4 [09:46:34]MH_SAM_APDU [09:46:34]CAPDU: 80 17 00 00 [09:46:34]Write to MH i2c: E2 08 00 D7 0A 80 17 00 00 00 00 00 00 61 [09:46:34]Write i2c OK [09:46:34]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 FD 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 FD 00 D7 0A 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 25 [09:46:35]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:46:35]wFMCommunicate OK [09:46:35]wFMCommunicate request_size=4 [09:46:35]MH_SAM_APDU [09:46:35]CAPDU: 80 17 00 00 [09:46:35]Write to MH i2c: E2 08 00 D8 0A 80 17 00 00 00 00 00 00 62 [09:46:35]Write i2c OK [09:46:35]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 FD 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 FD 00 D8 0A 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 D7 [09:46:35]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:46:35]wFMCommunicate OK [09:46:35]wFMCommunicate request_size=4 [09:46:35]MH_SAM_APDU [09:46:35]CAPDU: 80 17 00 00 [09:46:35]Write to MH i2c: E2 08 00 D9 0A 80 17 00 00 00 00 00 00 63 [09:46:35]Write i2c OK [09:46:35]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 CA 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 CA 00 D9 0A 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 48 [09:46:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:46:35]wFMCommunicate OK [09:46:35]SAM_PROTO_GetShiftData done [09:46:35]requested_item shift.sale.total_cash is exist - process it [09:46:35]requested_item shift.sale_refund.total is exist - process it [09:46:35]requested_item shift.sale_refund.total_cash is exist - process it [09:46:35]produce_requested_data done [09:46:35]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42985,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5778.00,"shift.sale.total_cash":4831.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:46:35]process_action_free close_receipt [09:46:35]json_value_free [09:46:35]json_value_free done [09:46:35]process_json_proto returns [09:46:35]Send response to host [09:46:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42985,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5778.00,"shift.sale.total_cash":4831.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:46:35]free response buf [09:46:35]execute_script done [09:46:35]execute_script returns [09:46:35]free content buf [09:46:35]Sock 9.Close socket [09:46:35]Sock 9.Thread stoped [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:40]accept exits with 7 [09:49:40]New connection [09:49:40]New thread 3067530596 created [09:49:40]Thread 3067387236 joined [09:49:40]Waiting for new connection... [09:49:40] Sock 7.Parse request [09:49:40]Sock 7.Check first char [09:49:40]Sock 7.First char is OK [09:49:40]request: POST /json_proto HTTP/1.0 [09:49:40]Method: POST [09:49:40]URL: /json_proto [09:49:40]Method is POST - this is cgi request [09:49:40]url: /json_proto [09:49:40]query_string will be loaded in cgi processing [09:49:40]execute_cgi json_proto POST (null) [09:49:40]execute_cgi path=json_proto method=POST [09:49:40]POST find Content-Length [09:49:40]Host: 172.17.38.197:8080 [09:49:40]Content-Length: 814 [09:49:40]Content-Type: application/json [09:49:40] [09:49:40]POST finish read [09:49:40]Found Content-Length = 814 [09:49:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300114", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:49:40]execute_script... [09:49:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300114", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:49:40]POST & json_proto [09:49:40]process_json_proto [09:49:40]json parsed OK: [09:49:40]protocol is kg_v1.0 [09:49:40]action value=close_receipt [09:49:40]process_action close_receipt [09:49:40]cmd_close_receipt [09:49:40]MH_GetDate [09:49:40]Write to MH i2c: F0 00 00 DA 0A D3 [09:49:40]Write i2c OK [09:49:40]MH_I2C_Read... [09:49:40]Read from MH i2c: F0 [09:49:40]MH_I2C_Read... [09:49:40]Read from MH i2c: F0 09 00 [09:49:40]MH_I2C_Read... [09:49:40]Read from MH i2c: F0 09 00 DA 0A 00 B7 4D 92 66 1E 0D 88 66 F1 [09:49:40]GetLastDocTimeStamp 1720863993 [09:49:40]current date 1720864183 [09:49:40]FM_GetShiftState [09:49:40]SAM_PROTO_GetShiftState [09:49:40]wFMCommunicate request_size=4 [09:49:40]MH_SAM_APDU [09:49:40]CAPDU: 80 13 01 00 [09:49:40]Write to MH i2c: E2 08 00 DB 0A 80 13 01 00 00 00 00 00 62 [09:49:40]Write i2c OK [09:49:40]MH_I2C_Read... [09:49:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:49:40]Read from MH i2c: E2 [09:49:40]MH_I2C_Read... [09:49:40]Read from MH i2c: E2 0E 00 [09:49:40]MH_I2C_Read... [09:49:40]Read from MH i2c: E2 0E 00 DB 0A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F9 [09:49:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:49:40]wFMCommunicate OK [09:49:40]SAM_PROTO_GetShiftState done [09:49:40]FM_GetShiftState done [09:49:40]opened in 1720829646 [09:49:40]opened+sec_in_day 1720916046 [09:49:40]quantity*price = 13000 [09:49:40]sum+1 = 13001 [09:49:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 31 13.07.2024 09:49 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42986 ФПД: 245099649618161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094943&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42986&fm=245099649618161&tin=02508201610067®Number=0000000000091176&sum=13000 0 [09:49:41]StoreToDocumentArchive [09:49:41]shift 445 fd 42986 [09:49:41]save to /storage/0445/doc_00042986 [09:49:41]save last doc name /storage/0445/doc_00042986 to /storage/kkm_last_doc_name [09:49:41]save OK [09:49:41]Clear old archive folders... [09:49:41]ProcessDocumentItem done err = 0, tmpTLVsize=299 [09:49:41]tlvbuf is 01586C20 [09:49:41]SAM_PROTO_ClearQueue [09:49:41]wFMCommunicate request_size=4 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 09 00 00 [09:49:41]Write to MH i2c: E2 08 00 E8 0A 80 09 00 00 00 00 00 00 64 [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 E8 0A 00 90 00 66 [09:49:41]RAPDU: 90 00 [09:49:41]wFMCommunicate OK [09:49:41]SAM_PROTO_ClearQueue done [09:49:41]KKMCreateOFDPacket [09:49:41]OFDProtocolAddRootSTLVToBuf [09:49:41]FM_MakeSignedData [09:49:41]FM_MakeSignedData [09:49:41]SAM_PROTO_SignData [09:49:41]wFMCommunicate request_size=4 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 0D 01 02 [09:49:41]Write to MH i2c: E2 08 00 E9 0A 80 0D 01 02 00 00 00 00 6C [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 E9 0A 00 90 00 67 [09:49:41]RAPDU: 90 00 [09:49:41]wFMCommunicate OK [09:49:41]wFMCommunicate request_size=255 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B7 4D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [09:49:41]Write to MH i2c: E2 02 01 EA 0A 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B7 4D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 41 [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 EA 0A 00 90 00 68 [09:49:41]RAPDU: 90 00 [09:49:41]wFMCommunicate OK [09:49:41]wFMCommunicate request_size=58 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EA A7 00 00 35 04 06 00 DE EA B5 8C D0 F1 [09:49:41]Write to MH i2c: E2 3D 00 EB 0A 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EA A7 00 00 35 04 06 00 DE EA B5 8C D0 F1 00 00 BC [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 03 00 EB 0A 00 90 00 69 [09:49:41]RAPDU: 90 00 [09:49:41]wFMCommunicate OK [09:49:41]wFMCommunicate request_size=4 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 0D 03 02 [09:49:41]Write to MH i2c: E2 08 00 EC 0A 80 0D 03 02 00 00 00 00 71 [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 0B 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 0B 00 EC 0A 00 FF 99 84 E1 67 2C 44 05 90 00 4B [09:49:41]RAPDU: FF 99 84 E1 67 2C 44 05 90 00 [09:49:41]wFMCommunicate OK [09:49:41]SAM_PROTO_SignData done [09:49:41]FM_MakeSignedData done [09:49:41]CreateOFDProtocolMessage [09:49:41]wFMCommunicate request_size=4 [09:49:41]MH_SAM_APDU [09:49:41]CAPDU: 80 11 00 00 [09:49:41]Write to MH i2c: E2 08 00 ED 0A 80 11 00 00 00 00 00 00 71 [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:41]Read from MH i2c: E2 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 17 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: E2 17 00 ED 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C8 [09:49:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:49:41]wFMCommunicate OK [09:49:41]CreateOFDProtocolMessage done [09:49:41]OFDSenderStorePacket 42986 [09:49:41]StoreOFDPacket docnum=42986 [09:49:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3F 01 00 00 72 04 37 01 90 A7 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B7 4D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EA A7 00 00 35 04 06 00 DE EA B5 8C D0 F1 FF 99 84 E1 67 2C 44 05 [09:49:41]CheckFolder [09:49:41]dirname=/storage/ofd_packets [09:49:41]CheckFolder done [09:49:41]ProducePacketName [09:49:41]name=ofd_packets/00042986 [09:49:41]NVStorageSaveData ofd_packets/00042986 [09:49:41]File name is /storage/ofd_packets/00042986 [09:49:41]Write 349 bytes [09:49:41]NVStorageSaveData done [09:49:41]OFDSenderStorePacket done [09:49:41]KKMCreateOFDPacket done [09:49:41]NVStorageSaveData kkm_last_timestamp [09:49:41]File name is /storage/kkm_last_timestamp [09:49:41]Write 4 bytes [09:49:41]NVStorageSaveData done [09:49:41]ExternCall_PrintAddStr [09:49:41]wPrintStart [09:49:41]Write to MH i2c: 01 00 00 EE 0A F8 [09:49:41]Write i2c OK [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: 01 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: 01 07 00 [09:49:41]MH_I2C_Read... [09:49:41]Read from MH i2c: 01 07 00 EE 0A 00 00 00 00 00 FF 0F 0D [09:49:41]RasterBufferAndPrint [09:49:41]line Счет N : (3)300114 [09:49:41]line ИНН: 02508201610067 [09:49:41]line Контрольно-Кассовый Чек [09:49:41]line ПРОДАЖА [09:49:41]line Товар: 2000032780015 [09:49:41]line Слойка DC треугольная курица 110г [09:49:41]line 2.000 * 65.00 [09:49:41]line = 130.00 [09:49:41]line НДС 12% НСП 1% [09:49:41]line > о реализуемом товаре [09:49:41]line ИТОГО: 130.00 [09:49:41]line НСП 1% : 1.15 [09:49:41]line НДС 12% : 13.80 [09:49:41]line Наличными: 130.00 [09:49:41]line Безнал.: 0.00 [09:49:41]line Место: АЗС № 71 "Партнер Нефть" [09:49:41]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:49:41]line СНО: Общий режим [09:49:41]line Чек 31 13.07.2024 09:49 [09:49:41]line Смена: 445 ФФД: 1.0 [09:49:41]line ЗНМ: 0300000153 [09:49:41]line РНМ: 0000000000091176 [09:49:41]line Версия ККМ: 001 [09:49:41]line ФМ: 0000000000874935 [09:49:41]line ФД: 42986 [09:49:41]line ФПД: 245099649618161 [09:49:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T094943&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42986&fm=245099649618161&tin=02508201610067®Number=0000000000091176&sum=13000 [09:49:42]line 0 [09:49:42]OFD Sender: Processing packet 42986 [packets to send 31, broken 30] [09:49:42]ProducePacketName [09:49:42]name=ofd_packets/00042986 [09:49:42]OFD Sender: To server: pG, [09:49:42]CommunicateWithHost lk.salyk.kg:30040 [09:49:42]ConnectInit lk.salyk.kg [09:49:42]written 0, free lines is 4095 [09:49:42]Connected sock=10 [09:49:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3F 01 00 00 72 04 37 01 90 A7 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B7 4D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EA A7 00 00 35 04 06 00 DE EA B5 8C D0 F1 FF 99 84 E1 67 2C 44 05 [09:49:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 3A B9 47 00 74 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EA A7 00 00 F4 03 04 00 B1 F9 91 66 B6 04 01 00 00 4F F0 11 91 91 D1 F3 7E [09:49:42]CommunicateWithHost err = 0 [09:49:42]CheckOFDResponse [09:49:42]1017 (14) - 77093643461234 [09:49:42]1041 (16) - 0000000000874935 [09:49:42]1040 (4) - 42986 [09:49:42]1012 (4) - 13.07.2024 03:51 [09:49:42]1206 (1) - 0 [09:49:42]OFD Sender: Remove packet 42986 [09:49:42]ProducePacketName [09:49:42]name=ofd_packets/00042986 [09:49:42]NVStorageDeleteData [09:49:42]Write to MH i2c: 01 00 00 17 0B 22 [09:49:42]Write i2c OK [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: 01 [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: 01 07 00 [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: 01 07 00 17 0B 00 00 00 00 00 F7 0C 2C [09:49:42]RasterBufferAndPrint [09:49:42]line [09:49:42]line [09:49:42]line [09:49:42]line [09:49:42]line [09:49:42]written 0, free lines is 3327 [09:49:42]MH_Cut [09:49:42]Write to MH i2c: D1 01 00 1E 0B 01 FB [09:49:42]Write i2c OK [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: D1 [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: D1 01 00 [09:49:42]MH_I2C_Read... [09:49:42]Read from MH i2c: D1 01 00 1E 0B 00 FA [09:49:42]Write to MH i2c: 01 00 00 1F 0B 2A [09:49:42]Write i2c OK [09:49:42]MH_I2C_Read... [09:49:42]OFD Sender: No OFD packet to send [09:49:43]*** Cut start [09:49:43]*** Partial cut [09:49:43]*** CUTSNS_PIN = 1 [09:49:43]*** CUTSNS_PIN = 0 [09:49:43]*** Brake cut motor [09:49:43]Read from MH i2c: 01 [09:49:43]MH_I2C_Read... [09:49:43]*** Stop cut motor [09:49:43]*** Cut end [09:49:43]Read from MH i2c: 01 07 00 [09:49:43]MH_I2C_Read... [09:49:43]Read from MH i2c: 01 07 00 1F 0B 00 00 00 00 00 FF 0F 3F [09:49:43]process_action close_receipt done [09:49:43]requested_data is exist [09:49:43]produce_requested_data [09:49:43]requested_item fm.sn is exist - process it [09:49:43]wFMCommunicate request_size=4 [09:49:43]MH_SAM_APDU [09:49:43]CAPDU: 80 11 00 00 [09:49:43]Write to MH i2c: E2 08 00 20 0B 80 11 00 00 00 00 00 00 A5 [09:49:43]Write i2c OK [09:49:43]MH_I2C_Read... [09:49:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:43]Read from MH i2c: E2 [09:49:43]MH_I2C_Read... [09:49:43]Read from MH i2c: E2 17 00 [09:49:43]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 17 00 20 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 FC [09:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:49:44]wFMCommunicate OK [09:49:44]requested_item fd.num is exist - process it [09:49:44]SAM_PROTO_GetFieldsCounters [09:49:44]wFMCommunicate request_size=4 [09:49:44]MH_SAM_APDU [09:49:44]CAPDU: 80 13 00 00 [09:49:44]Write to MH i2c: E2 08 00 21 0B 80 13 00 00 00 00 00 00 A8 [09:49:44]Write i2c OK [09:49:44]MH_I2C_Read... [09:49:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:49:44]Read from MH i2c: E2 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 62 00 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 62 00 21 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EA A7 00 00 0E 04 04 00 BD 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 78 [09:49:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EA A7 00 00 0E 04 04 00 BD 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 [09:49:44]wFMCommunicate OK [09:49:44]SAM_PROTO_GetFieldsCounters done [09:49:44]requested_item shift.num is exist - process it [09:49:44]requested_item shift.opened is exist - process it [09:49:44]req_shift_opened [09:49:44]FM_GetShiftState [09:49:44]SAM_PROTO_GetShiftState [09:49:44]wFMCommunicate request_size=4 [09:49:44]MH_SAM_APDU [09:49:44]CAPDU: 80 13 01 00 [09:49:44]Write to MH i2c: E2 08 00 22 0B 80 13 01 00 00 00 00 00 AA [09:49:44]Write i2c OK [09:49:44]MH_I2C_Read... [09:49:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:49:44]Read from MH i2c: E2 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 0E 00 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 0E 00 22 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 41 [09:49:44]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:49:44]wFMCommunicate OK [09:49:44]SAM_PROTO_GetShiftState done [09:49:44]FM_GetShiftState done [09:49:44]req_shift_opened done [09:49:44]requested_item shift.open_date is exist - process it [09:49:44]req_shift_open_date [09:49:44]req_shift_open_date done [09:49:44]requested_item shift.sale.total is exist - process it [09:49:44]SAM_PROTO_GetShiftData [09:49:44]wFMCommunicate request_size=4 [09:49:44]MH_SAM_APDU [09:49:44]CAPDU: 80 13 02 00 [09:49:44]Write to MH i2c: E2 08 00 23 0B 80 13 02 00 00 00 00 00 AC [09:49:44]Write i2c OK [09:49:44]MH_I2C_Read... [09:49:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:49:44]Read from MH i2c: E2 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 FD 00 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 FD 00 23 0B 00 AD 04 AA 04 A9 04 6E 04 04 00 1F 00 00 00 69 04 9A 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 D0 03 09 70 04 03 00 E4 91 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 13 F5 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 68 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 E2 [09:49:44]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1F 00 00 00 69 04 9A 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 D0 03 09 70 04 03 00 E4 91 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 13 F5 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 68 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:49:44]wFMCommunicate OK [09:49:44]wFMCommunicate request_size=4 [09:49:44]MH_SAM_APDU [09:49:44]CAPDU: 80 17 00 00 [09:49:44]Write to MH i2c: E2 08 00 24 0B 80 17 00 00 00 00 00 00 AF [09:49:44]Write i2c OK [09:49:44]MH_I2C_Read... [09:49:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:44]Read from MH i2c: E2 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 FD 00 [09:49:44]MH_I2C_Read... [09:49:44]Read from MH i2c: E2 FD 00 24 0B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 C1 [09:49:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:49:44]wFMCommunicate OK [09:49:44]wFMCommunicate request_size=4 [09:49:44]MH_SAM_APDU [09:49:44]CAPDU: 80 17 00 00 [09:49:44]Write to MH i2c: E2 08 00 25 0B 80 17 00 00 00 00 00 00 B0 [09:49:44]Write i2c OK [09:49:44]MH_I2C_Read... [09:49:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:45]Read from MH i2c: E2 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 FD 00 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 FD 00 25 0B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 74 [09:49:45]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:49:45]wFMCommunicate OK [09:49:45]wFMCommunicate request_size=4 [09:49:45]MH_SAM_APDU [09:49:45]CAPDU: 80 17 00 00 [09:49:45]Write to MH i2c: E2 08 00 26 0B 80 17 00 00 00 00 00 00 B1 [09:49:45]Write i2c OK [09:49:45]MH_I2C_Read... [09:49:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:49:45]Read from MH i2c: E2 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 FD 00 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 FD 00 26 0B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 26 [09:49:45]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:49:45]wFMCommunicate OK [09:49:45]wFMCommunicate request_size=4 [09:49:45]MH_SAM_APDU [09:49:45]CAPDU: 80 17 00 00 [09:49:45]Write to MH i2c: E2 08 00 27 0B 80 17 00 00 00 00 00 00 B2 [09:49:45]Write i2c OK [09:49:45]MH_I2C_Read... [09:49:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:49:45]Read from MH i2c: E2 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 CA 00 [09:49:45]MH_I2C_Read... [09:49:45]Read from MH i2c: E2 CA 00 27 0B 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 97 [09:49:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:49:45]wFMCommunicate OK [09:49:45]SAM_PROTO_GetShiftData done [09:49:45]requested_item shift.sale.total_cash is exist - process it [09:49:45]requested_item shift.sale_refund.total is exist - process it [09:49:45]requested_item shift.sale_refund.total_cash is exist - process it [09:49:45]produce_requested_data done [09:49:45]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42986,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5908.00,"shift.sale.total_cash":4961.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:49:45]process_action_free close_receipt [09:49:45]json_value_free [09:49:45]json_value_free done [09:49:45]process_json_proto returns [09:49:45]Send response to host [09:49:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42986,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":5908.00,"shift.sale.total_cash":4961.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:49:45]free response buf [09:49:45]execute_script done [09:49:45]execute_script returns [09:49:45]free content buf [09:49:45]Sock 7.Close socket [09:49:45]Sock 7.Thread stoped [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:20]accept exits with 9 [09:52:20]New connection [09:52:20]New thread 3067387236 created [09:52:20]Thread 3067530596 joined [09:52:20]Waiting for new connection... [09:52:20] Sock 9.Parse request [09:52:20]Sock 9.Check first char [09:52:20]Sock 9.First char is OK [09:52:20]request: POST /json_proto HTTP/1.0 [09:52:20]Method: POST [09:52:20]URL: /json_proto [09:52:20]Method is POST - this is cgi request [09:52:20]url: /json_proto [09:52:20]query_string will be loaded in cgi processing [09:52:20]execute_cgi json_proto POST (null) [09:52:20]execute_cgi path=json_proto method=POST [09:52:20]POST find Content-Length [09:52:20]Host: 172.17.38.197:8080 [09:52:20]Content-Length: 730 [09:52:20]Content-Type: application/json [09:52:20] [09:52:20]POST finish read [09:52:20]Found Content-Length = 730 [09:52:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300115", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:52:20]execute_script... [09:52:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300115", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:52:20]POST & json_proto [09:52:20]process_json_proto [09:52:20]json parsed OK: [09:52:20]protocol is kg_v1.0 [09:52:20]action value=close_receipt [09:52:20]process_action close_receipt [09:52:20]cmd_close_receipt [09:52:20]MH_GetDate [09:52:20]Write to MH i2c: F0 00 00 28 0B 22 [09:52:20]Write i2c OK [09:52:20]MH_I2C_Read... [09:52:20]Read from MH i2c: F0 [09:52:20]MH_I2C_Read... [09:52:20]Read from MH i2c: F0 09 00 [09:52:20]MH_I2C_Read... [09:52:20]Read from MH i2c: F0 09 00 28 0B 00 57 4E 92 66 1E 0D 88 66 E1 [09:52:20]GetLastDocTimeStamp 1720864183 [09:52:20]current date 1720864343 [09:52:20]FM_GetShiftState [09:52:20]SAM_PROTO_GetShiftState [09:52:20]wFMCommunicate request_size=4 [09:52:20]MH_SAM_APDU [09:52:20]CAPDU: 80 13 01 00 [09:52:20]Write to MH i2c: E2 08 00 29 0B 80 13 01 00 00 00 00 00 B1 [09:52:20]Write i2c OK [09:52:20]MH_I2C_Read... [09:52:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:20]Read from MH i2c: E2 [09:52:20]MH_I2C_Read... [09:52:20]Read from MH i2c: E2 0E 00 [09:52:20]MH_I2C_Read... [09:52:20]Read from MH i2c: E2 0E 00 29 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 48 [09:52:20]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:52:20]wFMCommunicate OK [09:52:20]SAM_PROTO_GetShiftState done [09:52:20]FM_GetShiftState done [09:52:20]opened in 1720829646 [09:52:20]opened+sec_in_day 1720916046 [09:52:20]quantity*price = 11500 [09:52:20]sum+1 = 11501 [09:52:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 32 13.07.2024 09:52 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42987 ФПД: 230122145488296 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095223&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42987&fm=230122145488296&tin=02508201610067®Number=0000000000091176&sum=11500 0 [09:52:22]StoreToDocumentArchive [09:52:22]shift 445 fd 42987 [09:52:22]save to /storage/0445/doc_00042987 [09:52:22]save last doc name /storage/0445/doc_00042987 to /storage/kkm_last_doc_name [09:52:22]save OK [09:52:22]Clear old archive folders... [09:52:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:52:22]tlvbuf is 01591FD0 [09:52:22]SAM_PROTO_ClearQueue [09:52:22]wFMCommunicate request_size=4 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 09 00 00 [09:52:22]Write to MH i2c: E2 08 00 36 0B 80 09 00 00 00 00 00 00 B3 [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 36 0B 00 90 00 B5 [09:52:22]RAPDU: 90 00 [09:52:22]wFMCommunicate OK [09:52:22]SAM_PROTO_ClearQueue done [09:52:22]KKMCreateOFDPacket [09:52:22]OFDProtocolAddRootSTLVToBuf [09:52:22]FM_MakeSignedData [09:52:22]FM_MakeSignedData [09:52:22]SAM_PROTO_SignData [09:52:22]wFMCommunicate request_size=4 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 0D 01 02 [09:52:22]Write to MH i2c: E2 08 00 37 0B 80 0D 01 02 00 00 00 00 BB [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 37 0B 00 90 00 B6 [09:52:22]RAPDU: 90 00 [09:52:22]wFMCommunicate OK [09:52:22]wFMCommunicate request_size=255 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 57 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [09:52:22]Write to MH i2c: E2 02 01 38 0B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 57 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 D1 [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 38 0B 00 90 00 B7 [09:52:22]RAPDU: 90 00 [09:52:22]wFMCommunicate OK [09:52:22]wFMCommunicate request_size=33 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EB A7 00 00 35 04 06 00 D1 4B 7C BC 9D A8 [09:52:22]Write to MH i2c: E2 24 00 39 0B 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EB A7 00 00 35 04 06 00 D1 4B 7C BC 9D A8 00 00 7C [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 03 00 39 0B 00 90 00 B8 [09:52:22]RAPDU: 90 00 [09:52:22]wFMCommunicate OK [09:52:22]wFMCommunicate request_size=4 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 0D 03 02 [09:52:22]Write to MH i2c: E2 08 00 3A 0B 80 0D 03 02 00 00 00 00 C0 [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 0B 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 0B 00 3A 0B 00 37 76 9E 69 EF 6F B7 2C 90 00 B6 [09:52:22]RAPDU: 37 76 9E 69 EF 6F B7 2C 90 00 [09:52:22]wFMCommunicate OK [09:52:22]SAM_PROTO_SignData done [09:52:22]FM_MakeSignedData done [09:52:22]CreateOFDProtocolMessage [09:52:22]wFMCommunicate request_size=4 [09:52:22]MH_SAM_APDU [09:52:22]CAPDU: 80 11 00 00 [09:52:22]Write to MH i2c: E2 08 00 3B 0B 80 11 00 00 00 00 00 00 C0 [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:22]Read from MH i2c: E2 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 17 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: E2 17 00 3B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 17 [09:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:52:22]wFMCommunicate OK [09:52:22]CreateOFDProtocolMessage done [09:52:22]OFDSenderStorePacket 42987 [09:52:22]StoreOFDPacket docnum=42987 [09:52:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 95 DD 1E 01 96 97 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 57 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EB A7 00 00 35 04 06 00 D1 4B 7C BC 9D A8 37 76 9E 69 EF 6F B7 2C [09:52:22]CheckFolder [09:52:22]dirname=/storage/ofd_packets [09:52:22]CheckFolder done [09:52:22]ProducePacketName [09:52:22]name=ofd_packets/00042987 [09:52:22]NVStorageSaveData ofd_packets/00042987 [09:52:22]File name is /storage/ofd_packets/00042987 [09:52:22]Write 324 bytes [09:52:22]NVStorageSaveData done [09:52:22]OFDSenderStorePacket done [09:52:22]KKMCreateOFDPacket done [09:52:22]NVStorageSaveData kkm_last_timestamp [09:52:22]File name is /storage/kkm_last_timestamp [09:52:22]Write 4 bytes [09:52:22]NVStorageSaveData done [09:52:22]ExternCall_PrintAddStr [09:52:22]wPrintStart [09:52:22]Write to MH i2c: 01 00 00 3C 0B 47 [09:52:22]Write i2c OK [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: 01 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: 01 07 00 [09:52:22]MH_I2C_Read... [09:52:22]Read from MH i2c: 01 07 00 3C 0B 00 00 00 00 00 FF 0F 5C [09:52:22]RasterBufferAndPrint [09:52:22]line Счет N : (3)300115 [09:52:22]line ИНН: 02508201610067 [09:52:22]line Контрольно-Кассовый Чек [09:52:22]line ПРОДАЖА [09:52:22]line Товар: 2000036240010 [09:52:22]line Кофе Латте (GABB TRADE) [09:52:22]line 1.000 * 115.00 [09:52:22]line = 115.00 [09:52:22]line НДС 12% НСП 1% [09:52:22]line > о реализуемом товаре [09:52:22]line ИТОГО: 115.00 [09:52:22]line НСП 1% : 1.02 [09:52:22]line НДС 12% : 12.21 [09:52:22]line Наличными: 115.00 [09:52:22]line Безнал.: 0.00 [09:52:22]line Место: АЗС № 71 "Партнер Нефть" [09:52:22]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:52:22]line СНО: Общий режим [09:52:22]line Чек 32 13.07.2024 09:52 [09:52:22]line Смена: 445 ФФД: 1.0 [09:52:22]line ЗНМ: 0300000153 [09:52:22]line РНМ: 0000000000091176 [09:52:22]line Версия ККМ: 001 [09:52:22]line ФМ: 0000000000874935 [09:52:22]line ФД: 42987 [09:52:22]line ФПД: 230122145488296 [09:52:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095223&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42987&fm=230122145488296&tin=02508201610067®Number=0000000000091176&sum=11500 [09:52:22]OFD Sender: Processing packet 42987 [packets to send 31, broken 30] [09:52:22]ProducePacketName [09:52:22]name=ofd_packets/00042987 [09:52:22]OFD Sender: To server: pG, [09:52:22]CommunicateWithHost lk.salyk.kg:30040 [09:52:22]ConnectInit lk.salyk.kg [09:52:22]line 0 [09:52:22]written 0, free lines is 4095 [09:52:23]Connected sock=10 [09:52:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 95 DD 1E 01 96 97 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 57 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EB A7 00 00 35 04 06 00 D1 4B 7C BC 9D A8 37 76 9E 69 EF 6F B7 2C [09:52:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 C5 89 47 00 08 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EB A7 00 00 F4 03 04 00 52 FA 91 66 B6 04 01 00 00 4E 25 C9 F6 60 3A 84 07 [09:52:23]CommunicateWithHost err = 0 [09:52:23]CheckOFDResponse [09:52:23]1017 (14) - 77093643461234 [09:52:23]1041 (16) - 0000000000874935 [09:52:23]1040 (4) - 42987 [09:52:23]1012 (4) - 13.07.2024 03:53 [09:52:23]1206 (1) - 0 [09:52:23]OFD Sender: Remove packet 42987 [09:52:23]ProducePacketName [09:52:23]name=ofd_packets/00042987 [09:52:23]NVStorageDeleteData [09:52:23]Write to MH i2c: 01 00 00 64 0B 6F [09:52:23]Write i2c OK [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: 01 [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: 01 07 00 [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: 01 07 00 64 0B 00 00 00 00 00 09 0D 8C [09:52:23]RasterBufferAndPrint [09:52:23]line [09:52:23]line [09:52:23]line [09:52:23]line [09:52:23]line [09:52:23]written 0, free lines is 3346 [09:52:23]MH_Cut [09:52:23]Write to MH i2c: D1 01 00 6B 0B 01 48 [09:52:23]Write i2c OK [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: D1 [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: D1 01 00 [09:52:23]MH_I2C_Read... [09:52:23]Read from MH i2c: D1 01 00 6B 0B 00 47 [09:52:23]Write to MH i2c: 01 00 00 6C 0B 77 [09:52:23]Write i2c OK [09:52:23]MH_I2C_Read... [09:52:23]OFD Sender: No OFD packet to send [09:52:24]*** Cut start [09:52:24]*** Partial cut [09:52:24]*** CUTSNS_PIN = 1 [09:52:24]*** CUTSNS_PIN = 0 [09:52:24]*** Brake cut motor [09:52:24]Read from MH i2c: 01 [09:52:24]MH_I2C_Read... [09:52:24]*** Stop cut motor [09:52:24]Read from MH i2c: 01 07 00 [09:52:24]MH_I2C_Read... [09:52:24]*** Cut end [09:52:24]Read from MH i2c: 01 07 00 6C 0B 00 00 00 00 00 FF 0F 8C [09:52:24]process_action close_receipt done [09:52:24]requested_data is exist [09:52:24]produce_requested_data [09:52:24]requested_item fm.sn is exist - process it [09:52:24]wFMCommunicate request_size=4 [09:52:24]MH_SAM_APDU [09:52:24]CAPDU: 80 11 00 00 [09:52:24]Write to MH i2c: E2 08 00 6D 0B 80 11 00 00 00 00 00 00 F2 [09:52:24]Write i2c OK [09:52:24]MH_I2C_Read... [09:52:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:24]Read from MH i2c: E2 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 17 00 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 17 00 6D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 49 [09:52:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:52:24]wFMCommunicate OK [09:52:24]requested_item fd.num is exist - process it [09:52:24]SAM_PROTO_GetFieldsCounters [09:52:24]wFMCommunicate request_size=4 [09:52:24]MH_SAM_APDU [09:52:24]CAPDU: 80 13 00 00 [09:52:24]Write to MH i2c: E2 08 00 6E 0B 80 13 00 00 00 00 00 00 F5 [09:52:24]Write i2c OK [09:52:24]MH_I2C_Read... [09:52:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:52:24]Read from MH i2c: E2 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 62 00 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 62 00 6E 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EB A7 00 00 0E 04 04 00 BD 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 C9 [09:52:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EB A7 00 00 0E 04 04 00 BD 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 [09:52:24]wFMCommunicate OK [09:52:24]SAM_PROTO_GetFieldsCounters done [09:52:24]requested_item shift.num is exist - process it [09:52:24]requested_item shift.opened is exist - process it [09:52:24]req_shift_opened [09:52:24]FM_GetShiftState [09:52:24]SAM_PROTO_GetShiftState [09:52:24]wFMCommunicate request_size=4 [09:52:24]MH_SAM_APDU [09:52:24]CAPDU: 80 13 01 00 [09:52:24]Write to MH i2c: E2 08 00 6F 0B 80 13 01 00 00 00 00 00 F7 [09:52:24]Write i2c OK [09:52:24]MH_I2C_Read... [09:52:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:25]Read from MH i2c: E2 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 0E 00 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 0E 00 6F 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8E [09:52:25]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:52:25]wFMCommunicate OK [09:52:25]SAM_PROTO_GetShiftState done [09:52:25]FM_GetShiftState done [09:52:25]req_shift_opened done [09:52:25]requested_item shift.open_date is exist - process it [09:52:25]req_shift_open_date [09:52:25]req_shift_open_date done [09:52:25]requested_item shift.sale.total is exist - process it [09:52:25]SAM_PROTO_GetShiftData [09:52:25]wFMCommunicate request_size=4 [09:52:25]MH_SAM_APDU [09:52:25]CAPDU: 80 13 02 00 [09:52:25]Write to MH i2c: E2 08 00 70 0B 80 13 02 00 00 00 00 00 F9 [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:52:25]Read from MH i2c: E2 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 FD 00 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 FD 00 70 0B 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 BC 30 09 70 04 03 00 D0 BE 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D8 F9 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 CE 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 92 [09:52:25]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 BC 30 09 70 04 03 00 D0 BE 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D8 F9 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 CE 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:52:25]wFMCommunicate OK [09:52:25]wFMCommunicate request_size=4 [09:52:25]MH_SAM_APDU [09:52:25]CAPDU: 80 17 00 00 [09:52:25]Write to MH i2c: E2 08 00 71 0B 80 17 00 00 00 00 00 00 FC [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:25]Read from MH i2c: E2 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 FD 00 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 FD 00 71 0B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 0E [09:52:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:52:25]wFMCommunicate OK [09:52:25]wFMCommunicate request_size=4 [09:52:25]MH_SAM_APDU [09:52:25]CAPDU: 80 17 00 00 [09:52:25]Write to MH i2c: E2 08 00 72 0B 80 17 00 00 00 00 00 00 FD [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 FD 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 FD 00 72 0B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 C1 [09:52:26]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:52:26]wFMCommunicate OK [09:52:26]wFMCommunicate request_size=4 [09:52:26]MH_SAM_APDU [09:52:26]CAPDU: 80 17 00 00 [09:52:26]Write to MH i2c: E2 08 00 73 0B 80 17 00 00 00 00 00 00 FE [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 FD 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 FD 00 73 0B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 73 [09:52:26]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:52:26]wFMCommunicate OK [09:52:26]wFMCommunicate request_size=4 [09:52:26]MH_SAM_APDU [09:52:26]CAPDU: 80 17 00 00 [09:52:26]Write to MH i2c: E2 08 00 74 0B 80 17 00 00 00 00 00 00 FF [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 CA 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 CA 00 74 0B 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E4 [09:52:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:52:26]wFMCommunicate OK [09:52:26]SAM_PROTO_GetShiftData done [09:52:26]requested_item shift.sale.total_cash is exist - process it [09:52:26]requested_item shift.sale_refund.total is exist - process it [09:52:26]requested_item shift.sale_refund.total_cash is exist - process it [09:52:26]produce_requested_data done [09:52:26]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42987,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6023.00,"shift.sale.total_cash":5076.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:52:26]process_action_free close_receipt [09:52:26]json_value_free [09:52:26]json_value_free done [09:52:26]process_json_proto returns [09:52:26]Send response to host [09:52:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42987,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6023.00,"shift.sale.total_cash":5076.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:52:26]free response buf [09:52:26]execute_script done [09:52:26]execute_script returns [09:52:26]free content buf [09:52:26]Sock 9.Close socket [09:52:26]Sock 9.Thread stoped [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:41]accept exits with 7 [09:52:41]New connection [09:52:41]New thread 3067530596 created [09:52:41]Thread 3067387236 joined [09:52:41]Waiting for new connection... [09:52:41] Sock 7.Parse request [09:52:41]Sock 7.Check first char [09:52:41]Sock 7.First char is OK [09:52:41]request: POST /json_proto HTTP/1.0 [09:52:41]Method: POST [09:52:41]URL: /json_proto [09:52:41]Method is POST - this is cgi request [09:52:41]url: /json_proto [09:52:41]query_string will be loaded in cgi processing [09:52:41]execute_cgi json_proto POST (null) [09:52:41]execute_cgi path=json_proto method=POST [09:52:41]POST find Content-Length [09:52:41]Host: 172.17.38.197:8080 [09:52:41]Content-Length: 724 [09:52:41]Content-Type: application/json [09:52:41] [09:52:41]POST finish read [09:52:41]Found Content-Length = 724 [09:52:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300116", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:52:41]execute_script... [09:52:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300116", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:52:41]POST & json_proto [09:52:41]process_json_proto [09:52:41]json parsed OK: [09:52:41]protocol is kg_v1.0 [09:52:41]action value=close_receipt [09:52:41]process_action close_receipt [09:52:41]cmd_close_receipt [09:52:41]MH_GetDate [09:52:41]Write to MH i2c: F0 00 00 75 0B 6F [09:52:41]Write i2c OK [09:52:41]MH_I2C_Read... [09:52:41]Read from MH i2c: F0 [09:52:41]MH_I2C_Read... [09:52:41]Read from MH i2c: F0 09 00 [09:52:41]MH_I2C_Read... [09:52:41]Read from MH i2c: F0 09 00 75 0B 00 6C 4E 92 66 1E 0D 88 66 43 [09:52:41]GetLastDocTimeStamp 1720864343 [09:52:41]current date 1720864364 [09:52:41]FM_GetShiftState [09:52:41]SAM_PROTO_GetShiftState [09:52:41]wFMCommunicate request_size=4 [09:52:41]MH_SAM_APDU [09:52:41]CAPDU: 80 13 01 00 [09:52:41]Write to MH i2c: E2 08 00 76 0B 80 13 01 00 00 00 00 00 FE [09:52:41]Write i2c OK [09:52:41]MH_I2C_Read... [09:52:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:41]Read from MH i2c: E2 [09:52:41]MH_I2C_Read... [09:52:41]Read from MH i2c: E2 0E 00 [09:52:41]MH_I2C_Read... [09:52:41]Read from MH i2c: E2 0E 00 76 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 95 [09:52:41]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:52:41]wFMCommunicate OK [09:52:41]SAM_PROTO_GetShiftState done [09:52:41]FM_GetShiftState done [09:52:41]opened in 1720829646 [09:52:41]opened+sec_in_day 1720916046 [09:52:41]quantity*price = 13500 [09:52:41]sum+1 = 13501 [09:52:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 33 13.07.2024 09:52 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42988 ФПД: 130174777856817 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095244&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42988&fm=130174777856817&tin=02508201610067®Number=0000000000091176&sum=13500 0 [09:52:42]StoreToDocumentArchive [09:52:42]shift 445 fd 42988 [09:52:42]save to /storage/0445/doc_00042988 [09:52:42]save last doc name /storage/0445/doc_00042988 to /storage/kkm_last_doc_name [09:52:42]save OK [09:52:42]Clear old archive folders... [09:52:42]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:52:42]tlvbuf is 015AF540 [09:52:42]SAM_PROTO_ClearQueue [09:52:42]wFMCommunicate request_size=4 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 09 00 00 [09:52:42]Write to MH i2c: E2 08 00 83 0B 80 09 00 00 00 00 00 00 00 [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 83 0B 00 90 00 02 [09:52:42]RAPDU: 90 00 [09:52:42]wFMCommunicate OK [09:52:42]SAM_PROTO_ClearQueue done [09:52:42]KKMCreateOFDPacket [09:52:42]OFDProtocolAddRootSTLVToBuf [09:52:42]FM_MakeSignedData [09:52:42]FM_MakeSignedData [09:52:42]SAM_PROTO_SignData [09:52:42]wFMCommunicate request_size=4 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 0D 01 02 [09:52:42]Write to MH i2c: E2 08 00 84 0B 80 0D 01 02 00 00 00 00 08 [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 84 0B 00 90 00 03 [09:52:42]RAPDU: 90 00 [09:52:42]wFMCommunicate OK [09:52:42]wFMCommunicate request_size=255 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 6C 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 [09:52:42]Write to MH i2c: E2 02 01 85 0B 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 6C 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 53 [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 85 0B 00 90 00 04 [09:52:42]RAPDU: 90 00 [09:52:42]wFMCommunicate OK [09:52:42]wFMCommunicate request_size=31 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 35 10 04 04 00 EC A7 00 00 35 04 06 00 76 64 AD 64 93 31 [09:52:42]Write to MH i2c: E2 22 00 86 0B 80 0D 02 02 1A 00 30 30 38 37 34 39 33 35 10 04 04 00 EC A7 00 00 35 04 06 00 76 64 AD 64 93 31 00 00 7C [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 03 00 86 0B 00 90 00 05 [09:52:42]RAPDU: 90 00 [09:52:42]wFMCommunicate OK [09:52:42]wFMCommunicate request_size=4 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 0D 03 02 [09:52:42]Write to MH i2c: E2 08 00 87 0B 80 0D 03 02 00 00 00 00 0D [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 0B 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 0B 00 87 0B 00 4F F8 F5 96 06 7E 17 D1 90 00 4C [09:52:42]RAPDU: 4F F8 F5 96 06 7E 17 D1 90 00 [09:52:42]wFMCommunicate OK [09:52:42]SAM_PROTO_SignData done [09:52:42]FM_MakeSignedData done [09:52:42]CreateOFDProtocolMessage [09:52:42]wFMCommunicate request_size=4 [09:52:42]MH_SAM_APDU [09:52:42]CAPDU: 80 11 00 00 [09:52:42]Write to MH i2c: E2 08 00 88 0B 80 11 00 00 00 00 00 00 0D [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:42]Read from MH i2c: E2 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 17 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: E2 17 00 88 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 64 [09:52:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:52:42]wFMCommunicate OK [09:52:42]CreateOFDProtocolMessage done [09:52:42]OFDSenderStorePacket 42988 [09:52:42]StoreOFDPacket docnum=42988 [09:52:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 50 6B 1C 01 BD BA 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 6C 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EC A7 00 00 35 04 06 00 76 64 AD 64 93 31 4F F8 F5 96 06 7E 17 D1 [09:52:42]CheckFolder [09:52:42]dirname=/storage/ofd_packets [09:52:42]CheckFolder done [09:52:42]ProducePacketName [09:52:42]name=ofd_packets/00042988 [09:52:42]NVStorageSaveData ofd_packets/00042988 [09:52:42]File name is /storage/ofd_packets/00042988 [09:52:42]Write 322 bytes [09:52:42]NVStorageSaveData done [09:52:42]OFDSenderStorePacket done [09:52:42]KKMCreateOFDPacket done [09:52:42]NVStorageSaveData kkm_last_timestamp [09:52:42]File name is /storage/kkm_last_timestamp [09:52:42]Write 4 bytes [09:52:42]NVStorageSaveData done [09:52:42]ExternCall_PrintAddStr [09:52:42]wPrintStart [09:52:42]Write to MH i2c: 01 00 00 89 0B 94 [09:52:42]Write i2c OK [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: 01 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: 01 07 00 [09:52:42]MH_I2C_Read... [09:52:42]Read from MH i2c: 01 07 00 89 0B 00 00 00 00 00 FF 0F A9 [09:52:42]RasterBufferAndPrint [09:52:42]line Счет N : (3)300116 [09:52:42]line ИНН: 02508201610067 [09:52:42]line Контрольно-Кассовый Чек [09:52:42]line ПРОДАЖА [09:52:42]line Товар: 48745000 [09:52:42]line Сигареты Winston Purple Mix [09:52:42]line 1.000 * 135.00 [09:52:42]line = 135.00 [09:52:42]line НДС 12% НСП 1% [09:52:42]line > о реализуемом товаре [09:52:42]line ИТОГО: 135.00 [09:52:42]line НСП 1% : 1.19 [09:52:42]line НДС 12% : 14.34 [09:52:42]line Наличными: 135.00 [09:52:42]line Безнал.: 0.00 [09:52:42]line Место: АЗС № 71 "Партнер Нефть" [09:52:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:52:42]line СНО: Общий режим [09:52:42]line Чек 33 13.07.2024 09:52 [09:52:42]line Смена: 445 ФФД: 1.0 [09:52:42]line ЗНМ: 0300000153 [09:52:42]line РНМ: 0000000000091176 [09:52:42]line Версия ККМ: 001 [09:52:42]line ФМ: 0000000000874935 [09:52:42]line ФД: 42988 [09:52:42]line ФПД: 130174777856817 [09:52:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095244&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42988&fm=130174777856817&tin=02508201610067®Number=0000000000091176&sum=13500 [09:52:42]line 0 [09:52:43]written 0, free lines is 4095 [09:52:43]OFD Sender: Processing packet 42988 [packets to send 31, broken 30] [09:52:43]ProducePacketName [09:52:43]name=ofd_packets/00042988 [09:52:43]OFD Sender: To server: pG, [09:52:43]CommunicateWithHost lk.salyk.kg:30040 [09:52:43]ConnectInit lk.salyk.kg [09:52:43]Connected sock=9 [09:52:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 50 6B 1C 01 BD BA 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 6C 4E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EC A7 00 00 35 04 06 00 76 64 AD 64 93 31 4F F8 F5 96 06 7E 17 D1 [09:52:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 33 7C 47 00 A5 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EC A7 00 00 F4 03 04 00 66 FA 91 66 B6 04 01 00 00 58 81 3E 83 8F 41 06 54 [09:52:43]CommunicateWithHost err = 0 [09:52:43]CheckOFDResponse [09:52:43]1017 (14) - 77093643461234 [09:52:43]1041 (16) - 0000000000874935 [09:52:43]1040 (4) - 42988 [09:52:43]1012 (4) - 13.07.2024 03:54 [09:52:43]1206 (1) - 0 [09:52:43]OFD Sender: Remove packet 42988 [09:52:43]ProducePacketName [09:52:43]name=ofd_packets/00042988 [09:52:43]NVStorageDeleteData [09:52:43]Write to MH i2c: 01 00 00 B1 0B BC [09:52:43]Write i2c OK [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: 01 [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: 01 07 00 [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: 01 07 00 B1 0B 00 00 00 00 00 F6 0C C5 [09:52:43]RasterBufferAndPrint [09:52:43]line [09:52:43]line [09:52:43]line [09:52:43]line [09:52:43]line [09:52:43]written 0, free lines is 3326 [09:52:43]MH_Cut [09:52:43]Write to MH i2c: D1 01 00 B8 0B 01 95 [09:52:43]Write i2c OK [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: D1 [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: D1 01 00 [09:52:43]MH_I2C_Read... [09:52:43]Read from MH i2c: D1 01 00 B8 0B 00 94 [09:52:43]Write to MH i2c: 01 00 00 B9 0B C4 [09:52:43]Write i2c OK [09:52:43]MH_I2C_Read... [09:52:43]OFD Sender: No OFD packet to send [09:52:44]*** Cut start [09:52:44]*** Partial cut [09:52:44]*** CUTSNS_PIN = 1 [09:52:44]*** CUTSNS_PIN = 0 [09:52:44]*** Brake cut motor [09:52:44]Read from MH i2c: 01 [09:52:44]MH_I2C_Read... [09:52:44]*** Stop cut motor [09:52:44]*** Cut end [09:52:44]Read from MH i2c: 01 07 00 [09:52:44]MH_I2C_Read... [09:52:44]Read from MH i2c: 01 07 00 B9 0B 00 00 00 00 00 FF 0F D9 [09:52:44]process_action close_receipt done [09:52:44]requested_data is exist [09:52:44]produce_requested_data [09:52:44]requested_item fm.sn is exist - process it [09:52:44]wFMCommunicate request_size=4 [09:52:44]MH_SAM_APDU [09:52:44]CAPDU: 80 11 00 00 [09:52:44]Write to MH i2c: E2 08 00 BA 0B 80 11 00 00 00 00 00 00 3F [09:52:44]Write i2c OK [09:52:44]MH_I2C_Read... [09:52:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:44]Read from MH i2c: E2 [09:52:44]MH_I2C_Read... [09:52:44]Read from MH i2c: E2 17 00 [09:52:44]MH_I2C_Read... [09:52:44]Read from MH i2c: E2 17 00 BA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 96 [09:52:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:52:44]wFMCommunicate OK [09:52:44]requested_item fd.num is exist - process it [09:52:44]SAM_PROTO_GetFieldsCounters [09:52:44]wFMCommunicate request_size=4 [09:52:44]MH_SAM_APDU [09:52:44]CAPDU: 80 13 00 00 [09:52:44]Write to MH i2c: E2 08 00 BB 0B 80 13 00 00 00 00 00 00 42 [09:52:44]Write i2c OK [09:52:44]MH_I2C_Read... [09:52:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:52:45]Read from MH i2c: E2 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 62 00 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 62 00 BB 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EC A7 00 00 0E 04 04 00 BD 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 1A [09:52:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EC A7 00 00 0E 04 04 00 BD 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 [09:52:45]wFMCommunicate OK [09:52:45]SAM_PROTO_GetFieldsCounters done [09:52:45]requested_item shift.num is exist - process it [09:52:45]requested_item shift.opened is exist - process it [09:52:45]req_shift_opened [09:52:45]FM_GetShiftState [09:52:45]SAM_PROTO_GetShiftState [09:52:45]wFMCommunicate request_size=4 [09:52:45]MH_SAM_APDU [09:52:45]CAPDU: 80 13 01 00 [09:52:45]Write to MH i2c: E2 08 00 BC 0B 80 13 01 00 00 00 00 00 44 [09:52:45]Write i2c OK [09:52:45]MH_I2C_Read... [09:52:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:45]Read from MH i2c: E2 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 0E 00 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 0E 00 BC 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 DB [09:52:45]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:52:45]wFMCommunicate OK [09:52:45]SAM_PROTO_GetShiftState done [09:52:45]FM_GetShiftState done [09:52:45]req_shift_opened done [09:52:45]requested_item shift.open_date is exist - process it [09:52:45]req_shift_open_date [09:52:45]req_shift_open_date done [09:52:45]requested_item shift.sale.total is exist - process it [09:52:45]SAM_PROTO_GetShiftData [09:52:45]wFMCommunicate request_size=4 [09:52:45]MH_SAM_APDU [09:52:45]CAPDU: 80 13 02 00 [09:52:45]Write to MH i2c: E2 08 00 BD 0B 80 13 02 00 00 00 00 00 46 [09:52:45]Write i2c OK [09:52:45]MH_I2C_Read... [09:52:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:52:45]Read from MH i2c: E2 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 FD 00 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 FD 00 BD 0B 00 AD 04 AA 04 A9 04 6E 04 04 00 21 00 00 00 69 04 9A 00 6F 04 04 00 21 00 00 00 B1 04 03 00 78 65 09 70 04 03 00 8C F3 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 72 FF 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 45 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 DB [09:52:45]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 21 00 00 00 69 04 9A 00 6F 04 04 00 21 00 00 00 B1 04 03 00 78 65 09 70 04 03 00 8C F3 07 72 04 03 00 EC 71 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 72 FF 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 45 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:52:45]wFMCommunicate OK [09:52:45]wFMCommunicate request_size=4 [09:52:45]MH_SAM_APDU [09:52:45]CAPDU: 80 17 00 00 [09:52:45]Write to MH i2c: E2 08 00 BE 0B 80 17 00 00 00 00 00 00 49 [09:52:45]Write i2c OK [09:52:45]MH_I2C_Read... [09:52:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:45]Read from MH i2c: E2 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 FD 00 [09:52:45]MH_I2C_Read... [09:52:45]Read from MH i2c: E2 FD 00 BE 0B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 5B [09:52:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:52:45]wFMCommunicate OK [09:52:45]wFMCommunicate request_size=4 [09:52:45]MH_SAM_APDU [09:52:45]CAPDU: 80 17 00 00 [09:52:45]Write to MH i2c: E2 08 00 BF 0B 80 17 00 00 00 00 00 00 4A [09:52:45]Write i2c OK [09:52:45]MH_I2C_Read... [09:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:46]Read from MH i2c: E2 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 FD 00 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 FD 00 BF 0B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 0E [09:52:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:52:46]wFMCommunicate OK [09:52:46]wFMCommunicate request_size=4 [09:52:46]MH_SAM_APDU [09:52:46]CAPDU: 80 17 00 00 [09:52:46]Write to MH i2c: E2 08 00 C0 0B 80 17 00 00 00 00 00 00 4B [09:52:46]Write i2c OK [09:52:46]MH_I2C_Read... [09:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:52:46]Read from MH i2c: E2 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 FD 00 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 FD 00 C0 0B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 C0 [09:52:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:52:46]wFMCommunicate OK [09:52:46]wFMCommunicate request_size=4 [09:52:46]MH_SAM_APDU [09:52:46]CAPDU: 80 17 00 00 [09:52:46]Write to MH i2c: E2 08 00 C1 0B 80 17 00 00 00 00 00 00 4C [09:52:46]Write i2c OK [09:52:46]MH_I2C_Read... [09:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:52:46]Read from MH i2c: E2 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 CA 00 [09:52:46]MH_I2C_Read... [09:52:46]Read from MH i2c: E2 CA 00 C1 0B 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 31 [09:52:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:52:46]wFMCommunicate OK [09:52:46]SAM_PROTO_GetShiftData done [09:52:46]requested_item shift.sale.total_cash is exist - process it [09:52:46]requested_item shift.sale_refund.total is exist - process it [09:52:46]requested_item shift.sale_refund.total_cash is exist - process it [09:52:46]produce_requested_data done [09:52:46]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42988,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6158.00,"shift.sale.total_cash":5211.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:52:46]process_action_free close_receipt [09:52:46]json_value_free [09:52:46]json_value_free done [09:52:46]process_json_proto returns [09:52:46]Send response to host [09:52:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42988,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6158.00,"shift.sale.total_cash":5211.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:52:46]free response buf [09:52:46]execute_script done [09:52:46]execute_script returns [09:52:46]free content buf [09:52:46]Sock 7.Close socket [09:52:46]Sock 7.Thread stoped [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:20]accept exits with 10 [09:55:20]New connection [09:55:20]New thread 3067387236 created [09:55:20]Thread 3067530596 joined [09:55:20]Waiting for new connection... [09:55:20] Sock 10.Parse request [09:55:20]Sock 10.Check first char [09:55:20]Sock 10.First char is OK [09:55:20]request: POST /json_proto HTTP/1.0 [09:55:20]Method: POST [09:55:20]URL: /json_proto [09:55:20]Method is POST - this is cgi request [09:55:20]url: /json_proto [09:55:20]query_string will be loaded in cgi processing [09:55:20]execute_cgi json_proto POST (null) [09:55:20]execute_cgi path=json_proto method=POST [09:55:20]POST find Content-Length [09:55:20]Host: 172.17.38.197:8080 [09:55:20]Content-Length: 738 [09:55:20]Content-Type: application/json [09:55:20] [09:55:20]POST finish read [09:55:20]Found Content-Length = 738 [09:55:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300117", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 4.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:55:20]execute_script... [09:55:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300117", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 4.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:55:20]POST & json_proto [09:55:20]process_json_proto [09:55:20]json parsed OK: [09:55:20]protocol is kg_v1.0 [09:55:20]action value=close_receipt [09:55:20]process_action close_receipt [09:55:20]cmd_close_receipt [09:55:20]MH_GetDate [09:55:20]Write to MH i2c: F0 00 00 C2 0B BC [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: F0 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: F0 09 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: F0 09 00 C2 0B 00 0B 4F 92 66 1E 0D 88 66 30 [09:55:20]GetLastDocTimeStamp 1720864364 [09:55:20]current date 1720864523 [09:55:20]FM_GetShiftState [09:55:20]SAM_PROTO_GetShiftState [09:55:20]wFMCommunicate request_size=4 [09:55:20]MH_SAM_APDU [09:55:20]CAPDU: 80 13 01 00 [09:55:20]Write to MH i2c: E2 08 00 C3 0B 80 13 01 00 00 00 00 00 4B [09:55:20]Write i2c OK [09:55:20]MH_I2C_Read... [09:55:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:20]Read from MH i2c: E2 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 0E 00 [09:55:20]MH_I2C_Read... [09:55:20]Read from MH i2c: E2 0E 00 C3 0B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E2 [09:55:20]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:55:20]wFMCommunicate OK [09:55:20]SAM_PROTO_GetShiftState done [09:55:20]FM_GetShiftState done [09:55:20]opened in 1720829646 [09:55:20]opened+sec_in_day 1720916046 [09:55:20]quantity*price = 16000 [09:55:20]sum+1 = 16001 [09:55:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 34 13.07.2024 09:55 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42989 ФПД: 122469032636284 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095523&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42989&fm=122469032636284&tin=02508201610067®Number=0000000000091176&sum=16000 0 [09:55:21]StoreToDocumentArchive [09:55:21]shift 445 fd 42989 [09:55:21]save to /storage/0445/doc_00042989 [09:55:21]save last doc name /storage/0445/doc_00042989 to /storage/kkm_last_doc_name [09:55:21]save OK [09:55:21]Clear old archive folders... [09:55:21]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:55:21]tlvbuf is 015A2D00 [09:55:21]SAM_PROTO_ClearQueue [09:55:21]wFMCommunicate request_size=4 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 09 00 00 [09:55:21]Write to MH i2c: E2 08 00 D0 0B 80 09 00 00 00 00 00 00 4D [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 D0 0B 00 90 00 4F [09:55:21]RAPDU: 90 00 [09:55:21]wFMCommunicate OK [09:55:21]SAM_PROTO_ClearQueue done [09:55:21]KKMCreateOFDPacket [09:55:21]OFDProtocolAddRootSTLVToBuf [09:55:21]FM_MakeSignedData [09:55:21]FM_MakeSignedData [09:55:21]SAM_PROTO_SignData [09:55:21]wFMCommunicate request_size=4 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 0D 01 02 [09:55:21]Write to MH i2c: E2 08 00 D1 0B 80 0D 01 02 00 00 00 00 55 [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 D1 0B 00 90 00 50 [09:55:21]RAPDU: 90 00 [09:55:21]wFMCommunicate OK [09:55:21]wFMCommunicate request_size=255 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 0B 4F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 [09:55:21]Write to MH i2c: E2 02 01 D2 0B 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 0B 4F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 C6 [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 D2 0B 00 90 00 51 [09:55:21]RAPDU: 90 00 [09:55:21]wFMCommunicate OK [09:55:21]wFMCommunicate request_size=30 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 0D 02 02 19 30 38 37 34 39 33 35 10 04 04 00 ED A7 00 00 35 04 06 00 6F 62 8B 2F AF 7C [09:55:21]Write to MH i2c: E2 21 00 D3 0B 80 0D 02 02 19 00 30 38 37 34 39 33 35 10 04 04 00 ED A7 00 00 35 04 06 00 6F 62 8B 2F AF 7C 00 00 9F [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 03 00 D3 0B 00 90 00 52 [09:55:21]RAPDU: 90 00 [09:55:21]wFMCommunicate OK [09:55:21]wFMCommunicate request_size=4 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 0D 03 02 [09:55:21]Write to MH i2c: E2 08 00 D4 0B 80 0D 03 02 00 00 00 00 5A [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 0B 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 0B 00 D4 0B 00 61 9E AD 1C 52 75 16 48 90 00 48 [09:55:21]RAPDU: 61 9E AD 1C 52 75 16 48 90 00 [09:55:21]wFMCommunicate OK [09:55:21]SAM_PROTO_SignData done [09:55:21]FM_MakeSignedData done [09:55:21]CreateOFDProtocolMessage [09:55:21]wFMCommunicate request_size=4 [09:55:21]MH_SAM_APDU [09:55:21]CAPDU: 80 11 00 00 [09:55:21]Write to MH i2c: E2 08 00 D5 0B 80 11 00 00 00 00 00 00 5A [09:55:21]Write i2c OK [09:55:21]MH_I2C_Read... [09:55:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:21]Read from MH i2c: E2 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 17 00 [09:55:21]MH_I2C_Read... [09:55:21]Read from MH i2c: E2 17 00 D5 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B1 [09:55:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:55:21]wFMCommunicate OK [09:55:21]CreateOFDProtocolMessage done [09:55:21]OFDSenderStorePacket 42989 [09:55:21]StoreOFDPacket docnum=42989 [09:55:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 37 29 1B 01 78 E6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 0B 4F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 ED A7 00 00 35 04 06 00 6F 62 8B 2F AF 7C 61 9E AD 1C 52 75 16 48 [09:55:21]CheckFolder [09:55:21]dirname=/storage/ofd_packets [09:55:21]CheckFolder done [09:55:21]ProducePacketName [09:55:21]name=ofd_packets/00042989 [09:55:21]NVStorageSaveData ofd_packets/00042989 [09:55:21]File name is /storage/ofd_packets/00042989 [09:55:21]Write 321 bytes [09:55:21]NVStorageSaveData done [09:55:21]OFDSenderStorePacket done [09:55:21]KKMCreateOFDPacket done [09:55:21]NVStorageSaveData kkm_last_timestamp [09:55:21]File name is /storage/kkm_last_timestamp [09:55:21]Write 4 bytes [09:55:21]NVStorageSaveData done [09:55:21]OFD Sender: Processing packet 42989 [packets to send 31, broken 30] [09:55:21]ProducePacketName [09:55:21]name=ofd_packets/00042989 [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]ExternCall_PrintAddStr [09:55:21]wPrintStart [09:55:21]Write to MH i2c: 01 00 00 D6 0B E1 [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 D6 0B 00 00 00 00 00 FF 0F F6 [09:55:21]RasterBufferAndPrint [09:55:21]line Счет N : (3)300117 [09:55:21]line ИНН: 02508201610067 [09:55:21]line Контрольно-Кассовый Чек [09:55:21]line ПРОДАЖА [09:55:21]line Товар: 4700000160211 [09:55:21]line Вода Легенда 0,5л [09:55:21]line 4.000 * 40.00 [09:55:21]line = 160.00 [09:55:21]line НДС 12% НСП 1% [09:55:21]line > о реализуемом товаре [09:55:21]line ИТОГО: 160.00 [09:55:21]line НСП 1% : 1.42 [09:55:21]line НДС 12% : 16.99 [09:55:21]line Наличными: 160.00 [09:55:21]line Безнал.: 0.00 [09:55:21]line Место: АЗС № 71 "Партнер Нефть" [09:55:21]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [09:55:21]line СНО: Общий режим [09:55:21]line Чек 34 13.07.2024 09:55 [09:55:21]line Смена: 445 ФФД: 1.0 [09:55:21]line ЗНМ: 0300000153 [09:55:21]line РНМ: 0000000000091176 [09:55:21]line Версия ККМ: 001 [09:55:21]line ФМ: 0000000000874935 [09:55:21]line ФД: 42989 [09:55:21]line ФПД: 122469032636284 [09:55:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T095523&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42989&fm=122469032636284&tin=02508201610067®Number=0000000000091176&sum=16000 [09:55:22]line 0 [09:55:22]Connected sock=11 [09:55:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 37 29 1B 01 78 E6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 0B 4F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 ED A7 00 00 35 04 06 00 6F 62 8B 2F AF 7C 61 9E AD 1C 52 75 16 48 [09:55:22]written 0, free lines is 4095 [09:55:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 22 9D 47 00 FF AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 ED A7 00 00 F4 03 04 00 05 FB 91 66 B6 04 01 00 00 4D A6 40 30 4A 95 78 74 [09:55:22]CommunicateWithHost err = 0 [09:55:22]CheckOFDResponse [09:55:22]1017 (14) - 77093643461234 [09:55:22]1041 (16) - 0000000000874935 [09:55:22]1040 (4) - 42989 [09:55:22]1012 (4) - 13.07.2024 03:56 [09:55:22]1206 (1) - 0 [09:55:22]OFD Sender: Remove packet 42989 [09:55:22]ProducePacketName [09:55:22]name=ofd_packets/00042989 [09:55:22]NVStorageDeleteData [09:55:22]Write to MH i2c: 01 00 00 FE 0B 09 [09:55:22]Write i2c OK [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: 01 [09:55:22]MH_I2C_Read... [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 FE 0B 00 00 00 00 00 10 0D 2D [09:55:22]RasterBufferAndPrint [09:55:22]line [09:55:22]line [09:55:22]line [09:55:22]line [09:55:22]line [09:55:22]written 0, free lines is 3350 [09:55:22]MH_Cut [09:55:22]Write to MH i2c: D1 01 00 05 0C 01 E3 [09:55:22]Write i2c OK [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: D1 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: D1 01 00 [09:55:22]MH_I2C_Read... [09:55:22]Read from MH i2c: D1 01 00 05 0C 00 E2 [09:55:22]Write to MH i2c: 01 00 00 06 0C 12 [09:55:22]Write i2c OK [09:55:22]MH_I2C_Read... [09:55:22]OFD Sender: No OFD packet to send [09:55:23]*** Cut start [09:55:23]*** Partial cut [09:55:23]*** CUTSNS_PIN = 1 [09:55:23]*** CUTSNS_PIN = 0 [09:55:23]*** Brake cut motor [09:55:23]Read from MH i2c: 01 [09:55:23]MH_I2C_Read... [09:55:23]*** Stop cut motor [09:55:23]*** Cut end [09:55:23]Read from MH i2c: 01 07 00 [09:55:23]MH_I2C_Read... [09:55:23]Read from MH i2c: 01 07 00 06 0C 00 00 00 00 00 FF 0F 27 [09:55:23]process_action close_receipt done [09:55:23]requested_data is exist [09:55:23]produce_requested_data [09:55:23]requested_item fm.sn is exist - process it [09:55:23]wFMCommunicate request_size=4 [09:55:23]MH_SAM_APDU [09:55:23]CAPDU: 80 11 00 00 [09:55:23]Write to MH i2c: E2 08 00 07 0C 80 11 00 00 00 00 00 00 8D [09:55:23]Write i2c OK [09:55:23]MH_I2C_Read... [09:55:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:23]Read from MH i2c: E2 [09:55:23]MH_I2C_Read... [09:55:23]Read from MH i2c: E2 17 00 [09:55:23]MH_I2C_Read... [09:55:23]Read from MH i2c: E2 17 00 07 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E4 [09:55:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [09:55:23]wFMCommunicate OK [09:55:23]requested_item fd.num is exist - process it [09:55:23]SAM_PROTO_GetFieldsCounters [09:55:23]wFMCommunicate request_size=4 [09:55:23]MH_SAM_APDU [09:55:23]CAPDU: 80 13 00 00 [09:55:23]Write to MH i2c: E2 08 00 08 0C 80 13 00 00 00 00 00 00 90 [09:55:23]Write i2c OK [09:55:23]MH_I2C_Read... [09:55:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:55:24]Read from MH i2c: E2 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 62 00 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 62 00 08 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 ED A7 00 00 0E 04 04 00 BD 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 6C [09:55:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 ED A7 00 00 0E 04 04 00 BD 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 [09:55:24]wFMCommunicate OK [09:55:24]SAM_PROTO_GetFieldsCounters done [09:55:24]requested_item shift.num is exist - process it [09:55:24]requested_item shift.opened is exist - process it [09:55:24]req_shift_opened [09:55:24]FM_GetShiftState [09:55:24]SAM_PROTO_GetShiftState [09:55:24]wFMCommunicate request_size=4 [09:55:24]MH_SAM_APDU [09:55:24]CAPDU: 80 13 01 00 [09:55:24]Write to MH i2c: E2 08 00 09 0C 80 13 01 00 00 00 00 00 92 [09:55:24]Write i2c OK [09:55:24]MH_I2C_Read... [09:55:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:24]Read from MH i2c: E2 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 0E 00 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 0E 00 09 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 29 [09:55:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [09:55:24]wFMCommunicate OK [09:55:24]SAM_PROTO_GetShiftState done [09:55:24]FM_GetShiftState done [09:55:24]req_shift_opened done [09:55:24]requested_item shift.open_date is exist - process it [09:55:24]req_shift_open_date [09:55:24]req_shift_open_date done [09:55:24]requested_item shift.sale.total is exist - process it [09:55:24]SAM_PROTO_GetShiftData [09:55:24]wFMCommunicate request_size=4 [09:55:24]MH_SAM_APDU [09:55:24]CAPDU: 80 13 02 00 [09:55:24]Write to MH i2c: E2 08 00 0A 0C 80 13 02 00 00 00 00 00 94 [09:55:24]Write i2c OK [09:55:24]MH_I2C_Read... [09:55:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:55:24]Read from MH i2c: E2 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 FD 00 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 FD 00 0A 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 F8 A3 09 70 04 03 00 0C 32 08 72 04 03 00 EC 71 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 15 06 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E5 [09:55:24]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 F8 A3 09 70 04 03 00 0C 32 08 72 04 03 00 EC 71 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 15 06 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D3 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [09:55:24]wFMCommunicate OK [09:55:24]wFMCommunicate request_size=4 [09:55:24]MH_SAM_APDU [09:55:24]CAPDU: 80 17 00 00 [09:55:24]Write to MH i2c: E2 08 00 0B 0C 80 17 00 00 00 00 00 00 97 [09:55:24]Write i2c OK [09:55:24]MH_I2C_Read... [09:55:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:55:24]Read from MH i2c: E2 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 FD 00 [09:55:24]MH_I2C_Read... [09:55:24]Read from MH i2c: E2 FD 00 0B 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B9 [09:55:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [09:55:24]wFMCommunicate OK [09:55:24]wFMCommunicate request_size=4 [09:55:24]MH_SAM_APDU [09:55:24]CAPDU: 80 17 00 00 [09:55:24]Write to MH i2c: E2 08 00 0C 0C 80 17 00 00 00 00 00 00 98 [09:55:24]Write i2c OK [09:55:24]MH_I2C_Read... [09:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:55:25]Read from MH i2c: E2 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 FD 00 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 FD 00 0C 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 4F [09:55:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [09:55:25]wFMCommunicate OK [09:55:25]wFMCommunicate request_size=4 [09:55:25]MH_SAM_APDU [09:55:25]CAPDU: 80 17 00 00 [09:55:25]Write to MH i2c: E2 08 00 0D 0C 80 17 00 00 00 00 00 00 99 [09:55:25]Write i2c OK [09:55:25]MH_I2C_Read... [09:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:55:25]Read from MH i2c: E2 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 FD 00 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 FD 00 0D 0C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0B [09:55:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [09:55:25]wFMCommunicate OK [09:55:25]wFMCommunicate request_size=4 [09:55:25]MH_SAM_APDU [09:55:25]CAPDU: 80 17 00 00 [09:55:25]Write to MH i2c: E2 08 00 0E 0C 80 17 00 00 00 00 00 00 9A [09:55:25]Write i2c OK [09:55:25]MH_I2C_Read... [09:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:55:25]Read from MH i2c: E2 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 CB 00 [09:55:25]MH_I2C_Read... [09:55:25]Read from MH i2c: E2 CB 00 0E 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [09:55:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:55:25]wFMCommunicate OK [09:55:25]SAM_PROTO_GetShiftData done [09:55:25]requested_item shift.sale.total_cash is exist - process it [09:55:25]requested_item shift.sale_refund.total is exist - process it [09:55:25]requested_item shift.sale_refund.total_cash is exist - process it [09:55:25]produce_requested_data done [09:55:25]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42989,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6318.00,"shift.sale.total_cash":5371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:55:25]process_action_free close_receipt [09:55:25]json_value_free [09:55:25]json_value_free done [09:55:25]process_json_proto returns [09:55:25]Send response to host [09:55:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42989,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6318.00,"shift.sale.total_cash":5371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:55:25]free response buf [09:55:25]execute_script done [09:55:25]execute_script returns [09:55:25]free content buf [09:55:25]Sock 10.Close socket [09:55:25]Sock 10.Thread stoped [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]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:24]accept exits with 7 [10:00:24]New connection [10:00:24]New thread 3067530596 created [10:00:24]Thread 3067387236 joined [10:00:24]Waiting for new connection... [10:00:24] Sock 7.Parse request [10:00:24]Sock 7.Check first char [10:00:24]Sock 7.First char is OK [10:00:24]request: POST /json_proto HTTP/1.0 [10:00:24]Method: POST [10:00:24]URL: /json_proto [10:00:24]Method is POST - this is cgi request [10:00:24]url: /json_proto [10:00:24]query_string will be loaded in cgi processing [10:00:24]execute_cgi json_proto POST (null) [10:00:24]execute_cgi path=json_proto method=POST [10:00:24]POST find Content-Length [10:00:24]Host: 172.17.38.197:8080 [10:00:24]Content-Length: 1014 [10:00:24]Content-Type: application/json [10:00:24] [10:00:24]POST finish read [10:00:24]Found Content-Length = 1014 [10:00:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300118", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:00:24]execute_script... [10: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 : (3)300118", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:00:24]POST & json_proto [10:00:24]process_json_proto [10:00:24]json parsed OK: [10:00:24]protocol is kg_v1.0 [10:00:24]action value=close_receipt [10:00:24]process_action close_receipt [10:00:24]cmd_close_receipt [10:00:24]MH_GetDate [10:00:24]Write to MH i2c: F0 00 00 0F 0C 0A [10:00:24]Write i2c OK [10:00:24]MH_I2C_Read... [10:00:24]Read from MH i2c: F0 [10:00:24]MH_I2C_Read... [10:00:24]Read from MH i2c: F0 09 00 [10:00:24]MH_I2C_Read... [10:00:24]Read from MH i2c: F0 09 00 0F 0C 00 3B 50 92 66 1E 0D 88 66 AF [10:00:24]GetLastDocTimeStamp 1720864523 [10:00:24]current date 1720864827 [10:00:24]FM_GetShiftState [10:00:24]SAM_PROTO_GetShiftState [10:00:24]wFMCommunicate request_size=4 [10:00:24]MH_SAM_APDU [10:00:24]CAPDU: 80 13 01 00 [10:00:24]Write to MH i2c: E2 08 00 10 0C 80 13 01 00 00 00 00 00 99 [10:00:24]Write i2c OK [10:00:24]MH_I2C_Read... [10:00:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:24]Read from MH i2c: E2 [10:00:24]MH_I2C_Read... [10:00:24]Read from MH i2c: E2 0E 00 [10:00:24]MH_I2C_Read... [10:00:24]Read from MH i2c: E2 0E 00 10 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 30 [10:00:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:00:24]wFMCommunicate OK [10:00:24]SAM_PROTO_GetShiftState done [10:00:24]FM_GetShiftState done [10:00:24]opened in 1720829646 [10:00:24]opened+sec_in_day 1720916046 [10:00:24]quantity*price = 9500 [10:00:24]sum+1 = 9501 [10:00:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 35 13.07.2024 10:00 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 42990 ФПД: 217595141150759 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100028&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42990&fm=217595141150759&tin=02508201610067®Number=0000000000091176&sum=9500 0 [10:00:26]StoreToDocumentArchive [10:00:26]shift 445 fd 42990 [10:00:26]save to /storage/0445/doc_00042990 [10:00:26]save last doc name /storage/0445/doc_00042990 to /storage/kkm_last_doc_name [10:00:26]save OK [10:00:26]Clear old archive folders... [10:00:26]ProcessDocumentItem done err = 0, tmpTLVsize=304 [10:00:26]tlvbuf is 01553890 [10:00:26]SAM_PROTO_ClearQueue [10:00:26]wFMCommunicate request_size=4 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 09 00 00 [10:00:26]Write to MH i2c: E2 08 00 1D 0C 80 09 00 00 00 00 00 00 9B [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 1D 0C 00 90 00 9D [10:00:26]RAPDU: 90 00 [10:00:26]wFMCommunicate OK [10:00:26]SAM_PROTO_ClearQueue done [10:00:26]KKMCreateOFDPacket [10:00:26]OFDProtocolAddRootSTLVToBuf [10:00:26]FM_MakeSignedData [10:00:26]FM_MakeSignedData [10:00:26]SAM_PROTO_SignData [10:00:26]wFMCommunicate request_size=4 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 0D 01 02 [10:00:26]Write to MH i2c: E2 08 00 1E 0C 80 0D 01 02 00 00 00 00 A3 [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 1E 0C 00 90 00 9E [10:00:26]RAPDU: 90 00 [10:00:26]wFMCommunicate OK [10:00:26]wFMCommunicate request_size=255 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3C 50 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 [10:00:26]Write to MH i2c: E2 02 01 1F 0C 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3C 50 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 00 00 4E [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 1F 0C 00 90 00 9F [10:00:26]RAPDU: 90 00 [10:00:26]wFMCommunicate OK [10:00:26]wFMCommunicate request_size=63 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EE A7 00 00 35 04 06 00 C5 E6 D1 17 D8 27 [10:00:26]Write to MH i2c: E2 42 00 20 0C 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EE A7 00 00 35 04 06 00 C5 E6 D1 17 D8 27 00 00 1A [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 03 00 20 0C 00 90 00 A0 [10:00:26]RAPDU: 90 00 [10:00:26]wFMCommunicate OK [10:00:26]wFMCommunicate request_size=4 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 0D 03 02 [10:00:26]Write to MH i2c: E2 08 00 21 0C 80 0D 03 02 00 00 00 00 A8 [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 0B 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 0B 00 21 0C 00 DB 44 B5 16 90 B9 16 8E 90 00 80 [10:00:26]RAPDU: DB 44 B5 16 90 B9 16 8E 90 00 [10:00:26]wFMCommunicate OK [10:00:26]SAM_PROTO_SignData done [10:00:26]FM_MakeSignedData done [10:00:26]CreateOFDProtocolMessage [10:00:26]wFMCommunicate request_size=4 [10:00:26]MH_SAM_APDU [10:00:26]CAPDU: 80 11 00 00 [10:00:26]Write to MH i2c: E2 08 00 22 0C 80 11 00 00 00 00 00 00 A8 [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:26]Read from MH i2c: E2 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 17 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: E2 17 00 22 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 FF [10:00:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:00:26]wFMCommunicate OK [10:00:26]CreateOFDProtocolMessage done [10:00:26]OFDSenderStorePacket 42990 [10:00:26]StoreOFDPacket docnum=42990 [10:00:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 44 01 00 00 35 54 3C 01 F1 C0 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3C 50 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EE A7 00 00 35 04 06 00 C5 E6 D1 17 D8 27 DB 44 B5 16 90 B9 16 8E [10:00:26]CheckFolder [10:00:26]dirname=/storage/ofd_packets [10:00:26]CheckFolder done [10:00:26]ProducePacketName [10:00:26]name=ofd_packets/00042990 [10:00:26]NVStorageSaveData ofd_packets/00042990 [10:00:26]File name is /storage/ofd_packets/00042990 [10:00:26]Write 354 bytes [10:00:26]NVStorageSaveData done [10:00:26]OFDSenderStorePacket done [10:00:26]KKMCreateOFDPacket done [10:00:26]NVStorageSaveData kkm_last_timestamp [10:00:26]File name is /storage/kkm_last_timestamp [10:00:26]Write 4 bytes [10:00:26]NVStorageSaveData done [10:00:26]ExternCall_PrintAddStr [10:00:26]wPrintStart [10:00:26]Write to MH i2c: 01 00 00 23 0C 2F [10:00:26]Write i2c OK [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: 01 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: 01 07 00 [10:00:26]MH_I2C_Read... [10:00:26]Read from MH i2c: 01 07 00 23 0C 00 00 00 00 00 FF 0F 44 [10:00:26]RasterBufferAndPrint [10:00:26]line Счет N : (3)300118 [10:00:26]line ИНН: 02508201610067 [10:00:26]line Контрольно-Кассовый Чек [10:00:26]line ПРОДАЖА [10:00:26]line Товар: 4700000480302 [10:00:26]line Напиток энерг Nitro манго-клуб 0.45 ж/б [10:00:26]line 1.000 * 95.00 [10:00:26]line = 95.00 [10:00:26]line НДС 12% НСП 1% [10:00:26]line > о реализуемом товаре [10:00:26]line ИТОГО: 95.00 [10:00:26]line НСП 1% : 0.84 [10:00:26]line НДС 12% : 10.09 [10:00:26]line Наличными: 0.00 [10:00:26]line Безнал.: 95.00 [10:00:26]line Место: АЗС № 71 "Партнер Нефть" [10:00:26]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:00:26]line СНО: Общий режим [10:00:26]line Чек 35 13.07.2024 10:00 [10:00:26]line Смена: 445 ФФД: 1.0 [10:00:26]line ЗНМ: 0300000153 [10:00:26]line РНМ: 0000000000091176 [10:00:26]line Версия ККМ: 001 [10:00:26]line Платежная система: АКБ Кыргызстан [10:00:26]line ФМ: 0000000000874935 [10:00:26]line ФД: 42990 [10:00:26]line ФПД: 217595141150759 [10:00:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100028&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42990&fm=217595141150759&tin=02508201610067®Number=0000000000091176&sum=9500 [10:00:27]line 0 [10:00:27]OFD Sender: Processing packet 42990 [packets to send 31, broken 30] [10:00:27]ProducePacketName [10:00:27]name=ofd_packets/00042990 [10:00:27]OFD Sender: To server: pG, [10:00:27]CommunicateWithHost lk.salyk.kg:30040 [10:00:27]ConnectInit lk.salyk.kg [10:00:27]written 0, free lines is 4095 [10:00:27]Connected sock=10 [10:00:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 44 01 00 00 35 54 3C 01 F1 C0 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 3C 50 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EE A7 00 00 35 04 06 00 C5 E6 D1 17 D8 27 DB 44 B5 16 90 B9 16 8E [10:00:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 6B 5A 47 00 F8 AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EE A7 00 00 F4 03 04 00 36 FC 91 66 B6 04 01 00 00 DE 0E 83 30 14 8C DB 3D [10:00:27]CommunicateWithHost err = 0 [10:00:27]CheckOFDResponse [10:00:27]1017 (14) - 77093643461234 [10:00:27]1041 (16) - 0000000000874935 [10:00:27]1040 (4) - 42990 [10:00:27]1012 (4) - 13.07.2024 04:01 [10:00:27]1206 (1) - 0 [10:00:27]OFD Sender: Remove packet 42990 [10:00:27]ProducePacketName [10:00:27]name=ofd_packets/00042990 [10:00:27]NVStorageDeleteData [10:00:27]Write to MH i2c: 01 00 00 4E 0C 5A [10:00:27]Write i2c OK [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: 01 [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: 01 07 00 [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: 01 07 00 4E 0C 00 00 00 00 00 DB 0C 48 [10:00:27]RasterBufferAndPrint [10:00:27]line [10:00:27]line [10:00:27]line [10:00:27]line [10:00:27]line [10:00:27]written 0, free lines is 3298 [10:00:27]MH_Cut [10:00:27]Write to MH i2c: D1 01 00 55 0C 01 33 [10:00:27]Write i2c OK [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: D1 [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: D1 01 00 [10:00:27]MH_I2C_Read... [10:00:27]Read from MH i2c: D1 01 00 55 0C 00 32 [10:00:27]Write to MH i2c: 01 00 00 56 0C 62 [10:00:27]Write i2c OK [10:00:27]MH_I2C_Read... [10:00:27]OFD Sender: No OFD packet to send [10:00:28]*** Cut start [10:00:28]*** Partial cut [10:00:28]*** CUTSNS_PIN = 1 [10:00:28]*** CUTSNS_PIN = 0 [10:00:28]*** Brake cut motor [10:00:28]Read from MH i2c: 01 [10:00:28]MH_I2C_Read... [10:00:28]*** Stop cut motor [10:00:28]*** Cut end [10:00:28]Read from MH i2c: 01 07 00 [10:00:28]MH_I2C_Read... [10:00:28]Read from MH i2c: 01 07 00 56 0C 00 00 00 00 00 FF 0F 77 [10:00:28]process_action close_receipt done [10:00:28]requested_data is exist [10:00:28]produce_requested_data [10:00:28]requested_item fm.sn is exist - process it [10:00:28]wFMCommunicate request_size=4 [10:00:28]MH_SAM_APDU [10:00:28]CAPDU: 80 11 00 00 [10:00:28]Write to MH i2c: E2 08 00 57 0C 80 11 00 00 00 00 00 00 DD [10:00:28]Write i2c OK [10:00:28]MH_I2C_Read... [10:00:28]Read from MH i2c: E2 [10:00:28]MH_I2C_Read... [10:00:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:28]Read from MH i2c: E2 17 00 [10:00:28]MH_I2C_Read... [10:00:28]Read from MH i2c: E2 17 00 57 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 34 [10:00:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:00:28]wFMCommunicate OK [10:00:28]requested_item fd.num is exist - process it [10:00:28]SAM_PROTO_GetFieldsCounters [10:00:28]wFMCommunicate request_size=4 [10:00:28]MH_SAM_APDU [10:00:28]CAPDU: 80 13 00 00 [10:00:28]Write to MH i2c: E2 08 00 58 0C 80 13 00 00 00 00 00 00 E0 [10:00:28]Write i2c OK [10:00:28]MH_I2C_Read... [10:00:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:00:29]Read from MH i2c: E2 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 62 00 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 62 00 58 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EE A7 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [10:00:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EE A7 00 00 0E 04 04 00 BD 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 [10:00:29]wFMCommunicate OK [10:00:29]SAM_PROTO_GetFieldsCounters done [10:00:29]requested_item shift.num is exist - process it [10:00:29]requested_item shift.opened is exist - process it [10:00:29]req_shift_opened [10:00:29]FM_GetShiftState [10:00:29]SAM_PROTO_GetShiftState [10:00:29]wFMCommunicate request_size=4 [10:00:29]MH_SAM_APDU [10:00:29]CAPDU: 80 13 01 00 [10:00:29]Write to MH i2c: E2 08 00 59 0C 80 13 01 00 00 00 00 00 E2 [10:00:29]Write i2c OK [10:00:29]MH_I2C_Read... [10:00:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:29]Read from MH i2c: E2 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 0E 00 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 0E 00 59 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 79 [10:00:29]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:00:29]wFMCommunicate OK [10:00:29]SAM_PROTO_GetShiftState done [10:00:29]FM_GetShiftState done [10:00:29]req_shift_opened done [10:00:29]requested_item shift.open_date is exist - process it [10:00:29]req_shift_open_date [10:00:29]req_shift_open_date done [10:00:29]requested_item shift.sale.total is exist - process it [10:00:29]SAM_PROTO_GetShiftData [10:00:29]wFMCommunicate request_size=4 [10:00:29]MH_SAM_APDU [10:00:29]CAPDU: 80 13 02 00 [10:00:29]Write to MH i2c: E2 08 00 5A 0C 80 13 02 00 00 00 00 00 E4 [10:00:29]Write i2c OK [10:00:29]MH_I2C_Read... [10:00:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:00:29]Read from MH i2c: E2 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 FD 00 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 FD 00 5A 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 14 C9 09 70 04 03 00 0C 32 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 0A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 27 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 05 [10:00:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 14 C9 09 70 04 03 00 0C 32 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 0A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 27 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:00:29]wFMCommunicate OK [10:00:29]wFMCommunicate request_size=4 [10:00:29]MH_SAM_APDU [10:00:29]CAPDU: 80 17 00 00 [10:00:29]Write to MH i2c: E2 08 00 5B 0C 80 17 00 00 00 00 00 00 E7 [10:00:29]Write i2c OK [10:00:29]MH_I2C_Read... [10:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:00:29]Read from MH i2c: E2 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 FD 00 [10:00:29]MH_I2C_Read... [10:00:29]Read from MH i2c: E2 FD 00 5B 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 09 [10:00:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:00:29]wFMCommunicate OK [10:00:29]wFMCommunicate request_size=4 [10:00:29]MH_SAM_APDU [10:00:29]CAPDU: 80 17 00 00 [10:00:29]Write to MH i2c: E2 08 00 5C 0C 80 17 00 00 00 00 00 00 E8 [10:00:29]Write i2c OK [10:00:29]MH_I2C_Read... [10:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:00:30]Read from MH i2c: E2 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 FD 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 FD 00 5C 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 9F [10:00:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:00:30]wFMCommunicate OK [10:00:30]wFMCommunicate request_size=4 [10:00:30]MH_SAM_APDU [10:00:30]CAPDU: 80 17 00 00 [10:00:30]Write to MH i2c: E2 08 00 5D 0C 80 17 00 00 00 00 00 00 E9 [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:00:30]Read from MH i2c: E2 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 FD 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 FD 00 5D 0C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 5B [10:00:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:00:30]wFMCommunicate OK [10:00:30]wFMCommunicate request_size=4 [10:00:30]MH_SAM_APDU [10:00:30]CAPDU: 80 17 00 00 [10:00:30]Write to MH i2c: E2 08 00 5E 0C 80 17 00 00 00 00 00 00 EA [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:00:30]Read from MH i2c: E2 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 CB 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: E2 CB 00 5E 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D3 [10:00:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:00:30]wFMCommunicate OK [10:00:30]SAM_PROTO_GetShiftData done [10:00:30]requested_item shift.sale.total_cash is exist - process it [10:00:30]requested_item shift.sale_refund.total is exist - process it [10:00:30]requested_item shift.sale_refund.total_cash is exist - process it [10:00:30]produce_requested_data done [10:00:30]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42990,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6413.00,"shift.sale.total_cash":5371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:00:30]process_action_free close_receipt [10:00:30]json_value_free [10:00:30]json_value_free done [10:00:30]process_json_proto returns [10:00:30]Send response to host [10:00:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42990,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6413.00,"shift.sale.total_cash":5371.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:00:30]free response buf [10:00:30]execute_script done [10:00:30]execute_script returns [10:00:30]free content buf [10:00:30]Sock 7.Close socket [10:00:30]Sock 7.Thread stoped [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]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:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]OFD Sender: No OFD packet to send [10:05:08]OFD Sender: No OFD packet to send [10:05:13]OFD Sender: No OFD packet to send [10:05:18]OFD Sender: No OFD packet to send [10:05:23]OFD Sender: No OFD packet to send [10:05:28]OFD Sender: No OFD packet to send [10:05:33]OFD Sender: No OFD packet to send [10:05:38]OFD Sender: No OFD packet to send [10:05:43]OFD Sender: No OFD packet to send [10:05:48]OFD Sender: No OFD packet to send [10:05:53]OFD Sender: No OFD packet to send [10:05:58]OFD Sender: No OFD packet to send [10:06:03]OFD Sender: No OFD packet to send [10:06:08]OFD Sender: No OFD packet to send [10:06:13]OFD Sender: No OFD packet to send [10:06:18]OFD Sender: No OFD packet to send [10:06:23]OFD Sender: No OFD packet to send [10:06:28]OFD Sender: No OFD packet to send [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:16]accept exits with 9 [10:07:16]New connection [10:07:16]New thread 3067387236 created [10:07:16]Thread 3067530596 joined [10:07:16]Waiting for new connection... [10:07:16] Sock 9.Parse request [10:07:16]Sock 9.Check first char [10:07:16]Sock 9.First char is OK [10:07:16]request: POST /json_proto HTTP/1.0 [10:07:16]Method: POST [10:07:16]URL: /json_proto [10:07:16]Method is POST - this is cgi request [10:07:16]url: /json_proto [10:07:16]query_string will be loaded in cgi processing [10:07:16]execute_cgi json_proto POST (null) [10:07:16]execute_cgi path=json_proto method=POST [10:07:16]POST find Content-Length [10:07:16]Host: 172.17.38.197:8080 [10:07:16]Content-Length: 725 [10:07:16]Content-Type: application/json [10:07:16] [10:07:16]POST finish read [10:07:16]Found Content-Length = 725 [10:07:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300119", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:16]execute_script... [10:07:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300119", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:16]POST & json_proto [10:07:16]process_json_proto [10:07:16]json parsed OK: [10:07:16]protocol is kg_v1.0 [10:07:16]action value=close_receipt [10:07:16]process_action close_receipt [10:07:16]cmd_close_receipt [10:07:16]MH_GetDate [10:07:16]Write to MH i2c: F0 00 00 5F 0C 5A [10:07:16]Write i2c OK [10:07:16]MH_I2C_Read... [10:07:16]Read from MH i2c: F0 [10:07:16]MH_I2C_Read... [10:07:16]Read from MH i2c: F0 09 00 [10:07:16]MH_I2C_Read... [10:07:16]Read from MH i2c: F0 09 00 5F 0C 00 D7 51 92 66 1E 0D 88 66 9C [10:07:16]GetLastDocTimeStamp 1720864828 [10:07:16]current date 1720865239 [10:07:16]FM_GetShiftState [10:07:16]SAM_PROTO_GetShiftState [10:07:16]wFMCommunicate request_size=4 [10:07:16]MH_SAM_APDU [10:07:16]CAPDU: 80 13 01 00 [10:07:16]Write to MH i2c: E2 08 00 60 0C 80 13 01 00 00 00 00 00 E9 [10:07:16]Write i2c OK [10:07:16]MH_I2C_Read... [10:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:16]Read from MH i2c: E2 [10:07:16]MH_I2C_Read... [10:07:16]Read from MH i2c: E2 0E 00 [10:07:16]MH_I2C_Read... [10:07:16]Read from MH i2c: E2 0E 00 60 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 80 [10:07:16]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:07:16]wFMCommunicate OK [10:07:16]SAM_PROTO_GetShiftState done [10:07:16]FM_GetShiftState done [10:07:16]opened in 1720829646 [10:07:16]opened+sec_in_day 1720916046 [10:07:16]quantity*price = 14000 [10:07:16]sum+1 = 14001 [10:07:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 36 13.07.2024 10:07 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42991 ФПД: 163186234661011 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100719&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42991&fm=163186234661011&tin=02508201610067®Number=0000000000091176&sum=14000 0 [10:07:18]StoreToDocumentArchive [10:07:18]shift 445 fd 42991 [10:07:18]save to /storage/0445/doc_00042991 [10:07:18]save last doc name /storage/0445/doc_00042991 to /storage/kkm_last_doc_name [10:07:18]save OK [10:07:18]Clear old archive folders... [10:07:18]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:07:18]tlvbuf is 01582F70 [10:07:18]SAM_PROTO_ClearQueue [10:07:18]wFMCommunicate request_size=4 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 09 00 00 [10:07:18]Write to MH i2c: E2 08 00 6D 0C 80 09 00 00 00 00 00 00 EB [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 6D 0C 00 90 00 ED [10:07:18]RAPDU: 90 00 [10:07:18]wFMCommunicate OK [10:07:18]SAM_PROTO_ClearQueue done [10:07:18]KKMCreateOFDPacket [10:07:18]OFDProtocolAddRootSTLVToBuf [10:07:18]FM_MakeSignedData [10:07:18]FM_MakeSignedData [10:07:18]SAM_PROTO_SignData [10:07:18]wFMCommunicate request_size=4 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 0D 01 02 [10:07:18]Write to MH i2c: E2 08 00 6E 0C 80 0D 01 02 00 00 00 00 F3 [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 6E 0C 00 90 00 EE [10:07:18]RAPDU: 90 00 [10:07:18]wFMCommunicate OK [10:07:18]wFMCommunicate request_size=255 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 D7 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [10:07:18]Write to MH i2c: E2 02 01 6F 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 D7 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 D5 [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]OFD Sender: No OFD packet to send [10:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 6F 0C 00 90 00 EF [10:07:18]RAPDU: 90 00 [10:07:18]wFMCommunicate OK [10:07:18]wFMCommunicate request_size=32 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 EF A7 00 00 35 04 06 00 94 6A C1 8C 98 93 [10:07:18]Write to MH i2c: E2 23 00 70 0C 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 EF A7 00 00 35 04 06 00 94 6A C1 8C 98 93 00 00 63 [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 03 00 70 0C 00 90 00 F0 [10:07:18]RAPDU: 90 00 [10:07:18]wFMCommunicate OK [10:07:18]wFMCommunicate request_size=4 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 0D 03 02 [10:07:18]Write to MH i2c: E2 08 00 71 0C 80 0D 03 02 00 00 00 00 F8 [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 0B 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 0B 00 71 0C 00 78 9D 50 F5 F8 93 75 55 90 00 A8 [10:07:18]RAPDU: 78 9D 50 F5 F8 93 75 55 90 00 [10:07:18]wFMCommunicate OK [10:07:18]SAM_PROTO_SignData done [10:07:18]FM_MakeSignedData done [10:07:18]CreateOFDProtocolMessage [10:07:18]wFMCommunicate request_size=4 [10:07:18]MH_SAM_APDU [10:07:18]CAPDU: 80 11 00 00 [10:07:18]Write to MH i2c: E2 08 00 72 0C 80 11 00 00 00 00 00 00 F8 [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:18]Read from MH i2c: E2 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 17 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: E2 17 00 72 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4F [10:07:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:07:18]wFMCommunicate OK [10:07:18]CreateOFDProtocolMessage done [10:07:18]OFDSenderStorePacket 42991 [10:07:18]StoreOFDPacket docnum=42991 [10:07:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 75 D6 1D 01 89 77 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 D7 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EF A7 00 00 35 04 06 00 94 6A C1 8C 98 93 78 9D 50 F5 F8 93 75 55 [10:07:18]CheckFolder [10:07:18]dirname=/storage/ofd_packets [10:07:18]CheckFolder done [10:07:18]ProducePacketName [10:07:18]name=ofd_packets/00042991 [10:07:18]NVStorageSaveData ofd_packets/00042991 [10:07:18]File name is /storage/ofd_packets/00042991 [10:07:18]Write 323 bytes [10:07:18]NVStorageSaveData done [10:07:18]OFDSenderStorePacket done [10:07:18]KKMCreateOFDPacket done [10:07:18]NVStorageSaveData kkm_last_timestamp [10:07:18]File name is /storage/kkm_last_timestamp [10:07:18]Write 4 bytes [10:07:18]NVStorageSaveData done [10:07:18]ExternCall_PrintAddStr [10:07:18]wPrintStart [10:07:18]Write to MH i2c: 01 00 00 73 0C 7F [10:07:18]Write i2c OK [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: 01 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: 01 07 00 [10:07:18]MH_I2C_Read... [10:07:18]Read from MH i2c: 01 07 00 73 0C 00 00 00 00 00 FF 0F 94 [10:07:18]RasterBufferAndPrint [10:07:18]line Счет N : (3)300119 [10:07:18]line ИНН: 02508201610067 [10:07:18]line Контрольно-Кассовый Чек [10:07:18]line ПРОДАЖА [10:07:18]line Товар: 48747059 [10:07:18]line Сигареты Winston Legend Blue [10:07:18]line 1.000 * 140.00 [10:07:18]line = 140.00 [10:07:18]line НДС 12% НСП 1% [10:07:18]line > о реализуемом товаре [10:07:18]line ИТОГО: 140.00 [10:07:18]line НСП 1% : 1.24 [10:07:18]line НДС 12% : 14.87 [10:07:18]line Наличными: 140.00 [10:07:18]line Безнал.: 0.00 [10:07:18]line Место: АЗС № 71 "Партнер Нефть" [10:07:18]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:07:18]line СНО: Общий режим [10:07:18]line Чек 36 13.07.2024 10:07 [10:07:18]line Смена: 445 ФФД: 1.0 [10:07:18]line ЗНМ: 0300000153 [10:07:18]line РНМ: 0000000000091176 [10:07:18]line Версия ККМ: 001 [10:07:18]line ФМ: 0000000000874935 [10:07:18]line ФД: 42991 [10:07:18]line ФПД: 163186234661011 [10:07:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100719&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42991&fm=163186234661011&tin=02508201610067®Number=0000000000091176&sum=14000 [10:07:18]line 0 [10:07:18]OFD Sender: Processing packet 42991 [packets to send 31, broken 30] [10:07:18]ProducePacketName [10:07:18]name=ofd_packets/00042991 [10:07:18]OFD Sender: To server: pG, [10:07:18]CommunicateWithHost lk.salyk.kg:30040 [10:07:18]ConnectInit lk.salyk.kg [10:07:18]written 0, free lines is 4095 [10:07:19]Connected sock=10 [10:07:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 75 D6 1D 01 89 77 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 D7 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 EF A7 00 00 35 04 06 00 94 6A C1 8C 98 93 78 9D 50 F5 F8 93 75 55 [10:07:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 8D 58 47 00 83 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 38 37 34 39 33 35 10 04 04 00 EF A7 00 00 F4 03 04 00 D2 FD 91 66 B6 04 01 00 00 91 FB 09 EB D8 E1 3C 08 [10:07:19]CommunicateWithHost err = 0 [10:07:19]CheckOFDResponse [10:07:19]1017 (14) - 77093643461234 [10:07:19]1041 (16) - 0000000000874935 [10:07:19]1040 (4) - 42991 [10:07:19]1012 (4) - 13.07.2024 04:08 [10:07:19]1206 (1) - 0 [10:07:19]OFD Sender: Remove packet 42991 [10:07:19]ProducePacketName [10:07:19]name=ofd_packets/00042991 [10:07:19]NVStorageDeleteData [10:07:19]Write to MH i2c: 01 00 00 9C 0C A8 [10:07:19]Write i2c OK [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: 01 [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: 01 07 00 [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: 01 07 00 9C 0C 00 00 00 00 00 EB 0C A6 [10:07:19]RasterBufferAndPrint [10:07:19]line [10:07:19]line [10:07:19]line [10:07:19]line [10:07:19]line [10:07:19]written 0, free lines is 3313 [10:07:19]MH_Cut [10:07:19]Write to MH i2c: D1 01 00 A3 0C 01 81 [10:07:19]Write i2c OK [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: D1 [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: D1 01 00 [10:07:19]MH_I2C_Read... [10:07:19]Read from MH i2c: D1 01 00 A3 0C 00 80 [10:07:19]Write to MH i2c: 01 00 00 A4 0C B0 [10:07:19]Write i2c OK [10:07:19]MH_I2C_Read... [10:07:19]OFD Sender: No OFD packet to send [10:07:20]*** Cut start [10:07:20]*** Partial cut [10:07:20]*** CUTSNS_PIN = 1 [10:07:20]*** CUTSNS_PIN = 0 [10:07:20]*** Brake cut motor [10:07:20]Read from MH i2c: 01 [10:07:20]MH_I2C_Read... [10:07:20]*** Stop cut motor [10:07:20]*** Cut end [10:07:20]Read from MH i2c: 01 07 00 [10:07:20]MH_I2C_Read... [10:07:20]Read from MH i2c: 01 07 00 A4 0C 00 00 00 00 00 FF 0F C5 [10:07:20]process_action close_receipt done [10:07:20]requested_data is exist [10:07:20]produce_requested_data [10:07:20]requested_item fm.sn is exist - process it [10:07:20]wFMCommunicate request_size=4 [10:07:20]MH_SAM_APDU [10:07:20]CAPDU: 80 11 00 00 [10:07:20]Write to MH i2c: E2 08 00 A5 0C 80 11 00 00 00 00 00 00 2B [10:07:20]Write i2c OK [10:07:20]MH_I2C_Read... [10:07:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:20]Read from MH i2c: E2 [10:07:20]MH_I2C_Read... [10:07:20]Read from MH i2c: E2 17 00 [10:07:20]MH_I2C_Read... [10:07:20]Read from MH i2c: E2 17 00 A5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 82 [10:07:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:07:20]wFMCommunicate OK [10:07:20]requested_item fd.num is exist - process it [10:07:20]SAM_PROTO_GetFieldsCounters [10:07:20]wFMCommunicate request_size=4 [10:07:20]MH_SAM_APDU [10:07:20]CAPDU: 80 13 00 00 [10:07:20]Write to MH i2c: E2 08 00 A6 0C 80 13 00 00 00 00 00 00 2E [10:07:20]Write i2c OK [10:07:20]MH_I2C_Read... [10:07:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:20]Read from MH i2c: E2 [10:07:20]MH_I2C_Read... [10:07:20]Read from MH i2c: E2 62 00 [10:07:20]MH_I2C_Read... [10:07:20]Read from MH i2c: E2 62 00 A6 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EF A7 00 00 0E 04 04 00 BD 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 12 [10:07:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 EF A7 00 00 0E 04 04 00 BD 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 [10:07:21]wFMCommunicate OK [10:07:21]SAM_PROTO_GetFieldsCounters done [10:07:21]requested_item shift.num is exist - process it [10:07:21]requested_item shift.opened is exist - process it [10:07:21]req_shift_opened [10:07:21]FM_GetShiftState [10:07:21]SAM_PROTO_GetShiftState [10:07:21]wFMCommunicate request_size=4 [10:07:21]MH_SAM_APDU [10:07:21]CAPDU: 80 13 01 00 [10:07:21]Write to MH i2c: E2 08 00 A7 0C 80 13 01 00 00 00 00 00 30 [10:07:21]Write i2c OK [10:07:21]MH_I2C_Read... [10:07:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:21]Read from MH i2c: E2 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 0E 00 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 0E 00 A7 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C7 [10:07:21]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:07:21]wFMCommunicate OK [10:07:21]SAM_PROTO_GetShiftState done [10:07:21]FM_GetShiftState done [10:07:21]req_shift_opened done [10:07:21]requested_item shift.open_date is exist - process it [10:07:21]req_shift_open_date [10:07:21]req_shift_open_date done [10:07:21]requested_item shift.sale.total is exist - process it [10:07:21]SAM_PROTO_GetShiftData [10:07:21]wFMCommunicate request_size=4 [10:07:21]MH_SAM_APDU [10:07:21]CAPDU: 80 13 02 00 [10:07:21]Write to MH i2c: E2 08 00 A8 0C 80 13 02 00 00 00 00 00 32 [10:07:21]Write i2c OK [10:07:21]MH_I2C_Read... [10:07:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:07:21]Read from MH i2c: E2 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 FD 00 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 FD 00 A8 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 C4 FF 09 70 04 03 00 BC 68 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 0F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A3 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 71 [10:07:21]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 C4 FF 09 70 04 03 00 BC 68 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 0F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A3 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:07:21]wFMCommunicate OK [10:07:21]wFMCommunicate request_size=4 [10:07:21]MH_SAM_APDU [10:07:21]CAPDU: 80 17 00 00 [10:07:21]Write to MH i2c: E2 08 00 A9 0C 80 17 00 00 00 00 00 00 35 [10:07:21]Write i2c OK [10:07:21]MH_I2C_Read... [10:07:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:21]Read from MH i2c: E2 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 FD 00 [10:07:21]MH_I2C_Read... [10:07:21]Read from MH i2c: E2 FD 00 A9 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 57 [10:07:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:07:21]wFMCommunicate OK [10:07:21]wFMCommunicate request_size=4 [10:07:21]MH_SAM_APDU [10:07:21]CAPDU: 80 17 00 00 [10:07:21]Write to MH i2c: E2 08 00 AA 0C 80 17 00 00 00 00 00 00 36 [10:07:21]Write i2c OK [10:07:21]MH_I2C_Read... [10:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:22]Read from MH i2c: E2 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 FD 00 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 FD 00 AA 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 ED [10:07:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:07:22]wFMCommunicate OK [10:07:22]wFMCommunicate request_size=4 [10:07:22]MH_SAM_APDU [10:07:22]CAPDU: 80 17 00 00 [10:07:22]Write to MH i2c: E2 08 00 AB 0C 80 17 00 00 00 00 00 00 37 [10:07:22]Write i2c OK [10:07:22]MH_I2C_Read... [10:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:22]Read from MH i2c: E2 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 FD 00 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 FD 00 AB 0C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A9 [10:07:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:07:22]wFMCommunicate OK [10:07:22]wFMCommunicate request_size=4 [10:07:22]MH_SAM_APDU [10:07:22]CAPDU: 80 17 00 00 [10:07:22]Write to MH i2c: E2 08 00 AC 0C 80 17 00 00 00 00 00 00 38 [10:07:22]Write i2c OK [10:07:22]MH_I2C_Read... [10:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:07:22]Read from MH i2c: E2 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 CB 00 [10:07:22]MH_I2C_Read... [10:07:22]Read from MH i2c: E2 CB 00 AC 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 21 [10:07:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:07:22]wFMCommunicate OK [10:07:22]SAM_PROTO_GetShiftData done [10:07:22]requested_item shift.sale.total_cash is exist - process it [10:07:22]requested_item shift.sale_refund.total is exist - process it [10:07:22]requested_item shift.sale_refund.total_cash is exist - process it [10:07:22]produce_requested_data done [10:07:22]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42991,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6553.00,"shift.sale.total_cash":5511.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:07:22]process_action_free close_receipt [10:07:22]json_value_free [10:07:22]json_value_free done [10:07:22]process_json_proto returns [10:07:22]Send response to host [10:07:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42991,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6553.00,"shift.sale.total_cash":5511.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:07:22]free response buf [10:07:22]execute_script done [10:07:22]execute_script returns [10:07:22]free content buf [10:07:22]Sock 9.Close socket [10:07:22]Sock 9.Thread stoped [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]accept exits with 7 [10:07:39]New connection [10:07:39]New thread 3067530596 created [10:07:39]Thread 3067387236 joined [10:07:39]Waiting for new connection... [10:07:39] Sock 7.Parse request [10:07:39]Sock 7.Check first char [10:07:39]Sock 7.First char is OK [10:07:39]request: POST /json_proto HTTP/1.0 [10:07:39]Method: POST [10:07:39]URL: /json_proto [10:07:39]Method is POST - this is cgi request [10:07:39]url: /json_proto [10:07:39]query_string will be loaded in cgi processing [10:07:39]execute_cgi json_proto POST (null) [10:07:39]execute_cgi path=json_proto method=POST [10:07:39]POST find Content-Length [10:07:39]Host: 172.17.38.197:8080 [10:07:39]Content-Length: 726 [10:07:39]Content-Type: application/json [10:07:39] [10:07:39]POST finish read [10:07:39]Found Content-Length = 726 [10:07:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300120", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:39]execute_script... [10:07:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300120", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:39]POST & json_proto [10:07:39]process_json_proto [10:07:39]json parsed OK: [10:07:39]protocol is kg_v1.0 [10:07:39]action value=close_receipt [10:07:39]process_action close_receipt [10:07:39]cmd_close_receipt [10:07:39]MH_GetDate [10:07:39]Write to MH i2c: F0 00 00 AD 0C A8 [10:07:39]Write i2c OK [10:07:39]MH_I2C_Read... [10:07:39]Read from MH i2c: F0 [10:07:39]MH_I2C_Read... [10:07:39]Read from MH i2c: F0 09 00 [10:07:39]MH_I2C_Read... [10:07:39]Read from MH i2c: F0 09 00 AD 0C 00 EE 51 92 66 1E 0D 88 66 01 [10:07:39]GetLastDocTimeStamp 1720865239 [10:07:39]current date 1720865262 [10:07:39]FM_GetShiftState [10:07:39]SAM_PROTO_GetShiftState [10:07:39]wFMCommunicate request_size=4 [10:07:39]MH_SAM_APDU [10:07:39]CAPDU: 80 13 01 00 [10:07:39]Write to MH i2c: E2 08 00 AE 0C 80 13 01 00 00 00 00 00 37 [10:07:39]Write i2c OK [10:07:39]MH_I2C_Read... [10:07:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:39]Read from MH i2c: E2 [10:07:39]MH_I2C_Read... [10:07:39]Read from MH i2c: E2 0E 00 [10:07:39]MH_I2C_Read... [10:07:39]Read from MH i2c: E2 0E 00 AE 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 CE [10:07:39]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:07:39]wFMCommunicate OK [10:07:39]SAM_PROTO_GetShiftState done [10:07:39]FM_GetShiftState done [10:07:39]opened in 1720829646 [10:07:39]opened+sec_in_day 1720916046 [10:07:39]quantity*price = 27600 [10:07:39]sum+1 = 27601 [10:07:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 276.00 НСП 1% : 2.44 НДС 12% : 29.31 Наличными: 276.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 37 13.07.2024 10:07 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42992 ФПД: 101127201779922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100742&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42992&fm=101127201779922&tin=02508201610067®Number=0000000000091176&sum=27600 0 [10:07:40]StoreToDocumentArchive [10:07:40]shift 445 fd 42992 [10:07:40]save to /storage/0445/doc_00042992 [10:07:40]save last doc name /storage/0445/doc_00042992 to /storage/kkm_last_doc_name [10:07:40]save OK [10:07:40]Clear old archive folders... [10:07:40]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:07:40]tlvbuf is 01581220 [10:07:40]SAM_PROTO_ClearQueue [10:07:40]wFMCommunicate request_size=4 [10:07:40]MH_SAM_APDU [10:07:40]CAPDU: 80 09 00 00 [10:07:40]Write to MH i2c: E2 08 00 BB 0C 80 09 00 00 00 00 00 00 39 [10:07:40]Write i2c OK [10:07:40]MH_I2C_Read... [10:07:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:40]Read from MH i2c: E2 [10:07:40]MH_I2C_Read... [10:07:40]Read from MH i2c: E2 03 00 [10:07:40]MH_I2C_Read... [10:07:40]Read from MH i2c: E2 03 00 BB 0C 00 90 00 3B [10:07:40]RAPDU: 90 00 [10:07:40]wFMCommunicate OK [10:07:40]SAM_PROTO_ClearQueue done [10:07:40]KKMCreateOFDPacket [10:07:40]OFDProtocolAddRootSTLVToBuf [10:07:40]FM_MakeSignedData [10:07:40]FM_MakeSignedData [10:07:40]SAM_PROTO_SignData [10:07:40]wFMCommunicate request_size=4 [10:07:40]MH_SAM_APDU [10:07:40]CAPDU: 80 0D 01 02 [10:07:40]Write to MH i2c: E2 08 00 BC 0C 80 0D 01 02 00 00 00 00 41 [10:07:40]Write i2c OK [10:07:40]MH_I2C_Read... [10:07:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:40]Read from MH i2c: E2 [10:07:40]MH_I2C_Read... [10:07:40]Read from MH i2c: E2 03 00 [10:07:40]MH_I2C_Read... [10:07:40]Read from MH i2c: E2 03 00 BC 0C 00 90 00 3C [10:07:40]RAPDU: 90 00 [10:07:40]wFMCommunicate OK [10:07:40]wFMCommunicate request_size=255 [10:07:40]MH_SAM_APDU [10:07:40]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 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 EE 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [10:07:40]Write to MH i2c: E2 02 01 BD 0C 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 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 EE 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 17 [10:07:40]Write i2c OK [10:07:40]MH_I2C_Read... [10:07:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:41]Read from MH i2c: E2 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 03 00 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 03 00 BD 0C 00 90 00 3D [10:07:41]RAPDU: 90 00 [10:07:41]wFMCommunicate OK [10:07:41]wFMCommunicate request_size=33 [10:07:41]MH_SAM_APDU [10:07:41]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F0 A7 00 00 35 04 06 00 5B F9 82 F0 70 D2 [10:07:41]Write to MH i2c: E2 24 00 BE 0C 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F0 A7 00 00 35 04 06 00 5B F9 82 F0 70 D2 00 00 76 [10:07:41]Write i2c OK [10:07:41]MH_I2C_Read... [10:07:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:41]Read from MH i2c: E2 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 03 00 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 03 00 BE 0C 00 90 00 3E [10:07:41]RAPDU: 90 00 [10:07:41]wFMCommunicate OK [10:07:41]wFMCommunicate request_size=4 [10:07:41]MH_SAM_APDU [10:07:41]CAPDU: 80 0D 03 02 [10:07:41]Write to MH i2c: E2 08 00 BF 0C 80 0D 03 02 00 00 00 00 46 [10:07:41]Write i2c OK [10:07:41]MH_I2C_Read... [10:07:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:41]Read from MH i2c: E2 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 0B 00 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 0B 00 BF 0C 00 F7 AA 72 E8 09 C9 AC AE 90 00 6E [10:07:41]RAPDU: F7 AA 72 E8 09 C9 AC AE 90 00 [10:07:41]wFMCommunicate OK [10:07:41]SAM_PROTO_SignData done [10:07:41]FM_MakeSignedData done [10:07:41]CreateOFDProtocolMessage [10:07:41]wFMCommunicate request_size=4 [10:07:41]MH_SAM_APDU [10:07:41]CAPDU: 80 11 00 00 [10:07:41]Write to MH i2c: E2 08 00 C0 0C 80 11 00 00 00 00 00 00 46 [10:07:41]Write i2c OK [10:07:41]MH_I2C_Read... [10:07:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:41]Read from MH i2c: E2 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 17 00 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: E2 17 00 C0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 9D [10:07:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:07:41]wFMCommunicate OK [10:07:41]CreateOFDProtocolMessage done [10:07:41]OFDSenderStorePacket 42992 [10:07:41]StoreOFDPacket docnum=42992 [10:07:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 82 4E 1E 01 EC 9F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 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 EE 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F0 A7 00 00 35 04 06 00 5B F9 82 F0 70 D2 F7 AA 72 E8 09 C9 AC AE [10:07:41]CheckFolder [10:07:41]dirname=/storage/ofd_packets [10:07:41]CheckFolder done [10:07:41]ProducePacketName [10:07:41]name=ofd_packets/00042992 [10:07:41]NVStorageSaveData ofd_packets/00042992 [10:07:41]File name is /storage/ofd_packets/00042992 [10:07:41]Write 324 bytes [10:07:41]NVStorageSaveData done [10:07:41]OFDSenderStorePacket done [10:07:41]KKMCreateOFDPacket done [10:07:41]NVStorageSaveData kkm_last_timestamp [10:07:41]File name is /storage/kkm_last_timestamp [10:07:41]Write 4 bytes [10:07:41]NVStorageSaveData done [10:07:41]ExternCall_PrintAddStr [10:07:41]wPrintStart [10:07:41]Write to MH i2c: 01 00 00 C1 0C CD [10:07:41]Write i2c OK [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: 01 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: 01 07 00 [10:07:41]MH_I2C_Read... [10:07:41]Read from MH i2c: 01 07 00 C1 0C 00 00 00 00 00 FF 0F E2 [10:07:41]RasterBufferAndPrint [10:07:41]line Счет N : (3)300120 [10:07:41]line ИНН: 02508201610067 [10:07:41]line Контрольно-Кассовый Чек [10:07:41]line ПРОДАЖА [10:07:41]line Товар: 4640030091645 [10:07:41]line Сигареты ESSE Exchange M [10:07:41]line 2.000 * 138.00 [10:07:41]line = 276.00 [10:07:41]line НДС 12% НСП 1% [10:07:41]line > о реализуемом товаре [10:07:41]line ИТОГО: 276.00 [10:07:41]line НСП 1% : 2.44 [10:07:41]line НДС 12% : 29.31 [10:07:41]line Наличными: 276.00 [10:07:41]line Безнал.: 0.00 [10:07:41]line Место: АЗС № 71 "Партнер Нефть" [10:07:41]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:07:41]line СНО: Общий режим [10:07:41]line Чек 37 13.07.2024 10:07 [10:07:41]line Смена: 445 ФФД: 1.0 [10:07:41]line ЗНМ: 0300000153 [10:07:41]line РНМ: 0000000000091176 [10:07:41]line Версия ККМ: 001 [10:07:41]line ФМ: 0000000000874935 [10:07:41]line ФД: 42992 [10:07:41]line ФПД: 101127201779922 [10:07:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100742&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42992&fm=101127201779922&tin=02508201610067®Number=0000000000091176&sum=27600 [10:07:41]line 0 [10:07:41]OFD Sender: Processing packet 42992 [packets to send 31, broken 30] [10:07:41]ProducePacketName [10:07:41]name=ofd_packets/00042992 [10:07:41]OFD Sender: To server: pG, [10:07:41]CommunicateWithHost lk.salyk.kg:30040 [10:07:41]ConnectInit lk.salyk.kg [10:07:41]written 0, free lines is 4095 [10:07:41]Connected sock=10 [10:07:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 82 4E 1E 01 EC 9F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 D0 6B 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 EE 51 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F0 A7 00 00 35 04 06 00 5B F9 82 F0 70 D2 F7 AA 72 E8 09 C9 AC AE [10:07:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A7 F5 47 00 D3 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F0 A7 00 00 F4 03 04 00 E9 FD 91 66 B6 04 01 00 00 C8 7C BB 42 1B 0E 61 F6 [10:07:41]CommunicateWithHost err = 0 [10:07:41]CheckOFDResponse [10:07:41]1017 (14) - 77093643461234 [10:07:41]1041 (16) - 0000000000874935 [10:07:41]1040 (4) - 42992 [10:07:41]1012 (4) - 13.07.2024 04:09 [10:07:41]1206 (1) - 0 [10:07:41]OFD Sender: Remove packet 42992 [10:07:41]ProducePacketName [10:07:41]name=ofd_packets/00042992 [10:07:41]NVStorageDeleteData [10:07:42]Write to MH i2c: 01 00 00 E9 0C F5 [10:07:42]Write i2c OK [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: 01 [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: 01 07 00 [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: 01 07 00 E9 0C 00 00 00 00 00 05 0D 0E [10:07:42]RasterBufferAndPrint [10:07:42]line [10:07:42]line [10:07:42]line [10:07:42]line [10:07:42]line [10:07:42]written 0, free lines is 3340 [10:07:42]MH_Cut [10:07:42]Write to MH i2c: D1 01 00 F0 0C 01 CE [10:07:42]Write i2c OK [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: D1 [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: D1 01 00 [10:07:42]MH_I2C_Read... [10:07:42]Read from MH i2c: D1 01 00 F0 0C 00 CD [10:07:42]Write to MH i2c: 01 00 00 F1 0C FD [10:07:42]Write i2c OK [10:07:42]MH_I2C_Read... [10:07:42]OFD Sender: No OFD packet to send [10:07:42]*** Cut start [10:07:42]*** Partial cut [10:07:42]*** CUTSNS_PIN = 1 [10:07:42]*** CUTSNS_PIN = 0 [10:07:43]*** Brake cut motor [10:07:43]Read from MH i2c: 01 [10:07:43]MH_I2C_Read... [10:07:43]*** Stop cut motor [10:07:43]*** Cut end [10:07:43]Read from MH i2c: 01 07 00 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: 01 07 00 F1 0C 00 00 00 00 00 FF 0F 12 [10:07:43]process_action close_receipt done [10:07:43]requested_data is exist [10:07:43]produce_requested_data [10:07:43]requested_item fm.sn is exist - process it [10:07:43]wFMCommunicate request_size=4 [10:07:43]MH_SAM_APDU [10:07:43]CAPDU: 80 11 00 00 [10:07:43]Write to MH i2c: E2 08 00 F2 0C 80 11 00 00 00 00 00 00 78 [10:07:43]Write i2c OK [10:07:43]MH_I2C_Read... [10:07:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:43]Read from MH i2c: E2 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 17 00 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 17 00 F2 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CF [10:07:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:07:43]wFMCommunicate OK [10:07:43]requested_item fd.num is exist - process it [10:07:43]SAM_PROTO_GetFieldsCounters [10:07:43]wFMCommunicate request_size=4 [10:07:43]MH_SAM_APDU [10:07:43]CAPDU: 80 13 00 00 [10:07:43]Write to MH i2c: E2 08 00 F3 0C 80 13 00 00 00 00 00 00 7B [10:07:43]Write i2c OK [10:07:43]MH_I2C_Read... [10:07:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:43]Read from MH i2c: E2 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 62 00 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 62 00 F3 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F0 A7 00 00 0E 04 04 00 BD 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 63 [10:07:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F0 A7 00 00 0E 04 04 00 BD 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 [10:07:43]wFMCommunicate OK [10:07:43]SAM_PROTO_GetFieldsCounters done [10:07:43]requested_item shift.num is exist - process it [10:07:43]requested_item shift.opened is exist - process it [10:07:43]req_shift_opened [10:07:43]FM_GetShiftState [10:07:43]SAM_PROTO_GetShiftState [10:07:43]wFMCommunicate request_size=4 [10:07:43]MH_SAM_APDU [10:07:43]CAPDU: 80 13 01 00 [10:07:43]Write to MH i2c: E2 08 00 F4 0C 80 13 01 00 00 00 00 00 7D [10:07:43]Write i2c OK [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 [10:07:43]MH_I2C_Read... [10:07:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:43]Read from MH i2c: E2 0E 00 [10:07:43]MH_I2C_Read... [10:07:43]Read from MH i2c: E2 0E 00 F4 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 14 [10:07:43]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:07:43]wFMCommunicate OK [10:07:43]SAM_PROTO_GetShiftState done [10:07:43]FM_GetShiftState done [10:07:43]req_shift_opened done [10:07:43]requested_item shift.open_date is exist - process it [10:07:43]req_shift_open_date [10:07:43]req_shift_open_date done [10:07:43]requested_item shift.sale.total is exist - process it [10:07:43]SAM_PROTO_GetShiftData [10:07:43]wFMCommunicate request_size=4 [10:07:43]MH_SAM_APDU [10:07:43]CAPDU: 80 13 02 00 [10:07:43]Write to MH i2c: E2 08 00 F5 0C 80 13 02 00 00 00 00 00 7F [10:07:43]Write i2c OK [10:07:43]MH_I2C_Read... [10:07:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:07:44]Read from MH i2c: E2 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 F5 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 94 6B 0A 70 04 03 00 8C D4 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 1B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 97 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AD [10:07:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 94 6B 0A 70 04 03 00 8C D4 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 1B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 97 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:07:44]wFMCommunicate OK [10:07:44]wFMCommunicate request_size=4 [10:07:44]MH_SAM_APDU [10:07:44]CAPDU: 80 17 00 00 [10:07:44]Write to MH i2c: E2 08 00 F6 0C 80 17 00 00 00 00 00 00 82 [10:07:44]Write i2c OK [10:07:44]MH_I2C_Read... [10:07:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:44]Read from MH i2c: E2 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 F6 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 A4 [10:07:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:07:44]wFMCommunicate OK [10:07:44]wFMCommunicate request_size=4 [10:07:44]MH_SAM_APDU [10:07:44]CAPDU: 80 17 00 00 [10:07:44]Write to MH i2c: E2 08 00 F7 0C 80 17 00 00 00 00 00 00 83 [10:07:44]Write i2c OK [10:07:44]MH_I2C_Read... [10:07:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:44]Read from MH i2c: E2 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 [10:07:44]MH_I2C_Read... [10:07:44]Read from MH i2c: E2 FD 00 F7 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 3A [10:07:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:07:44]wFMCommunicate OK [10:07:44]wFMCommunicate request_size=4 [10:07:44]MH_SAM_APDU [10:07:44]CAPDU: 80 17 00 00 [10:07:44]Write to MH i2c: E2 08 00 F8 0C 80 17 00 00 00 00 00 00 84 [10:07:44]Write i2c OK [10:07:44]MH_I2C_Read... [10:07:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:45]Read from MH i2c: E2 [10:07:45]MH_I2C_Read... [10:07:45]Read from MH i2c: E2 FD 00 [10:07:45]MH_I2C_Read... [10:07:45]Read from MH i2c: E2 FD 00 F8 0C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F6 [10:07:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:07:45]wFMCommunicate OK [10:07:45]wFMCommunicate request_size=4 [10:07:45]MH_SAM_APDU [10:07:45]CAPDU: 80 17 00 00 [10:07:45]Write to MH i2c: E2 08 00 F9 0C 80 17 00 00 00 00 00 00 85 [10:07:45]Write i2c OK [10:07:45]MH_I2C_Read... [10:07:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:07:45]Read from MH i2c: E2 [10:07:45]MH_I2C_Read... [10:07:45]Read from MH i2c: E2 CB 00 [10:07:45]MH_I2C_Read... [10:07:45]Read from MH i2c: E2 CB 00 F9 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6E [10:07:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:07:45]wFMCommunicate OK [10:07:45]SAM_PROTO_GetShiftData done [10:07:45]requested_item shift.sale.total_cash is exist - process it [10:07:45]requested_item shift.sale_refund.total is exist - process it [10:07:45]requested_item shift.sale_refund.total_cash is exist - process it [10:07:45]produce_requested_data done [10:07:45]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42992,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6829.00,"shift.sale.total_cash":5787.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:07:45]process_action_free close_receipt [10:07:45]json_value_free [10:07:45]json_value_free done [10:07:45]process_json_proto returns [10:07:45]Send response to host [10:07:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42992,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6829.00,"shift.sale.total_cash":5787.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:07:45]free response buf [10:07:45]execute_script done [10:07:45]execute_script returns [10:07:45]free content buf [10:07:45]Sock 7.Close socket [10:07:45]Sock 7.Thread stoped [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]accept exits with 9 [10:08:27]New connection [10:08:27]New thread 3067387236 created [10:08:27]Thread 3067530596 joined [10:08:27]Waiting for new connection... [10:08:27] Sock 9.Parse request [10:08:27]Sock 9.Check first char [10:08:27]Sock 9.First char is OK [10:08:27]request: POST /json_proto HTTP/1.0 [10:08:27]Method: POST [10:08:27]URL: /json_proto [10:08:27]Method is POST - this is cgi request [10:08:27]url: /json_proto [10:08:27]query_string will be loaded in cgi processing [10:08:27]execute_cgi json_proto POST (null) [10:08:27]execute_cgi path=json_proto method=POST [10:08:27]POST find Content-Length [10:08:27]Host: 172.17.38.197:8080 [10:08:27]Content-Length: 734 [10:08:27]Content-Type: application/json [10:08:27] [10:08:27]POST finish read [10:08:27]Found Content-Length = 734 [10:08:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300121", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:08:27]execute_script... [10:08:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300121", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:08:27]POST & json_proto [10:08:27]process_json_proto [10:08:27]json parsed OK: [10:08:27]protocol is kg_v1.0 [10:08:27]action value=close_receipt [10:08:27]process_action close_receipt [10:08:27]cmd_close_receipt [10:08:27]MH_GetDate [10:08:27]Write to MH i2c: F0 00 00 FA 0C F5 [10:08:27]Write i2c OK [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: F0 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: F0 09 00 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: F0 09 00 FA 0C 00 1E 52 92 66 1E 0D 88 66 7F [10:08:27]GetLastDocTimeStamp 1720865262 [10:08:27]current date 1720865310 [10:08:27]FM_GetShiftState [10:08:27]SAM_PROTO_GetShiftState [10:08:27]wFMCommunicate request_size=4 [10:08:27]MH_SAM_APDU [10:08:27]CAPDU: 80 13 01 00 [10:08:27]Write to MH i2c: E2 08 00 FB 0C 80 13 01 00 00 00 00 00 84 [10:08:27]Write i2c OK [10:08:27]MH_I2C_Read... [10:08:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:27]Read from MH i2c: E2 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 0E 00 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 0E 00 FB 0C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 1B [10:08:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:08:27]wFMCommunicate OK [10:08:27]SAM_PROTO_GetShiftState done [10:08:27]FM_GetShiftState done [10:08:27]opened in 1720829646 [10:08:27]opened+sec_in_day 1720916046 [10:08:27]quantity*price = 5000 [10:08:27]sum+1 = 5001 [10:08:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 38 13.07.2024 10:08 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42993 ФПД: 103225221805300 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100830&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42993&fm=103225221805300&tin=02508201610067®Number=0000000000091176&sum=5000 0 [10:08:28]StoreToDocumentArchive [10:08:28]shift 445 fd 42993 [10:08:28]save to /storage/0445/doc_00042993 [10:08:28]save last doc name /storage/0445/doc_00042993 to /storage/kkm_last_doc_name [10:08:28]save OK [10:08:28]Clear old archive folders... [10:08:28]ProcessDocumentItem done err = 0, tmpTLVsize=269 [10:08:28]tlvbuf is 015A0930 [10:08:28]SAM_PROTO_ClearQueue [10:08:28]wFMCommunicate request_size=4 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 09 00 00 [10:08:28]Write to MH i2c: E2 08 00 08 0D 80 09 00 00 00 00 00 00 87 [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 08 0D 00 90 00 89 [10:08:28]RAPDU: 90 00 [10:08:28]wFMCommunicate OK [10:08:28]SAM_PROTO_ClearQueue done [10:08:28]KKMCreateOFDPacket [10:08:28]OFDProtocolAddRootSTLVToBuf [10:08:28]FM_MakeSignedData [10:08:28]FM_MakeSignedData [10:08:28]SAM_PROTO_SignData [10:08:28]wFMCommunicate request_size=4 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 0D 01 02 [10:08:28]Write to MH i2c: E2 08 00 09 0D 80 0D 01 02 00 00 00 00 8F [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 09 0D 00 90 00 8A [10:08:28]RAPDU: 90 00 [10:08:28]wFMCommunicate OK [10:08:28]wFMCommunicate request_size=255 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [10:08:28]Write to MH i2c: E2 02 01 0A 0D 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 F1 [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 0A 0D 00 90 00 8B [10:08:28]RAPDU: 90 00 [10:08:28]wFMCommunicate OK [10:08:28]wFMCommunicate request_size=28 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 F1 A7 00 00 35 04 06 00 5D E1 FE AD 74 F4 [10:08:28]Write to MH i2c: E2 1F 00 0B 0D 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 F1 A7 00 00 35 04 06 00 5D E1 FE AD 74 F4 00 00 0C [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 03 00 0B 0D 00 90 00 8C [10:08:28]RAPDU: 90 00 [10:08:28]wFMCommunicate OK [10:08:28]wFMCommunicate request_size=4 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 0D 03 02 [10:08:28]Write to MH i2c: E2 08 00 0C 0D 80 0D 03 02 00 00 00 00 94 [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 0B 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 0B 00 0C 0D 00 52 1D 75 26 C5 15 48 AC 90 00 6D [10:08:28]RAPDU: 52 1D 75 26 C5 15 48 AC 90 00 [10:08:28]wFMCommunicate OK [10:08:28]SAM_PROTO_SignData done [10:08:28]FM_MakeSignedData done [10:08:28]CreateOFDProtocolMessage [10:08:28]wFMCommunicate request_size=4 [10:08:28]MH_SAM_APDU [10:08:28]CAPDU: 80 11 00 00 [10:08:28]Write to MH i2c: E2 08 00 0D 0D 80 11 00 00 00 00 00 00 94 [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:28]Read from MH i2c: E2 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 17 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: E2 17 00 0D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 EB [10:08:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:08:28]wFMCommunicate OK [10:08:28]CreateOFDProtocolMessage done [10:08:28]OFDSenderStorePacket 42993 [10:08:28]StoreOFDPacket docnum=42993 [10:08:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 F8 2D 19 01 33 55 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F1 A7 00 00 35 04 06 00 5D E1 FE AD 74 F4 52 1D 75 26 C5 15 48 AC [10:08:28]CheckFolder [10:08:28]dirname=/storage/ofd_packets [10:08:28]CheckFolder done [10:08:28]ProducePacketName [10:08:28]name=ofd_packets/00042993 [10:08:28]NVStorageSaveData ofd_packets/00042993 [10:08:28]File name is /storage/ofd_packets/00042993 [10:08:28]Write 319 bytes [10:08:28]NVStorageSaveData done [10:08:28]OFDSenderStorePacket done [10:08:28]KKMCreateOFDPacket done [10:08:28]NVStorageSaveData kkm_last_timestamp [10:08:28]File name is /storage/kkm_last_timestamp [10:08:28]Write 4 bytes [10:08:28]NVStorageSaveData done [10:08:28]ExternCall_PrintAddStr [10:08:28]wPrintStart [10:08:28]Write to MH i2c: 01 00 00 0E 0D 1B [10:08:28]Write i2c OK [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: 01 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: 01 07 00 [10:08:28]MH_I2C_Read... [10:08:28]Read from MH i2c: 01 07 00 0E 0D 00 00 00 00 00 FF 0F 30 [10:08:28]RasterBufferAndPrint [10:08:28]line Счет N : (3)300121 [10:08:28]line ИНН: 02508201610067 [10:08:28]line Контрольно-Кассовый Чек [10:08:28]line ПРОДАЖА [10:08:28]line Товар: 4700000160358 [10:08:28]line Вода Легенда 1л [10:08:28]line 1.000 * 50.00 [10:08:28]line = 50.00 [10:08:28]line НДС 12% НСП 1% [10:08:28]line > о реализуемом товаре [10:08:28]line ИТОГО: 50.00 [10:08:28]line НСП 1% : 0.44 [10:08:28]line НДС 12% : 5.31 [10:08:28]line Наличными: 50.00 [10:08:28]line Безнал.: 0.00 [10:08:28]line Место: АЗС № 71 "Партнер Нефть" [10:08:28]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:08:29]line СНО: Общий режим [10:08:29]line Чек 38 13.07.2024 10:08 [10:08:29]line Смена: 445 ФФД: 1.0 [10:08:29]line ЗНМ: 0300000153 [10:08:29]line РНМ: 0000000000091176 [10:08:29]line Версия ККМ: 001 [10:08:29]line ФМ: 0000000000874935 [10:08:29]line ФД: 42993 [10:08:29]line ФПД: 103225221805300 [10:08:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T100830&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42993&fm=103225221805300&tin=02508201610067®Number=0000000000091176&sum=5000 [10:08:29]line 0 [10:08:29]OFD Sender: Processing packet 42993 [packets to send 31, broken 30] [10:08:29]ProducePacketName [10:08:29]name=ofd_packets/00042993 [10:08:29]OFD Sender: To server: pG, [10:08:29]CommunicateWithHost lk.salyk.kg:30040 [10:08:29]ConnectInit lk.salyk.kg [10:08:29]written 0, free lines is 4095 [10:08:29]Connected sock=10 [10:08:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 F8 2D 19 01 33 55 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F1 A7 00 00 35 04 06 00 5D E1 FE AD 74 F4 52 1D 75 26 C5 15 48 AC [10:08:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 49 53 47 00 B2 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F1 A7 00 00 F4 03 04 00 18 FE 91 66 B6 04 01 00 00 25 E6 5D 1F 71 E5 C4 5B [10:08:29]CommunicateWithHost err = 0 [10:08:29]CheckOFDResponse [10:08:29]1017 (14) - 77093643461234 [10:08:29]1041 (16) - 0000000000874935 [10:08:29]1040 (4) - 42993 [10:08:29]1012 (4) - 13.07.2024 04:10 [10:08:29]1206 (1) - 0 [10:08:29]OFD Sender: Remove packet 42993 [10:08:29]ProducePacketName [10:08:29]name=ofd_packets/00042993 [10:08:29]NVStorageDeleteData [10:08:29]Write to MH i2c: 01 00 00 36 0D 43 [10:08:29]Write i2c OK [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: 01 [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: 01 07 00 [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: 01 07 00 36 0D 00 00 00 00 00 0E 0D 65 [10:08:29]RasterBufferAndPrint [10:08:29]line [10:08:29]line [10:08:29]line [10:08:29]line [10:08:29]line [10:08:29]written 0, free lines is 3348 [10:08:29]MH_Cut [10:08:29]Write to MH i2c: D1 01 00 3D 0D 01 1C [10:08:29]Write i2c OK [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: D1 [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: D1 01 00 [10:08:29]MH_I2C_Read... [10:08:29]Read from MH i2c: D1 01 00 3D 0D 00 1B [10:08:29]Write to MH i2c: 01 00 00 3E 0D 4B [10:08:29]Write i2c OK [10:08:29]MH_I2C_Read... [10:08:29]OFD Sender: No OFD packet to send [10:08:30]*** Cut start [10:08:30]*** Partial cut [10:08:30]*** CUTSNS_PIN = 1 [10:08:30]*** CUTSNS_PIN = 0 [10:08:30]*** Brake cut motor [10:08:30]Read from MH i2c: 01 [10:08:30]MH_I2C_Read... [10:08:30]*** Stop cut motor [10:08:30]*** Cut end [10:08:30]Read from MH i2c: 01 07 00 [10:08:30]MH_I2C_Read... [10:08:30]Read from MH i2c: 01 07 00 3E 0D 00 00 00 00 00 FF 0F 60 [10:08:30]process_action close_receipt done [10:08:30]requested_data is exist [10:08:30]produce_requested_data [10:08:30]requested_item fm.sn is exist - process it [10:08:30]wFMCommunicate request_size=4 [10:08:30]MH_SAM_APDU [10:08:30]CAPDU: 80 11 00 00 [10:08:30]Write to MH i2c: E2 08 00 3F 0D 80 11 00 00 00 00 00 00 C6 [10:08:30]Write i2c OK [10:08:30]MH_I2C_Read... [10:08:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:30]Read from MH i2c: E2 [10:08:30]MH_I2C_Read... [10:08:30]Read from MH i2c: E2 17 00 [10:08:30]MH_I2C_Read... [10:08:30]Read from MH i2c: E2 17 00 3F 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1D [10:08:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:08:30]wFMCommunicate OK [10:08:30]requested_item fd.num is exist - process it [10:08:30]SAM_PROTO_GetFieldsCounters [10:08:30]wFMCommunicate request_size=4 [10:08:30]MH_SAM_APDU [10:08:30]CAPDU: 80 13 00 00 [10:08:30]Write to MH i2c: E2 08 00 40 0D 80 13 00 00 00 00 00 00 C9 [10:08:30]Write i2c OK [10:08:30]MH_I2C_Read... [10:08:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:30]Read from MH i2c: E2 [10:08:30]MH_I2C_Read... [10:08:30]Read from MH i2c: E2 62 00 [10:08:30]MH_I2C_Read... [10:08:30]Read from MH i2c: E2 62 00 40 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F1 A7 00 00 0E 04 04 00 BD 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 B5 [10:08:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F1 A7 00 00 0E 04 04 00 BD 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 [10:08:30]wFMCommunicate OK [10:08:30]SAM_PROTO_GetFieldsCounters done [10:08:30]requested_item shift.num is exist - process it [10:08:30]requested_item shift.opened is exist - process it [10:08:30]req_shift_opened [10:08:30]FM_GetShiftState [10:08:30]SAM_PROTO_GetShiftState [10:08:30]wFMCommunicate request_size=4 [10:08:30]MH_SAM_APDU [10:08:30]CAPDU: 80 13 01 00 [10:08:30]Write to MH i2c: E2 08 00 41 0D 80 13 01 00 00 00 00 00 CB [10:08:30]Write i2c OK [10:08:30]MH_I2C_Read... [10:08:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:31]Read from MH i2c: E2 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 0E 00 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 0E 00 41 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 62 [10:08:31]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:08:31]wFMCommunicate OK [10:08:31]SAM_PROTO_GetShiftState done [10:08:31]FM_GetShiftState done [10:08:31]req_shift_opened done [10:08:31]requested_item shift.open_date is exist - process it [10:08:31]req_shift_open_date [10:08:31]req_shift_open_date done [10:08:31]requested_item shift.sale.total is exist - process it [10:08:31]SAM_PROTO_GetShiftData [10:08:31]wFMCommunicate request_size=4 [10:08:31]MH_SAM_APDU [10:08:31]CAPDU: 80 13 02 00 [10:08:31]Write to MH i2c: E2 08 00 42 0D 80 13 02 00 00 00 00 00 CD [10:08:31]Write i2c OK [10:08:31]MH_I2C_Read... [10:08:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:08:31]Read from MH i2c: E2 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 FD 00 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 FD 00 42 0D 00 AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 1C 7F 0A 70 04 03 00 14 E8 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5B 1D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C3 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 76 [10:08:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 1C 7F 0A 70 04 03 00 14 E8 08 72 04 03 00 08 97 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5B 1D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C3 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:08:31]wFMCommunicate OK [10:08:31]wFMCommunicate request_size=4 [10:08:31]MH_SAM_APDU [10:08:31]CAPDU: 80 17 00 00 [10:08:31]Write to MH i2c: E2 08 00 43 0D 80 17 00 00 00 00 00 00 D0 [10:08:31]Write i2c OK [10:08:31]MH_I2C_Read... [10:08:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:31]Read from MH i2c: E2 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 FD 00 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 FD 00 43 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F2 [10:08:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:08:31]wFMCommunicate OK [10:08:31]wFMCommunicate request_size=4 [10:08:31]MH_SAM_APDU [10:08:31]CAPDU: 80 17 00 00 [10:08:31]Write to MH i2c: E2 08 00 44 0D 80 17 00 00 00 00 00 00 D1 [10:08:31]Write i2c OK [10:08:31]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 FD 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 FD 00 44 0D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 88 [10:08:32]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:08:32]wFMCommunicate OK [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 17 00 00 [10:08:32]Write to MH i2c: E2 08 00 45 0D 80 17 00 00 00 00 00 00 D2 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 FD 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 FD 00 45 0D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 44 [10:08:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:08:32]wFMCommunicate OK [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 17 00 00 [10:08:32]Write to MH i2c: E2 08 00 46 0D 80 17 00 00 00 00 00 00 D3 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 CB 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 CB 00 46 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BC [10:08:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:08:32]wFMCommunicate OK [10:08:32]SAM_PROTO_GetShiftData done [10:08:32]requested_item shift.sale.total_cash is exist - process it [10:08:32]requested_item shift.sale_refund.total is exist - process it [10:08:32]requested_item shift.sale_refund.total_cash is exist - process it [10:08:32]produce_requested_data done [10:08:32]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42993,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6879.00,"shift.sale.total_cash":5837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:08:32]process_action_free close_receipt [10:08:32]json_value_free [10:08:32]json_value_free done [10:08:32]process_json_proto returns [10:08:32]Send response to host [10:08:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42993,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6879.00,"shift.sale.total_cash":5837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:08:32]free response buf [10:08:32]execute_script done [10:08:32]execute_script returns [10:08:32]free content buf [10:08:32]Sock 9.Close socket [10:08:32]Sock 9.Thread stoped [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:01]accept exits with 7 [10:12:01]New connection [10:12:01]New thread 3067530596 created [10:12:01]Thread 3067387236 joined [10:12:01]Waiting for new connection... [10:12:01] Sock 7.Parse request [10:12:01]Sock 7.Check first char [10:12:01]Sock 7.First char is OK [10:12:01]request: POST /json_proto HTTP/1.0 [10:12:01]Method: POST [10:12:01]URL: /json_proto [10:12:01]Method is POST - this is cgi request [10:12:01]url: /json_proto [10:12:01]query_string will be loaded in cgi processing [10:12:01]execute_cgi json_proto POST (null) [10:12:01]execute_cgi path=json_proto method=POST [10:12:01]POST find Content-Length [10:12:01]Host: 172.17.38.197:8080 [10:12:01]Content-Length: 1359 [10:12:01]Content-Type: application/json [10:12:01] [10:12:01]POST finish read [10:12:01]Found Content-Length = 1359 [10:12:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300122", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010748616", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u041C\u0410\u0425 - \u043E\u0445\u043E\u0442\u043D\u0438\u0447\u044C\u0438 \u043A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 40", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 71.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:12:01]execute_script... [10:12:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300122", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010748616", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u041C\u0410\u0425 - \u043E\u0445\u043E\u0442\u043D\u0438\u0447\u044C\u0438 \u043A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 40", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 71.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:12:01]POST & json_proto [10:12:01]process_json_proto [10:12:01]json parsed OK: [10:12:01]protocol is kg_v1.0 [10:12:01]action value=close_receipt [10:12:01]process_action close_receipt [10:12:01]cmd_close_receipt [10:12:01]MH_GetDate [10:12:01]Write to MH i2c: F0 00 00 47 0D 43 [10:12:01]Write i2c OK [10:12:01]MH_I2C_Read... [10:12:01]Read from MH i2c: F0 [10:12:01]MH_I2C_Read... [10:12:01]Read from MH i2c: F0 09 00 [10:12:01]MH_I2C_Read... [10:12:01]Read from MH i2c: F0 09 00 47 0D 00 F4 52 92 66 1E 0D 88 66 A3 [10:12:01]GetLastDocTimeStamp 1720865310 [10:12:01]current date 1720865524 [10:12:01]FM_GetShiftState [10:12:01]SAM_PROTO_GetShiftState [10:12:01]wFMCommunicate request_size=4 [10:12:01]MH_SAM_APDU [10:12:01]CAPDU: 80 13 01 00 [10:12:01]Write to MH i2c: E2 08 00 48 0D 80 13 01 00 00 00 00 00 D2 [10:12:01]Write i2c OK [10:12:01]MH_I2C_Read... [10:12:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:01]Read from MH i2c: E2 [10:12:01]MH_I2C_Read... [10:12:01]Read from MH i2c: E2 0E 00 [10:12:01]MH_I2C_Read... [10:12:01]Read from MH i2c: E2 0E 00 48 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 69 [10:12:01]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:12:01]wFMCommunicate OK [10:12:01]SAM_PROTO_GetShiftState done [10:12:01]FM_GetShiftState done [10:12:01]opened in 1720829646 [10:12:01]opened+sec_in_day 1720916046 [10:12:01]quantity*price = 5000 [10:12:01]sum+1 = 5001 [10:12:01]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607010748616 Сух Кириешки МАХ - охотничьи колбаски 40 1.000 * 21.00 = 21.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 71.00 НСП 1% : 0.63 НДС 12% : 7.54 Наличными: 0.00 Безнал.: 71.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 39 13.07.2024 10:12 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 42994 ФПД: 243940832036737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101204&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42994&fm=243940832036737&tin=02508201610067®Number=0000000000091176&sum=7100 0 [10:12:02]StoreToDocumentArchive [10:12:02]shift 445 fd 42994 [10:12:02]save to /storage/0445/doc_00042994 [10:12:02]save last doc name /storage/0445/doc_00042994 to /storage/kkm_last_doc_name [10:12:02]save OK [10:12:02]Clear old archive folders... [10:12:02]ProcessDocumentItem done err = 0, tmpTLVsize=441 [10:12:02]tlvbuf is 015A3020 [10:12:02]SAM_PROTO_ClearQueue [10:12:02]wFMCommunicate request_size=4 [10:12:02]MH_SAM_APDU [10:12:02]CAPDU: 80 09 00 00 [10:12:02]Write to MH i2c: E2 08 00 55 0D 80 09 00 00 00 00 00 00 D4 [10:12:02]Write i2c OK [10:12:02]MH_I2C_Read... [10:12:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:02]Read from MH i2c: E2 [10:12:02]MH_I2C_Read... [10:12:02]Read from MH i2c: E2 03 00 [10:12:02]MH_I2C_Read... [10:12:02]Read from MH i2c: E2 03 00 55 0D 00 90 00 D6 [10:12:02]RAPDU: 90 00 [10:12:02]wFMCommunicate OK [10:12:02]SAM_PROTO_ClearQueue done [10:12:02]KKMCreateOFDPacket [10:12:02]OFDProtocolAddRootSTLVToBuf [10:12:02]FM_MakeSignedData [10:12:02]FM_MakeSignedData [10:12:02]SAM_PROTO_SignData [10:12:02]wFMCommunicate request_size=4 [10:12:02]MH_SAM_APDU [10:12:02]CAPDU: 80 0D 01 02 [10:12:02]Write to MH i2c: E2 08 00 56 0D 80 0D 01 02 00 00 00 00 DC [10:12:02]Write i2c OK [10:12:02]MH_I2C_Read... [10:12:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:02]Read from MH i2c: E2 [10:12:02]MH_I2C_Read... [10:12:02]Read from MH i2c: E2 03 00 [10:12:02]MH_I2C_Read... [10:12:02]Read from MH i2c: E2 03 00 56 0D 00 90 00 D7 [10:12:02]RAPDU: 90 00 [10:12:02]wFMCommunicate OK [10:12:02]wFMCommunicate request_size=255 [10:12:02]MH_SAM_APDU [10:12:02]CAPDU: 80 0D 02 02 FA 03 00 B9 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 [10:12:02]Write to MH i2c: E2 02 01 57 0D 80 0D 02 02 FA 00 03 00 B9 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 00 00 3B [10:12:02]Write i2c OK [10:12:02]MH_I2C_Read... [10:12:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:03]Read from MH i2c: E2 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 03 00 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 03 00 57 0D 00 90 00 D8 [10:12:03]RAPDU: 90 00 [10:12:03]wFMCommunicate OK [10:12:03]wFMCommunicate request_size=200 [10:12:03]MH_SAM_APDU [10:12:03]CAPDU: 80 0D 02 02 C3 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F4 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F2 A7 00 00 35 04 06 00 DD DC E6 A3 C7 81 [10:12:03]Write to MH i2c: E2 CB 00 58 0D 80 0D 02 02 C3 00 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F4 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F2 A7 00 00 35 04 06 00 DD DC E6 A3 C7 81 00 00 E6 [10:12:03]Write i2c OK [10:12:03]MH_I2C_Read... [10:12:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:03]Read from MH i2c: E2 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 03 00 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 03 00 58 0D 00 90 00 D9 [10:12:03]RAPDU: 90 00 [10:12:03]wFMCommunicate OK [10:12:03]wFMCommunicate request_size=4 [10:12:03]MH_SAM_APDU [10:12:03]CAPDU: 80 0D 03 02 [10:12:03]Write to MH i2c: E2 08 00 59 0D 80 0D 03 02 00 00 00 00 E1 [10:12:03]Write i2c OK [10:12:03]MH_I2C_Read... [10:12:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:03]Read from MH i2c: E2 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 0B 00 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 0B 00 59 0D 00 F1 CB 0C 48 3E F1 06 4D 90 00 74 [10:12:03]RAPDU: F1 CB 0C 48 3E F1 06 4D 90 00 [10:12:03]wFMCommunicate OK [10:12:03]SAM_PROTO_SignData done [10:12:03]FM_MakeSignedData done [10:12:03]CreateOFDProtocolMessage [10:12:03]wFMCommunicate request_size=4 [10:12:03]MH_SAM_APDU [10:12:03]CAPDU: 80 11 00 00 [10:12:03]Write to MH i2c: E2 08 00 5A 0D 80 11 00 00 00 00 00 00 E1 [10:12:03]Write i2c OK [10:12:03]MH_I2C_Read... [10:12:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:03]Read from MH i2c: E2 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 17 00 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: E2 17 00 5A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 38 [10:12:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:12:03]wFMCommunicate OK [10:12:03]CreateOFDProtocolMessage done [10:12:03]OFDSenderStorePacket 42994 [10:12:03]StoreOFDPacket docnum=42994 [10:12:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 CD 01 00 00 BF AB C5 01 87 87 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F4 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F2 A7 00 00 35 04 06 00 DD DC E6 A3 C7 81 F1 CB 0C 48 3E F1 06 4D [10:12:03]CheckFolder [10:12:03]dirname=/storage/ofd_packets [10:12:03]CheckFolder done [10:12:03]ProducePacketName [10:12:03]name=ofd_packets/00042994 [10:12:03]NVStorageSaveData ofd_packets/00042994 [10:12:03]File name is /storage/ofd_packets/00042994 [10:12:03]Write 491 bytes [10:12:03]NVStorageSaveData done [10:12:03]OFDSenderStorePacket done [10:12:03]KKMCreateOFDPacket done [10:12:03]NVStorageSaveData kkm_last_timestamp [10:12:03]File name is /storage/kkm_last_timestamp [10:12:03]Write 4 bytes [10:12:03]NVStorageSaveData done [10:12:03]ExternCall_PrintAddStr [10:12:03]wPrintStart [10:12:03]Write to MH i2c: 01 00 00 5B 0D 68 [10:12:03]OFD Sender: Processing packet 42994 [packets to send 31, broken 30] [10:12:03]ProducePacketName [10:12:03]name=ofd_packets/00042994 [10:12:03]OFD Sender: To server: pG, [10:12:03]CommunicateWithHost lk.salyk.kg:30040 [10:12:03]ConnectInit lk.salyk.kg [10:12:03]Write i2c OK [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: 01 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: 01 07 00 [10:12:03]MH_I2C_Read... [10:12:03]Read from MH i2c: 01 07 00 5B 0D 00 00 00 00 00 FF 0F 7D [10:12:03]RasterBufferAndPrint [10:12:03]line Счет N : (3)300122 [10:12:03]line ИНН: 02508201610067 [10:12:03]line Контрольно-Кассовый Чек [10:12:03]line ПРОДАЖА [10:12:03]line Товар: 4700003010032 [10:12:03]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [10:12:03]line 1.000 * 50.00 [10:12:03]line = 50.00 [10:12:03]line НДС 12% НСП 1% [10:12:03]line > о реализуемом товаре [10:12:03]line Товар: 4607010748616 [10:12:03]line Сух Кириешки МАХ - охотничьи колбаски 40 [10:12:03]line 1.000 * 21.00 [10:12:03]line = 21.00 [10:12:03]line НДС 12% НСП 1% [10:12:03]line > о реализуемом товаре [10:12:03]line ИТОГО: 71.00 [10:12:03]line НСП 1% : 0.63 [10:12:03]line НДС 12% : 7.54 [10:12:03]line Наличными: 0.00 [10:12:03]line Безнал.: 71.00 [10:12:03]line Место: АЗС № 71 "Партнер Нефть" [10:12:03]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:12:03]line СНО: Общий режим [10:12:03]line Чек 39 13.07.2024 10:12 [10:12:03]line Смена: 445 ФФД: 1.0 [10:12:03]line ЗНМ: 0300000153 [10:12:03]line РНМ: 0000000000091176 [10:12:03]line Версия ККМ: 001 [10:12:03]line Платежная система: АКБ Кыргызстан [10:12:03]line ФМ: 0000000000874935 [10:12:03]line ФД: 42994 [10:12:03]line ФПД: 243940832036737 [10:12:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T101204&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42994&fm=243940832036737&tin=02508201610067®Number=0000000000091176&sum=7100 [10:12:03]line 0 [10:12:03]written 0, free lines is 4095 [10:12:03]Connected sock=10 [10:12:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 CD 01 00 00 BF AB C5 01 87 87 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F4 52 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F2 A7 00 00 35 04 06 00 DD DC E6 A3 C7 81 F1 CB 0C 48 3E F1 06 4D [10:12:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F7 18 47 00 E5 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F2 A7 00 00 F4 03 04 00 EF FE 91 66 B6 04 01 00 00 87 14 E6 B3 6C 04 F4 FB [10:12:03]CommunicateWithHost err = 0 [10:12:03]CheckOFDResponse [10:12:03]1017 (14) - 77093643461234 [10:12:03]1041 (16) - 0000000000874935 [10:12:03]1040 (4) - 42994 [10:12:03]1012 (4) - 13.07.2024 04:13 [10:12:03]1206 (1) - 0 [10:12:03]OFD Sender: Remove packet 42994 [10:12:03]ProducePacketName [10:12:03]name=ofd_packets/00042994 [10:12:03]NVStorageDeleteData [10:12:04]Write to MH i2c: 01 00 00 8D 0D 9A [10:12:04]Write i2c OK [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: 01 [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: 01 07 00 [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: 01 07 00 8D 0D 00 00 00 00 00 6E 0C 1B [10:12:04]RasterBufferAndPrint [10:12:04]line [10:12:04]line [10:12:04]line [10:12:04]line [10:12:04]line [10:12:04]written 0, free lines is 3188 [10:12:04]MH_Cut [10:12:04]Write to MH i2c: D1 01 00 94 0D 01 73 [10:12:04]Write i2c OK [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: D1 [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: D1 01 00 [10:12:04]MH_I2C_Read... [10:12:04]Read from MH i2c: D1 01 00 94 0D 00 72 [10:12:04]Write to MH i2c: 01 00 00 95 0D A2 [10:12:04]Write i2c OK [10:12:04]MH_I2C_Read... [10:12:04]OFD Sender: No OFD packet to send [10:12:05]*** Cut start [10:12:05]*** Partial cut [10:12:05]*** CUTSNS_PIN = 1 [10:12:05]*** CUTSNS_PIN = 0 [10:12:05]*** Brake cut motor [10:12:05]Read from MH i2c: 01 [10:12:05]MH_I2C_Read... [10:12:05]*** Stop cut motor [10:12:05]*** Cut end [10:12:05]Read from MH i2c: 01 07 00 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: 01 07 00 95 0D 00 00 00 00 00 FF 0F B7 [10:12:05]process_action close_receipt done [10:12:05]requested_data is exist [10:12:05]produce_requested_data [10:12:05]requested_item fm.sn is exist - process it [10:12:05]wFMCommunicate request_size=4 [10:12:05]MH_SAM_APDU [10:12:05]CAPDU: 80 11 00 00 [10:12:05]Write to MH i2c: E2 08 00 96 0D 80 11 00 00 00 00 00 00 1D [10:12:05]Write i2c OK [10:12:05]MH_I2C_Read... [10:12:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:05]Read from MH i2c: E2 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 17 00 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 17 00 96 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 74 [10:12:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:12:05]wFMCommunicate OK [10:12:05]requested_item fd.num is exist - process it [10:12:05]SAM_PROTO_GetFieldsCounters [10:12:05]wFMCommunicate request_size=4 [10:12:05]MH_SAM_APDU [10:12:05]CAPDU: 80 13 00 00 [10:12:05]Write to MH i2c: E2 08 00 97 0D 80 13 00 00 00 00 00 00 20 [10:12:05]Write i2c OK [10:12:05]MH_I2C_Read... [10:12:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:05]Read from MH i2c: E2 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 62 00 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 62 00 97 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F2 A7 00 00 0E 04 04 00 BD 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 10 [10:12:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F2 A7 00 00 0E 04 04 00 BD 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 [10:12:05]wFMCommunicate OK [10:12:05]SAM_PROTO_GetFieldsCounters done [10:12:05]requested_item shift.num is exist - process it [10:12:05]requested_item shift.opened is exist - process it [10:12:05]req_shift_opened [10:12:05]FM_GetShiftState [10:12:05]SAM_PROTO_GetShiftState [10:12:05]wFMCommunicate request_size=4 [10:12:05]MH_SAM_APDU [10:12:05]CAPDU: 80 13 01 00 [10:12:05]Write to MH i2c: E2 08 00 98 0D 80 13 01 00 00 00 00 00 22 [10:12:05]Write i2c OK [10:12:05]MH_I2C_Read... [10:12:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:05]Read from MH i2c: E2 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 0E 00 [10:12:05]MH_I2C_Read... [10:12:05]Read from MH i2c: E2 0E 00 98 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B9 [10:12:05]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:12:05]wFMCommunicate OK [10:12:05]SAM_PROTO_GetShiftState done [10:12:05]FM_GetShiftState done [10:12:05]req_shift_opened done [10:12:05]requested_item shift.open_date is exist - process it [10:12:05]req_shift_open_date [10:12:05]req_shift_open_date done [10:12:05]requested_item shift.sale.total is exist - process it [10:12:05]SAM_PROTO_GetShiftData [10:12:05]wFMCommunicate request_size=4 [10:12:05]MH_SAM_APDU [10:12:05]CAPDU: 80 13 02 00 [10:12:05]Write to MH i2c: E2 08 00 99 0D 80 13 02 00 00 00 00 00 24 [10:12:05]Write i2c OK [10:12:05]MH_I2C_Read... [10:12:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:12:06]Read from MH i2c: E2 [10:12:06]MH_I2C_Read... [10:12:06]Read from MH i2c: E2 FD 00 [10:12:06]MH_I2C_Read... [10:12:06]Read from MH i2c: E2 FD 00 99 0D 00 AE 04 AA 04 AA 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 D8 9A 0A 70 04 03 00 14 E8 08 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4D 20 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B2 [10:12:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 D8 9A 0A 70 04 03 00 14 E8 08 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4D 20 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:12:06]wFMCommunicate OK [10:12:06]wFMCommunicate request_size=4 [10:12:06]MH_SAM_APDU [10:12:06]CAPDU: 80 17 00 00 [10:12:06]Write to MH i2c: E2 08 00 9A 0D 80 17 00 00 00 00 00 00 27 [10:12:06]Write i2c OK [10:12:06]MH_I2C_Read... [10:12:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:06]Read from MH i2c: E2 [10:12:06]MH_I2C_Read... [10:12:06]Read from MH i2c: E2 FD 00 [10:12:06]MH_I2C_Read... [10:12:06]Read from MH i2c: E2 FD 00 9A 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 49 [10:12:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:12:06]wFMCommunicate OK [10:12:06]wFMCommunicate request_size=4 [10:12:06]MH_SAM_APDU [10:12:06]CAPDU: 80 17 00 00 [10:12:06]Write to MH i2c: E2 08 00 9B 0D 80 17 00 00 00 00 00 00 28 [10:12:06]Write i2c OK [10:12:06]MH_I2C_Read... [10:12:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:07]Read from MH i2c: E2 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 FD 00 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 FD 00 9B 0D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 DF [10:12:07]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:12:07]wFMCommunicate OK [10:12:07]wFMCommunicate request_size=4 [10:12:07]MH_SAM_APDU [10:12:07]CAPDU: 80 17 00 00 [10:12:07]Write to MH i2c: E2 08 00 9C 0D 80 17 00 00 00 00 00 00 29 [10:12:07]Write i2c OK [10:12:07]MH_I2C_Read... [10:12:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:07]Read from MH i2c: E2 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 FD 00 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 FD 00 9C 0D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9B [10:12:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:12:07]wFMCommunicate OK [10:12:07]wFMCommunicate request_size=4 [10:12:07]MH_SAM_APDU [10:12:07]CAPDU: 80 17 00 00 [10:12:07]Write to MH i2c: E2 08 00 9D 0D 80 17 00 00 00 00 00 00 2A [10:12:07]Write i2c OK [10:12:07]MH_I2C_Read... [10:12:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:12:07]Read from MH i2c: E2 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 CB 00 [10:12:07]MH_I2C_Read... [10:12:07]Read from MH i2c: E2 CB 00 9D 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 13 [10:12:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:12:07]wFMCommunicate OK [10:12:07]SAM_PROTO_GetShiftData done [10:12:07]requested_item shift.sale.total_cash is exist - process it [10:12:07]requested_item shift.sale_refund.total is exist - process it [10:12:07]requested_item shift.sale_refund.total_cash is exist - process it [10:12:07]produce_requested_data done [10:12:07]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42994,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6950.00,"shift.sale.total_cash":5837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:12:07]process_action_free close_receipt [10:12:07]json_value_free [10:12:07]json_value_free done [10:12:07]process_json_proto returns [10:12:07]Send response to host [10:12:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42994,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":6950.00,"shift.sale.total_cash":5837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:12:07]free response buf [10:12:07]execute_script done [10:12:07]execute_script returns [10:12:07]free content buf [10:12:07]Sock 7.Close socket [10:12:07]Sock 7.Thread stoped [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:07]accept exits with 9 [10:21:07]New connection [10:21:07]New thread 3067387236 created [10:21:07]Thread 3067530596 joined [10:21:07]Waiting for new connection... [10:21:07] Sock 9.Parse request [10:21:07]Sock 9.Check first char [10:21:07]Sock 9.First char is OK [10:21:07]request: POST /json_proto HTTP/1.0 [10:21:07]Method: POST [10:21:07]URL: /json_proto [10:21:07]Method is POST - this is cgi request [10:21:07]url: /json_proto [10:21:07]query_string will be loaded in cgi processing [10:21:07]execute_cgi json_proto POST (null) [10:21:07]execute_cgi path=json_proto method=POST [10:21:07]POST find Content-Length [10:21:07]Host: 172.17.38.197:8080 [10:21:07]Content-Length: 750 [10:21:07]Content-Type: application/json [10:21:07] [10:21:07]POST finish read [10:21:07]Found Content-Length = 750 [10:21:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300123", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:21:07]execute_script... [10:21: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 : (3)300123", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:21:07]POST & json_proto [10:21:07]process_json_proto [10:21:07]json parsed OK: [10:21:07]protocol is kg_v1.0 [10:21:07]action value=close_receipt [10:21:07]process_action close_receipt [10:21:07]cmd_close_receipt [10:21:07]MH_GetDate [10:21:07]Write to MH i2c: F0 00 00 9E 0D 9A [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: F0 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: F0 09 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: F0 09 00 9E 0D 00 16 55 92 66 1E 0D 88 66 1F [10:21:07]GetLastDocTimeStamp 1720865524 [10:21:07]current date 1720866070 [10:21:07]FM_GetShiftState [10:21:07]SAM_PROTO_GetShiftState [10:21:07]wFMCommunicate request_size=4 [10:21:07]MH_SAM_APDU [10:21:07]CAPDU: 80 13 01 00 [10:21:07]Write to MH i2c: E2 08 00 9F 0D 80 13 01 00 00 00 00 00 29 [10:21:07]Write i2c OK [10:21:07]MH_I2C_Read... [10:21:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:07]Read from MH i2c: E2 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 0E 00 [10:21:07]MH_I2C_Read... [10:21:07]Read from MH i2c: E2 0E 00 9F 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C0 [10:21:07]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:21:07]wFMCommunicate OK [10:21:07]SAM_PROTO_GetShiftState done [10:21:07]FM_GetShiftState done [10:21:07]opened in 1720829646 [10:21:07]opened+sec_in_day 1720916046 [10:21:07]quantity*price = 26000 [10:21:07]sum+1 = 26001 [10:21:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 40 13.07.2024 10:21 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42995 ФПД: 190853642412446 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102110&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42995&fm=190853642412446&tin=02508201610067®Number=0000000000091176&sum=26000 0 [10:21:08]StoreToDocumentArchive [10:21:08]shift 445 fd 42995 [10:21:08]save to /storage/0445/doc_00042995 [10:21:08]save last doc name /storage/0445/doc_00042995 to /storage/kkm_last_doc_name [10:21:08]save OK [10:21:08]Clear old archive folders... [10:21:08]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:21:08]tlvbuf is 015AF040 [10:21:08]SAM_PROTO_ClearQueue [10:21:08]wFMCommunicate request_size=4 [10:21:08]MH_SAM_APDU [10:21:08]CAPDU: 80 09 00 00 [10:21:08]Write to MH i2c: E2 08 00 AC 0D 80 09 00 00 00 00 00 00 2B [10:21:08]Write i2c OK [10:21:08]MH_I2C_Read... [10:21:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 AC 0D 00 90 00 2D [10:21:09]RAPDU: 90 00 [10:21:09]wFMCommunicate OK [10:21:09]SAM_PROTO_ClearQueue done [10:21:09]KKMCreateOFDPacket [10:21:09]OFDProtocolAddRootSTLVToBuf [10:21:09]FM_MakeSignedData [10:21:09]FM_MakeSignedData [10:21:09]SAM_PROTO_SignData [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 0D 01 02 [10:21:09]Write to MH i2c: E2 08 00 AD 0D 80 0D 01 02 00 00 00 00 33 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 AD 0D 00 90 00 2E [10:21:09]RAPDU: 90 00 [10:21:09]wFMCommunicate OK [10:21:09]wFMCommunicate request_size=255 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 16 55 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 [10:21:09]Write to MH i2c: E2 02 01 AE 0D 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 16 55 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 00 00 44 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 AE 0D 00 90 00 2F [10:21:09]RAPDU: 90 00 [10:21:09]wFMCommunicate OK [10:21:09]wFMCommunicate request_size=41 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F3 A7 00 00 35 04 06 00 AD 94 93 8F 61 9E [10:21:09]Write to MH i2c: E2 2C 00 AF 0D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F3 A7 00 00 35 04 06 00 AD 94 93 8F 61 9E 00 00 05 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 03 00 AF 0D 00 90 00 30 [10:21:09]RAPDU: 90 00 [10:21:09]wFMCommunicate OK [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 0D 03 02 [10:21:09]Write to MH i2c: E2 08 00 B0 0D 80 0D 03 02 00 00 00 00 38 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 0B 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 0B 00 B0 0D 00 95 B7 08 AB 39 E6 E2 92 90 00 CB [10:21:09]RAPDU: 95 B7 08 AB 39 E6 E2 92 90 00 [10:21:09]wFMCommunicate OK [10:21:09]SAM_PROTO_SignData done [10:21:09]FM_MakeSignedData done [10:21:09]CreateOFDProtocolMessage [10:21:09]wFMCommunicate request_size=4 [10:21:09]MH_SAM_APDU [10:21:09]CAPDU: 80 11 00 00 [10:21:09]Write to MH i2c: E2 08 00 B1 0D 80 11 00 00 00 00 00 00 38 [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:09]Read from MH i2c: E2 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 17 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: E2 17 00 B1 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 8F [10:21:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:21:09]wFMCommunicate OK [10:21:09]CreateOFDProtocolMessage done [10:21:09]OFDSenderStorePacket 42995 [10:21:09]StoreOFDPacket docnum=42995 [10:21:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2E 01 00 00 8B E0 26 01 5E 52 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 16 55 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F3 A7 00 00 35 04 06 00 AD 94 93 8F 61 9E 95 B7 08 AB 39 E6 E2 92 [10:21:09]CheckFolder [10:21:09]dirname=/storage/ofd_packets [10:21:09]CheckFolder done [10:21:09]ProducePacketName [10:21:09]name=ofd_packets/00042995 [10:21:09]NVStorageSaveData ofd_packets/00042995 [10:21:09]File name is /storage/ofd_packets/00042995 [10:21:09]Write 332 bytes [10:21:09]NVStorageSaveData done [10:21:09]OFDSenderStorePacket done [10:21:09]KKMCreateOFDPacket done [10:21:09]NVStorageSaveData kkm_last_timestamp [10:21:09]File name is /storage/kkm_last_timestamp [10:21:09]Write 4 bytes [10:21:09]NVStorageSaveData done [10:21:09]ExternCall_PrintAddStr [10:21:09]wPrintStart [10:21:09]Write to MH i2c: 01 00 00 B2 0D BF [10:21:09]Write i2c OK [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: 01 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: 01 07 00 [10:21:09]MH_I2C_Read... [10:21:09]Read from MH i2c: 01 07 00 B2 0D 00 00 00 00 00 FF 0F D4 [10:21:09]RasterBufferAndPrint [10:21:09]line Счет N : (3)300123 [10:21:09]line ИНН: 02508201610067 [10:21:09]line Контрольно-Кассовый Чек [10:21:09]line ПРОДАЖА [10:21:09]line Товар: 2000036220012 [10:21:09]line Кофе Капучино XL(GABB TRADE) [10:21:09]line 2.000 * 130.00 [10:21:09]line = 260.00 [10:21:09]line НДС 12% НСП 1% [10:21:09]line > о реализуемом товаре [10:21:09]line ИТОГО: 260.00 [10:21:09]line НСП 1% : 2.30 [10:21:09]line НДС 12% : 27.61 [10:21:09]line Наличными: 260.00 [10:21:09]line Безнал.: 0.00 [10:21:09]line Место: АЗС № 71 "Партнер Нефть" [10:21:09]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:21:09]line СНО: Общий режим [10:21:09]line Чек 40 13.07.2024 10:21 [10:21:09]line Смена: 445 ФФД: 1.0 [10:21:09]line ЗНМ: 0300000153 [10:21:09]line РНМ: 0000000000091176 [10:21:09]line Версия ККМ: 001 [10:21:09]line ФМ: 0000000000874935 [10:21:09]line ФД: 42995 [10:21:09]line ФПД: 190853642412446 [10:21:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102110&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42995&fm=190853642412446&tin=02508201610067®Number=0000000000091176&sum=26000 [10:21:09]line 0 [10:21:09]OFD Sender: Processing packet 42995 [packets to send 31, broken 30] [10:21:09]ProducePacketName [10:21:09]name=ofd_packets/00042995 [10:21:09]OFD Sender: To server: pG, [10:21:09]CommunicateWithHost lk.salyk.kg:30040 [10:21:09]ConnectInit lk.salyk.kg [10:21:09]written 0, free lines is 4095 [10:21:09]Connected sock=11 [10:21:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2E 01 00 00 8B E0 26 01 5E 52 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 16 55 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F3 A7 00 00 35 04 06 00 AD 94 93 8F 61 9E 95 B7 08 AB 39 E6 E2 92 [10:21:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1C 2E 47 00 6C 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F3 A7 00 00 F4 03 04 00 11 01 92 66 B6 04 01 00 00 0D C5 C8 4D 1D 7B CD 33 [10:21:10]CommunicateWithHost err = 0 [10:21:10]CheckOFDResponse [10:21:10]1017 (14) - 77093643461234 [10:21:10]1041 (16) - 0000000000874935 [10:21:10]1040 (4) - 42995 [10:21:10]1012 (4) - 13.07.2024 04:22 [10:21:10]1206 (1) - 0 [10:21:10]OFD Sender: Remove packet 42995 [10:21:10]ProducePacketName [10:21:10]name=ofd_packets/00042995 [10:21:10]NVStorageDeleteData [10:21:10]Write to MH i2c: 01 00 00 DB 0D E8 [10:21:10]Write i2c OK [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: 01 [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: 01 07 00 [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: 01 07 00 DB 0D 00 00 00 00 00 F7 0C F2 [10:21:10]RasterBufferAndPrint [10:21:10]line [10:21:10]line [10:21:10]line [10:21:10]line [10:21:10]line [10:21:10]written 0, free lines is 3326 [10:21:10]MH_Cut [10:21:10]Write to MH i2c: D1 01 00 E2 0D 01 C1 [10:21:10]Write i2c OK [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: D1 [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: D1 01 00 [10:21:10]MH_I2C_Read... [10:21:10]Read from MH i2c: D1 01 00 E2 0D 00 C0 [10:21:10]Write to MH i2c: 01 00 00 E3 0D F0 [10:21:10]Write i2c OK [10:21:10]MH_I2C_Read... [10:21:10]OFD Sender: No OFD packet to send [10:21:11]*** Cut start [10:21:11]*** Partial cut [10:21:11]*** CUTSNS_PIN = 1 [10:21:11]*** CUTSNS_PIN = 0 [10:21:11]*** Brake cut motor [10:21:11]Read from MH i2c: 01 [10:21:11]MH_I2C_Read... [10:21:11]*** Stop cut motor [10:21:11]*** Cut end [10:21:11]Read from MH i2c: 01 07 00 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: 01 07 00 E3 0D 00 00 00 00 00 FF 0F 05 [10:21:11]process_action close_receipt done [10:21:11]requested_data is exist [10:21:11]produce_requested_data [10:21:11]requested_item fm.sn is exist - process it [10:21:11]wFMCommunicate request_size=4 [10:21:11]MH_SAM_APDU [10:21:11]CAPDU: 80 11 00 00 [10:21:11]Write to MH i2c: E2 08 00 E4 0D 80 11 00 00 00 00 00 00 6B [10:21:11]Write i2c OK [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 [10:21:11]MH_I2C_Read... [10:21:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:11]Read from MH i2c: E2 17 00 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 17 00 E4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C2 [10:21:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:21:11]wFMCommunicate OK [10:21:11]requested_item fd.num is exist - process it [10:21:11]SAM_PROTO_GetFieldsCounters [10:21:11]wFMCommunicate request_size=4 [10:21:11]MH_SAM_APDU [10:21:11]CAPDU: 80 13 00 00 [10:21:11]Write to MH i2c: E2 08 00 E5 0D 80 13 00 00 00 00 00 00 6E [10:21:11]Write i2c OK [10:21:11]MH_I2C_Read... [10:21:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:21:11]Read from MH i2c: E2 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 62 00 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 62 00 E5 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F3 A7 00 00 0E 04 04 00 BD 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 62 [10:21:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F3 A7 00 00 0E 04 04 00 BD 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 [10:21:11]wFMCommunicate OK [10:21:11]SAM_PROTO_GetFieldsCounters done [10:21:11]requested_item shift.num is exist - process it [10:21:11]requested_item shift.opened is exist - process it [10:21:11]req_shift_opened [10:21:11]FM_GetShiftState [10:21:11]SAM_PROTO_GetShiftState [10:21:11]wFMCommunicate request_size=4 [10:21:11]MH_SAM_APDU [10:21:11]CAPDU: 80 13 01 00 [10:21:11]Write to MH i2c: E2 08 00 E6 0D 80 13 01 00 00 00 00 00 70 [10:21:11]Write i2c OK [10:21:11]MH_I2C_Read... [10:21:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:11]Read from MH i2c: E2 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 0E 00 [10:21:11]MH_I2C_Read... [10:21:11]Read from MH i2c: E2 0E 00 E6 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 07 [10:21:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:21:11]wFMCommunicate OK [10:21:11]SAM_PROTO_GetShiftState done [10:21:11]FM_GetShiftState done [10:21:11]req_shift_opened done [10:21:11]requested_item shift.open_date is exist - process it [10:21:11]req_shift_open_date [10:21:11]req_shift_open_date done [10:21:11]requested_item shift.sale.total is exist - process it [10:21:11]SAM_PROTO_GetShiftData [10:21:11]wFMCommunicate request_size=4 [10:21:11]MH_SAM_APDU [10:21:11]CAPDU: 80 13 02 00 [10:21:11]Write to MH i2c: E2 08 00 E7 0D 80 13 02 00 00 00 00 00 72 [10:21:11]Write i2c OK [10:21:11]MH_I2C_Read... [10:21:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:21:12]Read from MH i2c: E2 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 E7 0D 00 AE 04 AA 04 AA 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 68 00 0B 70 04 03 00 A4 4D 09 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 16 2B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E8 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A9 [10:21:12]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 68 00 0B 70 04 03 00 A4 4D 09 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 16 2B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E8 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:21:12]wFMCommunicate OK [10:21:12]wFMCommunicate request_size=4 [10:21:12]MH_SAM_APDU [10:21:12]CAPDU: 80 17 00 00 [10:21:12]Write to MH i2c: E2 08 00 E8 0D 80 17 00 00 00 00 00 00 75 [10:21:12]Write i2c OK [10:21:12]MH_I2C_Read... [10:21:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:21:12]Read from MH i2c: E2 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 E8 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 97 [10:21:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:21:12]wFMCommunicate OK [10:21:12]wFMCommunicate request_size=4 [10:21:12]MH_SAM_APDU [10:21:12]CAPDU: 80 17 00 00 [10:21:12]Write to MH i2c: E2 08 00 E9 0D 80 17 00 00 00 00 00 00 76 [10:21:12]Write i2c OK [10:21:12]MH_I2C_Read... [10:21:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:21:12]Read from MH i2c: E2 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 [10:21:12]MH_I2C_Read... [10:21:12]Read from MH i2c: E2 FD 00 E9 0D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2D [10:21:12]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:21:12]wFMCommunicate OK [10:21:12]wFMCommunicate request_size=4 [10:21:12]MH_SAM_APDU [10:21:12]CAPDU: 80 17 00 00 [10:21:12]Write to MH i2c: E2 08 00 EA 0D 80 17 00 00 00 00 00 00 77 [10:21:12]Write i2c OK [10:21:12]MH_I2C_Read... [10:21:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:21:13]Read from MH i2c: E2 [10:21:13]MH_I2C_Read... [10:21:13]Read from MH i2c: E2 FD 00 [10:21:13]MH_I2C_Read... [10:21:13]Read from MH i2c: E2 FD 00 EA 0D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E9 [10:21:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:21:13]wFMCommunicate OK [10:21:13]wFMCommunicate request_size=4 [10:21:13]MH_SAM_APDU [10:21:13]CAPDU: 80 17 00 00 [10:21:13]Write to MH i2c: E2 08 00 EB 0D 80 17 00 00 00 00 00 00 78 [10:21:13]Write i2c OK [10:21:13]MH_I2C_Read... [10:21:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:21:13]Read from MH i2c: E2 [10:21:13]MH_I2C_Read... [10:21:13]Read from MH i2c: E2 CB 00 [10:21:13]MH_I2C_Read... [10:21:13]Read from MH i2c: E2 CB 00 EB 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 61 [10:21:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:21:13]wFMCommunicate OK [10:21:13]SAM_PROTO_GetShiftData done [10:21:13]requested_item shift.sale.total_cash is exist - process it [10:21:13]requested_item shift.sale_refund.total is exist - process it [10:21:13]requested_item shift.sale_refund.total_cash is exist - process it [10:21:13]produce_requested_data done [10:21:13]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42995,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7210.00,"shift.sale.total_cash":6097.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:21:13]process_action_free close_receipt [10:21:13]json_value_free [10:21:13]json_value_free done [10:21:13]process_json_proto returns [10:21:13]Send response to host [10:21:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42995,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7210.00,"shift.sale.total_cash":6097.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:21:13]free response buf [10:21:13]execute_script done [10:21:13]execute_script returns [10:21:13]free content buf [10:21:13]Sock 9.Close socket [10:21:13]Sock 9.Thread stoped [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:11]accept exits with 7 [10:29:11]New connection [10:29:11]New thread 3067530596 created [10:29:11]Thread 3067387236 joined [10:29:11]Waiting for new connection... [10:29:11] Sock 7.Parse request [10:29:11]Sock 7.Check first char [10:29:11]Sock 7.First char is OK [10:29:11]request: POST /json_proto HTTP/1.0 [10:29:11]Method: POST [10:29:11]URL: /json_proto [10:29:11]Method is POST - this is cgi request [10:29:11]url: /json_proto [10:29:11]query_string will be loaded in cgi processing [10:29:11]execute_cgi json_proto POST (null) [10:29:11]execute_cgi path=json_proto method=POST [10:29:11]POST find Content-Length [10:29:11]Host: 172.17.38.197:8080 [10:29:11]Content-Length: 748 [10:29:11]Content-Type: application/json [10:29:11] [10:29:11]POST finish read [10:29:11]Found Content-Length = 748 [10:29:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300124", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:29:11]execute_script... [10:29:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300124", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:29:11]POST & json_proto [10:29:11]process_json_proto [10:29:11]json parsed OK: [10:29:11]protocol is kg_v1.0 [10:29:11]action value=close_receipt [10:29:11]process_action close_receipt [10:29:11]cmd_close_receipt [10:29:11]MH_GetDate [10:29:11]Write to MH i2c: F0 00 00 EC 0D E8 [10:29:11]Write i2c OK [10:29:11]MH_I2C_Read... [10:29:11]Read from MH i2c: F0 [10:29:11]MH_I2C_Read... [10:29:11]Read from MH i2c: F0 09 00 [10:29:11]MH_I2C_Read... [10:29:11]Read from MH i2c: F0 09 00 EC 0D 00 FA 56 92 66 1E 0D 88 66 52 [10:29:11]GetLastDocTimeStamp 1720866070 [10:29:11]current date 1720866554 [10:29:11]FM_GetShiftState [10:29:11]SAM_PROTO_GetShiftState [10:29:11]wFMCommunicate request_size=4 [10:29:11]MH_SAM_APDU [10:29:11]CAPDU: 80 13 01 00 [10:29:11]Write to MH i2c: E2 08 00 ED 0D 80 13 01 00 00 00 00 00 77 [10:29:11]Write i2c OK [10:29:11]MH_I2C_Read... [10:29:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:11]Read from MH i2c: E2 [10:29:11]MH_I2C_Read... [10:29:11]Read from MH i2c: E2 0E 00 [10:29:11]MH_I2C_Read... [10:29:11]Read from MH i2c: E2 0E 00 ED 0D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0E [10:29:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:29:11]wFMCommunicate OK [10:29:11]SAM_PROTO_GetShiftState done [10:29:11]FM_GetShiftState done [10:29:11]opened in 1720829646 [10:29:11]opened+sec_in_day 1720916046 [10:29:11]quantity*price = 11500 [10:29:11]sum+1 = 11501 [10:29:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 41 13.07.2024 10:29 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42996 ФПД: 180157801209408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102914&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42996&fm=180157801209408&tin=02508201610067®Number=0000000000091176&sum=11500 0 [10:29:12]StoreToDocumentArchive [10:29:12]shift 445 fd 42996 [10:29:12]save to /storage/0445/doc_00042996 [10:29:12]save last doc name /storage/0445/doc_00042996 to /storage/kkm_last_doc_name [10:29:12]save OK [10:29:12]Clear old archive folders... [10:29:13]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:29:13]tlvbuf is 01583B70 [10:29:13]SAM_PROTO_ClearQueue [10:29:13]wFMCommunicate request_size=4 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 09 00 00 [10:29:13]Write to MH i2c: E2 08 00 FA 0D 80 09 00 00 00 00 00 00 79 [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 FA 0D 00 90 00 7B [10:29:13]RAPDU: 90 00 [10:29:13]wFMCommunicate OK [10:29:13]SAM_PROTO_ClearQueue done [10:29:13]KKMCreateOFDPacket [10:29:13]OFDProtocolAddRootSTLVToBuf [10:29:13]FM_MakeSignedData [10:29:13]FM_MakeSignedData [10:29:13]SAM_PROTO_SignData [10:29:13]wFMCommunicate request_size=4 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 0D 01 02 [10:29:13]Write to MH i2c: E2 08 00 FB 0D 80 0D 01 02 00 00 00 00 81 [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 FB 0D 00 90 00 7C [10:29:13]RAPDU: 90 00 [10:29:13]wFMCommunicate OK [10:29:13]wFMCommunicate request_size=255 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FA 56 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 [10:29:13]Write to MH i2c: E2 02 01 FC 0D 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FA 56 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 00 00 EF [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 FC 0D 00 90 00 7D [10:29:13]RAPDU: 90 00 [10:29:13]wFMCommunicate OK [10:29:13]wFMCommunicate request_size=39 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F4 A7 00 00 35 04 06 00 A3 DA 41 BE 9E 40 [10:29:13]Write to MH i2c: E2 2A 00 FD 0D 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F4 A7 00 00 35 04 06 00 A3 DA 41 BE 9E 40 00 00 38 [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 03 00 FD 0D 00 90 00 7E [10:29:13]RAPDU: 90 00 [10:29:13]wFMCommunicate OK [10:29:13]wFMCommunicate request_size=4 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 0D 03 02 [10:29:13]Write to MH i2c: E2 08 00 FE 0D 80 0D 03 02 00 00 00 00 86 [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 0B 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 0B 00 FE 0D 00 20 32 2B 12 BC 8A C9 C4 90 00 E9 [10:29:13]RAPDU: 20 32 2B 12 BC 8A C9 C4 90 00 [10:29:13]wFMCommunicate OK [10:29:13]SAM_PROTO_SignData done [10:29:13]FM_MakeSignedData done [10:29:13]CreateOFDProtocolMessage [10:29:13]wFMCommunicate request_size=4 [10:29:13]MH_SAM_APDU [10:29:13]CAPDU: 80 11 00 00 [10:29:13]Write to MH i2c: E2 08 00 FF 0D 80 11 00 00 00 00 00 00 86 [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:13]Read from MH i2c: E2 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 17 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: E2 17 00 FF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 DD [10:29:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:29:13]wFMCommunicate OK [10:29:13]CreateOFDProtocolMessage done [10:29:13]OFDSenderStorePacket 42996 [10:29:13]StoreOFDPacket docnum=42996 [10:29:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 27 11 24 01 2D E2 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FA 56 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F4 A7 00 00 35 04 06 00 A3 DA 41 BE 9E 40 20 32 2B 12 BC 8A C9 C4 [10:29:13]CheckFolder [10:29:13]dirname=/storage/ofd_packets [10:29:13]CheckFolder done [10:29:13]ProducePacketName [10:29:13]name=ofd_packets/00042996 [10:29:13]NVStorageSaveData ofd_packets/00042996 [10:29:13]File name is /storage/ofd_packets/00042996 [10:29:13]Write 330 bytes [10:29:13]NVStorageSaveData done [10:29:13]OFDSenderStorePacket done [10:29:13]KKMCreateOFDPacket done [10:29:13]NVStorageSaveData kkm_last_timestamp [10:29:13]File name is /storage/kkm_last_timestamp [10:29:13]Write 4 bytes [10:29:13]NVStorageSaveData done [10:29:13]ExternCall_PrintAddStr [10:29:13]wPrintStart [10:29:13]Write to MH i2c: 01 00 00 00 0E 0E [10:29:13]Write i2c OK [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: 01 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: 01 07 00 [10:29:13]MH_I2C_Read... [10:29:13]Read from MH i2c: 01 07 00 00 0E 00 00 00 00 00 FF 0F 23 [10:29:13]RasterBufferAndPrint [10:29:13]line Счет N : (3)300124 [10:29:13]line ИНН: 02508201610067 [10:29:13]line Контрольно-Кассовый Чек [10:29:13]line ПРОДАЖА [10:29:13]line Товар: 2000036210013 [10:29:13]line Кофе Капучино (GABB TRADE) [10:29:13]line 1.000 * 115.00 [10:29:13]line = 115.00 [10:29:13]line НДС 12% НСП 1% [10:29:13]line > о реализуемом товаре [10:29:13]line ИТОГО: 115.00 [10:29:13]line НСП 1% : 1.02 [10:29:13]line НДС 12% : 12.21 [10:29:13]line Наличными: 115.00 [10:29:13]line Безнал.: 0.00 [10:29:13]line Место: АЗС № 71 "Партнер Нефть" [10:29:13]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:29:13]line СНО: Общий режим [10:29:13]line Чек 41 13.07.2024 10:29 [10:29:13]line Смена: 445 ФФД: 1.0 [10:29:13]line ЗНМ: 0300000153 [10:29:13]line РНМ: 0000000000091176 [10:29:13]line Версия ККМ: 001 [10:29:13]line ФМ: 0000000000874935 [10:29:13]line ФД: 42996 [10:29:13]line ФПД: 180157801209408 [10:29:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T102914&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42996&fm=180157801209408&tin=02508201610067®Number=0000000000091176&sum=11500 [10:29:13]OFD Sender: Processing packet 42996 [packets to send 31, broken 30] [10:29:13]ProducePacketName [10:29:13]name=ofd_packets/00042996 [10:29:13]OFD Sender: To server: pG, [10:29:13]CommunicateWithHost lk.salyk.kg:30040 [10:29:13]ConnectInit lk.salyk.kg [10:29:13]line 0 [10:29:13]written 0, free lines is 4095 [10:29:14]Connected sock=9 [10:29:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 27 11 24 01 2D E2 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 FA 56 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F4 A7 00 00 35 04 06 00 A3 DA 41 BE 9E 40 20 32 2B 12 BC 8A C9 C4 [10:29:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 49 3C 47 00 E0 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F4 A7 00 00 F4 03 04 00 F5 02 92 66 B6 04 01 00 00 11 2A 36 DC 0B DB 85 55 [10:29:14]CommunicateWithHost err = 0 [10:29:14]CheckOFDResponse [10:29:14]1017 (14) - 77093643461234 [10:29:14]1041 (16) - 0000000000874935 [10:29:14]1040 (4) - 42996 [10:29:14]1012 (4) - 13.07.2024 04:30 [10:29:14]1206 (1) - 0 [10:29:14]OFD Sender: Remove packet 42996 [10:29:14]ProducePacketName [10:29:14]name=ofd_packets/00042996 [10:29:14]NVStorageDeleteData [10:29:14]Write to MH i2c: 01 00 00 28 0E 36 [10:29:14]Write i2c OK [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: 01 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: 01 07 00 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: 01 07 00 28 0E 00 00 00 00 00 0F 0D 59 [10:29:14]RasterBufferAndPrint [10:29:14]line [10:29:14]line [10:29:14]line [10:29:14]line [10:29:14]line [10:29:14]written 0, free lines is 3349 [10:29:14]MH_Cut [10:29:14]Write to MH i2c: D1 01 00 2F 0E 01 0F [10:29:14]Write i2c OK [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: D1 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: D1 01 00 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: D1 01 00 2F 0E 00 0E [10:29:14]Write to MH i2c: 01 00 00 30 0E 3E [10:29:14]Write i2c OK [10:29:14]MH_I2C_Read... [10:29:14]OFD Sender: No OFD packet to send [10:29:15]*** Cut start [10:29:15]*** Partial cut [10:29:15]*** CUTSNS_PIN = 1 [10:29:15]*** CUTSNS_PIN = 0 [10:29:15]*** Brake cut motor [10:29:15]Read from MH i2c: 01 [10:29:15]MH_I2C_Read... [10:29:15]*** Stop cut motor [10:29:15]*** Cut end [10:29:15]Read from MH i2c: 01 07 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: 01 07 00 30 0E 00 00 00 00 00 FF 0F 53 [10:29:15]process_action close_receipt done [10:29:15]requested_data is exist [10:29:15]produce_requested_data [10:29:15]requested_item fm.sn is exist - process it [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 11 00 00 [10:29:15]Write to MH i2c: E2 08 00 31 0E 80 11 00 00 00 00 00 00 B9 [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 17 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 17 00 31 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 10 [10:29:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:29:15]wFMCommunicate OK [10:29:15]requested_item fd.num is exist - process it [10:29:15]SAM_PROTO_GetFieldsCounters [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 13 00 00 [10:29:15]Write to MH i2c: E2 08 00 32 0E 80 13 00 00 00 00 00 00 BC [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 62 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 62 00 32 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F4 A7 00 00 0E 04 04 00 BD 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 B4 [10:29:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F4 A7 00 00 0E 04 04 00 BD 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 [10:29:15]wFMCommunicate OK [10:29:15]SAM_PROTO_GetFieldsCounters done [10:29:15]requested_item shift.num is exist - process it [10:29:15]requested_item shift.opened is exist - process it [10:29:15]req_shift_opened [10:29:15]FM_GetShiftState [10:29:15]SAM_PROTO_GetShiftState [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 13 01 00 [10:29:15]Write to MH i2c: E2 08 00 33 0E 80 13 01 00 00 00 00 00 BE [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 0E 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 0E 00 33 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 55 [10:29:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:29:15]wFMCommunicate OK [10:29:15]SAM_PROTO_GetShiftState done [10:29:15]FM_GetShiftState done [10:29:15]req_shift_opened done [10:29:15]requested_item shift.open_date is exist - process it [10:29:15]req_shift_open_date [10:29:15]req_shift_open_date done [10:29:15]requested_item shift.sale.total is exist - process it [10:29:15]SAM_PROTO_GetShiftData [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 13 02 00 [10:29:15]Write to MH i2c: E2 08 00 34 0E 80 13 02 00 00 00 00 00 C0 [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:29:16]Read from MH i2c: E2 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 34 0E 00 AE 04 AA 04 AA 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 54 2D 0B 70 04 03 00 90 7A 09 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DB 2F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4E 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 5B [10:29:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 54 2D 0B 70 04 03 00 90 7A 09 72 04 03 00 C4 B2 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DB 2F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4E 19 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:29:16]wFMCommunicate OK [10:29:16]wFMCommunicate request_size=4 [10:29:16]MH_SAM_APDU [10:29:16]CAPDU: 80 17 00 00 [10:29:16]Write to MH i2c: E2 08 00 35 0E 80 17 00 00 00 00 00 00 C3 [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:29:16]Read from MH i2c: E2 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 35 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E5 [10:29:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:29:16]wFMCommunicate OK [10:29:16]wFMCommunicate request_size=4 [10:29:16]MH_SAM_APDU [10:29:16]CAPDU: 80 17 00 00 [10:29:16]Write to MH i2c: E2 08 00 36 0E 80 17 00 00 00 00 00 00 C4 [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:29:16]Read from MH i2c: E2 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: E2 FD 00 36 0E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 7B [10:29:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:29:17]wFMCommunicate OK [10:29:17]wFMCommunicate request_size=4 [10:29:17]MH_SAM_APDU [10:29:17]CAPDU: 80 17 00 00 [10:29:17]Write to MH i2c: E2 08 00 37 0E 80 17 00 00 00 00 00 00 C5 [10:29:17]Write i2c OK [10:29:17]MH_I2C_Read... [10:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:29:17]Read from MH i2c: E2 [10:29:17]MH_I2C_Read... [10:29:17]Read from MH i2c: E2 FD 00 [10:29:17]MH_I2C_Read... [10:29:17]Read from MH i2c: E2 FD 00 37 0E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 37 [10:29:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:29:17]wFMCommunicate OK [10:29:17]wFMCommunicate request_size=4 [10:29:17]MH_SAM_APDU [10:29:17]CAPDU: 80 17 00 00 [10:29:17]Write to MH i2c: E2 08 00 38 0E 80 17 00 00 00 00 00 00 C6 [10:29:17]Write i2c OK [10:29:17]MH_I2C_Read... [10:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:29:17]Read from MH i2c: E2 [10:29:17]MH_I2C_Read... [10:29:17]Read from MH i2c: E2 CB 00 [10:29:17]MH_I2C_Read... [10:29:17]Read from MH i2c: E2 CB 00 38 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AF [10:29:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:29:17]wFMCommunicate OK [10:29:17]SAM_PROTO_GetShiftData done [10:29:17]requested_item shift.sale.total_cash is exist - process it [10:29:17]requested_item shift.sale_refund.total is exist - process it [10:29:17]requested_item shift.sale_refund.total_cash is exist - process it [10:29:17]produce_requested_data done [10:29:17]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42996,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7325.00,"shift.sale.total_cash":6212.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:29:17]process_action_free close_receipt [10:29:17]json_value_free [10:29:17]json_value_free done [10:29:17]process_json_proto returns [10:29:17]Send response to host [10:29:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42996,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7325.00,"shift.sale.total_cash":6212.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:29:17]free response buf [10:29:17]execute_script done [10:29:17]execute_script returns [10:29:17]free content buf [10:29:17]Sock 7.Close socket [10:29:17]Sock 7.Thread stoped [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:52]accept exits with 10 [10:35:52]New connection [10:35:52]New thread 3067387236 created [10:35:52]Thread 3067530596 joined [10:35:52]Waiting for new connection... [10:35:52] Sock 10.Parse request [10:35:52]Sock 10.Check first char [10:35:52]Sock 10.First char is OK [10:35:52]request: POST /json_proto HTTP/1.0 [10:35:52]Method: POST [10:35:52]URL: /json_proto [10:35:52]Method is POST - this is cgi request [10:35:52]url: /json_proto [10:35:52]query_string will be loaded in cgi processing [10:35:52]execute_cgi json_proto POST (null) [10:35:52]execute_cgi path=json_proto method=POST [10:35:52]POST find Content-Length [10:35:52]Host: 172.17.38.197:8080 [10:35:52]Content-Length: 1209 [10:35:52]Content-Type: application/json [10:35:52] [10:35:52]POST finish read [10:35:52]Found Content-Length = 1209 [10:35:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300125", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 335.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:35:52]execute_script... [10:35:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300125", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 335.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:35:52]POST & json_proto [10:35:52]process_json_proto [10:35:52]json parsed OK: [10:35:52]protocol is kg_v1.0 [10:35:52]action value=close_receipt [10:35:52]process_action close_receipt [10:35:52]cmd_close_receipt [10:35:52]MH_GetDate [10:35:52]Write to MH i2c: F0 00 00 39 0E 36 [10:35:52]Write i2c OK [10:35:52]MH_I2C_Read... [10:35:52]Read from MH i2c: F0 [10:35:52]MH_I2C_Read... [10:35:52]Read from MH i2c: F0 09 00 [10:35:52]MH_I2C_Read... [10:35:52]Read from MH i2c: F0 09 00 39 0E 00 8B 58 92 66 1E 0D 88 66 33 [10:35:52]GetLastDocTimeStamp 1720866554 [10:35:52]current date 1720866955 [10:35:52]FM_GetShiftState [10:35:52]SAM_PROTO_GetShiftState [10:35:52]wFMCommunicate request_size=4 [10:35:52]MH_SAM_APDU [10:35:52]CAPDU: 80 13 01 00 [10:35:52]Write to MH i2c: E2 08 00 3A 0E 80 13 01 00 00 00 00 00 C5 [10:35:52]Write i2c OK [10:35:52]MH_I2C_Read... [10:35:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:52]Read from MH i2c: E2 [10:35:52]MH_I2C_Read... [10:35:52]Read from MH i2c: E2 0E 00 [10:35:52]MH_I2C_Read... [10:35:52]Read from MH i2c: E2 0E 00 3A 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5C [10:35:52]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:35:52]wFMCommunicate OK [10:35:52]SAM_PROTO_GetShiftState done [10:35:52]FM_GetShiftState done [10:35:52]opened in 1720829646 [10:35:52]opened+sec_in_day 1720916046 [10:35:52]quantity*price = 23000 [10:35:52]sum+1 = 23001 [10:35:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036200014 Кофе Эспрессо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 335.00 НСП 1% : 2.96 НДС 12% : 35.57 Наличными: 0.00 Безнал.: 335.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 42 13.07.2024 10:35 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 42997 ФПД: 207282548413149 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T103555&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42997&fm=207282548413149&tin=02508201610067®Number=0000000000091176&sum=33500 0 [10:35:53]StoreToDocumentArchive [10:35:53]shift 445 fd 42997 [10:35:53]save to /storage/0445/doc_00042997 [10:35:53]save last doc name /storage/0445/doc_00042997 to /storage/kkm_last_doc_name [10:35:53]save OK [10:35:53]Clear old archive folders... [10:35:53]ProcessDocumentItem done err = 0, tmpTLVsize=390 [10:35:53]tlvbuf is 0157B540 [10:35:53]SAM_PROTO_ClearQueue [10:35:53]wFMCommunicate request_size=4 [10:35:53]MH_SAM_APDU [10:35:53]CAPDU: 80 09 00 00 [10:35:53]Write to MH i2c: E2 08 00 47 0E 80 09 00 00 00 00 00 00 C7 [10:35:53]Write i2c OK [10:35:53]MH_I2C_Read... [10:35:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:35:53]Read from MH i2c: E2 [10:35:53]MH_I2C_Read... [10:35:53]Read from MH i2c: E2 03 00 [10:35:53]MH_I2C_Read... [10:35:53]Read from MH i2c: E2 03 00 47 0E 00 90 00 C9 [10:35:53]RAPDU: 90 00 [10:35:53]wFMCommunicate OK [10:35:53]SAM_PROTO_ClearQueue done [10:35:53]KKMCreateOFDPacket [10:35:53]OFDProtocolAddRootSTLVToBuf [10:35:53]FM_MakeSignedData [10:35:53]FM_MakeSignedData [10:35:53]SAM_PROTO_SignData [10:35:53]wFMCommunicate request_size=4 [10:35:53]MH_SAM_APDU [10:35:53]CAPDU: 80 0D 01 02 [10:35:53]Write to MH i2c: E2 08 00 48 0E 80 0D 01 02 00 00 00 00 CF [10:35:53]Write i2c OK [10:35:53]MH_I2C_Read... [10:35:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:35:54]Read from MH i2c: E2 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 48 0E 00 90 00 CA [10:35:54]RAPDU: 90 00 [10:35:54]wFMCommunicate OK [10:35:54]wFMCommunicate request_size=255 [10:35:54]MH_SAM_APDU [10:35:54]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [10:35:54]Write to MH i2c: E2 02 01 49 0E 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 71 [10:35:54]Write i2c OK [10:35:54]MH_I2C_Read... [10:35:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:54]Read from MH i2c: E2 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 49 0E 00 90 00 CB [10:35:54]RAPDU: 90 00 [10:35:54]wFMCommunicate OK [10:35:54]wFMCommunicate request_size=149 [10:35:54]MH_SAM_APDU [10:35:54]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8B 58 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F5 A7 00 00 35 04 06 00 BC 85 BA AA 92 DD [10:35:54]Write to MH i2c: E2 98 00 4A 0E 80 0D 02 02 90 00 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8B 58 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F5 A7 00 00 35 04 06 00 BC 85 BA AA 92 DD 00 00 0F [10:35:54]Write i2c OK [10:35:54]MH_I2C_Read... [10:35:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:54]Read from MH i2c: E2 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 03 00 4A 0E 00 90 00 CC [10:35:54]RAPDU: 90 00 [10:35:54]wFMCommunicate OK [10:35:54]wFMCommunicate request_size=4 [10:35:54]MH_SAM_APDU [10:35:54]CAPDU: 80 0D 03 02 [10:35:54]Write to MH i2c: E2 08 00 4B 0E 80 0D 03 02 00 00 00 00 D4 [10:35:54]Write i2c OK [10:35:54]MH_I2C_Read... [10:35:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:35:54]Read from MH i2c: E2 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 0B 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 0B 00 4B 0E 00 A0 5F 43 07 DE 5A DF 81 90 00 B6 [10:35:54]RAPDU: A0 5F 43 07 DE 5A DF 81 90 00 [10:35:54]wFMCommunicate OK [10:35:54]SAM_PROTO_SignData done [10:35:54]FM_MakeSignedData done [10:35:54]CreateOFDProtocolMessage [10:35:54]wFMCommunicate request_size=4 [10:35:54]MH_SAM_APDU [10:35:54]CAPDU: 80 11 00 00 [10:35:54]Write to MH i2c: E2 08 00 4C 0E 80 11 00 00 00 00 00 00 D4 [10:35:54]Write i2c OK [10:35:54]MH_I2C_Read... [10:35:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:54]Read from MH i2c: E2 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 17 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: E2 17 00 4C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 2B [10:35:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:35:54]wFMCommunicate OK [10:35:54]CreateOFDProtocolMessage done [10:35:54]OFDSenderStorePacket 42997 [10:35:54]StoreOFDPacket docnum=42997 [10:35:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9A 01 00 00 C1 28 92 01 EC 90 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8B 58 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F5 A7 00 00 35 04 06 00 BC 85 BA AA 92 DD A0 5F 43 07 DE 5A DF 81 [10:35:54]CheckFolder [10:35:54]dirname=/storage/ofd_packets [10:35:54]CheckFolder done [10:35:54]ProducePacketName [10:35:54]name=ofd_packets/00042997 [10:35:54]NVStorageSaveData ofd_packets/00042997 [10:35:54]File name is /storage/ofd_packets/00042997 [10:35:54]Write 440 bytes [10:35:54]NVStorageSaveData done [10:35:54]OFDSenderStorePacket done [10:35:54]KKMCreateOFDPacket done [10:35:54]NVStorageSaveData kkm_last_timestamp [10:35:54]File name is /storage/kkm_last_timestamp [10:35:54]Write 4 bytes [10:35:54]NVStorageSaveData done [10:35:54]ExternCall_PrintAddStr [10:35:54]wPrintStart [10:35:54]Write to MH i2c: 01 00 00 4D 0E 5B [10:35:54]OFD Sender: Processing packet 42997 [packets to send 31, broken 30] [10:35:54]ProducePacketName [10:35:54]name=ofd_packets/00042997 [10:35:54]OFD Sender: To server: pG, [10:35:54]CommunicateWithHost lk.salyk.kg:30040 [10:35:54]ConnectInit lk.salyk.kg [10:35:54]Write i2c OK [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: 01 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: 01 07 00 [10:35:54]MH_I2C_Read... [10:35:54]Read from MH i2c: 01 07 00 4D 0E 00 00 00 00 00 FF 0F 70 [10:35:54]RasterBufferAndPrint [10:35:54]line Счет N : (3)300125 [10:35:54]line ИНН: 02508201610067 [10:35:54]line Контрольно-Кассовый Чек [10:35:54]line ПРОДАЖА [10:35:54]line Товар: 2000036210013 [10:35:54]line Кофе Капучино (GABB TRADE) [10:35:54]line 2.000 * 115.00 [10:35:54]line = 230.00 [10:35:54]line НДС 12% НСП 1% [10:35:54]line > о реализуемом товаре [10:35:54]line Товар: 2000036200014 [10:35:54]line Кофе Эспрессо (GABB TRADE) [10:35:54]line 1.000 * 105.00 [10:35:54]line = 105.00 [10:35:54]line НДС 12% НСП 1% [10:35:54]line > о реализуемом товаре [10:35:54]line ИТОГО: 335.00 [10:35:54]line НСП 1% : 2.96 [10:35:54]line НДС 12% : 35.57 [10:35:54]line Наличными: 0.00 [10:35:54]line Безнал.: 335.00 [10:35:54]line Место: АЗС № 71 "Партнер Нефть" [10:35:54]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:35:54]line СНО: Общий режим [10:35:54]line Чек 42 13.07.2024 10:35 [10:35:54]line Смена: 445 ФФД: 1.0 [10:35:54]line ЗНМ: 0300000153 [10:35:54]line РНМ: 0000000000091176 [10:35:54]line Версия ККМ: 001 [10:35:54]line Платежная система: АКБ Кыргызстан [10:35:54]line ФМ: 0000000000874935 [10:35:54]line ФД: 42997 [10:35:54]line ФПД: 207282548413149 [10:35:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T103555&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42997&fm=207282548413149&tin=02508201610067®Number=0000000000091176&sum=33500 [10:35:54]line 0 [10:35:54]written 0, free lines is 4095 [10:35:54]Connected sock=9 [10:35:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9A 01 00 00 C1 28 92 01 EC 90 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 8B 58 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F5 A7 00 00 35 04 06 00 BC 85 BA AA 92 DD A0 5F 43 07 DE 5A DF 81 [10:35:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 33 85 47 00 1B BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F5 A7 00 00 F4 03 04 00 86 04 92 66 B6 04 01 00 00 96 8A A2 9C 70 83 BB CD [10:35:55]CommunicateWithHost err = 0 [10:35:55]CheckOFDResponse [10:35:55]1017 (14) - 77093643461234 [10:35:55]1041 (16) - 0000000000874935 [10:35:55]1040 (4) - 42997 [10:35:55]1012 (4) - 13.07.2024 04:37 [10:35:55]1206 (1) - 0 [10:35:55]OFD Sender: Remove packet 42997 [10:35:55]ProducePacketName [10:35:55]name=ofd_packets/00042997 [10:35:55]NVStorageDeleteData [10:35:55]Write to MH i2c: 01 00 00 7D 0E 8B [10:35:55]Write i2c OK [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: 01 [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: 01 07 00 [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: 01 07 00 7D 0E 00 00 00 00 00 A8 0C 46 [10:35:55]RasterBufferAndPrint [10:35:55]line [10:35:55]line [10:35:55]line [10:35:55]line [10:35:55]line [10:35:55]written 0, free lines is 3247 [10:35:55]MH_Cut [10:35:55]Write to MH i2c: D1 01 00 84 0E 01 64 [10:35:55]Write i2c OK [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: D1 [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: D1 01 00 [10:35:55]MH_I2C_Read... [10:35:55]Read from MH i2c: D1 01 00 84 0E 00 63 [10:35:55]Write to MH i2c: 01 00 00 85 0E 93 [10:35:55]Write i2c OK [10:35:55]MH_I2C_Read... [10:35:55]OFD Sender: No OFD packet to send [10:35:56]*** Cut start [10:35:56]*** Partial cut [10:35:56]*** CUTSNS_PIN = 1 [10:35:56]*** CUTSNS_PIN = 0 [10:35:56]*** Brake cut motor [10:35:56]Read from MH i2c: 01 [10:35:56]MH_I2C_Read... [10:35:56]*** Stop cut motor [10:35:56]*** Cut end [10:35:56]Read from MH i2c: 01 07 00 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: 01 07 00 85 0E 00 00 00 00 00 FF 0F A8 [10:35:56]process_action close_receipt done [10:35:56]requested_data is exist [10:35:56]produce_requested_data [10:35:56]requested_item fm.sn is exist - process it [10:35:56]wFMCommunicate request_size=4 [10:35:56]MH_SAM_APDU [10:35:56]CAPDU: 80 11 00 00 [10:35:56]Write to MH i2c: E2 08 00 86 0E 80 11 00 00 00 00 00 00 0E [10:35:56]Write i2c OK [10:35:56]MH_I2C_Read... [10:35:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:56]Read from MH i2c: E2 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: E2 17 00 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: E2 17 00 86 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 65 [10:35:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:35:56]wFMCommunicate OK [10:35:56]requested_item fd.num is exist - process it [10:35:56]SAM_PROTO_GetFieldsCounters [10:35:56]wFMCommunicate request_size=4 [10:35:56]MH_SAM_APDU [10:35:56]CAPDU: 80 13 00 00 [10:35:56]Write to MH i2c: E2 08 00 87 0E 80 13 00 00 00 00 00 00 11 [10:35:56]Write i2c OK [10:35:56]MH_I2C_Read... [10:35:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:35:57]Read from MH i2c: E2 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 62 00 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 62 00 87 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F5 A7 00 00 0E 04 04 00 BD 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 0D [10:35:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F5 A7 00 00 0E 04 04 00 BD 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 [10:35:57]wFMCommunicate OK [10:35:57]SAM_PROTO_GetFieldsCounters done [10:35:57]requested_item shift.num is exist - process it [10:35:57]requested_item shift.opened is exist - process it [10:35:57]req_shift_opened [10:35:57]FM_GetShiftState [10:35:57]SAM_PROTO_GetShiftState [10:35:57]wFMCommunicate request_size=4 [10:35:57]MH_SAM_APDU [10:35:57]CAPDU: 80 13 01 00 [10:35:57]Write to MH i2c: E2 08 00 88 0E 80 13 01 00 00 00 00 00 13 [10:35:57]Write i2c OK [10:35:57]MH_I2C_Read... [10:35:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:57]Read from MH i2c: E2 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 0E 00 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 0E 00 88 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 AA [10:35:57]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:35:57]wFMCommunicate OK [10:35:57]SAM_PROTO_GetShiftState done [10:35:57]FM_GetShiftState done [10:35:57]req_shift_opened done [10:35:57]requested_item shift.open_date is exist - process it [10:35:57]req_shift_open_date [10:35:57]req_shift_open_date done [10:35:57]requested_item shift.sale.total is exist - process it [10:35:57]SAM_PROTO_GetShiftData [10:35:57]wFMCommunicate request_size=4 [10:35:57]MH_SAM_APDU [10:35:57]CAPDU: 80 13 02 00 [10:35:57]Write to MH i2c: E2 08 00 89 0E 80 13 02 00 00 00 00 00 15 [10:35:57]Write i2c OK [10:35:57]MH_I2C_Read... [10:35:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:35:57]Read from MH i2c: E2 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 FD 00 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 FD 00 89 0E 00 AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 30 B0 0B 70 04 03 00 90 7A 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C0 3D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 76 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 8D [10:35:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 30 B0 0B 70 04 03 00 90 7A 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C0 3D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 76 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:35:57]wFMCommunicate OK [10:35:57]wFMCommunicate request_size=4 [10:35:57]MH_SAM_APDU [10:35:57]CAPDU: 80 17 00 00 [10:35:57]Write to MH i2c: E2 08 00 8A 0E 80 17 00 00 00 00 00 00 18 [10:35:57]Write i2c OK [10:35:57]MH_I2C_Read... [10:35:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:35:57]Read from MH i2c: E2 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 FD 00 [10:35:57]MH_I2C_Read... [10:35:57]Read from MH i2c: E2 FD 00 8A 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 3A [10:35:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:35:57]wFMCommunicate OK [10:35:57]wFMCommunicate request_size=4 [10:35:57]MH_SAM_APDU [10:35:57]CAPDU: 80 17 00 00 [10:35:57]Write to MH i2c: E2 08 00 8B 0E 80 17 00 00 00 00 00 00 19 [10:35:57]Write i2c OK [10:35:57]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 FD 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 FD 00 8B 0E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D0 [10:35:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:35:58]wFMCommunicate OK [10:35:58]wFMCommunicate request_size=4 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 17 00 00 [10:35:58]Write to MH i2c: E2 08 00 8C 0E 80 17 00 00 00 00 00 00 1A [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 FD 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 FD 00 8C 0E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 8C [10:35:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:35:58]wFMCommunicate OK [10:35:58]wFMCommunicate request_size=4 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 17 00 00 [10:35:58]Write to MH i2c: E2 08 00 8D 0E 80 17 00 00 00 00 00 00 1B [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 CB 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 CB 00 8D 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 04 [10:35:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:35:58]wFMCommunicate OK [10:35:58]SAM_PROTO_GetShiftData done [10:35:58]requested_item shift.sale.total_cash is exist - process it [10:35:58]requested_item shift.sale_refund.total is exist - process it [10:35:58]requested_item shift.sale_refund.total_cash is exist - process it [10:35:58]produce_requested_data done [10:35:58]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42997,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7660.00,"shift.sale.total_cash":6212.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:35:58]process_action_free close_receipt [10:35:58]json_value_free [10:35:58]json_value_free done [10:35:58]process_json_proto returns [10:35:58]Send response to host [10:35:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42997,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7660.00,"shift.sale.total_cash":6212.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:35:58]free response buf [10:35:58]execute_script done [10:35:58]execute_script returns [10:35:58]free content buf [10:35:58]Sock 10.Close socket [10:35:58]Sock 10.Thread stoped [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40: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:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:36]accept exits with 7 [10:48:36]New connection [10:48:36]New thread 3067530596 created [10:48:36]Thread 3067387236 joined [10:48:36]Waiting for new connection... [10:48:36] Sock 7.Parse request [10:48:36]Sock 7.Check first char [10:48:36]Sock 7.First char is OK [10:48:36]request: POST /json_proto HTTP/1.0 [10:48:36]Method: POST [10:48:36]URL: /json_proto [10:48:36]Method is POST - this is cgi request [10:48:36]url: /json_proto [10:48:36]query_string will be loaded in cgi processing [10:48:36]execute_cgi json_proto POST (null) [10:48:36]execute_cgi path=json_proto method=POST [10:48:36]POST find Content-Length [10:48:36]Host: 172.17.38.197:8080 [10:48:36]Content-Length: 736 [10:48:36]Content-Type: application/json [10:48:36] [10:48:36]POST finish read [10:48:36]Found Content-Length = 736 [10:48:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300126", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:48:36]execute_script... [10:48:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300126", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:48:36]POST & json_proto [10:48:36]process_json_proto [10:48:36]json parsed OK: [10:48:36]protocol is kg_v1.0 [10:48:36]action value=close_receipt [10:48:36]process_action close_receipt [10:48:36]cmd_close_receipt [10:48:36]MH_GetDate [10:48:36]Write to MH i2c: F0 00 00 8E 0E 8B [10:48:36]Write i2c OK [10:48:36]MH_I2C_Read... [10:48:36]Read from MH i2c: F0 [10:48:36]MH_I2C_Read... [10:48:36]Read from MH i2c: F0 09 00 [10:48:36]MH_I2C_Read... [10:48:36]Read from MH i2c: F0 09 00 8E 0E 00 88 5B 92 66 1E 0D 88 66 88 [10:48:36]GetLastDocTimeStamp 1720866955 [10:48:36]current date 1720867720 [10:48:36]FM_GetShiftState [10:48:36]SAM_PROTO_GetShiftState [10:48:36]wFMCommunicate request_size=4 [10:48:36]MH_SAM_APDU [10:48:36]CAPDU: 80 13 01 00 [10:48:36]Write to MH i2c: E2 08 00 8F 0E 80 13 01 00 00 00 00 00 1A [10:48:36]Write i2c OK [10:48:36]MH_I2C_Read... [10:48:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:36]Read from MH i2c: E2 [10:48:36]MH_I2C_Read... [10:48:36]Read from MH i2c: E2 0E 00 [10:48:36]MH_I2C_Read... [10:48:36]Read from MH i2c: E2 0E 00 8F 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B1 [10:48:36]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:48:36]wFMCommunicate OK [10:48:36]SAM_PROTO_GetShiftState done [10:48:36]FM_GetShiftState done [10:48:36]opened in 1720829646 [10:48:36]opened+sec_in_day 1720916046 [10:48:36]quantity*price = 6000 [10:48:36]sum+1 = 6001 [10:48:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 43 13.07.2024 10:48 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42998 ФПД: 96471319668 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T104840&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42998&fm=96471319668&tin=02508201610067®Number=0000000000091176&sum=6000 0 [10:48:38]StoreToDocumentArchive [10:48:38]shift 445 fd 42998 [10:48:38]save to /storage/0445/doc_00042998 [10:48:38]save last doc name /storage/0445/doc_00042998 to /storage/kkm_last_doc_name [10:48:38]save OK [10:48:38]Clear old archive folders... [10:48:38]ProcessDocumentItem done err = 0, tmpTLVsize=271 [10:48:38]tlvbuf is 015AF310 [10:48:38]SAM_PROTO_ClearQueue [10:48:38]wFMCommunicate request_size=4 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 09 00 00 [10:48:38]Write to MH i2c: E2 08 00 9C 0E 80 09 00 00 00 00 00 00 1C [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 9C 0E 00 90 00 1E [10:48:38]RAPDU: 90 00 [10:48:38]wFMCommunicate OK [10:48:38]SAM_PROTO_ClearQueue done [10:48:38]KKMCreateOFDPacket [10:48:38]OFDProtocolAddRootSTLVToBuf [10:48:38]FM_MakeSignedData [10:48:38]FM_MakeSignedData [10:48:38]SAM_PROTO_SignData [10:48:38]wFMCommunicate request_size=4 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 0D 01 02 [10:48:38]Write to MH i2c: E2 08 00 9D 0E 80 0D 01 02 00 00 00 00 24 [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 9D 0E 00 90 00 1F [10:48:38]RAPDU: 90 00 [10:48:38]wFMCommunicate OK [10:48:38]wFMCommunicate request_size=255 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 88 5B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 [10:48:38]Write to MH i2c: E2 02 01 9E 0E 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 88 5B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 2D [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 9E 0E 00 90 00 20 [10:48:38]RAPDU: 90 00 [10:48:38]wFMCommunicate OK [10:48:38]wFMCommunicate request_size=30 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 0D 02 02 19 30 38 37 34 39 33 35 10 04 04 00 F6 A7 00 00 35 04 06 00 00 16 76 23 84 74 [10:48:38]Write to MH i2c: E2 21 00 9F 0E 80 0D 02 02 19 00 30 38 37 34 39 33 35 10 04 04 00 F6 A7 00 00 35 04 06 00 00 16 76 23 84 74 00 00 68 [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 03 00 9F 0E 00 90 00 21 [10:48:38]RAPDU: 90 00 [10:48:38]wFMCommunicate OK [10:48:38]wFMCommunicate request_size=4 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 0D 03 02 [10:48:38]Write to MH i2c: E2 08 00 A0 0E 80 0D 03 02 00 00 00 00 29 [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 0B 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 0B 00 A0 0E 00 C9 E2 87 16 8B 79 76 03 90 00 EF [10:48:38]RAPDU: C9 E2 87 16 8B 79 76 03 90 00 [10:48:38]wFMCommunicate OK [10:48:38]SAM_PROTO_SignData done [10:48:38]FM_MakeSignedData done [10:48:38]CreateOFDProtocolMessage [10:48:38]wFMCommunicate request_size=4 [10:48:38]MH_SAM_APDU [10:48:38]CAPDU: 80 11 00 00 [10:48:38]Write to MH i2c: E2 08 00 A1 0E 80 11 00 00 00 00 00 00 29 [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:38]Read from MH i2c: E2 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 17 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: E2 17 00 A1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 80 [10:48:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:48:38]wFMCommunicate OK [10:48:38]CreateOFDProtocolMessage done [10:48:38]OFDSenderStorePacket 42998 [10:48:38]StoreOFDPacket docnum=42998 [10:48:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 8C 34 1B 01 EB 14 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 88 5B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F6 A7 00 00 35 04 06 00 00 16 76 23 84 74 C9 E2 87 16 8B 79 76 03 [10:48:38]CheckFolder [10:48:38]dirname=/storage/ofd_packets [10:48:38]CheckFolder done [10:48:38]ProducePacketName [10:48:38]name=ofd_packets/00042998 [10:48:38]NVStorageSaveData ofd_packets/00042998 [10:48:38]File name is /storage/ofd_packets/00042998 [10:48:38]Write 321 bytes [10:48:38]NVStorageSaveData done [10:48:38]OFDSenderStorePacket done [10:48:38]KKMCreateOFDPacket done [10:48:38]NVStorageSaveData kkm_last_timestamp [10:48:38]File name is /storage/kkm_last_timestamp [10:48:38]Write 4 bytes [10:48:38]NVStorageSaveData done [10:48:38]ExternCall_PrintAddStr [10:48:38]wPrintStart [10:48:38]Write to MH i2c: 01 00 00 A2 0E B0 [10:48:38]Write i2c OK [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: 01 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: 01 07 00 [10:48:38]MH_I2C_Read... [10:48:38]Read from MH i2c: 01 07 00 A2 0E 00 00 00 00 00 FF 0F C5 [10:48:38]RasterBufferAndPrint [10:48:38]line Счет N : (3)300126 [10:48:38]line ИНН: 02508201610067 [10:48:38]line Контрольно-Кассовый Чек [10:48:38]line ПРОДАЖА [10:48:38]line Товар: 4700025314002 [10:48:38]line ВОДКА МЯГКАЯ 0,1л [10:48:38]line 1.000 * 60.00 [10:48:38]line = 60.00 [10:48:38]line НДС 12% НСП 1% [10:48:38]line > о реализуемом товаре [10:48:38]line ИТОГО: 60.00 [10:48:38]line НСП 1% : 0.53 [10:48:38]line НДС 12% : 6.37 [10:48:38]line Наличными: 60.00 [10:48:38]line Безнал.: 0.00 [10:48:38]line Место: АЗС № 71 "Партнер Нефть" [10:48:38]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:48:38]line СНО: Общий режим [10:48:38]line Чек 43 13.07.2024 10:48 [10:48:38]line Смена: 445 ФФД: 1.0 [10:48:38]line ЗНМ: 0300000153 [10:48:38]line РНМ: 0000000000091176 [10:48:38]line Версия ККМ: 001 [10:48:38]line ФМ: 0000000000874935 [10:48:38]line ФД: 42998 [10:48:38]line ФПД: 96471319668 [10:48:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T104840&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42998&fm=96471319668&tin=02508201610067®Number=0000000000091176&sum=6000 [10:48:38]line 0 [10:48:38]written 0, free lines is 4095 [10:48:38]OFD Sender: Processing packet 42998 [packets to send 31, broken 30] [10:48:38]ProducePacketName [10:48:38]name=ofd_packets/00042998 [10:48:38]OFD Sender: To server: pG, [10:48:38]CommunicateWithHost lk.salyk.kg:30040 [10:48:38]ConnectInit lk.salyk.kg [10:48:38]Connected sock=10 [10:48:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 8C 34 1B 01 EB 14 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 88 5B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F6 A7 00 00 35 04 06 00 00 16 76 23 84 74 C9 E2 87 16 8B 79 76 03 [10:48:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 2B 0B 47 00 28 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F6 A7 00 00 F4 03 04 00 82 07 92 66 B6 04 01 00 00 24 29 75 B4 D8 1F 9A 83 [10:48:38]CommunicateWithHost err = 0 [10:48:38]CheckOFDResponse [10:48:38]1017 (14) - 77093643461234 [10:48:38]1041 (16) - 0000000000874935 [10:48:38]1040 (4) - 42998 [10:48:38]1012 (4) - 13.07.2024 04:50 [10:48:38]1206 (1) - 0 [10:48:38]OFD Sender: Remove packet 42998 [10:48:38]ProducePacketName [10:48:38]name=ofd_packets/00042998 [10:48:38]NVStorageDeleteData [10:48:39]Write to MH i2c: 01 00 00 CA 0E D8 [10:48:39]Write i2c OK [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: 01 [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: 01 07 00 [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: 01 07 00 CA 0E 00 00 00 00 00 0C 0D F8 [10:48:39]RasterBufferAndPrint [10:48:39]line [10:48:39]line [10:48:39]line [10:48:39]line [10:48:39]line [10:48:39]written 0, free lines is 3347 [10:48:39]MH_Cut [10:48:39]Write to MH i2c: D1 01 00 D1 0E 01 B1 [10:48:39]Write i2c OK [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: D1 [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: D1 01 00 [10:48:39]MH_I2C_Read... [10:48:39]Read from MH i2c: D1 01 00 D1 0E 00 B0 [10:48:39]Write to MH i2c: 01 00 00 D2 0E E0 [10:48:39]Write i2c OK [10:48:39]MH_I2C_Read... [10:48:39]OFD Sender: No OFD packet to send [10:48:39]*** Cut start [10:48:39]*** Partial cut [10:48:39]*** CUTSNS_PIN = 1 [10:48:39]*** CUTSNS_PIN = 0 [10:48:40]*** Brake cut motor [10:48:40]Read from MH i2c: 01 [10:48:40]MH_I2C_Read... [10:48:40]*** Stop cut motor [10:48:40]*** Cut end [10:48:40]Read from MH i2c: 01 07 00 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: 01 07 00 D2 0E 00 00 00 00 00 FF 0F F5 [10:48:40]process_action close_receipt done [10:48:40]requested_data is exist [10:48:40]produce_requested_data [10:48:40]requested_item fm.sn is exist - process it [10:48:40]wFMCommunicate request_size=4 [10:48:40]MH_SAM_APDU [10:48:40]CAPDU: 80 11 00 00 [10:48:40]Write to MH i2c: E2 08 00 D3 0E 80 11 00 00 00 00 00 00 5B [10:48:40]Write i2c OK [10:48:40]MH_I2C_Read... [10:48:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:40]Read from MH i2c: E2 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 17 00 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 17 00 D3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B2 [10:48:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:48:40]wFMCommunicate OK [10:48:40]requested_item fd.num is exist - process it [10:48:40]SAM_PROTO_GetFieldsCounters [10:48:40]wFMCommunicate request_size=4 [10:48:40]MH_SAM_APDU [10:48:40]CAPDU: 80 13 00 00 [10:48:40]Write to MH i2c: E2 08 00 D4 0E 80 13 00 00 00 00 00 00 5E [10:48:40]Write i2c OK [10:48:40]MH_I2C_Read... [10:48:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:48:40]Read from MH i2c: E2 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 62 00 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 62 00 D4 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F6 A7 00 00 0E 04 04 00 BD 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 5E [10:48:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F6 A7 00 00 0E 04 04 00 BD 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 [10:48:40]wFMCommunicate OK [10:48:40]SAM_PROTO_GetFieldsCounters done [10:48:40]requested_item shift.num is exist - process it [10:48:40]requested_item shift.opened is exist - process it [10:48:40]req_shift_opened [10:48:40]FM_GetShiftState [10:48:40]SAM_PROTO_GetShiftState [10:48:40]wFMCommunicate request_size=4 [10:48:40]MH_SAM_APDU [10:48:40]CAPDU: 80 13 01 00 [10:48:40]Write to MH i2c: E2 08 00 D5 0E 80 13 01 00 00 00 00 00 60 [10:48:40]Write i2c OK [10:48:40]MH_I2C_Read... [10:48:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:40]Read from MH i2c: E2 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 0E 00 [10:48:40]MH_I2C_Read... [10:48:40]Read from MH i2c: E2 0E 00 D5 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F7 [10:48:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:48:40]wFMCommunicate OK [10:48:40]SAM_PROTO_GetShiftState done [10:48:40]FM_GetShiftState done [10:48:40]req_shift_opened done [10:48:40]requested_item shift.open_date is exist - process it [10:48:40]req_shift_open_date [10:48:40]req_shift_open_date done [10:48:40]requested_item shift.sale.total is exist - process it [10:48:40]SAM_PROTO_GetShiftData [10:48:40]wFMCommunicate request_size=4 [10:48:40]MH_SAM_APDU [10:48:40]CAPDU: 80 13 02 00 [10:48:40]Write to MH i2c: E2 08 00 D6 0E 80 13 02 00 00 00 00 00 62 [10:48:40]Write i2c OK [10:48:40]MH_I2C_Read... [10:48:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:48:41]Read from MH i2c: E2 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 D6 0E 00 AE 04 AA 04 AA 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 A0 C7 0B 70 04 03 00 00 92 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3D 40 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A0 [10:48:41]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 A0 C7 0B 70 04 03 00 00 92 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3D 40 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:48:41]wFMCommunicate OK [10:48:41]wFMCommunicate request_size=4 [10:48:41]MH_SAM_APDU [10:48:41]CAPDU: 80 17 00 00 [10:48:41]Write to MH i2c: E2 08 00 D7 0E 80 17 00 00 00 00 00 00 65 [10:48:41]Write i2c OK [10:48:41]MH_I2C_Read... [10:48:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:48:41]Read from MH i2c: E2 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 D7 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 87 [10:48:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:48:41]wFMCommunicate OK [10:48:41]wFMCommunicate request_size=4 [10:48:41]MH_SAM_APDU [10:48:41]CAPDU: 80 17 00 00 [10:48:41]Write to MH i2c: E2 08 00 D8 0E 80 17 00 00 00 00 00 00 66 [10:48:41]Write i2c OK [10:48:41]MH_I2C_Read... [10:48:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:48:41]Read from MH i2c: E2 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 D8 0E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1D [10:48:41]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:48:41]wFMCommunicate OK [10:48:41]wFMCommunicate request_size=4 [10:48:41]MH_SAM_APDU [10:48:41]CAPDU: 80 17 00 00 [10:48:41]Write to MH i2c: E2 08 00 D9 0E 80 17 00 00 00 00 00 00 67 [10:48:41]Write i2c OK [10:48:41]MH_I2C_Read... [10:48:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:48:41]Read from MH i2c: E2 [10:48:41]MH_I2C_Read... [10:48:41]Read from MH i2c: E2 FD 00 [10:48:41]MH_I2C_Read... [10:48:42]Read from MH i2c: E2 FD 00 D9 0E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D9 [10:48:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:48:42]wFMCommunicate OK [10:48:42]wFMCommunicate request_size=4 [10:48:42]MH_SAM_APDU [10:48:42]CAPDU: 80 17 00 00 [10:48:42]Write to MH i2c: E2 08 00 DA 0E 80 17 00 00 00 00 00 00 68 [10:48:42]Write i2c OK [10:48:42]MH_I2C_Read... [10:48:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:48:42]Read from MH i2c: E2 [10:48:42]MH_I2C_Read... [10:48:42]Read from MH i2c: E2 CB 00 [10:48:42]MH_I2C_Read... [10:48:42]Read from MH i2c: E2 CB 00 DA 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 51 [10:48:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:48:42]wFMCommunicate OK [10:48:42]SAM_PROTO_GetShiftData done [10:48:42]requested_item shift.sale.total_cash is exist - process it [10:48:42]requested_item shift.sale_refund.total is exist - process it [10:48:42]requested_item shift.sale_refund.total_cash is exist - process it [10:48:42]produce_requested_data done [10:48:42]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42998,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7720.00,"shift.sale.total_cash":6272.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:48:42]process_action_free close_receipt [10:48:42]json_value_free [10:48:42]json_value_free done [10:48:42]process_json_proto returns [10:48:42]Send response to host [10:48:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42998,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7720.00,"shift.sale.total_cash":6272.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:48:42]free response buf [10:48:42]execute_script done [10:48:42]execute_script returns [10:48:42]free content buf [10:48:42]Sock 7.Close socket [10:48:42]Sock 7.Thread stoped [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]accept exits with 9 [10:57:19]New connection [10:57:19]New thread 3067387236 created [10:57:19]Thread 3067530596 joined [10:57:19]Waiting for new connection... [10:57:19] Sock 9.Parse request [10:57:19]Sock 9.Check first char [10:57:19]Sock 9.First char is OK [10:57:19]request: POST /json_proto HTTP/1.0 [10:57:19]Method: POST [10:57:19]URL: /json_proto [10:57:19]Method is POST - this is cgi request [10:57:19]url: /json_proto [10:57:19]query_string will be loaded in cgi processing [10:57:19]execute_cgi json_proto POST (null) [10:57:19]execute_cgi path=json_proto method=POST [10:57:19]POST find Content-Length [10:57:19]Host: 172.17.38.197:8080 [10:57:19]Content-Length: 748 [10:57:19]Content-Type: application/json [10:57:19] [10:57:19]POST finish read [10:57:19]Found Content-Length = 748 [10:57:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300127", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:57:19]execute_script... [10:57:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300127", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:57:19]POST & json_proto [10:57:19]process_json_proto [10:57:19]json parsed OK: [10:57:19]protocol is kg_v1.0 [10:57:19]action value=close_receipt [10:57:19]process_action close_receipt [10:57:19]cmd_close_receipt [10:57:19]MH_GetDate [10:57:19]Write to MH i2c: F0 00 00 DB 0E D8 [10:57:19]Write i2c OK [10:57:19]MH_I2C_Read... [10:57:19]Read from MH i2c: F0 [10:57:19]MH_I2C_Read... [10:57:19]Read from MH i2c: F0 09 00 [10:57:19]MH_I2C_Read... [10:57:19]Read from MH i2c: F0 09 00 DB 0E 00 92 5D 92 66 1E 0D 88 66 E1 [10:57:19]GetLastDocTimeStamp 1720867720 [10:57:19]current date 1720868242 [10:57:19]FM_GetShiftState [10:57:19]SAM_PROTO_GetShiftState [10:57:19]wFMCommunicate request_size=4 [10:57:19]MH_SAM_APDU [10:57:19]CAPDU: 80 13 01 00 [10:57:19]Write to MH i2c: E2 08 00 DC 0E 80 13 01 00 00 00 00 00 67 [10:57:19]Write i2c OK [10:57:19]MH_I2C_Read... [10:57:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:19]Read from MH i2c: E2 [10:57:19]MH_I2C_Read... [10:57:19]Read from MH i2c: E2 0E 00 [10:57:19]MH_I2C_Read... [10:57:19]Read from MH i2c: E2 0E 00 DC 0E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 FE [10:57:19]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:57:19]wFMCommunicate OK [10:57:19]SAM_PROTO_GetShiftState done [10:57:19]FM_GetShiftState done [10:57:19]opened in 1720829646 [10:57:19]opened+sec_in_day 1720916046 [10:57:19]quantity*price = 11500 [10:57:19]sum+1 = 11501 [10:57:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 44 13.07.2024 10:57 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 42999 ФПД: 173545731287996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T105723&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42999&fm=173545731287996&tin=02508201610067®Number=0000000000091176&sum=11500 0 [10:57:20]StoreToDocumentArchive [10:57:20]shift 445 fd 42999 [10:57:20]save to /storage/0445/doc_00042999 [10:57:20]save last doc name /storage/0445/doc_00042999 to /storage/kkm_last_doc_name [10:57:20]save OK [10:57:20]Clear old archive folders... [10:57:20]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:57:20]tlvbuf is B6F4E7D0 [10:57:20]SAM_PROTO_ClearQueue [10:57:20]wFMCommunicate request_size=4 [10:57:20]MH_SAM_APDU [10:57:20]CAPDU: 80 09 00 00 [10:57:20]Write to MH i2c: E2 08 00 E9 0E 80 09 00 00 00 00 00 00 69 [10:57:20]Write i2c OK [10:57:20]MH_I2C_Read... [10:57:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 E9 0E 00 90 00 6B [10:57:21]RAPDU: 90 00 [10:57:21]wFMCommunicate OK [10:57:21]SAM_PROTO_ClearQueue done [10:57:21]KKMCreateOFDPacket [10:57:21]OFDProtocolAddRootSTLVToBuf [10:57:21]FM_MakeSignedData [10:57:21]FM_MakeSignedData [10:57:21]SAM_PROTO_SignData [10:57:21]wFMCommunicate request_size=4 [10:57:21]MH_SAM_APDU [10:57:21]CAPDU: 80 0D 01 02 [10:57:21]Write to MH i2c: E2 08 00 EA 0E 80 0D 01 02 00 00 00 00 71 [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 EA 0E 00 90 00 6C [10:57:21]RAPDU: 90 00 [10:57:21]wFMCommunicate OK [10:57:21]wFMCommunicate request_size=255 [10:57:21]MH_SAM_APDU [10:57:21]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 93 5D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 [10:57:21]Write to MH i2c: E2 02 01 EB 0E 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 93 5D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 00 00 82 [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:21]Read from MH i2c: E2 03 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 EB 0E 00 90 00 6D [10:57:21]RAPDU: 90 00 [10:57:21]wFMCommunicate OK [10:57:21]wFMCommunicate request_size=39 [10:57:21]MH_SAM_APDU [10:57:21]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F7 A7 00 00 35 04 06 00 9D D6 C3 AA 6B BC [10:57:21]Write to MH i2c: E2 2A 00 EC 0E 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F7 A7 00 00 35 04 06 00 9D D6 C3 AA 6B BC 00 00 D8 [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 03 00 EC 0E 00 90 00 6E [10:57:21]RAPDU: 90 00 [10:57:21]wFMCommunicate OK [10:57:21]wFMCommunicate request_size=4 [10:57:21]MH_SAM_APDU [10:57:21]CAPDU: 80 0D 03 02 [10:57:21]Write to MH i2c: E2 08 00 ED 0E 80 0D 03 02 00 00 00 00 76 [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 0B 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 0B 00 ED 0E 00 51 45 58 D5 AE A0 ED 2B 90 00 A0 [10:57:21]RAPDU: 51 45 58 D5 AE A0 ED 2B 90 00 [10:57:21]wFMCommunicate OK [10:57:21]SAM_PROTO_SignData done [10:57:21]FM_MakeSignedData done [10:57:21]CreateOFDProtocolMessage [10:57:21]wFMCommunicate request_size=4 [10:57:21]MH_SAM_APDU [10:57:21]CAPDU: 80 11 00 00 [10:57:21]Write to MH i2c: E2 08 00 EE 0E 80 11 00 00 00 00 00 00 76 [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:21]Read from MH i2c: E2 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 17 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: E2 17 00 EE 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CD [10:57:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:57:21]wFMCommunicate OK [10:57:21]CreateOFDProtocolMessage done [10:57:21]OFDSenderStorePacket 42999 [10:57:21]StoreOFDPacket docnum=42999 [10:57:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 64 BC 24 01 9B 94 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 93 5D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F7 A7 00 00 35 04 06 00 9D D6 C3 AA 6B BC 51 45 58 D5 AE A0 ED 2B [10:57:21]CheckFolder [10:57:21]dirname=/storage/ofd_packets [10:57:21]CheckFolder done [10:57:21]ProducePacketName [10:57:21]name=ofd_packets/00042999 [10:57:21]NVStorageSaveData ofd_packets/00042999 [10:57:21]File name is /storage/ofd_packets/00042999 [10:57:21]Write 330 bytes [10:57:21]NVStorageSaveData done [10:57:21]OFDSenderStorePacket done [10:57:21]KKMCreateOFDPacket done [10:57:21]NVStorageSaveData kkm_last_timestamp [10:57:21]File name is /storage/kkm_last_timestamp [10:57:21]Write 4 bytes [10:57:21]NVStorageSaveData done [10:57:21]ExternCall_PrintAddStr [10:57:21]wPrintStart [10:57:21]Write to MH i2c: 01 00 00 EF 0E FD [10:57:21]Write i2c OK [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: 01 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: 01 07 00 [10:57:21]MH_I2C_Read... [10:57:21]Read from MH i2c: 01 07 00 EF 0E 00 00 00 00 00 FF 0F 12 [10:57:21]RasterBufferAndPrint [10:57:21]line Счет N : (3)300127 [10:57:21]line ИНН: 02508201610067 [10:57:21]line Контрольно-Кассовый Чек [10:57:21]line ПРОДАЖА [10:57:21]line Товар: 2000036210013 [10:57:21]line Кофе Капучино (GABB TRADE) [10:57:21]line 1.000 * 115.00 [10:57:21]line = 115.00 [10:57:21]line НДС 12% НСП 1% [10:57:21]line > о реализуемом товаре [10:57:21]line ИТОГО: 115.00 [10:57:21]line НСП 1% : 1.02 [10:57:21]line НДС 12% : 12.21 [10:57:21]line Наличными: 115.00 [10:57:21]line Безнал.: 0.00 [10:57:21]line Место: АЗС № 71 "Партнер Нефть" [10:57:21]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [10:57:21]line СНО: Общий режим [10:57:21]line Чек 44 13.07.2024 10:57 [10:57:21]line Смена: 445 ФФД: 1.0 [10:57:21]line ЗНМ: 0300000153 [10:57:21]line РНМ: 0000000000091176 [10:57:21]line Версия ККМ: 001 [10:57:21]line ФМ: 0000000000874935 [10:57:21]line ФД: 42999 [10:57:21]line ФПД: 173545731287996 [10:57:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T105723&type=1&operation_type=1&fn_number=0000000000874935&fd_number=42999&fm=173545731287996&tin=02508201610067®Number=0000000000091176&sum=11500 [10:57:21]OFD Sender: Processing packet 42999 [packets to send 31, broken 30] [10:57:21]ProducePacketName [10:57:21]name=ofd_packets/00042999 [10:57:21]OFD Sender: To server: pG, [10:57:21]CommunicateWithHost lk.salyk.kg:30040 [10:57:21]ConnectInit lk.salyk.kg [10:57:21]line 0 [10:57:21]written 0, free lines is 4095 [10:57:21]Connected sock=10 [10:57:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2C 01 00 00 64 BC 24 01 9B 94 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 93 5D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F7 A7 00 00 35 04 06 00 9D D6 C3 AA 6B BC 51 45 58 D5 AE A0 ED 2B [10:57:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 C9 51 47 00 7A 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F7 A7 00 00 F4 03 04 00 8D 09 92 66 B6 04 01 00 00 6A 21 FF C0 5A 4E AA 7F [10:57:22]CommunicateWithHost err = 0 [10:57:22]CheckOFDResponse [10:57:22]1017 (14) - 77093643461234 [10:57:22]1041 (16) - 0000000000874935 [10:57:22]1040 (4) - 42999 [10:57:22]1012 (4) - 13.07.2024 04:58 [10:57:22]1206 (1) - 0 [10:57:22]OFD Sender: Remove packet 42999 [10:57:22]ProducePacketName [10:57:22]name=ofd_packets/00042999 [10:57:22]NVStorageDeleteData [10:57:22]Write to MH i2c: 01 00 00 17 0F 26 [10:57:22]Write i2c OK [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: 01 [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: 01 07 00 [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: 01 07 00 17 0F 00 00 00 00 00 11 0D 4B [10:57:22]RasterBufferAndPrint [10:57:22]line [10:57:22]line [10:57:22]line [10:57:22]line [10:57:22]line [10:57:22]written 0, free lines is 3353 [10:57:22]MH_Cut [10:57:22]Write to MH i2c: D1 01 00 1E 0F 01 FF [10:57:22]Write i2c OK [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: D1 [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: D1 01 00 [10:57:22]MH_I2C_Read... [10:57:22]Read from MH i2c: D1 01 00 1E 0F 00 FE [10:57:22]Write to MH i2c: 01 00 00 1F 0F 2E [10:57:22]Write i2c OK [10:57:22]MH_I2C_Read... [10:57:22]OFD Sender: No OFD packet to send [10:57:23]*** Cut start [10:57:23]*** Partial cut [10:57:23]*** CUTSNS_PIN = 1 [10:57:23]*** CUTSNS_PIN = 0 [10:57:23]*** Brake cut motor [10:57:23]Read from MH i2c: 01 [10:57:23]MH_I2C_Read... [10:57:23]*** Stop cut motor [10:57:23]*** Cut end [10:57:23]Read from MH i2c: 01 07 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: 01 07 00 1F 0F 00 00 00 00 00 FF 0F 43 [10:57:23]process_action close_receipt done [10:57:23]requested_data is exist [10:57:23]produce_requested_data [10:57:23]requested_item fm.sn is exist - process it [10:57:23]wFMCommunicate request_size=4 [10:57:23]MH_SAM_APDU [10:57:23]CAPDU: 80 11 00 00 [10:57:23]Write to MH i2c: E2 08 00 20 0F 80 11 00 00 00 00 00 00 A9 [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:23]Read from MH i2c: E2 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 17 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 17 00 20 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 00 [10:57:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [10:57:23]wFMCommunicate OK [10:57:23]requested_item fd.num is exist - process it [10:57:23]SAM_PROTO_GetFieldsCounters [10:57:23]wFMCommunicate request_size=4 [10:57:23]MH_SAM_APDU [10:57:23]CAPDU: 80 13 00 00 [10:57:23]Write to MH i2c: E2 08 00 21 0F 80 13 00 00 00 00 00 00 AC [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:57:23]Read from MH i2c: E2 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 62 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 62 00 21 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F7 A7 00 00 0E 04 04 00 BD 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 B0 [10:57:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F7 A7 00 00 0E 04 04 00 BD 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 [10:57:23]wFMCommunicate OK [10:57:23]SAM_PROTO_GetFieldsCounters done [10:57:23]requested_item shift.num is exist - process it [10:57:23]requested_item shift.opened is exist - process it [10:57:23]req_shift_opened [10:57:23]FM_GetShiftState [10:57:23]SAM_PROTO_GetShiftState [10:57:23]wFMCommunicate request_size=4 [10:57:23]MH_SAM_APDU [10:57:23]CAPDU: 80 13 01 00 [10:57:23]Write to MH i2c: E2 08 00 22 0F 80 13 01 00 00 00 00 00 AE [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:23]Read from MH i2c: E2 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 0E 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 0E 00 22 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 45 [10:57:23]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [10:57:23]wFMCommunicate OK [10:57:23]SAM_PROTO_GetShiftState done [10:57:23]FM_GetShiftState done [10:57:23]req_shift_opened done [10:57:23]requested_item shift.open_date is exist - process it [10:57:23]req_shift_open_date [10:57:23]req_shift_open_date done [10:57:23]requested_item shift.sale.total is exist - process it [10:57:23]SAM_PROTO_GetShiftData [10:57:23]wFMCommunicate request_size=4 [10:57:23]MH_SAM_APDU [10:57:23]CAPDU: 80 13 02 00 [10:57:23]Write to MH i2c: E2 08 00 23 0F 80 13 02 00 00 00 00 00 B0 [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:57:24]Read from MH i2c: E2 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 23 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 8C F4 0B 70 04 03 00 EC BE 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 02 45 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 11 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 52 [10:57:24]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 8C F4 0B 70 04 03 00 EC BE 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 02 45 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 11 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [10:57:24]wFMCommunicate OK [10:57:24]wFMCommunicate request_size=4 [10:57:24]MH_SAM_APDU [10:57:24]CAPDU: 80 17 00 00 [10:57:24]Write to MH i2c: E2 08 00 24 0F 80 17 00 00 00 00 00 00 B3 [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:57:24]Read from MH i2c: E2 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 24 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D5 [10:57:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [10:57:24]wFMCommunicate OK [10:57:24]wFMCommunicate request_size=4 [10:57:24]MH_SAM_APDU [10:57:24]CAPDU: 80 17 00 00 [10:57:24]Write to MH i2c: E2 08 00 25 0F 80 17 00 00 00 00 00 00 B4 [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:57:24]Read from MH i2c: E2 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 FD 00 25 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6B [10:57:24]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [10:57:24]wFMCommunicate OK [10:57:24]wFMCommunicate request_size=4 [10:57:24]MH_SAM_APDU [10:57:24]CAPDU: 80 17 00 00 [10:57:24]Write to MH i2c: E2 08 00 26 0F 80 17 00 00 00 00 00 00 B5 [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 FD 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 FD 00 26 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 27 [10:57:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [10:57:25]wFMCommunicate OK [10:57:25]wFMCommunicate request_size=4 [10:57:25]MH_SAM_APDU [10:57:25]CAPDU: 80 17 00 00 [10:57:25]Write to MH i2c: E2 08 00 27 0F 80 17 00 00 00 00 00 00 B6 [10:57:25]Write i2c OK [10:57:25]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 CB 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 CB 00 27 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9F [10:57:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:57:25]wFMCommunicate OK [10:57:25]SAM_PROTO_GetShiftData done [10:57:25]requested_item shift.sale.total_cash is exist - process it [10:57:25]requested_item shift.sale_refund.total is exist - process it [10:57:25]requested_item shift.sale_refund.total_cash is exist - process it [10:57:25]produce_requested_data done [10:57:25]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":42999,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7835.00,"shift.sale.total_cash":6387.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:57:25]process_action_free close_receipt [10:57:25]json_value_free [10:57:25]json_value_free done [10:57:25]process_json_proto returns [10:57:25]Send response to host [10:57:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":42999,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7835.00,"shift.sale.total_cash":6387.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:57:25]free response buf [10:57:25]execute_script done [10:57:25]execute_script returns [10:57:25]free content buf [10:57:25]Sock 9.Close socket [10:57:25]Sock 9.Thread stoped [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:18]accept exits with 7 [11:01:18]New connection [11:01:18]New thread 3067530596 created [11:01:18]Thread 3067387236 joined [11:01:18]Waiting for new connection... [11:01:18] Sock 7.Parse request [11:01:18]Sock 7.Check first char [11:01:18]Sock 7.First char is OK [11:01:18]request: POST /json_proto HTTP/1.0 [11:01:18]Method: POST [11:01:18]URL: /json_proto [11:01:18]Method is POST - this is cgi request [11:01:18]url: /json_proto [11:01:18]query_string will be loaded in cgi processing [11:01:18]execute_cgi json_proto POST (null) [11:01:18]execute_cgi path=json_proto method=POST [11:01:18]POST find Content-Length [11:01:18]Host: 172.17.38.197:8080 [11:01:18]Content-Length: 732 [11:01:18]Content-Type: application/json [11:01:18] [11:01:18]POST finish read [11:01:18]Found Content-Length = 732 [11:01:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300128", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:01:18]execute_script... [11:01:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300128", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:01:18]POST & json_proto [11:01:18]process_json_proto [11:01:18]json parsed OK: [11:01:18]protocol is kg_v1.0 [11:01:18]action value=close_receipt [11:01:18]process_action close_receipt [11:01:18]cmd_close_receipt [11:01:18]MH_GetDate [11:01:18]Write to MH i2c: F0 00 00 28 0F 26 [11:01:18]Write i2c OK [11:01:18]MH_I2C_Read... [11:01:18]Read from MH i2c: F0 [11:01:18]MH_I2C_Read... [11:01:18]Read from MH i2c: F0 09 00 [11:01:18]MH_I2C_Read... [11:01:18]Read from MH i2c: F0 09 00 28 0F 00 81 5E 92 66 1E 0D 88 66 1F [11:01:18]GetLastDocTimeStamp 1720868243 [11:01:18]current date 1720868481 [11:01:18]FM_GetShiftState [11:01:18]SAM_PROTO_GetShiftState [11:01:18]wFMCommunicate request_size=4 [11:01:18]MH_SAM_APDU [11:01:18]CAPDU: 80 13 01 00 [11:01:18]Write to MH i2c: E2 08 00 29 0F 80 13 01 00 00 00 00 00 B5 [11:01:18]Write i2c OK [11:01:18]MH_I2C_Read... [11:01:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:01:18]Read from MH i2c: E2 [11:01:18]MH_I2C_Read... [11:01:18]Read from MH i2c: E2 0E 00 [11:01:18]MH_I2C_Read... [11:01:18]Read from MH i2c: E2 0E 00 29 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4C [11:01:18]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:01:18]wFMCommunicate OK [11:01:18]SAM_PROTO_GetShiftState done [11:01:18]FM_GetShiftState done [11:01:18]opened in 1720829646 [11:01:18]opened+sec_in_day 1720916046 [11:01:18]quantity*price = 13000 [11:01:18]sum+1 = 13001 [11:01:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 45 13.07.2024 11:01 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43000 ФПД: 216645153593305 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T110122&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43000&fm=216645153593305&tin=02508201610067®Number=0000000000091176&sum=13000 0 [11:01:19]StoreToDocumentArchive [11:01:19]shift 445 fd 43000 [11:01:19]save to /storage/0445/doc_00043000 [11:01:19]save last doc name /storage/0445/doc_00043000 to /storage/kkm_last_doc_name [11:01:19]save OK [11:01:19]Clear old archive folders... [11:01:19]ProcessDocumentItem done err = 0, tmpTLVsize=276 [11:01:19]tlvbuf is 015AEED0 [11:01:19]SAM_PROTO_ClearQueue [11:01:19]wFMCommunicate request_size=4 [11:01:19]MH_SAM_APDU [11:01:19]CAPDU: 80 09 00 00 [11:01:19]Write to MH i2c: E2 08 00 36 0F 80 09 00 00 00 00 00 00 B7 [11:01:19]Write i2c OK [11:01:19]MH_I2C_Read... [11:01:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:01:19]Read from MH i2c: E2 [11:01:19]MH_I2C_Read... [11:01:19]Read from MH i2c: E2 03 00 [11:01:19]MH_I2C_Read... [11:01:19]Read from MH i2c: E2 03 00 36 0F 00 90 00 B9 [11:01:19]RAPDU: 90 00 [11:01:19]wFMCommunicate OK [11:01:19]SAM_PROTO_ClearQueue done [11:01:19]KKMCreateOFDPacket [11:01:19]OFDProtocolAddRootSTLVToBuf [11:01:19]FM_MakeSignedData [11:01:19]FM_MakeSignedData [11:01:19]SAM_PROTO_SignData [11:01:19]wFMCommunicate request_size=4 [11:01:19]MH_SAM_APDU [11:01:19]CAPDU: 80 0D 01 02 [11:01:19]Write to MH i2c: E2 08 00 37 0F 80 0D 01 02 00 00 00 00 BF [11:01:19]Write i2c OK [11:01:19]MH_I2C_Read... [11:01:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:01:20]Read from MH i2c: E2 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 37 0F 00 90 00 BA [11:01:20]RAPDU: 90 00 [11:01:20]wFMCommunicate OK [11:01:20]wFMCommunicate request_size=255 [11:01:20]MH_SAM_APDU [11:01:20]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 82 5E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 [11:01:20]Write to MH i2c: E2 02 01 38 0F 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 82 5E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 00 00 9C [11:01:20]Write i2c OK [11:01:20]MH_I2C_Read... [11:01:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:01:20]Read from MH i2c: E2 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 38 0F 00 90 00 BB [11:01:20]RAPDU: 90 00 [11:01:20]wFMCommunicate OK [11:01:20]wFMCommunicate request_size=35 [11:01:20]MH_SAM_APDU [11:01:20]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F8 A7 00 00 35 04 06 00 C5 09 A1 6C 17 D9 [11:01:20]Write to MH i2c: E2 26 00 39 0F 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F8 A7 00 00 35 04 06 00 C5 09 A1 6C 17 D9 00 00 23 [11:01:20]Write i2c OK [11:01:20]MH_I2C_Read... [11:01:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:01:20]Read from MH i2c: E2 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 03 00 39 0F 00 90 00 BC [11:01:20]RAPDU: 90 00 [11:01:20]wFMCommunicate OK [11:01:20]wFMCommunicate request_size=4 [11:01:20]MH_SAM_APDU [11:01:20]CAPDU: 80 0D 03 02 [11:01:20]Write to MH i2c: E2 08 00 3A 0F 80 0D 03 02 00 00 00 00 C4 [11:01:20]Write i2c OK [11:01:20]MH_I2C_Read... [11:01:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:01:20]Read from MH i2c: E2 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 0B 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 0B 00 3A 0F 00 C9 D3 80 33 5D 2C BD 94 90 00 EE [11:01:20]RAPDU: C9 D3 80 33 5D 2C BD 94 90 00 [11:01:20]wFMCommunicate OK [11:01:20]SAM_PROTO_SignData done [11:01:20]FM_MakeSignedData done [11:01:20]CreateOFDProtocolMessage [11:01:20]wFMCommunicate request_size=4 [11:01:20]MH_SAM_APDU [11:01:20]CAPDU: 80 11 00 00 [11:01:20]Write to MH i2c: E2 08 00 3B 0F 80 11 00 00 00 00 00 00 C4 [11:01:20]Write i2c OK [11:01:20]MH_I2C_Read... [11:01:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:01:20]Read from MH i2c: E2 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 17 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: E2 17 00 3B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1B [11:01:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:01:20]wFMCommunicate OK [11:01:20]CreateOFDProtocolMessage done [11:01:20]OFDSenderStorePacket 43000 [11:01:20]StoreOFDPacket docnum=43000 [11:01:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 BE EC 20 01 FB 7E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 82 5E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F8 A7 00 00 35 04 06 00 C5 09 A1 6C 17 D9 C9 D3 80 33 5D 2C BD 94 [11:01:20]CheckFolder [11:01:20]dirname=/storage/ofd_packets [11:01:20]CheckFolder done [11:01:20]ProducePacketName [11:01:20]name=ofd_packets/00043000 [11:01:20]NVStorageSaveData ofd_packets/00043000 [11:01:20]File name is /storage/ofd_packets/00043000 [11:01:20]Write 326 bytes [11:01:20]NVStorageSaveData done [11:01:20]OFDSenderStorePacket done [11:01:20]KKMCreateOFDPacket done [11:01:20]NVStorageSaveData kkm_last_timestamp [11:01:20]File name is /storage/kkm_last_timestamp [11:01:20]Write 4 bytes [11:01:20]NVStorageSaveData done [11:01:20]OFD Sender: Processing packet 43000 [packets to send 31, broken 30] [11:01:20]ProducePacketName [11:01:20]name=ofd_packets/00043000 [11:01:20]OFD Sender: To server: pG, [11:01:20]CommunicateWithHost lk.salyk.kg:30040 [11:01:20]ConnectInit lk.salyk.kg [11:01:20]ExternCall_PrintAddStr [11:01:20]wPrintStart [11:01:20]Write to MH i2c: 01 00 00 3C 0F 4B [11:01:20]Write i2c OK [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: 01 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: 01 07 00 [11:01:20]MH_I2C_Read... [11:01:20]Read from MH i2c: 01 07 00 3C 0F 00 00 00 00 00 FF 0F 60 [11:01:20]RasterBufferAndPrint [11:01:20]line Счет N : (3)300128 [11:01:20]line ИНН: 02508201610067 [11:01:20]line Контрольно-Кассовый Чек [11:01:20]line ПРОДАЖА [11:01:20]line Товар: 2000036230011 [11:01:20]line Кофе Латте XL(GABB TRADE) [11:01:20]line 1.000 * 130.00 [11:01:20]line = 130.00 [11:01:20]line НДС 12% НСП 1% [11:01:20]line > о реализуемом товаре [11:01:20]line ИТОГО: 130.00 [11:01:20]line НСП 1% : 1.15 [11:01:20]line НДС 12% : 13.80 [11:01:20]line Наличными: 130.00 [11:01:20]line Безнал.: 0.00 [11:01:20]line Место: АЗС № 71 "Партнер Нефть" [11:01:20]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:01:20]line СНО: Общий режим [11:01:20]line Чек 45 13.07.2024 11:01 [11:01:20]line Смена: 445 ФФД: 1.0 [11:01:20]line ЗНМ: 0300000153 [11:01:20]line РНМ: 0000000000091176 [11:01:20]line Версия ККМ: 001 [11:01:20]line ФМ: 0000000000874935 [11:01:20]line ФД: 43000 [11:01:20]line ФПД: 216645153593305 [11:01:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T110122&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43000&fm=216645153593305&tin=02508201610067®Number=0000000000091176&sum=13000 [11:01:20]line 0 [11:01:20]Connected sock=11 [11:01:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 BE EC 20 01 FB 7E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 82 5E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F8 A7 00 00 35 04 06 00 C5 09 A1 6C 17 D9 C9 D3 80 33 5D 2C BD 94 [11:01:20]written 0, free lines is 4095 [11:01:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 8F F0 47 00 5B 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F8 A7 00 00 F4 03 04 00 7C 0A 92 66 B6 04 01 00 00 CE 3D 72 F6 98 46 F7 AE [11:01:20]CommunicateWithHost err = 0 [11:01:20]CheckOFDResponse [11:01:20]1017 (14) - 77093643461234 [11:01:20]1041 (16) - 0000000000874935 [11:01:20]1040 (4) - 43000 [11:01:20]1012 (4) - 13.07.2024 05:02 [11:01:20]1206 (1) - 0 [11:01:20]OFD Sender: Remove packet 43000 [11:01:20]ProducePacketName [11:01:20]name=ofd_packets/00043000 [11:01:20]NVStorageDeleteData [11:01:21]Write to MH i2c: 01 00 00 64 0F 73 [11:01:21]Write i2c OK [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: 01 [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: 01 07 00 [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: 01 07 00 64 0F 00 00 00 00 00 06 0D 8D [11:01:21]RasterBufferAndPrint [11:01:21]line [11:01:21]line [11:01:21]line [11:01:21]line [11:01:21]line [11:01:21]written 0, free lines is 3341 [11:01:21]MH_Cut [11:01:21]Write to MH i2c: D1 01 00 6B 0F 01 4C [11:01:21]Write i2c OK [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: D1 [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: D1 01 00 [11:01:21]MH_I2C_Read... [11:01:21]Read from MH i2c: D1 01 00 6B 0F 00 4B [11:01:21]Write to MH i2c: 01 00 00 6C 0F 7B [11:01:21]Write i2c OK [11:01:21]MH_I2C_Read... [11:01:21]OFD Sender: No OFD packet to send [11:01:21]*** Cut start [11:01:21]*** Partial cut [11:01:21]*** CUTSNS_PIN = 1 [11:01:22]*** CUTSNS_PIN = 0 [11:01:22]*** Brake cut motor [11:01:22]Read from MH i2c: 01 [11:01:22]MH_I2C_Read... [11:01:22]*** Stop cut motor [11:01:22]*** Cut end [11:01:22]Read from MH i2c: 01 07 00 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: 01 07 00 6C 0F 00 00 00 00 00 FF 0F 90 [11:01:22]process_action close_receipt done [11:01:22]requested_data is exist [11:01:22]produce_requested_data [11:01:22]requested_item fm.sn is exist - process it [11:01:22]wFMCommunicate request_size=4 [11:01:22]MH_SAM_APDU [11:01:22]CAPDU: 80 11 00 00 [11:01:22]Write to MH i2c: E2 08 00 6D 0F 80 11 00 00 00 00 00 00 F6 [11:01:22]Write i2c OK [11:01:22]MH_I2C_Read... [11:01:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:01:22]Read from MH i2c: E2 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 17 00 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 17 00 6D 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4D [11:01:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:01:22]wFMCommunicate OK [11:01:22]requested_item fd.num is exist - process it [11:01:22]SAM_PROTO_GetFieldsCounters [11:01:22]wFMCommunicate request_size=4 [11:01:22]MH_SAM_APDU [11:01:22]CAPDU: 80 13 00 00 [11:01:22]Write to MH i2c: E2 08 00 6E 0F 80 13 00 00 00 00 00 00 F9 [11:01:22]Write i2c OK [11:01:22]MH_I2C_Read... [11:01:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:01:22]Read from MH i2c: E2 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 62 00 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 62 00 6E 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F8 A7 00 00 0E 04 04 00 BD 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 01 [11:01:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F8 A7 00 00 0E 04 04 00 BD 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 [11:01:22]wFMCommunicate OK [11:01:22]SAM_PROTO_GetFieldsCounters done [11:01:22]requested_item shift.num is exist - process it [11:01:22]requested_item shift.opened is exist - process it [11:01:22]req_shift_opened [11:01:22]FM_GetShiftState [11:01:22]SAM_PROTO_GetShiftState [11:01:22]wFMCommunicate request_size=4 [11:01:22]MH_SAM_APDU [11:01:22]CAPDU: 80 13 01 00 [11:01:22]Write to MH i2c: E2 08 00 6F 0F 80 13 01 00 00 00 00 00 FB [11:01:22]Write i2c OK [11:01:22]MH_I2C_Read... [11:01:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:01:22]Read from MH i2c: E2 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 0E 00 [11:01:22]MH_I2C_Read... [11:01:22]Read from MH i2c: E2 0E 00 6F 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 92 [11:01:22]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:01:22]wFMCommunicate OK [11:01:22]SAM_PROTO_GetShiftState done [11:01:22]FM_GetShiftState done [11:01:22]req_shift_opened done [11:01:22]requested_item shift.open_date is exist - process it [11:01:22]req_shift_open_date [11:01:22]req_shift_open_date done [11:01:22]requested_item shift.sale.total is exist - process it [11:01:22]SAM_PROTO_GetShiftData [11:01:22]wFMCommunicate request_size=4 [11:01:22]MH_SAM_APDU [11:01:22]CAPDU: 80 13 02 00 [11:01:22]Write to MH i2c: E2 08 00 70 0F 80 13 02 00 00 00 00 00 FD [11:01:22]Write i2c OK [11:01:22]MH_I2C_Read... [11:01:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:01:23]Read from MH i2c: E2 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 70 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 54 27 0C 70 04 03 00 B4 F1 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 66 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 84 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 74 [11:01:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 54 27 0C 70 04 03 00 B4 F1 09 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 66 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 84 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:01:23]wFMCommunicate OK [11:01:23]wFMCommunicate request_size=4 [11:01:23]MH_SAM_APDU [11:01:23]CAPDU: 80 17 00 00 [11:01:23]Write to MH i2c: E2 08 00 71 0F 80 17 00 00 00 00 00 00 00 [11:01:23]Write i2c OK [11:01:23]MH_I2C_Read... [11:01:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:01:23]Read from MH i2c: E2 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 71 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 22 [11:01:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:01:23]wFMCommunicate OK [11:01:23]wFMCommunicate request_size=4 [11:01:23]MH_SAM_APDU [11:01:23]CAPDU: 80 17 00 00 [11:01:23]Write to MH i2c: E2 08 00 72 0F 80 17 00 00 00 00 00 00 01 [11:01:23]Write i2c OK [11:01:23]MH_I2C_Read... [11:01:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:01:23]Read from MH i2c: E2 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 [11:01:23]MH_I2C_Read... [11:01:23]Read from MH i2c: E2 FD 00 72 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B8 [11:01:23]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:01:23]wFMCommunicate OK [11:01:23]wFMCommunicate request_size=4 [11:01:23]MH_SAM_APDU [11:01:23]CAPDU: 80 17 00 00 [11:01:23]Write to MH i2c: E2 08 00 73 0F 80 17 00 00 00 00 00 00 02 [11:01:23]Write i2c OK [11:01:23]MH_I2C_Read... [11:01:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:01:24]Read from MH i2c: E2 [11:01:24]MH_I2C_Read... [11:01:24]Read from MH i2c: E2 FD 00 [11:01:24]MH_I2C_Read... [11:01:24]Read from MH i2c: E2 FD 00 73 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 74 [11:01:24]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:01:24]wFMCommunicate OK [11:01:24]wFMCommunicate request_size=4 [11:01:24]MH_SAM_APDU [11:01:24]CAPDU: 80 17 00 00 [11:01:24]Write to MH i2c: E2 08 00 74 0F 80 17 00 00 00 00 00 00 03 [11:01:24]Write i2c OK [11:01:24]MH_I2C_Read... [11:01:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:01:24]Read from MH i2c: E2 [11:01:24]MH_I2C_Read... [11:01:24]Read from MH i2c: E2 CB 00 [11:01:24]MH_I2C_Read... [11:01:24]Read from MH i2c: E2 CB 00 74 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EC [11:01:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:01:24]wFMCommunicate OK [11:01:24]SAM_PROTO_GetShiftData done [11:01:24]requested_item shift.sale.total_cash is exist - process it [11:01:24]requested_item shift.sale_refund.total is exist - process it [11:01:24]requested_item shift.sale_refund.total_cash is exist - process it [11:01:24]produce_requested_data done [11:01:24]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43000,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7965.00,"shift.sale.total_cash":6517.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:01:24]process_action_free close_receipt [11:01:24]json_value_free [11:01:24]json_value_free done [11:01:24]process_json_proto returns [11:01:24]Send response to host [11:01:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43000,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":7965.00,"shift.sale.total_cash":6517.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:01:24]free response buf [11:01:24]execute_script done [11:01:24]execute_script returns [11:01:24]free content buf [11:01:24]Sock 7.Close socket [11:01:24]Sock 7.Thread stoped [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]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:41]OFD Sender: No OFD packet to send [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:08:01]OFD Sender: No OFD packet to send [11:08:06]OFD Sender: No OFD packet to send [11:08:11]OFD Sender: No OFD packet to send [11:08:16]OFD Sender: No OFD packet to send [11:08:21]OFD Sender: No OFD packet to send [11:08:26]OFD Sender: No OFD packet to send [11:08:31]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:26]OFD Sender: No OFD packet to send [11:10:31]OFD Sender: No OFD packet to send [11:10:36]OFD Sender: No OFD packet to send [11:10:41]OFD Sender: No OFD packet to send [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:08]accept exits with 10 [11:13:08]New connection [11:13:08]New thread 3067387236 created [11:13:08]Thread 3067530596 joined [11:13:08]Waiting for new connection... [11:13:08] Sock 10.Parse request [11:13:08]Sock 10.Check first char [11:13:08]Sock 10.First char is OK [11:13:08]request: POST /json_proto HTTP/1.0 [11:13:08]Method: POST [11:13:08]URL: /json_proto [11:13:08]Method is POST - this is cgi request [11:13:08]url: /json_proto [11:13:08]query_string will be loaded in cgi processing [11:13:08]execute_cgi json_proto POST (null) [11:13:08]execute_cgi path=json_proto method=POST [11:13:08]POST find Content-Length [11:13:08]Host: 172.17.38.197:8080 [11:13:08]Content-Length: 975 [11:13:08]Content-Type: application/json [11:13:08] [11:13:08]POST finish read [11:13:08]Found Content-Length = 975 [11:13:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300129", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:13:08]execute_script... [11:13:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300129", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:13:08]POST & json_proto [11:13:08]process_json_proto [11:13:08]json parsed OK: [11:13:08]protocol is kg_v1.0 [11:13:08]action value=close_receipt [11:13:08]process_action close_receipt [11:13:08]cmd_close_receipt [11:13:08]MH_GetDate [11:13:08]Write to MH i2c: F0 00 00 75 0F 73 [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: F0 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: F0 09 00 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: F0 09 00 75 0F 00 48 61 92 66 1E 0D 88 66 36 [11:13:08]GetLastDocTimeStamp 1720868482 [11:13:08]current date 1720869192 [11:13:08]FM_GetShiftState [11:13:08]SAM_PROTO_GetShiftState [11:13:08]wFMCommunicate request_size=4 [11:13:08]MH_SAM_APDU [11:13:08]CAPDU: 80 13 01 00 [11:13:08]Write to MH i2c: E2 08 00 76 0F 80 13 01 00 00 00 00 00 02 [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:08]Read from MH i2c: E2 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: E2 0E 00 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: E2 0E 00 76 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 99 [11:13:08]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:13:08]wFMCommunicate OK [11:13:08]SAM_PROTO_GetShiftState done [11:13:08]FM_GetShiftState done [11:13:08]opened in 1720829646 [11:13:08]opened+sec_in_day 1720916046 [11:13:08]quantity*price = 4500 [11:13:08]sum+1 = 4501 [11:13:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 46 13.07.2024 11:13 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43001 ФПД: 84843278852443 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T111312&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43001&fm=84843278852443&tin=02508201610067®Number=0000000000091176&sum=22500 0 [11:13:10]StoreToDocumentArchive [11:13:10]shift 445 fd 43001 [11:13:10]save to /storage/0445/doc_00043001 [11:13:10]save last doc name /storage/0445/doc_00043001 to /storage/kkm_last_doc_name [11:13:10]save OK [11:13:10]Clear old archive folders... [11:13:10]ProcessDocumentItem done err = 0, tmpTLVsize=383 [11:13:10]tlvbuf is 0158C6F0 [11:13:10]SAM_PROTO_ClearQueue [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 09 00 00 [11:13:10]Write to MH i2c: E2 08 00 83 0F 80 09 00 00 00 00 00 00 04 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 83 0F 00 90 00 06 [11:13:10]RAPDU: 90 00 [11:13:10]wFMCommunicate OK [11:13:10]SAM_PROTO_ClearQueue done [11:13:10]KKMCreateOFDPacket [11:13:10]OFDProtocolAddRootSTLVToBuf [11:13:10]FM_MakeSignedData [11:13:10]FM_MakeSignedData [11:13:10]SAM_PROTO_SignData [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 0D 01 02 [11:13:10]Write to MH i2c: E2 08 00 84 0F 80 0D 01 02 00 00 00 00 0C [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 84 0F 00 90 00 07 [11:13:10]RAPDU: 90 00 [11:13:10]wFMCommunicate OK [11:13:10]wFMCommunicate request_size=255 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 [11:13:10]Write to MH i2c: E2 02 01 85 0F 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 8E [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 85 0F 00 90 00 08 [11:13:10]RAPDU: 90 00 [11:13:10]wFMCommunicate OK [11:13:10]wFMCommunicate request_size=142 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 48 61 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F9 A7 00 00 35 04 06 00 4D 2A 1D 7F 61 5B [11:13:10]Write to MH i2c: E2 91 00 86 0F 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 48 61 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F9 A7 00 00 35 04 06 00 4D 2A 1D 7F 61 5B 00 00 E6 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 03 00 86 0F 00 90 00 09 [11:13:10]RAPDU: 90 00 [11:13:10]wFMCommunicate OK [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 0D 03 02 [11:13:10]Write to MH i2c: E2 08 00 87 0F 80 0D 03 02 00 00 00 00 11 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 0B 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 0B 00 87 0F 00 AC D6 A3 72 0F B3 70 BE 90 00 99 [11:13:10]RAPDU: AC D6 A3 72 0F B3 70 BE 90 00 [11:13:10]wFMCommunicate OK [11:13:10]SAM_PROTO_SignData done [11:13:10]FM_MakeSignedData done [11:13:10]CreateOFDProtocolMessage [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 11 00 00 [11:13:10]Write to MH i2c: E2 08 00 88 0F 80 11 00 00 00 00 00 00 11 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 17 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 17 00 88 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 68 [11:13:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:13:10]wFMCommunicate OK [11:13:10]CreateOFDProtocolMessage done [11:13:10]OFDSenderStorePacket 43001 [11:13:10]StoreOFDPacket docnum=43001 [11:13:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 93 01 00 00 AE E8 8B 01 D4 C0 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 48 61 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F9 A7 00 00 35 04 06 00 4D 2A 1D 7F 61 5B AC D6 A3 72 0F B3 70 BE [11:13:10]CheckFolder [11:13:10]dirname=/storage/ofd_packets [11:13:10]CheckFolder done [11:13:10]ProducePacketName [11:13:10]name=ofd_packets/00043001 [11:13:10]NVStorageSaveData ofd_packets/00043001 [11:13:10]File name is /storage/ofd_packets/00043001 [11:13:10]Write 433 bytes [11:13:10]NVStorageSaveData done [11:13:10]OFDSenderStorePacket done [11:13:10]KKMCreateOFDPacket done [11:13:10]NVStorageSaveData kkm_last_timestamp [11:13:10]File name is /storage/kkm_last_timestamp [11:13:10]Write 4 bytes [11:13:10]NVStorageSaveData done [11:13:10]ExternCall_PrintAddStr [11:13:10]wPrintStart [11:13:10]Write to MH i2c: 01 00 00 89 0F 98 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 07 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 07 00 89 0F 00 00 00 00 00 FF 0F AD [11:13:10]RasterBufferAndPrint [11:13:10]line Счет N : (3)300129 [11:13:10]line ИНН: 02508201610067 [11:13:10]line Контрольно-Кассовый Чек [11:13:10]line ПРОДАЖА [11:13:11]line Товар: 42069942 [11:13:11]line Жев Orbit White Fresh Mint [11:13:11]line 1.000 * 45.00 [11:13:11]line = 45.00 [11:13:11]line НДС 12% НСП 1% [11:13:11]line > о реализуемом товаре [11:13:11]line Товар: 5449000176448 [11:13:11]line Сок Piko Pulpy апельсин ПЭТ 1л [11:13:11]line 1.000 * 180.00 [11:13:11]line = 180.00 [11:13:11]line НДС 12% НСП 1% [11:13:11]line > о реализуемом товаре [11:13:11]line ИТОГО: 225.00 [11:13:11]line НСП 1% : 1.99 [11:13:11]line НДС 12% : 23.89 [11:13:11]line Наличными: 225.00 [11:13:11]line Безнал.: 0.00 [11:13:11]line Место: АЗС № 71 "Партнер Нефть" [11:13:11]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:13:11]line СНО: Общий режим [11:13:11]line Чек 46 13.07.2024 11:13 [11:13:11]line Смена: 445 ФФД: 1.0 [11:13:11]line ЗНМ: 0300000153 [11:13:11]line РНМ: 0000000000091176 [11:13:11]line Версия ККМ: 001 [11:13:11]line ФМ: 0000000000874935 [11:13:11]line ФД: 43001 [11:13:11]line ФПД: 84843278852443 [11:13:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T111312&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43001&fm=84843278852443&tin=02508201610067®Number=0000000000091176&sum=22500 [11:13:11]line 0 [11:13:11]OFD Sender: Processing packet 43001 [packets to send 31, broken 30] [11:13:11]ProducePacketName [11:13:11]name=ofd_packets/00043001 [11:13:11]OFD Sender: To server: pG, [11:13:11]CommunicateWithHost lk.salyk.kg:30040 [11:13:11]ConnectInit lk.salyk.kg [11:13:11]written 0, free lines is 4095 [11:13:11]Connected sock=9 [11:13:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 93 01 00 00 AE E8 8B 01 D4 C0 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 48 61 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 F9 A7 00 00 35 04 06 00 4D 2A 1D 7F 61 5B AC D6 A3 72 0F B3 70 BE [11:13:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D3 00 47 00 F5 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 38 37 34 39 33 35 10 04 04 00 F9 A7 00 00 F4 03 04 00 42 0D 92 66 B6 04 01 00 00 89 E2 9B 9F D3 C9 3A 4F [11:13:11]CommunicateWithHost err = 0 [11:13:11]CheckOFDResponse [11:13:11]1017 (14) - 77093643461234 [11:13:11]1041 (16) - 0000000000874935 [11:13:11]1040 (4) - 43001 [11:13:11]1012 (4) - 13.07.2024 05:14 [11:13:11]1206 (1) - 0 [11:13:11]OFD Sender: Remove packet 43001 [11:13:11]ProducePacketName [11:13:11]name=ofd_packets/00043001 [11:13:11]NVStorageDeleteData [11:13:11]Write to MH i2c: 01 00 00 B8 0F C7 [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: 01 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: 01 07 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: 01 07 00 B8 0F 00 00 00 00 00 99 0C 73 [11:13:11]RasterBufferAndPrint [11:13:11]line [11:13:11]line [11:13:11]line [11:13:11]line [11:13:11]line [11:13:11]written 0, free lines is 3232 [11:13:11]MH_Cut [11:13:11]Write to MH i2c: D1 01 00 BF 0F 01 A0 [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: D1 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: D1 01 00 [11:13:11]MH_I2C_Read... [11:13:11]Read from MH i2c: D1 01 00 BF 0F 00 9F [11:13:11]Write to MH i2c: 01 00 00 C0 0F CF [11:13:11]Write i2c OK [11:13:11]MH_I2C_Read... [11:13:11]OFD Sender: No OFD packet to send [11:13:12]*** Cut start [11:13:12]*** Partial cut [11:13:12]*** CUTSNS_PIN = 1 [11:13:12]*** CUTSNS_PIN = 0 [11:13:12]*** Brake cut motor [11:13:13]Read from MH i2c: 01 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: 01 07 00 [11:13:13]MH_I2C_Read... [11:13:13]*** Stop cut motor [11:13:13]*** Cut end [11:13:13]Read from MH i2c: 01 07 00 C0 0F 00 00 00 00 00 FF 0F E4 [11:13:13]process_action close_receipt done [11:13:13]requested_data is exist [11:13:13]produce_requested_data [11:13:13]requested_item fm.sn is exist - process it [11:13:13]wFMCommunicate request_size=4 [11:13:13]MH_SAM_APDU [11:13:13]CAPDU: 80 11 00 00 [11:13:13]Write to MH i2c: E2 08 00 C1 0F 80 11 00 00 00 00 00 00 4A [11:13:13]Write i2c OK [11:13:13]MH_I2C_Read... [11:13:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:13]Read from MH i2c: E2 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 17 00 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 17 00 C1 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A1 [11:13:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:13:13]wFMCommunicate OK [11:13:13]requested_item fd.num is exist - process it [11:13:13]SAM_PROTO_GetFieldsCounters [11:13:13]wFMCommunicate request_size=4 [11:13:13]MH_SAM_APDU [11:13:13]CAPDU: 80 13 00 00 [11:13:13]Write to MH i2c: E2 08 00 C2 0F 80 13 00 00 00 00 00 00 4D [11:13:13]Write i2c OK [11:13:13]MH_I2C_Read... [11:13:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:13]Read from MH i2c: E2 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 62 00 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 62 00 C2 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F9 A7 00 00 0E 04 04 00 BD 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 59 [11:13:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 F9 A7 00 00 0E 04 04 00 BD 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 [11:13:13]wFMCommunicate OK [11:13:13]SAM_PROTO_GetFieldsCounters done [11:13:13]requested_item shift.num is exist - process it [11:13:13]requested_item shift.opened is exist - process it [11:13:13]req_shift_opened [11:13:13]FM_GetShiftState [11:13:13]SAM_PROTO_GetShiftState [11:13:13]wFMCommunicate request_size=4 [11:13:13]MH_SAM_APDU [11:13:13]CAPDU: 80 13 01 00 [11:13:13]Write to MH i2c: E2 08 00 C3 0F 80 13 01 00 00 00 00 00 4F [11:13:13]Write i2c OK [11:13:13]MH_I2C_Read... [11:13:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:13]Read from MH i2c: E2 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 0E 00 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 0E 00 C3 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E6 [11:13:13]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:13:13]wFMCommunicate OK [11:13:13]SAM_PROTO_GetShiftState done [11:13:13]FM_GetShiftState done [11:13:13]req_shift_opened done [11:13:13]requested_item shift.open_date is exist - process it [11:13:13]req_shift_open_date [11:13:13]req_shift_open_date done [11:13:13]requested_item shift.sale.total is exist - process it [11:13:13]SAM_PROTO_GetShiftData [11:13:13]wFMCommunicate request_size=4 [11:13:13]MH_SAM_APDU [11:13:13]CAPDU: 80 13 02 00 [11:13:13]Write to MH i2c: E2 08 00 C4 0F 80 13 02 00 00 00 00 00 51 [11:13:13]Write i2c OK [11:13:13]MH_I2C_Read... [11:13:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:13:13]Read from MH i2c: E2 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 FD 00 [11:13:13]MH_I2C_Read... [11:13:13]Read from MH i2c: E2 FD 00 C4 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 38 7F 0C 70 04 03 00 98 49 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BB 53 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4B 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 69 [11:13:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 38 7F 0C 70 04 03 00 98 49 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BB 53 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4B 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:13:13]wFMCommunicate OK [11:13:13]wFMCommunicate request_size=4 [11:13:13]MH_SAM_APDU [11:13:13]CAPDU: 80 17 00 00 [11:13:13]Write to MH i2c: E2 08 00 C5 0F 80 17 00 00 00 00 00 00 54 [11:13:13]Write i2c OK [11:13:13]MH_I2C_Read... [11:13:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:13:14]Read from MH i2c: E2 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 C5 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 76 [11:13:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:13:14]wFMCommunicate OK [11:13:14]wFMCommunicate request_size=4 [11:13:14]MH_SAM_APDU [11:13:14]CAPDU: 80 17 00 00 [11:13:14]Write to MH i2c: E2 08 00 C6 0F 80 17 00 00 00 00 00 00 55 [11:13:14]Write i2c OK [11:13:14]MH_I2C_Read... [11:13:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:13:14]Read from MH i2c: E2 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 C6 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0C [11:13:14]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:13:14]wFMCommunicate OK [11:13:14]wFMCommunicate request_size=4 [11:13:14]MH_SAM_APDU [11:13:14]CAPDU: 80 17 00 00 [11:13:14]Write to MH i2c: E2 08 00 C7 0F 80 17 00 00 00 00 00 00 56 [11:13:14]Write i2c OK [11:13:14]MH_I2C_Read... [11:13:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:13:14]Read from MH i2c: E2 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 FD 00 C7 0F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C8 [11:13:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:13:14]wFMCommunicate OK [11:13:14]wFMCommunicate request_size=4 [11:13:14]MH_SAM_APDU [11:13:14]CAPDU: 80 17 00 00 [11:13:14]Write to MH i2c: E2 08 00 C8 0F 80 17 00 00 00 00 00 00 57 [11:13:14]Write i2c OK [11:13:14]MH_I2C_Read... [11:13:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:13:14]Read from MH i2c: E2 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 CB 00 [11:13:14]MH_I2C_Read... [11:13:14]Read from MH i2c: E2 CB 00 C8 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 40 [11:13:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:13:15]wFMCommunicate OK [11:13:15]SAM_PROTO_GetShiftData done [11:13:15]requested_item shift.sale.total_cash is exist - process it [11:13:15]requested_item shift.sale_refund.total is exist - process it [11:13:15]requested_item shift.sale_refund.total_cash is exist - process it [11:13:15]produce_requested_data done [11:13:15]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43001,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8190.00,"shift.sale.total_cash":6742.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:13:15]process_action_free close_receipt [11:13:15]json_value_free [11:13:15]json_value_free done [11:13:15]process_json_proto returns [11:13:15]Send response to host [11:13:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43001,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8190.00,"shift.sale.total_cash":6742.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:13:15]free response buf [11:13:15]execute_script done [11:13:15]execute_script returns [11:13:15]free content buf [11:13:15]Sock 10.Close socket [11:13:15]Sock 10.Thread stoped [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:54]accept exits with 7 [11:29:54]New connection [11:29:54]New thread 3067530596 created [11:29:54]Thread 3067387236 joined [11:29:54]Waiting for new connection... [11:29:54] Sock 7.Parse request [11:29:54]Sock 7.Check first char [11:29:54]Sock 7.First char is OK [11:29:54]request: POST /json_proto HTTP/1.0 [11:29:54]Method: POST [11:29:54]URL: /json_proto [11:29:54]Method is POST - this is cgi request [11:29:54]url: /json_proto [11:29:54]query_string will be loaded in cgi processing [11:29:54]execute_cgi json_proto POST (null) [11:29:54]execute_cgi path=json_proto method=POST [11:29:54]POST find Content-Length [11:29:54]Host: 172.17.38.197:8080 [11:29:54]Content-Length: 815 [11:29:54]Content-Type: application/json [11:29:54] [11:29:54]POST finish read [11:29:54]Found Content-Length = 815 [11:29:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300130", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:29:54]execute_script... [11:29:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300130", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:29:54]POST & json_proto [11:29:54]process_json_proto [11:29:54]json parsed OK: [11:29:54]protocol is kg_v1.0 [11:29:54]action value=close_receipt [11:29:54]process_action close_receipt [11:29:54]cmd_close_receipt [11:29:54]MH_GetDate [11:29:54]Write to MH i2c: F0 00 00 C9 0F C7 [11:29:54]Write i2c OK [11:29:54]MH_I2C_Read... [11:29:54]Read from MH i2c: F0 [11:29:54]MH_I2C_Read... [11:29:54]Read from MH i2c: F0 09 00 [11:29:54]MH_I2C_Read... [11:29:54]Read from MH i2c: F0 09 00 C9 0F 00 35 65 92 66 1E 0D 88 66 7B [11:29:54]GetLastDocTimeStamp 1720869192 [11:29:54]current date 1720870197 [11:29:54]FM_GetShiftState [11:29:54]SAM_PROTO_GetShiftState [11:29:54]wFMCommunicate request_size=4 [11:29:54]MH_SAM_APDU [11:29:54]CAPDU: 80 13 01 00 [11:29:54]Write to MH i2c: E2 08 00 CA 0F 80 13 01 00 00 00 00 00 56 [11:29:54]Write i2c OK [11:29:54]MH_I2C_Read... [11:29:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:54]Read from MH i2c: E2 [11:29:54]MH_I2C_Read... [11:29:54]Read from MH i2c: E2 0E 00 [11:29:54]MH_I2C_Read... [11:29:54]Read from MH i2c: E2 0E 00 CA 0F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 ED [11:29:54]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:29:54]wFMCommunicate OK [11:29:54]SAM_PROTO_GetShiftState done [11:29:54]FM_GetShiftState done [11:29:54]opened in 1720829646 [11:29:54]opened+sec_in_day 1720916046 [11:29:54]quantity*price = 11000 [11:29:54]sum+1 = 11001 [11:29:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 47 13.07.2024 11:29 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43002 ФПД: 98833464017858 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T112958&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43002&fm=98833464017858&tin=02508201610067®Number=0000000000091176&sum=11000 0 [11:29:55]StoreToDocumentArchive [11:29:55]shift 445 fd 43002 [11:29:55]save to /storage/0445/doc_00043002 [11:29:55]save last doc name /storage/0445/doc_00043002 to /storage/kkm_last_doc_name [11:29:55]save OK [11:29:55]Clear old archive folders... [11:29:55]ProcessDocumentItem done err = 0, tmpTLVsize=303 [11:29:55]tlvbuf is 01583C70 [11:29:55]SAM_PROTO_ClearQueue [11:29:55]wFMCommunicate request_size=4 [11:29:55]MH_SAM_APDU [11:29:55]CAPDU: 80 09 00 00 [11:29:55]Write to MH i2c: E2 08 00 D7 0F 80 09 00 00 00 00 00 00 58 [11:29:55]Write i2c OK [11:29:55]MH_I2C_Read... [11:29:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:29:55]Read from MH i2c: E2 [11:29:55]MH_I2C_Read... [11:29:55]Read from MH i2c: E2 03 00 [11:29:55]MH_I2C_Read... [11:29:55]Read from MH i2c: E2 03 00 D7 0F 00 90 00 5A [11:29:55]RAPDU: 90 00 [11:29:55]wFMCommunicate OK [11:29:55]SAM_PROTO_ClearQueue done [11:29:55]KKMCreateOFDPacket [11:29:55]OFDProtocolAddRootSTLVToBuf [11:29:55]FM_MakeSignedData [11:29:55]FM_MakeSignedData [11:29:55]SAM_PROTO_SignData [11:29:55]wFMCommunicate request_size=4 [11:29:55]MH_SAM_APDU [11:29:55]CAPDU: 80 0D 01 02 [11:29:55]Write to MH i2c: E2 08 00 D8 0F 80 0D 01 02 00 00 00 00 60 [11:29:55]Write i2c OK [11:29:55]MH_I2C_Read... [11:29:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:29:55]Read from MH i2c: E2 [11:29:55]MH_I2C_Read... [11:29:55]Read from MH i2c: E2 03 00 [11:29:55]MH_I2C_Read... [11:29:55]Read from MH i2c: E2 03 00 D8 0F 00 90 00 5B [11:29:55]RAPDU: 90 00 [11:29:55]wFMCommunicate OK [11:29:55]wFMCommunicate request_size=255 [11:29:55]MH_SAM_APDU [11:29:55]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 36 65 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D [11:29:55]Write to MH i2c: E2 02 01 D9 0F 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 36 65 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 00 00 D0 [11:29:55]Write i2c OK [11:29:55]MH_I2C_Read... [11:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:56]Read from MH i2c: E2 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 03 00 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 03 00 D9 0F 00 90 00 5C [11:29:56]RAPDU: 90 00 [11:29:56]wFMCommunicate OK [11:29:56]wFMCommunicate request_size=62 [11:29:56]MH_SAM_APDU [11:29:56]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FA A7 00 00 35 04 06 00 59 E3 75 83 C3 C2 [11:29:56]Write to MH i2c: E2 41 00 DA 0F 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FA A7 00 00 35 04 06 00 59 E3 75 83 C3 C2 00 00 FB [11:29:56]Write i2c OK [11:29:56]MH_I2C_Read... [11:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:56]Read from MH i2c: E2 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 03 00 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 03 00 DA 0F 00 90 00 5D [11:29:56]RAPDU: 90 00 [11:29:56]wFMCommunicate OK [11:29:56]wFMCommunicate request_size=4 [11:29:56]MH_SAM_APDU [11:29:56]CAPDU: 80 0D 03 02 [11:29:56]Write to MH i2c: E2 08 00 DB 0F 80 0D 03 02 00 00 00 00 65 [11:29:56]Write i2c OK [11:29:56]MH_I2C_Read... [11:29:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:29:56]Read from MH i2c: E2 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 0B 00 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 0B 00 DB 0F 00 38 40 CD B7 09 49 59 30 90 00 3D [11:29:56]RAPDU: 38 40 CD B7 09 49 59 30 90 00 [11:29:56]wFMCommunicate OK [11:29:56]SAM_PROTO_SignData done [11:29:56]FM_MakeSignedData done [11:29:56]CreateOFDProtocolMessage [11:29:56]wFMCommunicate request_size=4 [11:29:56]MH_SAM_APDU [11:29:56]CAPDU: 80 11 00 00 [11:29:56]Write to MH i2c: E2 08 00 DC 0F 80 11 00 00 00 00 00 00 65 [11:29:56]Write i2c OK [11:29:56]MH_I2C_Read... [11:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:56]Read from MH i2c: E2 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 17 00 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: E2 17 00 DC 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 BC [11:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:29:56]wFMCommunicate OK [11:29:56]CreateOFDProtocolMessage done [11:29:56]OFDSenderStorePacket 43002 [11:29:56]StoreOFDPacket docnum=43002 [11:29:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 A2 97 3B 01 79 4D 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 36 65 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FA A7 00 00 35 04 06 00 59 E3 75 83 C3 C2 38 40 CD B7 09 49 59 30 [11:29:56]CheckFolder [11:29:56]dirname=/storage/ofd_packets [11:29:56]CheckFolder done [11:29:56]ProducePacketName [11:29:56]name=ofd_packets/00043002 [11:29:56]NVStorageSaveData ofd_packets/00043002 [11:29:56]File name is /storage/ofd_packets/00043002 [11:29:56]Write 353 bytes [11:29:56]NVStorageSaveData done [11:29:56]OFDSenderStorePacket done [11:29:56]KKMCreateOFDPacket done [11:29:56]NVStorageSaveData kkm_last_timestamp [11:29:56]File name is /storage/kkm_last_timestamp [11:29:56]Write 4 bytes [11:29:56]NVStorageSaveData done [11:29:56]ExternCall_PrintAddStr [11:29:56]wPrintStart [11:29:56]Write to MH i2c: 01 00 00 DD 0F EC [11:29:56]Write i2c OK [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: 01 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: 01 07 00 [11:29:56]MH_I2C_Read... [11:29:56]Read from MH i2c: 01 07 00 DD 0F 00 00 00 00 00 FF 0F 01 [11:29:56]RasterBufferAndPrint [11:29:56]line Счет N : (3)300130 [11:29:56]line ИНН: 02508201610067 [11:29:56]line Контрольно-Кассовый Чек [11:29:56]line ПРОДАЖА [11:29:56]line Товар: 4870202521216 [11:29:56]line Напиток MAXI чай 1,2 зел.лимон (новый) [11:29:56]line 1.000 * 110.00 [11:29:56]line = 110.00 [11:29:56]line НДС 12% НСП 1% [11:29:56]line > о реализуемом товаре [11:29:56]line ИТОГО: 110.00 [11:29:56]line НСП 1% : 0.97 [11:29:56]line НДС 12% : 11.68 [11:29:56]line Наличными: 110.00 [11:29:56]line Безнал.: 0.00 [11:29:56]line Место: АЗС № 71 "Партнер Нефть" [11:29:56]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:29:56]line СНО: Общий режим [11:29:56]line Чек 47 13.07.2024 11:29 [11:29:56]line Смена: 445 ФФД: 1.0 [11:29:56]line ЗНМ: 0300000153 [11:29:56]line РНМ: 0000000000091176 [11:29:56]line Версия ККМ: 001 [11:29:56]line ФМ: 0000000000874935 [11:29:56]line ФД: 43002 [11:29:56]line ФПД: 98833464017858 [11:29:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T112958&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43002&fm=98833464017858&tin=02508201610067®Number=0000000000091176&sum=11000 [11:29:56]line 0 [11:29:56]OFD Sender: Processing packet 43002 [packets to send 31, broken 30] [11:29:56]ProducePacketName [11:29:56]name=ofd_packets/00043002 [11:29:56]OFD Sender: To server: pG, [11:29:56]CommunicateWithHost lk.salyk.kg:30040 [11:29:56]ConnectInit lk.salyk.kg [11:29:56]written 0, free lines is 4095 [11:29:56]Connected sock=10 [11:29:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 A2 97 3B 01 79 4D 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 36 65 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FA A7 00 00 35 04 06 00 59 E3 75 83 C3 C2 38 40 CD B7 09 49 59 30 [11:29:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 86 B4 47 00 DA FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FA A7 00 00 F4 03 04 00 30 11 92 66 B6 04 01 00 00 26 29 00 BF E2 D0 60 F1 [11:29:57]CommunicateWithHost err = 0 [11:29:57]CheckOFDResponse [11:29:57]1017 (14) - 77093643461234 [11:29:57]1041 (16) - 0000000000874935 [11:29:57]1040 (4) - 43002 [11:29:57]1012 (4) - 13.07.2024 05:31 [11:29:57]1206 (1) - 0 [11:29:57]OFD Sender: Remove packet 43002 [11:29:57]ProducePacketName [11:29:57]name=ofd_packets/00043002 [11:29:57]NVStorageDeleteData [11:29:57]Write to MH i2c: 01 00 00 06 10 16 [11:29:57]Write i2c OK [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: 01 [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: 01 07 00 [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: 01 07 00 06 10 00 00 00 00 00 EB 0C 14 [11:29:57]RasterBufferAndPrint [11:29:57]line [11:29:57]line [11:29:57]line [11:29:57]line [11:29:57]line [11:29:57]written 0, free lines is 3316 [11:29:57]MH_Cut [11:29:57]Write to MH i2c: D1 01 00 0D 10 01 EF [11:29:57]Write i2c OK [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: D1 [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: D1 01 00 [11:29:57]MH_I2C_Read... [11:29:57]Read from MH i2c: D1 01 00 0D 10 00 EE [11:29:57]Write to MH i2c: 01 00 00 0E 10 1E [11:29:57]Write i2c OK [11:29:57]MH_I2C_Read... [11:29:57]OFD Sender: No OFD packet to send [11:29:57]*** Cut start [11:29:57]*** Partial cut [11:29:57]*** CUTSNS_PIN = 1 [11:29:57]*** CUTSNS_PIN = 0 [11:29:58]*** Brake cut motor [11:29:58]Read from MH i2c: 01 [11:29:58]MH_I2C_Read... [11:29:58]*** Stop cut motor [11:29:58]*** Cut end [11:29:58]Read from MH i2c: 01 07 00 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: 01 07 00 0E 10 00 00 00 00 00 FF 0F 33 [11:29:58]process_action close_receipt done [11:29:58]requested_data is exist [11:29:58]produce_requested_data [11:29:58]requested_item fm.sn is exist - process it [11:29:58]wFMCommunicate request_size=4 [11:29:58]MH_SAM_APDU [11:29:58]CAPDU: 80 11 00 00 [11:29:58]Write to MH i2c: E2 08 00 0F 10 80 11 00 00 00 00 00 00 99 [11:29:58]Write i2c OK [11:29:58]MH_I2C_Read... [11:29:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:58]Read from MH i2c: E2 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 17 00 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 17 00 0F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F0 [11:29:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:29:58]wFMCommunicate OK [11:29:58]requested_item fd.num is exist - process it [11:29:58]SAM_PROTO_GetFieldsCounters [11:29:58]wFMCommunicate request_size=4 [11:29:58]MH_SAM_APDU [11:29:58]CAPDU: 80 13 00 00 [11:29:58]Write to MH i2c: E2 08 00 10 10 80 13 00 00 00 00 00 00 9C [11:29:58]Write i2c OK [11:29:58]MH_I2C_Read... [11:29:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:29:58]Read from MH i2c: E2 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 62 00 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 62 00 10 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FA A7 00 00 0E 04 04 00 BD 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 AC [11:29:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FA A7 00 00 0E 04 04 00 BD 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 [11:29:58]wFMCommunicate OK [11:29:58]SAM_PROTO_GetFieldsCounters done [11:29:58]requested_item shift.num is exist - process it [11:29:58]requested_item shift.opened is exist - process it [11:29:58]req_shift_opened [11:29:58]FM_GetShiftState [11:29:58]SAM_PROTO_GetShiftState [11:29:58]wFMCommunicate request_size=4 [11:29:58]MH_SAM_APDU [11:29:58]CAPDU: 80 13 01 00 [11:29:58]Write to MH i2c: E2 08 00 11 10 80 13 01 00 00 00 00 00 9E [11:29:58]Write i2c OK [11:29:58]MH_I2C_Read... [11:29:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:58]Read from MH i2c: E2 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 0E 00 [11:29:58]MH_I2C_Read... [11:29:58]Read from MH i2c: E2 0E 00 11 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 35 [11:29:58]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:29:58]wFMCommunicate OK [11:29:58]SAM_PROTO_GetShiftState done [11:29:58]FM_GetShiftState done [11:29:58]req_shift_opened done [11:29:58]requested_item shift.open_date is exist - process it [11:29:58]req_shift_open_date [11:29:58]req_shift_open_date done [11:29:58]requested_item shift.sale.total is exist - process it [11:29:58]SAM_PROTO_GetShiftData [11:29:58]wFMCommunicate request_size=4 [11:29:58]MH_SAM_APDU [11:29:58]CAPDU: 80 13 02 00 [11:29:58]Write to MH i2c: E2 08 00 12 10 80 13 02 00 00 00 00 00 A0 [11:29:58]Write i2c OK [11:29:58]MH_I2C_Read... [11:29:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:29:59]Read from MH i2c: E2 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 12 10 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 30 AA 0C 70 04 03 00 90 74 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4B 58 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F6 [11:29:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 30 AA 0C 70 04 03 00 90 74 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4B 58 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:29:59]wFMCommunicate OK [11:29:59]wFMCommunicate request_size=4 [11:29:59]MH_SAM_APDU [11:29:59]CAPDU: 80 17 00 00 [11:29:59]Write to MH i2c: E2 08 00 13 10 80 17 00 00 00 00 00 00 A3 [11:29:59]Write i2c OK [11:29:59]MH_I2C_Read... [11:29:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:29:59]Read from MH i2c: E2 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 13 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C5 [11:29:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:29:59]wFMCommunicate OK [11:29:59]wFMCommunicate request_size=4 [11:29:59]MH_SAM_APDU [11:29:59]CAPDU: 80 17 00 00 [11:29:59]Write to MH i2c: E2 08 00 14 10 80 17 00 00 00 00 00 00 A4 [11:29:59]Write i2c OK [11:29:59]MH_I2C_Read... [11:29:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:29:59]Read from MH i2c: E2 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 [11:29:59]MH_I2C_Read... [11:29:59]Read from MH i2c: E2 FD 00 14 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5B [11:29:59]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:29:59]wFMCommunicate OK [11:29:59]wFMCommunicate request_size=4 [11:29:59]MH_SAM_APDU [11:29:59]CAPDU: 80 17 00 00 [11:29:59]Write to MH i2c: E2 08 00 15 10 80 17 00 00 00 00 00 00 A5 [11:29:59]Write i2c OK [11:29:59]MH_I2C_Read... [11:30:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:30:00]Read from MH i2c: E2 [11:30:00]MH_I2C_Read... [11:30:00]Read from MH i2c: E2 FD 00 [11:30:00]MH_I2C_Read... [11:30:00]Read from MH i2c: E2 FD 00 15 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 17 [11:30:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:30:00]wFMCommunicate OK [11:30:00]wFMCommunicate request_size=4 [11:30:00]MH_SAM_APDU [11:30:00]CAPDU: 80 17 00 00 [11:30:00]Write to MH i2c: E2 08 00 16 10 80 17 00 00 00 00 00 00 A6 [11:30:00]Write i2c OK [11:30:00]MH_I2C_Read... [11:30:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:30:00]Read from MH i2c: E2 [11:30:00]MH_I2C_Read... [11:30:00]Read from MH i2c: E2 CB 00 [11:30:00]MH_I2C_Read... [11:30:00]Read from MH i2c: E2 CB 00 16 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8F [11:30:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:30:00]wFMCommunicate OK [11:30:00]SAM_PROTO_GetShiftData done [11:30:00]requested_item shift.sale.total_cash is exist - process it [11:30:00]requested_item shift.sale_refund.total is exist - process it [11:30:00]requested_item shift.sale_refund.total_cash is exist - process it [11:30:00]produce_requested_data done [11:30:00]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43002,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8300.00,"shift.sale.total_cash":6852.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:30:00]process_action_free close_receipt [11:30:00]json_value_free [11:30:00]json_value_free done [11:30:00]process_json_proto returns [11:30:00]Send response to host [11:30:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43002,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8300.00,"shift.sale.total_cash":6852.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:30:00]free response buf [11:30:00]execute_script done [11:30:00]execute_script returns [11:30:00]free content buf [11:30:00]Sock 7.Close socket [11:30:00]Sock 7.Thread stoped [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:40]accept exits with 9 [11:36:40]New connection [11:36:40]New thread 3067387236 created [11:36:40]Thread 3067530596 joined [11:36:40]Waiting for new connection... [11:36:40] Sock 9.Parse request [11:36:40]Sock 9.Check first char [11:36:40]Sock 9.First char is OK [11:36:40]request: POST /json_proto HTTP/1.0 [11:36:40]Method: POST [11:36:40]URL: /json_proto [11:36:40]Method is POST - this is cgi request [11:36:40]url: /json_proto [11:36:40]query_string will be loaded in cgi processing [11:36:40]execute_cgi json_proto POST (null) [11:36:40]execute_cgi path=json_proto method=POST [11:36:40]POST find Content-Length [11:36:40]Host: 172.17.38.197:8080 [11:36:40]Content-Length: 1109 [11:36:40]Content-Type: application/json [11:36:40] [11:36:40]POST finish read [11:36:40]Found Content-Length = 1109 [11:36:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300131", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:40]execute_script... [11:36:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300131", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:40]POST & json_proto [11:36:40]process_json_proto [11:36:40]json parsed OK: [11:36:40]protocol is kg_v1.0 [11:36:40]action value=close_receipt [11:36:40]process_action close_receipt [11:36:40]cmd_close_receipt [11:36:40]MH_GetDate [11:36:40]Write to MH i2c: F0 00 00 17 10 16 [11:36:40]Write i2c OK [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 09 00 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 09 00 17 10 00 CC 66 92 66 1E 0D 88 66 62 [11:36:40]GetLastDocTimeStamp 1720870198 [11:36:40]current date 1720870604 [11:36:40]FM_GetShiftState [11:36:40]SAM_PROTO_GetShiftState [11:36:40]wFMCommunicate request_size=4 [11:36:40]MH_SAM_APDU [11:36:40]CAPDU: 80 13 01 00 [11:36:40]Write to MH i2c: E2 08 00 18 10 80 13 01 00 00 00 00 00 A5 [11:36:40]Write i2c OK [11:36:40]MH_I2C_Read... [11:36:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:40]Read from MH i2c: E2 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: E2 0E 00 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: E2 0E 00 18 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 3C [11:36:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:36:40]wFMCommunicate OK [11:36:40]SAM_PROTO_GetShiftState done [11:36:40]FM_GetShiftState done [11:36:40]opened in 1720829646 [11:36:40]opened+sec_in_day 1720916046 [11:36:40]quantity*price = 10000 [11:36:40]sum+1 = 10001 [11:36:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 189.00 НСП 1% : 1.67 НДС 12% : 20.07 Наличными: 189.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 48 13.07.2024 11:36 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43003 ФПД: 125794682411351 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T113644&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43003&fm=125794682411351&tin=02508201610067®Number=0000000000091176&sum=18900 0 [11:36:41]StoreToDocumentArchive [11:36:41]shift 445 fd 43003 [11:36:41]save to /storage/0445/doc_00043003 [11:36:41]save last doc name /storage/0445/doc_00043003 to /storage/kkm_last_doc_name [11:36:41]save OK [11:36:41]Clear old archive folders... [11:36:41]ProcessDocumentItem done err = 0, tmpTLVsize=417 [11:36:41]tlvbuf is 015B3B60 [11:36:41]SAM_PROTO_ClearQueue [11:36:41]wFMCommunicate request_size=4 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 09 00 00 [11:36:41]Write to MH i2c: E2 08 00 25 10 80 09 00 00 00 00 00 00 A7 [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:41]Read from MH i2c: E2 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 25 10 00 90 00 A9 [11:36:41]RAPDU: 90 00 [11:36:41]wFMCommunicate OK [11:36:41]SAM_PROTO_ClearQueue done [11:36:41]KKMCreateOFDPacket [11:36:41]OFDProtocolAddRootSTLVToBuf [11:36:41]FM_MakeSignedData [11:36:41]FM_MakeSignedData [11:36:41]SAM_PROTO_SignData [11:36:41]wFMCommunicate request_size=4 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 0D 01 02 [11:36:41]Write to MH i2c: E2 08 00 26 10 80 0D 01 02 00 00 00 00 AF [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 26 10 00 90 00 AA [11:36:42]RAPDU: 90 00 [11:36:42]wFMCommunicate OK [11:36:42]wFMCommunicate request_size=255 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [11:36:42]Write to MH i2c: E2 02 01 27 10 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 CF [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 27 10 00 90 00 AB [11:36:42]RAPDU: 90 00 [11:36:42]wFMCommunicate OK [11:36:42]wFMCommunicate request_size=176 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CC 66 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FB A7 00 00 35 04 06 00 72 68 DB 5C 19 57 [11:36:42]Write to MH i2c: E2 B3 00 28 10 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CC 66 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FB A7 00 00 35 04 06 00 72 68 DB 5C 19 57 00 00 0A [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 28 10 00 90 00 AC [11:36:42]RAPDU: 90 00 [11:36:42]wFMCommunicate OK [11:36:42]wFMCommunicate request_size=4 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 0D 03 02 [11:36:42]Write to MH i2c: E2 08 00 29 10 80 0D 03 02 00 00 00 00 B4 [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 0B 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 0B 00 29 10 00 28 D4 7B 1E C7 16 EE E0 90 00 F5 [11:36:42]RAPDU: 28 D4 7B 1E C7 16 EE E0 90 00 [11:36:42]wFMCommunicate OK [11:36:42]SAM_PROTO_SignData done [11:36:42]FM_MakeSignedData done [11:36:42]CreateOFDProtocolMessage [11:36:42]wFMCommunicate request_size=4 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 11 00 00 [11:36:42]Write to MH i2c: E2 08 00 2A 10 80 11 00 00 00 00 00 00 B4 [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 17 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 17 00 2A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 0B [11:36:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:36:42]wFMCommunicate OK [11:36:42]CreateOFDProtocolMessage done [11:36:42]OFDSenderStorePacket 43003 [11:36:42]StoreOFDPacket docnum=43003 [11:36:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B5 01 00 00 93 AF AD 01 B5 04 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CC 66 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FB A7 00 00 35 04 06 00 72 68 DB 5C 19 57 28 D4 7B 1E C7 16 EE E0 [11:36:42]CheckFolder [11:36:42]dirname=/storage/ofd_packets [11:36:42]CheckFolder done [11:36:42]ProducePacketName [11:36:42]name=ofd_packets/00043003 [11:36:42]NVStorageSaveData ofd_packets/00043003 [11:36:42]File name is /storage/ofd_packets/00043003 [11:36:42]Write 467 bytes [11:36:42]NVStorageSaveData done [11:36:42]OFDSenderStorePacket done [11:36:42]KKMCreateOFDPacket done [11:36:42]NVStorageSaveData kkm_last_timestamp [11:36:42]File name is /storage/kkm_last_timestamp [11:36:42]Write 4 bytes [11:36:42]NVStorageSaveData done [11:36:42]ExternCall_PrintAddStr [11:36:42]wPrintStart [11:36:42]Write to MH i2c: 01 00 00 2B 10 3B [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 07 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 07 00 2B 10 00 00 00 00 00 FF 0F 50 [11:36:42]RasterBufferAndPrint [11:36:42]line Счет N : (3)300131 [11:36:42]line ИНН: 02508201610067 [11:36:42]line Контрольно-Кассовый Чек [11:36:42]line ПРОДАЖА [11:36:42]line Товар: 4870002326172 [11:36:42]line Вода ASU пит н.газ лимон ПЭТ 1л [11:36:42]line 1.000 * 100.00 [11:36:42]line = 100.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line Товар: 5000159390729 [11:36:42]line Шок Батончик Твикс Экстра 82г [11:36:42]line 1.000 * 89.00 [11:36:42]line = 89.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line ИТОГО: 189.00 [11:36:42]line НСП 1% : 1.67 [11:36:42]line НДС 12% : 20.07 [11:36:42]line Наличными: 189.00 [11:36:42]line Безнал.: 0.00 [11:36:42]line Место: АЗС № 71 "Партнер Нефть" [11:36:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:36:42]line СНО: Общий режим [11:36:42]line Чек 48 13.07.2024 11:36 [11:36:42]line Смена: 445 ФФД: 1.0 [11:36:42]line ЗНМ: 0300000153 [11:36:42]line РНМ: 0000000000091176 [11:36:42]line Версия ККМ: 001 [11:36:42]line ФМ: 0000000000874935 [11:36:42]line ФД: 43003 [11:36:42]line ФПД: 125794682411351 [11:36:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T113644&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43003&fm=125794682411351&tin=02508201610067®Number=0000000000091176&sum=18900 [11:36:42]line 0 [11:36:42]written 0, free lines is 4095 [11:36:42]OFD Sender: Processing packet 43003 [packets to send 31, broken 30] [11:36:42]ProducePacketName [11:36:42]name=ofd_packets/00043003 [11:36:42]OFD Sender: To server: pG, [11:36:42]CommunicateWithHost lk.salyk.kg:30040 [11:36:42]ConnectInit lk.salyk.kg [11:36:43]Connected sock=10 [11:36:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B5 01 00 00 93 AF AD 01 B5 04 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CC 66 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FB A7 00 00 35 04 06 00 72 68 DB 5C 19 57 28 D4 7B 1E C7 16 EE E0 [11:36:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 BB 1F 47 00 F8 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FB A7 00 00 F4 03 04 00 C6 12 92 66 B6 04 01 00 00 1E 9F C0 05 56 E7 69 59 [11:36:43]CommunicateWithHost err = 0 [11:36:43]CheckOFDResponse [11:36:43]1017 (14) - 77093643461234 [11:36:43]1041 (16) - 0000000000874935 [11:36:43]1040 (4) - 43003 [11:36:43]1012 (4) - 13.07.2024 05:38 [11:36:43]1206 (1) - 0 [11:36:43]OFD Sender: Remove packet 43003 [11:36:43]ProducePacketName [11:36:43]name=ofd_packets/00043003 [11:36:43]NVStorageDeleteData [11:36:43]Write to MH i2c: 01 00 00 5B 10 6B [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 07 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 07 00 5B 10 00 00 00 00 00 99 0C 17 [11:36:43]RasterBufferAndPrint [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]written 0, free lines is 3232 [11:36:43]MH_Cut [11:36:43]Write to MH i2c: D1 01 00 62 10 01 44 [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 01 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 01 00 62 10 00 43 [11:36:43]Write to MH i2c: 01 00 00 63 10 73 [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]OFD Sender: No OFD packet to send [11:36:44]*** Cut start [11:36:44]*** Partial cut [11:36:44]*** CUTSNS_PIN = 1 [11:36:44]*** CUTSNS_PIN = 0 [11:36:44]*** Brake cut motor [11:36:44]Read from MH i2c: 01 [11:36:44]MH_I2C_Read... [11:36:44]*** Stop cut motor [11:36:44]*** Cut end [11:36:44]Read from MH i2c: 01 07 00 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: 01 07 00 63 10 00 00 00 00 00 FF 0F 88 [11:36:44]process_action close_receipt done [11:36:44]requested_data is exist [11:36:44]produce_requested_data [11:36:44]requested_item fm.sn is exist - process it [11:36:44]wFMCommunicate request_size=4 [11:36:44]MH_SAM_APDU [11:36:44]CAPDU: 80 11 00 00 [11:36:44]Write to MH i2c: E2 08 00 64 10 80 11 00 00 00 00 00 00 EE [11:36:44]Write i2c OK [11:36:44]MH_I2C_Read... [11:36:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:44]Read from MH i2c: E2 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: E2 17 00 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: E2 17 00 64 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 45 [11:36:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:36:44]wFMCommunicate OK [11:36:44]requested_item fd.num is exist - process it [11:36:44]SAM_PROTO_GetFieldsCounters [11:36:44]wFMCommunicate request_size=4 [11:36:44]MH_SAM_APDU [11:36:44]CAPDU: 80 13 00 00 [11:36:44]Write to MH i2c: E2 08 00 65 10 80 13 00 00 00 00 00 00 F1 [11:36:44]Write i2c OK [11:36:44]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 62 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 62 00 65 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FB A7 00 00 0E 04 04 00 BD 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 05 [11:36:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FB A7 00 00 0E 04 04 00 BD 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 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_GetFieldsCounters done [11:36:45]requested_item shift.num is exist - process it [11:36:45]requested_item shift.opened is exist - process it [11:36:45]req_shift_opened [11:36:45]FM_GetShiftState [11:36:45]SAM_PROTO_GetShiftState [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 13 01 00 [11:36:45]Write to MH i2c: E2 08 00 66 10 80 13 01 00 00 00 00 00 F3 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0E 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0E 00 66 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8A [11:36:45]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_GetShiftState done [11:36:45]FM_GetShiftState done [11:36:45]req_shift_opened done [11:36:45]requested_item shift.open_date is exist - process it [11:36:45]req_shift_open_date [11:36:45]req_shift_open_date done [11:36:45]requested_item shift.sale.total is exist - process it [11:36:45]SAM_PROTO_GetShiftData [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 13 02 00 [11:36:45]Write to MH i2c: E2 08 00 67 10 80 13 02 00 00 00 00 00 F5 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 FD 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 FD 00 67 10 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 04 F4 0C 70 04 03 00 64 BE 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 60 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 10 [11:36:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 04 F4 0C 70 04 03 00 64 BE 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 60 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:36:45]wFMCommunicate OK [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 17 00 00 [11:36:45]Write to MH i2c: E2 08 00 68 10 80 17 00 00 00 00 00 00 F8 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 FD 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 FD 00 68 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1A [11:36:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:36:45]wFMCommunicate OK [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 17 00 00 [11:36:45]Write to MH i2c: E2 08 00 69 10 80 17 00 00 00 00 00 00 F9 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:46]Read from MH i2c: E2 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 FD 00 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 FD 00 69 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B0 [11:36:46]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:36:46]wFMCommunicate OK [11:36:46]wFMCommunicate request_size=4 [11:36:46]MH_SAM_APDU [11:36:46]CAPDU: 80 17 00 00 [11:36:46]Write to MH i2c: E2 08 00 6A 10 80 17 00 00 00 00 00 00 FA [11:36:46]Write i2c OK [11:36:46]MH_I2C_Read... [11:36:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:46]Read from MH i2c: E2 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 FD 00 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 FD 00 6A 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6C [11:36:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:36:46]wFMCommunicate OK [11:36:46]wFMCommunicate request_size=4 [11:36:46]MH_SAM_APDU [11:36:46]CAPDU: 80 17 00 00 [11:36:46]Write to MH i2c: E2 08 00 6B 10 80 17 00 00 00 00 00 00 FB [11:36:46]Write i2c OK [11:36:46]MH_I2C_Read... [11:36:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:36:46]Read from MH i2c: E2 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 CB 00 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: E2 CB 00 6B 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E4 [11:36:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:36:46]wFMCommunicate OK [11:36:46]SAM_PROTO_GetShiftData done [11:36:46]requested_item shift.sale.total_cash is exist - process it [11:36:46]requested_item shift.sale_refund.total is exist - process it [11:36:46]requested_item shift.sale_refund.total_cash is exist - process it [11:36:46]produce_requested_data done [11:36:46]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43003,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8489.00,"shift.sale.total_cash":7041.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:36:46]process_action_free close_receipt [11:36:46]json_value_free [11:36:46]json_value_free done [11:36:46]process_json_proto returns [11:36:46]Send response to host [11:36:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43003,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8489.00,"shift.sale.total_cash":7041.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:36:46]free response buf [11:36:46]execute_script done [11:36:46]execute_script returns [11:36:46]free content buf [11:36:46]Sock 9.Close socket [11:36:46]Sock 9.Thread stoped [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:04]accept exits with 7 [11:42:04]New connection [11:42:04]New thread 3067530596 created [11:42:04]Thread 3067387236 joined [11:42:04]Waiting for new connection... [11:42:04] Sock 7.Parse request [11:42:04]Sock 7.Check first char [11:42:04]Sock 7.First char is OK [11:42:04]request: POST /json_proto HTTP/1.0 [11:42:04]Method: POST [11:42:04]URL: /json_proto [11:42:04]Method is POST - this is cgi request [11:42:04]url: /json_proto [11:42:04]query_string will be loaded in cgi processing [11:42:04]execute_cgi json_proto POST (null) [11:42:04]execute_cgi path=json_proto method=POST [11:42:04]POST find Content-Length [11:42:04]Host: 172.17.38.197:8080 [11:42:04]Content-Length: 215 [11:42:04]Content-Type: application/json [11:42:04] [11:42:04]POST finish read [11:42:04]Found Content-Length = 215 [11:42:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:04]execute_script... [11:42:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:04]POST & json_proto [11:42:04]process_json_proto [11:42:04]json parsed OK: [11:42:04]protocol is kg_v1.0 [11:42:04]action value=get_value [11:42:04]process_action get_value [11:42:04]cmd_get_value [11:42:04]process_action get_value done [11:42:04]requested_data is exist [11:42:04]produce_requested_data [11:42:04]requested_item kkm.sn is exist - process it [11:42:04]requested_item kkm.ver is exist - process it [11:42:04]requested_item fm.sn is exist - process it [11:42:04]wFMCommunicate request_size=4 [11:42:04]MH_SAM_APDU [11:42:04]CAPDU: 80 11 00 00 [11:42:04]Write to MH i2c: E2 08 00 6C 10 80 11 00 00 00 00 00 00 F6 [11:42:04]Write i2c OK [11:42:04]MH_I2C_Read... [11:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:04]Read from MH i2c: E2 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 17 00 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 17 00 6C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4D [11:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:42:04]wFMCommunicate OK [11:42:04]requested_item fd.num is exist - process it [11:42:04]SAM_PROTO_GetFieldsCounters [11:42:04]wFMCommunicate request_size=4 [11:42:04]MH_SAM_APDU [11:42:04]CAPDU: 80 13 00 00 [11:42:04]Write to MH i2c: E2 08 00 6D 10 80 13 00 00 00 00 00 00 F9 [11:42:04]Write i2c OK [11:42:04]MH_I2C_Read... [11:42:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:42:04]Read from MH i2c: E2 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 62 00 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 62 00 6D 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FB A7 00 00 0E 04 04 00 BD 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 0D [11:42:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FB A7 00 00 0E 04 04 00 BD 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 [11:42:04]wFMCommunicate OK [11:42:04]SAM_PROTO_GetFieldsCounters done [11:42:04]requested_item shift.num is exist - process it [11:42:04]requested_item shift.opened is exist - process it [11:42:04]req_shift_opened [11:42:04]FM_GetShiftState [11:42:04]SAM_PROTO_GetShiftState [11:42:04]wFMCommunicate request_size=4 [11:42:04]MH_SAM_APDU [11:42:04]CAPDU: 80 13 01 00 [11:42:04]Write to MH i2c: E2 08 00 6E 10 80 13 01 00 00 00 00 00 FB [11:42:04]Write i2c OK [11:42:04]MH_I2C_Read... [11:42:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:04]Read from MH i2c: E2 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 0E 00 [11:42:04]MH_I2C_Read... [11:42:04]Read from MH i2c: E2 0E 00 6E 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 92 [11:42:04]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:42:04]wFMCommunicate OK [11:42:04]SAM_PROTO_GetShiftState done [11:42:04]FM_GetShiftState done [11:42:04]req_shift_opened done [11:42:04]requested_item shift.open_date is exist - process it [11:42:04]req_shift_open_date [11:42:04]req_shift_open_date done [11:42:04]produce_requested_data done [11:42:04]produce_requested_data return {"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43003,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646} [11:42:04]process_action_free get_value [11:42:04]json_value_free [11:42:04]json_value_free done [11:42:04]process_json_proto returns [11:42:04]Send response to host [11:42:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43003,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646}}} [11:42:04]free response buf [11:42:04]execute_script done [11:42:04]execute_script returns [11:42:04]free content buf [11:42:04]Sock 7.Close socket [11:42:04]Sock 7.Thread stoped [11:42:04]accept exits with 9 [11:42:04]New connection [11:42:04]New thread 3067387236 created [11:42:04]Thread 3067530596 joined [11:42:04]Waiting for new connection... [11:42:04] Sock 9.Parse request [11:42:04]Sock 9.Check first char [11:42:04]Sock 9.First char is OK [11:42:04]request: POST /json_proto HTTP/1.0 [11:42:04]Method: POST [11:42:04]URL: /json_proto [11:42:04]Method is POST - this is cgi request [11:42:04]url: /json_proto [11:42:04]query_string will be loaded in cgi processing [11:42:04]execute_cgi json_proto POST (null) [11:42:04]execute_cgi path=json_proto method=POST [11:42:04]POST find Content-Length [11:42:04]Host: 172.17.38.197:8080 [11:42:04]Content-Length: 331 [11:42:04]Content-Type: application/json [11:42:04] [11:42:04]POST finish read [11:42:04]Found Content-Length = 331 [11:42:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:42:04]execute_script... [11:42:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:42:04]POST & json_proto [11:42:04]process_json_proto [11:42:04]json parsed OK: [11:42:04]protocol is kg_v1.0 [11:42:04]action value=get_value [11:42:04]process_action get_value [11:42:04]cmd_get_value [11:42:04]process_action get_value done [11:42:04]requested_data is exist [11:42:04]produce_requested_data [11:42:04]requested_item fm.sale.total is exist - process it [11:42:04]SAM_PROTO_GetFMData [11:42:04]wFMCommunicate request_size=4 [11:42:04]MH_SAM_APDU [11:42:04]CAPDU: 80 13 03 00 [11:42:04]Write to MH i2c: E2 08 00 6F 10 80 13 03 00 00 00 00 00 FE [11:42:04]Write i2c OK [11:42:04]MH_I2C_Read... [11:42:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [11:42:05]Read from MH i2c: E2 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 6F 10 00 BF 04 85 04 BB 04 6E 04 04 00 80 A4 00 00 69 04 A0 00 6F 04 04 00 51 A4 00 00 B1 04 04 00 72 BF 17 46 70 04 04 00 D1 53 4F 42 72 04 04 00 A1 6B C8 03 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 39 B7 71 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A6 C1 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 7C [11:42:05]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 80 A4 00 00 69 04 A0 00 6F 04 04 00 51 A4 00 00 B1 04 04 00 72 BF 17 46 70 04 04 00 D1 53 4F 42 72 04 04 00 A1 6B C8 03 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 39 B7 71 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A6 C1 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [11:42:05]wFMCommunicate OK [11:42:05]wFMCommunicate request_size=4 [11:42:05]MH_SAM_APDU [11:42:05]CAPDU: 80 17 00 00 [11:42:05]Write to MH i2c: E2 08 00 70 10 80 17 00 00 00 00 00 00 00 [11:42:05]Write i2c OK [11:42:05]MH_I2C_Read... [11:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:05]Read from MH i2c: E2 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 70 10 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 37 [11:42:05]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [11:42:05]wFMCommunicate OK [11:42:05]wFMCommunicate request_size=4 [11:42:05]MH_SAM_APDU [11:42:05]CAPDU: 80 17 00 00 [11:42:05]Write to MH i2c: E2 08 00 71 10 80 17 00 00 00 00 00 00 01 [11:42:05]Write i2c OK [11:42:05]MH_I2C_Read... [11:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:05]Read from MH i2c: E2 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 [11:42:05]MH_I2C_Read... [11:42:05]Read from MH i2c: E2 FD 00 71 10 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A5 [11:42:05]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [11:42:05]wFMCommunicate OK [11:42:05]wFMCommunicate request_size=4 [11:42:05]MH_SAM_APDU [11:42:05]CAPDU: 80 17 00 00 [11:42:05]Write to MH i2c: E2 08 00 72 10 80 17 00 00 00 00 00 00 02 [11:42:05]Write i2c OK [11:42:05]MH_I2C_Read... [11:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:06]Read from MH i2c: E2 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 FD 00 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 FD 00 72 10 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 90 00 7C [11:42:06]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [11:42:06]wFMCommunicate OK [11:42:06]wFMCommunicate request_size=4 [11:42:06]MH_SAM_APDU [11:42:06]CAPDU: 80 17 00 00 [11:42:06]Write to MH i2c: E2 08 00 73 10 80 17 00 00 00 00 00 00 03 [11:42:06]Write i2c OK [11:42:06]MH_I2C_Read... [11:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [11:42:06]Read from MH i2c: E2 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 DC 00 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 DC 00 73 10 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E7 [11:42:06]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:42:06]wFMCommunicate OK [11:42:06]SAM_PROTO_GetFMData done [11:42:06]requested_item fm.sale_refund.total is exist - process it [11:42:06]requested_item fm.buy.total is exist - process it [11:42:06]requested_item shift.sale.total is exist - process it [11:42:06]SAM_PROTO_GetShiftData [11:42:06]wFMCommunicate request_size=4 [11:42:06]MH_SAM_APDU [11:42:06]CAPDU: 80 13 02 00 [11:42:06]Write to MH i2c: E2 08 00 74 10 80 13 02 00 00 00 00 00 02 [11:42:06]Write i2c OK [11:42:06]MH_I2C_Read... [11:42:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:42:06]Read from MH i2c: E2 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 FD 00 [11:42:06]MH_I2C_Read... [11:42:06]Read from MH i2c: E2 FD 00 74 10 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 04 F4 0C 70 04 03 00 64 BE 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 60 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 1D [11:42:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 04 F4 0C 70 04 03 00 64 BE 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 60 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:42:06]wFMCommunicate OK [11:42:06]wFMCommunicate request_size=4 [11:42:06]MH_SAM_APDU [11:42:06]CAPDU: 80 17 00 00 [11:42:06]Write to MH i2c: E2 08 00 75 10 80 17 00 00 00 00 00 00 05 [11:42:06]Write i2c OK [11:42:06]MH_I2C_Read... [11:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:07]Read from MH i2c: E2 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 75 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 27 [11:42:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:42:07]wFMCommunicate OK [11:42:07]wFMCommunicate request_size=4 [11:42:07]MH_SAM_APDU [11:42:07]CAPDU: 80 17 00 00 [11:42:07]Write to MH i2c: E2 08 00 76 10 80 17 00 00 00 00 00 00 06 [11:42:07]Write i2c OK [11:42:07]MH_I2C_Read... [11:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:07]Read from MH i2c: E2 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 76 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 BD [11:42:07]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:42:07]wFMCommunicate OK [11:42:07]wFMCommunicate request_size=4 [11:42:07]MH_SAM_APDU [11:42:07]CAPDU: 80 17 00 00 [11:42:07]Write to MH i2c: E2 08 00 77 10 80 17 00 00 00 00 00 00 07 [11:42:07]Write i2c OK [11:42:07]MH_I2C_Read... [11:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:42:07]Read from MH i2c: E2 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 FD 00 77 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 79 [11:42:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:42:07]wFMCommunicate OK [11:42:07]wFMCommunicate request_size=4 [11:42:07]MH_SAM_APDU [11:42:07]CAPDU: 80 17 00 00 [11:42:07]Write to MH i2c: E2 08 00 78 10 80 17 00 00 00 00 00 00 08 [11:42:07]Write i2c OK [11:42:07]MH_I2C_Read... [11:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:42:07]Read from MH i2c: E2 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 CB 00 [11:42:07]MH_I2C_Read... [11:42:07]Read from MH i2c: E2 CB 00 78 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F1 [11:42:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:42:08]wFMCommunicate OK [11:42:08]SAM_PROTO_GetShiftData done [11:42:08]requested_item shift.sale.total_cash is exist - process it [11:42:08]requested_item shift.sale_refund.total is exist - process it [11:42:08]requested_item shift.sale_refund.total_cash is exist - process it [11:42:08]requested_item shift.buy.total is exist - process it [11:42:08]requested_item shift.buy.total_cash is exist - process it [11:42:08]produce_requested_data done [11:42:08]produce_requested_data return {"fm.sale.total":11759614.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":8489.00,"shift.sale.total_cash":7041.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} [11:42:08]process_action_free get_value [11:42:08]json_value_free [11:42:08]json_value_free done [11:42:08]process_json_proto returns [11:42:08]Send response to host [11:42:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11759614.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":8489.00,"shift.sale.total_cash":7041.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}}} [11:42:08]free response buf [11:42:08]execute_script done [11:42:08]execute_script returns [11:42:08]free content buf [11:42:08]Sock 9.Close socket [11:42:08]Sock 9.Thread stoped [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:41]accept exits with 7 [11:48:41]New connection [11:48:41]New thread 3067530596 created [11:48:41]Thread 3067387236 joined [11:48:41]Waiting for new connection... [11:48:41] Sock 7.Parse request [11:48:41]Sock 7.Check first char [11:48:41]Sock 7.First char is OK [11:48:41]request: POST /json_proto HTTP/1.0 [11:48:41]Method: POST [11:48:41]URL: /json_proto [11:48:41]Method is POST - this is cgi request [11:48:41]url: /json_proto [11:48:41]query_string will be loaded in cgi processing [11:48:41]execute_cgi json_proto POST (null) [11:48:41]execute_cgi path=json_proto method=POST [11:48:41]POST find Content-Length [11:48:41]Host: 172.17.38.197:8080 [11:48:41]Content-Length: 1014 [11:48:41]Content-Type: application/json [11:48:41] [11:48:41]POST finish read [11:48:41]Found Content-Length = 1014 [11:48:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300132", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:48:41]execute_script... [11:48:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300132", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:48:41]POST & json_proto [11:48:41]process_json_proto [11:48:41]json parsed OK: [11:48:41]protocol is kg_v1.0 [11:48:41]action value=close_receipt [11:48:41]process_action close_receipt [11:48:41]cmd_close_receipt [11:48:41]MH_GetDate [11:48:41]Write to MH i2c: F0 00 00 79 10 78 [11:48:41]Write i2c OK [11:48:41]MH_I2C_Read... [11:48:41]Read from MH i2c: F0 [11:48:41]MH_I2C_Read... [11:48:41]Read from MH i2c: F0 09 00 [11:48:41]MH_I2C_Read... [11:48:41]Read from MH i2c: F0 09 00 79 10 00 9D 69 92 66 1E 0D 88 66 98 [11:48:41]GetLastDocTimeStamp 1720870604 [11:48:41]current date 1720871325 [11:48:41]FM_GetShiftState [11:48:41]SAM_PROTO_GetShiftState [11:48:41]wFMCommunicate request_size=4 [11:48:41]MH_SAM_APDU [11:48:41]CAPDU: 80 13 01 00 [11:48:41]Write to MH i2c: E2 08 00 7A 10 80 13 01 00 00 00 00 00 07 [11:48:41]Write i2c OK [11:48:41]MH_I2C_Read... [11:48:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:41]Read from MH i2c: E2 [11:48:41]MH_I2C_Read... [11:48:41]Read from MH i2c: E2 0E 00 [11:48:41]MH_I2C_Read... [11:48:41]Read from MH i2c: E2 0E 00 7A 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9E [11:48:41]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:48:41]wFMCommunicate OK [11:48:41]SAM_PROTO_GetShiftState done [11:48:41]FM_GetShiftState done [11:48:41]opened in 1720829646 [11:48:41]opened+sec_in_day 1720916046 [11:48:41]quantity*price = 5000 [11:48:41]sum+1 = 5001 [11:48:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46177872 Жев Orbit подушки Citrus 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.79 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 49 13.07.2024 11:48 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43004 ФПД: 218842196343865 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114845&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43004&fm=218842196343865&tin=02508201610067®Number=0000000000091176&sum=9000 0 [11:48:42]StoreToDocumentArchive [11:48:42]shift 445 fd 43004 [11:48:42]save to /storage/0445/doc_00043004 [11:48:42]save last doc name /storage/0445/doc_00043004 to /storage/kkm_last_doc_name [11:48:42]save OK [11:48:42]Clear old archive folders... [11:48:42]ProcessDocumentItem done err = 0, tmpTLVsize=393 [11:48:42]tlvbuf is 015E9120 [11:48:42]SAM_PROTO_ClearQueue [11:48:42]wFMCommunicate request_size=4 [11:48:42]MH_SAM_APDU [11:48:42]CAPDU: 80 09 00 00 [11:48:42]Write to MH i2c: E2 08 00 87 10 80 09 00 00 00 00 00 00 09 [11:48:42]Write i2c OK [11:48:42]MH_I2C_Read... [11:48:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:48:42]Read from MH i2c: E2 [11:48:42]MH_I2C_Read... [11:48:42]Read from MH i2c: E2 03 00 [11:48:42]MH_I2C_Read... [11:48:42]Read from MH i2c: E2 03 00 87 10 00 90 00 0B [11:48:42]RAPDU: 90 00 [11:48:42]wFMCommunicate OK [11:48:42]SAM_PROTO_ClearQueue done [11:48:42]KKMCreateOFDPacket [11:48:42]OFDProtocolAddRootSTLVToBuf [11:48:42]FM_MakeSignedData [11:48:42]FM_MakeSignedData [11:48:42]SAM_PROTO_SignData [11:48:42]wFMCommunicate request_size=4 [11:48:42]MH_SAM_APDU [11:48:42]CAPDU: 80 0D 01 02 [11:48:42]Write to MH i2c: E2 08 00 88 10 80 0D 01 02 00 00 00 00 11 [11:48:42]Write i2c OK [11:48:42]MH_I2C_Read... [11:48:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:48:42]Read from MH i2c: E2 [11:48:42]MH_I2C_Read... [11:48:42]Read from MH i2c: E2 03 00 [11:48:42]MH_I2C_Read... [11:48:42]Read from MH i2c: E2 03 00 88 10 00 90 00 0C [11:48:42]RAPDU: 90 00 [11:48:42]wFMCommunicate OK [11:48:42]wFMCommunicate request_size=255 [11:48:42]MH_SAM_APDU [11:48:42]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 [11:48:43]Write to MH i2c: E2 02 01 89 10 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 AB [11:48:43]Write i2c OK [11:48:43]MH_I2C_Read... [11:48:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:43]Read from MH i2c: E2 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 03 00 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 03 00 89 10 00 90 00 0D [11:48:43]RAPDU: 90 00 [11:48:43]wFMCommunicate OK [11:48:43]wFMCommunicate request_size=152 [11:48:43]MH_SAM_APDU [11:48:43]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9D 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FC A7 00 00 35 04 06 00 C7 09 2B 5F FC 39 [11:48:43]Write to MH i2c: E2 9B 00 8A 10 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9D 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FC A7 00 00 35 04 06 00 C7 09 2B 5F FC 39 00 00 DD [11:48:43]Write i2c OK [11:48:43]MH_I2C_Read... [11:48:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:43]Read from MH i2c: E2 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 03 00 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 03 00 8A 10 00 90 00 0E [11:48:43]RAPDU: 90 00 [11:48:43]wFMCommunicate OK [11:48:43]wFMCommunicate request_size=4 [11:48:43]MH_SAM_APDU [11:48:43]CAPDU: 80 0D 03 02 [11:48:43]Write to MH i2c: E2 08 00 8B 10 80 0D 03 02 00 00 00 00 16 [11:48:43]Write i2c OK [11:48:43]MH_I2C_Read... [11:48:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:48:43]Read from MH i2c: E2 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 0B 00 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 0B 00 8B 10 00 CB C2 C7 B9 5E 04 40 74 90 00 3A [11:48:43]RAPDU: CB C2 C7 B9 5E 04 40 74 90 00 [11:48:43]wFMCommunicate OK [11:48:43]SAM_PROTO_SignData done [11:48:43]FM_MakeSignedData done [11:48:43]CreateOFDProtocolMessage [11:48:43]wFMCommunicate request_size=4 [11:48:43]MH_SAM_APDU [11:48:43]CAPDU: 80 11 00 00 [11:48:43]Write to MH i2c: E2 08 00 8C 10 80 11 00 00 00 00 00 00 16 [11:48:43]Write i2c OK [11:48:43]MH_I2C_Read... [11:48:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:43]Read from MH i2c: E2 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 17 00 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: E2 17 00 8C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6D [11:48:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:48:43]wFMCommunicate OK [11:48:43]CreateOFDProtocolMessage done [11:48:43]OFDSenderStorePacket 43004 [11:48:43]StoreOFDPacket docnum=43004 [11:48:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9D 01 00 00 29 A8 95 01 F9 4A 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9D 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FC A7 00 00 35 04 06 00 C7 09 2B 5F FC 39 CB C2 C7 B9 5E 04 40 74 [11:48:43]CheckFolder [11:48:43]dirname=/storage/ofd_packets [11:48:43]CheckFolder done [11:48:43]ProducePacketName [11:48:43]name=ofd_packets/00043004 [11:48:43]NVStorageSaveData ofd_packets/00043004 [11:48:43]File name is /storage/ofd_packets/00043004 [11:48:43]Write 443 bytes [11:48:43]NVStorageSaveData done [11:48:43]OFDSenderStorePacket done [11:48:43]KKMCreateOFDPacket done [11:48:43]NVStorageSaveData kkm_last_timestamp [11:48:43]File name is /storage/kkm_last_timestamp [11:48:43]Write 4 bytes [11:48:43]NVStorageSaveData done [11:48:43]ExternCall_PrintAddStr [11:48:43]wPrintStart [11:48:43]Write to MH i2c: 01 00 00 8D 10 9D [11:48:43]Write i2c OK [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: 01 [11:48:43]MH_I2C_Read... [11:48:43]OFD Sender: Processing packet 43004 [packets to send 31, broken 30] [11:48:43]ProducePacketName [11:48:43]name=ofd_packets/00043004 [11:48:43]OFD Sender: To server: pG, [11:48:43]CommunicateWithHost lk.salyk.kg:30040 [11:48:43]ConnectInit lk.salyk.kg [11:48:43]Read from MH i2c: 01 07 00 [11:48:43]MH_I2C_Read... [11:48:43]Read from MH i2c: 01 07 00 8D 10 00 00 00 00 00 FF 0F B2 [11:48:43]RasterBufferAndPrint [11:48:43]line Счет N : (3)300132 [11:48:43]line ИНН: 02508201610067 [11:48:43]line Контрольно-Кассовый Чек [11:48:43]line ПРОДАЖА [11:48:43]line Товар: 4700003010018 [11:48:43]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [11:48:43]line 1.000 * 50.00 [11:48:43]line = 50.00 [11:48:43]line НДС 12% НСП 1% [11:48:43]line > о реализуемом товаре [11:48:43]line Товар: 46177872 [11:48:43]line Жев Orbit подушки Citrus [11:48:43]line 1.000 * 40.00 [11:48:43]line = 40.00 [11:48:43]line НДС 12% НСП 1% [11:48:43]line > о реализуемом товаре [11:48:43]line ИТОГО: 90.00 [11:48:43]line НСП 1% : 0.79 [11:48:43]line НДС 12% : 9.56 [11:48:43]line Наличными: 90.00 [11:48:43]line Безнал.: 0.00 [11:48:43]line Место: АЗС № 71 "Партнер Нефть" [11:48:43]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:48:43]line СНО: Общий режим [11:48:43]line Чек 49 13.07.2024 11:48 [11:48:43]line Смена: 445 ФФД: 1.0 [11:48:43]line ЗНМ: 0300000153 [11:48:43]line РНМ: 0000000000091176 [11:48:43]line Версия ККМ: 001 [11:48:43]line ФМ: 0000000000874935 [11:48:43]line ФД: 43004 [11:48:43]line ФПД: 218842196343865 [11:48:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114845&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43004&fm=218842196343865&tin=02508201610067®Number=0000000000091176&sum=9000 [11:48:43]line 0 [11:48:43]written 0, free lines is 4095 [11:48:43]Connected sock=10 [11:48:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9D 01 00 00 29 A8 95 01 F9 4A 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 9D 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FC A7 00 00 35 04 06 00 C7 09 2B 5F FC 39 CB C2 C7 B9 5E 04 40 74 [11:48:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 90 2A 47 00 FE 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FC A7 00 00 F4 03 04 00 97 15 92 66 B6 04 01 00 00 32 91 F1 02 FA 50 55 9A [11:48:44]CommunicateWithHost err = 0 [11:48:44]CheckOFDResponse [11:48:44]1017 (14) - 77093643461234 [11:48:44]1041 (16) - 0000000000874935 [11:48:44]1040 (4) - 43004 [11:48:44]1012 (4) - 13.07.2024 05:50 [11:48:44]1206 (1) - 0 [11:48:44]OFD Sender: Remove packet 43004 [11:48:44]ProducePacketName [11:48:44]name=ofd_packets/00043004 [11:48:44]NVStorageDeleteData [11:48:44]Write to MH i2c: 01 00 00 BC 10 CC [11:48:44]Write i2c OK [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: 01 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: 01 07 00 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: 01 07 00 BC 10 00 00 00 00 00 99 0C 78 [11:48:44]RasterBufferAndPrint [11:48:44]line [11:48:44]line [11:48:44]line [11:48:44]line [11:48:44]line [11:48:44]written 0, free lines is 3232 [11:48:44]MH_Cut [11:48:44]Write to MH i2c: D1 01 00 C3 10 01 A5 [11:48:44]Write i2c OK [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: D1 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: D1 01 00 [11:48:44]MH_I2C_Read... [11:48:44]Read from MH i2c: D1 01 00 C3 10 00 A4 [11:48:44]Write to MH i2c: 01 00 00 C4 10 D4 [11:48:44]Write i2c OK [11:48:44]MH_I2C_Read... [11:48:44]OFD Sender: No OFD packet to send [11:48:45]*** Cut start [11:48:45]*** Partial cut [11:48:45]*** CUTSNS_PIN = 1 [11:48:45]*** CUTSNS_PIN = 0 [11:48:45]*** Brake cut motor [11:48:45]Read from MH i2c: 01 [11:48:45]MH_I2C_Read... [11:48:45]*** Stop cut motor [11:48:45]*** Cut end [11:48:45]Read from MH i2c: 01 07 00 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: 01 07 00 C4 10 00 00 00 00 00 FF 0F E9 [11:48:45]process_action close_receipt done [11:48:45]requested_data is exist [11:48:45]produce_requested_data [11:48:45]requested_item fm.sn is exist - process it [11:48:45]wFMCommunicate request_size=4 [11:48:45]MH_SAM_APDU [11:48:45]CAPDU: 80 11 00 00 [11:48:45]Write to MH i2c: E2 08 00 C5 10 80 11 00 00 00 00 00 00 4F [11:48:45]Write i2c OK [11:48:45]MH_I2C_Read... [11:48:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:45]Read from MH i2c: E2 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 17 00 [11:48:45]MH_I2C_Read... [11:48:45]Read from MH i2c: E2 17 00 C5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A6 [11:48:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:48:45]wFMCommunicate OK [11:48:45]requested_item fd.num is exist - process it [11:48:45]SAM_PROTO_GetFieldsCounters [11:48:45]wFMCommunicate request_size=4 [11:48:45]MH_SAM_APDU [11:48:45]CAPDU: 80 13 00 00 [11:48:45]Write to MH i2c: E2 08 00 C6 10 80 13 00 00 00 00 00 00 52 [11:48:45]Write i2c OK [11:48:45]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 62 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 62 00 C6 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FC A7 00 00 0E 04 04 00 BD 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 6A [11:48:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FC A7 00 00 0E 04 04 00 BD 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 [11:48:46]wFMCommunicate OK [11:48:46]SAM_PROTO_GetFieldsCounters done [11:48:46]requested_item shift.num is exist - process it [11:48:46]requested_item shift.opened is exist - process it [11:48:46]req_shift_opened [11:48:46]FM_GetShiftState [11:48:46]SAM_PROTO_GetShiftState [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 13 01 00 [11:48:46]Write to MH i2c: E2 08 00 C7 10 80 13 01 00 00 00 00 00 54 [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 0E 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 0E 00 C7 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 EB [11:48:46]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:48:46]wFMCommunicate OK [11:48:46]SAM_PROTO_GetShiftState done [11:48:46]FM_GetShiftState done [11:48:46]req_shift_opened done [11:48:46]requested_item shift.open_date is exist - process it [11:48:46]req_shift_open_date [11:48:46]req_shift_open_date done [11:48:46]requested_item shift.sale.total is exist - process it [11:48:46]SAM_PROTO_GetShiftData [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 13 02 00 [11:48:46]Write to MH i2c: E2 08 00 C8 10 80 13 02 00 00 00 00 00 56 [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 FD 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 FD 00 C8 10 00 AE 04 AA 04 AA 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 2C 17 0D 70 04 03 00 8C E1 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DE 63 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A2 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 18 [11:48:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 2C 17 0D 70 04 03 00 8C E1 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DE 63 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A2 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:48:46]wFMCommunicate OK [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 17 00 00 [11:48:46]Write to MH i2c: E2 08 00 C9 10 80 17 00 00 00 00 00 00 59 [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:46]Read from MH i2c: E2 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 FD 00 [11:48:46]MH_I2C_Read... [11:48:46]Read from MH i2c: E2 FD 00 C9 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 7B [11:48:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:48:46]wFMCommunicate OK [11:48:46]wFMCommunicate request_size=4 [11:48:46]MH_SAM_APDU [11:48:46]CAPDU: 80 17 00 00 [11:48:46]Write to MH i2c: E2 08 00 CA 10 80 17 00 00 00 00 00 00 5A [11:48:46]Write i2c OK [11:48:46]MH_I2C_Read... [11:48:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:47]Read from MH i2c: E2 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 FD 00 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 FD 00 CA 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 11 [11:48:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:48:47]wFMCommunicate OK [11:48:47]wFMCommunicate request_size=4 [11:48:47]MH_SAM_APDU [11:48:47]CAPDU: 80 17 00 00 [11:48:47]Write to MH i2c: E2 08 00 CB 10 80 17 00 00 00 00 00 00 5B [11:48:47]Write i2c OK [11:48:47]MH_I2C_Read... [11:48:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:47]Read from MH i2c: E2 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 FD 00 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 FD 00 CB 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 CD [11:48:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:48:47]wFMCommunicate OK [11:48:47]wFMCommunicate request_size=4 [11:48:47]MH_SAM_APDU [11:48:47]CAPDU: 80 17 00 00 [11:48:47]Write to MH i2c: E2 08 00 CC 10 80 17 00 00 00 00 00 00 5C [11:48:47]Write i2c OK [11:48:47]MH_I2C_Read... [11:48:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:48:47]Read from MH i2c: E2 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 CB 00 [11:48:47]MH_I2C_Read... [11:48:47]Read from MH i2c: E2 CB 00 CC 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [11:48:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:48:47]wFMCommunicate OK [11:48:47]SAM_PROTO_GetShiftData done [11:48:47]requested_item shift.sale.total_cash is exist - process it [11:48:47]requested_item shift.sale_refund.total is exist - process it [11:48:47]requested_item shift.sale_refund.total_cash is exist - process it [11:48:47]produce_requested_data done [11:48:47]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43004,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8579.00,"shift.sale.total_cash":7131.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:48:47]process_action_free close_receipt [11:48:47]json_value_free [11:48:47]json_value_free done [11:48:47]process_json_proto returns [11:48:47]Send response to host [11:48:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43004,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8579.00,"shift.sale.total_cash":7131.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:48:47]free response buf [11:48:47]execute_script done [11:48:47]execute_script returns [11:48:47]free content buf [11:48:47]Sock 7.Close socket [11:48:47]Sock 7.Thread stoped [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:37]accept exits with 9 [11:49:37]New connection [11:49:37]New thread 3067387236 created [11:49:37]Thread 3067530596 joined [11:49:37]Waiting for new connection... [11:49:37] Sock 9.Parse request [11:49:37]Sock 9.Check first char [11:49:37]Sock 9.First char is OK [11:49:37]request: POST /json_proto HTTP/1.0 [11:49:37]Method: POST [11:49:37]URL: /json_proto [11:49:37]Method is POST - this is cgi request [11:49:37]url: /json_proto [11:49:37]query_string will be loaded in cgi processing [11:49:37]execute_cgi json_proto POST (null) [11:49:37]execute_cgi path=json_proto method=POST [11:49:37]POST find Content-Length [11:49:37]Host: 172.17.38.197:8080 [11:49:37]Content-Length: 773 [11:49:37]Content-Type: application/json [11:49:37] [11:49:37]POST finish read [11:49:37]Found Content-Length = 773 [11:49:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300133", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:49:37]execute_script... [11:49:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300133", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:49:37]POST & json_proto [11:49:37]process_json_proto [11:49:37]json parsed OK: [11:49:37]protocol is kg_v1.0 [11:49:37]action value=close_receipt [11:49:37]process_action close_receipt [11:49:37]cmd_close_receipt [11:49:37]MH_GetDate [11:49:37]Write to MH i2c: F0 00 00 CD 10 CC [11:49:37]Write i2c OK [11:49:37]MH_I2C_Read... [11:49:37]Read from MH i2c: F0 [11:49:37]MH_I2C_Read... [11:49:37]Read from MH i2c: F0 09 00 [11:49:37]MH_I2C_Read... [11:49:37]Read from MH i2c: F0 09 00 CD 10 00 D5 69 92 66 1E 0D 88 66 24 [11:49:37]GetLastDocTimeStamp 1720871325 [11:49:37]current date 1720871381 [11:49:37]FM_GetShiftState [11:49:37]SAM_PROTO_GetShiftState [11:49:37]wFMCommunicate request_size=4 [11:49:37]MH_SAM_APDU [11:49:37]CAPDU: 80 13 01 00 [11:49:37]Write to MH i2c: E2 08 00 CE 10 80 13 01 00 00 00 00 00 5B [11:49:37]Write i2c OK [11:49:37]MH_I2C_Read... [11:49:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:37]Read from MH i2c: E2 [11:49:37]MH_I2C_Read... [11:49:37]Read from MH i2c: E2 0E 00 [11:49:37]MH_I2C_Read... [11:49:37]Read from MH i2c: E2 0E 00 CE 10 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F2 [11:49:37]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:49:37]wFMCommunicate OK [11:49:37]SAM_PROTO_GetShiftState done [11:49:37]FM_GetShiftState done [11:49:37]opened in 1720829646 [11:49:37]opened+sec_in_day 1720916046 [11:49:37]quantity*price = 5000 [11:49:37]sum+1 = 5001 [11:49:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 50 13.07.2024 11:49 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43005 ФПД: 65682300401921 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114941&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43005&fm=65682300401921&tin=02508201610067®Number=0000000000091176&sum=5000 0 [11:49:39]StoreToDocumentArchive [11:49:39]shift 445 fd 43005 [11:49:39]save to /storage/0445/doc_00043005 [11:49:39]save last doc name /storage/0445/doc_00043005 to /storage/kkm_last_doc_name [11:49:39]save OK [11:49:39]Clear old archive folders... [11:49:39]ProcessDocumentItem done err = 0, tmpTLVsize=292 [11:49:39]tlvbuf is 0158EA10 [11:49:39]SAM_PROTO_ClearQueue [11:49:39]wFMCommunicate request_size=4 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 09 00 00 [11:49:39]Write to MH i2c: E2 08 00 DB 10 80 09 00 00 00 00 00 00 5D [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 DB 10 00 90 00 5F [11:49:39]RAPDU: 90 00 [11:49:39]wFMCommunicate OK [11:49:39]SAM_PROTO_ClearQueue done [11:49:39]KKMCreateOFDPacket [11:49:39]OFDProtocolAddRootSTLVToBuf [11:49:39]FM_MakeSignedData [11:49:39]FM_MakeSignedData [11:49:39]SAM_PROTO_SignData [11:49:39]wFMCommunicate request_size=4 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 0D 01 02 [11:49:39]Write to MH i2c: E2 08 00 DC 10 80 0D 01 02 00 00 00 00 65 [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 DC 10 00 90 00 60 [11:49:39]RAPDU: 90 00 [11:49:39]wFMCommunicate OK [11:49:39]wFMCommunicate request_size=255 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D5 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [11:49:39]Write to MH i2c: E2 02 01 DD 10 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D5 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 DC [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 DD 10 00 90 00 61 [11:49:39]RAPDU: 90 00 [11:49:39]wFMCommunicate OK [11:49:39]wFMCommunicate request_size=51 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 0D 02 02 2E 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FD A7 00 00 35 04 06 00 3B BC DA 2E F9 01 [11:49:39]Write to MH i2c: E2 36 00 DE 10 80 0D 02 02 2E 00 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FD A7 00 00 35 04 06 00 3B BC DA 2E F9 01 00 00 99 [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 03 00 DE 10 00 90 00 62 [11:49:39]RAPDU: 90 00 [11:49:39]wFMCommunicate OK [11:49:39]wFMCommunicate request_size=4 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 0D 03 02 [11:49:39]Write to MH i2c: E2 08 00 DF 10 80 0D 03 02 00 00 00 00 6A [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 0B 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 0B 00 DF 10 00 1C E0 B2 DA DC 90 0D FB 90 00 67 [11:49:39]RAPDU: 1C E0 B2 DA DC 90 0D FB 90 00 [11:49:39]wFMCommunicate OK [11:49:39]SAM_PROTO_SignData done [11:49:39]FM_MakeSignedData done [11:49:39]CreateOFDProtocolMessage [11:49:39]wFMCommunicate request_size=4 [11:49:39]MH_SAM_APDU [11:49:39]CAPDU: 80 11 00 00 [11:49:39]Write to MH i2c: E2 08 00 E0 10 80 11 00 00 00 00 00 00 6A [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:39]Read from MH i2c: E2 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 17 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: E2 17 00 E0 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C1 [11:49:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:49:39]wFMCommunicate OK [11:49:39]CreateOFDProtocolMessage done [11:49:39]OFDSenderStorePacket 43005 [11:49:39]StoreOFDPacket docnum=43005 [11:49:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 38 01 00 00 6D 10 30 01 5C 00 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D5 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FD A7 00 00 35 04 06 00 3B BC DA 2E F9 01 1C E0 B2 DA DC 90 0D FB [11:49:39]CheckFolder [11:49:39]dirname=/storage/ofd_packets [11:49:39]CheckFolder done [11:49:39]ProducePacketName [11:49:39]name=ofd_packets/00043005 [11:49:39]NVStorageSaveData ofd_packets/00043005 [11:49:39]File name is /storage/ofd_packets/00043005 [11:49:39]Write 342 bytes [11:49:39]NVStorageSaveData done [11:49:39]OFDSenderStorePacket done [11:49:39]KKMCreateOFDPacket done [11:49:39]NVStorageSaveData kkm_last_timestamp [11:49:39]File name is /storage/kkm_last_timestamp [11:49:39]Write 4 bytes [11:49:39]NVStorageSaveData done [11:49:39]ExternCall_PrintAddStr [11:49:39]wPrintStart [11:49:39]Write to MH i2c: 01 00 00 E1 10 F1 [11:49:39]Write i2c OK [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: 01 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: 01 07 00 [11:49:39]MH_I2C_Read... [11:49:39]Read from MH i2c: 01 07 00 E1 10 00 00 00 00 00 FF 0F 06 [11:49:39]RasterBufferAndPrint [11:49:39]line Счет N : (3)300133 [11:49:39]line ИНН: 02508201610067 [11:49:39]line Контрольно-Кассовый Чек [11:49:39]line ПРОДАЖА [11:49:39]line Товар: 4700003010018 [11:49:39]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [11:49:39]line 1.000 * 50.00 [11:49:39]line = 50.00 [11:49:39]line НДС 12% НСП 1% [11:49:39]line > о реализуемом товаре [11:49:39]line ИТОГО: 50.00 [11:49:39]line НСП 1% : 0.44 [11:49:39]line НДС 12% : 5.31 [11:49:39]line Наличными: 50.00 [11:49:39]line Безнал.: 0.00 [11:49:39]line Место: АЗС № 71 "Партнер Нефть" [11:49:39]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:49:39]line СНО: Общий режим [11:49:39]line Чек 50 13.07.2024 11:49 [11:49:39]line Смена: 445 ФФД: 1.0 [11:49:39]line ЗНМ: 0300000153 [11:49:39]line РНМ: 0000000000091176 [11:49:39]line Версия ККМ: 001 [11:49:39]line ФМ: 0000000000874935 [11:49:39]line ФД: 43005 [11:49:39]line ФПД: 65682300401921 [11:49:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T114941&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43005&fm=65682300401921&tin=02508201610067®Number=0000000000091176&sum=5000 [11:49:39]OFD Sender: Processing packet 43005 [packets to send 31, broken 30] [11:49:39]ProducePacketName [11:49:39]name=ofd_packets/00043005 [11:49:39]OFD Sender: To server: pG, [11:49:39]CommunicateWithHost lk.salyk.kg:30040 [11:49:39]ConnectInit lk.salyk.kg [11:49:39]line 0 [11:49:39]written 0, free lines is 4095 [11:49:40]Connected sock=11 [11:49:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 38 01 00 00 6D 10 30 01 5C 00 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D5 69 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FD A7 00 00 35 04 06 00 3B BC DA 2E F9 01 1C E0 B2 DA DC 90 0D FB [11:49:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 18 9B 47 00 D6 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 38 37 34 39 33 35 10 04 04 00 FD A7 00 00 F4 03 04 00 CF 15 92 66 B6 04 01 00 00 FF 0D BA FC CF FA AF 32 [11:49:40]CommunicateWithHost err = 0 [11:49:40]CheckOFDResponse [11:49:40]1017 (14) - 77093643461234 [11:49:40]1041 (16) - 0000000000874935 [11:49:40]1040 (4) - 43005 [11:49:40]1012 (4) - 13.07.2024 05:51 [11:49:40]1206 (1) - 0 [11:49:40]OFD Sender: Remove packet 43005 [11:49:40]ProducePacketName [11:49:40]name=ofd_packets/00043005 [11:49:40]NVStorageDeleteData [11:49:40]Write to MH i2c: 01 00 00 0A 11 1B [11:49:40]Write i2c OK [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: 01 [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: 01 07 00 [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: 01 07 00 0A 11 00 00 00 00 00 F3 0C 21 [11:49:40]RasterBufferAndPrint [11:49:40]line [11:49:40]line [11:49:40]line [11:49:40]line [11:49:40]line [11:49:40]written 0, free lines is 3323 [11:49:40]MH_Cut [11:49:40]Write to MH i2c: D1 01 00 11 11 01 F4 [11:49:40]Write i2c OK [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: D1 [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: D1 01 00 [11:49:40]MH_I2C_Read... [11:49:40]Read from MH i2c: D1 01 00 11 11 00 F3 [11:49:40]Write to MH i2c: 01 00 00 12 11 23 [11:49:40]Write i2c OK [11:49:40]MH_I2C_Read... [11:49:40]OFD Sender: No OFD packet to send [11:49:41]*** Cut start [11:49:41]*** Partial cut [11:49:41]*** CUTSNS_PIN = 1 [11:49:41]*** CUTSNS_PIN = 0 [11:49:41]*** Brake cut motor [11:49:41]Read from MH i2c: 01 [11:49:41]MH_I2C_Read... [11:49:41]*** Stop cut motor [11:49:41]*** Cut end [11:49:41]Read from MH i2c: 01 07 00 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: 01 07 00 12 11 00 00 00 00 00 FF 0F 38 [11:49:41]process_action close_receipt done [11:49:41]requested_data is exist [11:49:41]produce_requested_data [11:49:41]requested_item fm.sn is exist - process it [11:49:41]wFMCommunicate request_size=4 [11:49:41]MH_SAM_APDU [11:49:41]CAPDU: 80 11 00 00 [11:49:41]Write to MH i2c: E2 08 00 13 11 80 11 00 00 00 00 00 00 9E [11:49:41]Write i2c OK [11:49:41]MH_I2C_Read... [11:49:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:41]Read from MH i2c: E2 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 17 00 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 17 00 13 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F5 [11:49:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:49:41]wFMCommunicate OK [11:49:41]requested_item fd.num is exist - process it [11:49:41]SAM_PROTO_GetFieldsCounters [11:49:41]wFMCommunicate request_size=4 [11:49:41]MH_SAM_APDU [11:49:41]CAPDU: 80 13 00 00 [11:49:41]Write to MH i2c: E2 08 00 14 11 80 13 00 00 00 00 00 00 A1 [11:49:41]Write i2c OK [11:49:41]MH_I2C_Read... [11:49:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:41]Read from MH i2c: E2 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 62 00 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 62 00 14 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FD A7 00 00 0E 04 04 00 BD 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 BD [11:49:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FD A7 00 00 0E 04 04 00 BD 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 [11:49:41]wFMCommunicate OK [11:49:41]SAM_PROTO_GetFieldsCounters done [11:49:41]requested_item shift.num is exist - process it [11:49:41]requested_item shift.opened is exist - process it [11:49:41]req_shift_opened [11:49:41]FM_GetShiftState [11:49:41]SAM_PROTO_GetShiftState [11:49:41]wFMCommunicate request_size=4 [11:49:41]MH_SAM_APDU [11:49:41]CAPDU: 80 13 01 00 [11:49:41]Write to MH i2c: E2 08 00 15 11 80 13 01 00 00 00 00 00 A3 [11:49:41]Write i2c OK [11:49:41]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 0E 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 0E 00 15 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 3A [11:49:42]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:49:42]wFMCommunicate OK [11:49:42]SAM_PROTO_GetShiftState done [11:49:42]FM_GetShiftState done [11:49:42]req_shift_opened done [11:49:42]requested_item shift.open_date is exist - process it [11:49:42]req_shift_open_date [11:49:42]req_shift_open_date done [11:49:42]requested_item shift.sale.total is exist - process it [11:49:42]SAM_PROTO_GetShiftData [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 13 02 00 [11:49:42]Write to MH i2c: E2 08 00 16 11 80 13 02 00 00 00 00 00 A5 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 FD 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 FD 00 16 11 00 AE 04 AA 04 AA 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 B4 2A 0D 70 04 03 00 14 F5 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F1 65 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CE 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E1 [11:49:42]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 B4 2A 0D 70 04 03 00 14 F5 0A 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F1 65 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CE 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:49:42]wFMCommunicate OK [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 17 00 00 [11:49:42]Write to MH i2c: E2 08 00 17 11 80 17 00 00 00 00 00 00 A8 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 FD 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 FD 00 17 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 CA [11:49:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:49:42]wFMCommunicate OK [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 17 00 00 [11:49:42]Write to MH i2c: E2 08 00 18 11 80 17 00 00 00 00 00 00 A9 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:43]Read from MH i2c: E2 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 FD 00 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 FD 00 18 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 60 [11:49:43]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:49:43]wFMCommunicate OK [11:49:43]wFMCommunicate request_size=4 [11:49:43]MH_SAM_APDU [11:49:43]CAPDU: 80 17 00 00 [11:49:43]Write to MH i2c: E2 08 00 19 11 80 17 00 00 00 00 00 00 AA [11:49:43]Write i2c OK [11:49:43]MH_I2C_Read... [11:49:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:43]Read from MH i2c: E2 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 FD 00 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 FD 00 19 11 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1C [11:49:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:49:43]wFMCommunicate OK [11:49:43]wFMCommunicate request_size=4 [11:49:43]MH_SAM_APDU [11:49:43]CAPDU: 80 17 00 00 [11:49:43]Write to MH i2c: E2 08 00 1A 11 80 17 00 00 00 00 00 00 AB [11:49:43]Write i2c OK [11:49:43]MH_I2C_Read... [11:49:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:49:43]Read from MH i2c: E2 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 CB 00 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: E2 CB 00 1A 11 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 94 [11:49:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:49:43]wFMCommunicate OK [11:49:43]SAM_PROTO_GetShiftData done [11:49:43]requested_item shift.sale.total_cash is exist - process it [11:49:43]requested_item shift.sale_refund.total is exist - process it [11:49:43]requested_item shift.sale_refund.total_cash is exist - process it [11:49:43]produce_requested_data done [11:49:43]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43005,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8629.00,"shift.sale.total_cash":7181.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:49:43]process_action_free close_receipt [11:49:43]json_value_free [11:49:43]json_value_free done [11:49:43]process_json_proto returns [11:49:43]Send response to host [11:49:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43005,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":8629.00,"shift.sale.total_cash":7181.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:49:43]free response buf [11:49:43]execute_script done [11:49:43]execute_script returns [11:49:43]free content buf [11:49:43]Sock 9.Close socket [11:49:43]Sock 9.Thread stoped [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]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:16]accept exits with 7 [11:57:16]New connection [11:57:16]New thread 3067530596 created [11:57:16]Thread 3067387236 joined [11:57:16]Waiting for new connection... [11:57:16] Sock 7.Parse request [11:57:16]Sock 7.Check first char [11:57:16]Sock 7.First char is OK [11:57:16]request: POST /json_proto HTTP/1.0 [11:57:16]Method: POST [11:57:16]URL: /json_proto [11:57:16]Method is POST - this is cgi request [11:57:16]url: /json_proto [11:57:16]query_string will be loaded in cgi processing [11:57:16]execute_cgi json_proto POST (null) [11:57:16]execute_cgi path=json_proto method=POST [11:57:16]POST find Content-Length [11:57:16]Host: 172.17.38.197:8080 [11:57:16]Content-Length: 1400 [11:57:16]Content-Type: application/json [11:57:16] [11:57:16]POST finish read [11:57:16]Found Content-Length = 1400 [11:57:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300134", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 495.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:57:16]execute_script... [11:57:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300134", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 495.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:57:16]POST & json_proto [11:57:16]process_json_proto [11:57:16]json parsed OK: [11:57:16]protocol is kg_v1.0 [11:57:16]action value=close_receipt [11:57:16]process_action close_receipt [11:57:16]cmd_close_receipt [11:57:16]MH_GetDate [11:57:16]Write to MH i2c: F0 00 00 1B 11 1B [11:57:16]Write i2c OK [11:57:16]MH_I2C_Read... [11:57:16]Read from MH i2c: F0 [11:57:16]MH_I2C_Read... [11:57:16]Read from MH i2c: F0 09 00 [11:57:16]MH_I2C_Read... [11:57:16]Read from MH i2c: F0 09 00 1B 11 00 A0 6B 92 66 1E 0D 88 66 40 [11:57:16]GetLastDocTimeStamp 1720871381 [11:57:16]current date 1720871840 [11:57:16]FM_GetShiftState [11:57:16]SAM_PROTO_GetShiftState [11:57:16]wFMCommunicate request_size=4 [11:57:16]MH_SAM_APDU [11:57:16]CAPDU: 80 13 01 00 [11:57:16]Write to MH i2c: E2 08 00 1C 11 80 13 01 00 00 00 00 00 AA [11:57:16]Write i2c OK [11:57:17]MH_I2C_Read... [11:57:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:17]Read from MH i2c: E2 [11:57:17]MH_I2C_Read... [11:57:17]Read from MH i2c: E2 0E 00 [11:57:17]MH_I2C_Read... [11:57:17]Read from MH i2c: E2 0E 00 1C 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 41 [11:57:17]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:57:17]wFMCommunicate OK [11:57:17]SAM_PROTO_GetShiftState done [11:57:17]FM_GetShiftState done [11:57:17]opened in 1720829646 [11:57:17]opened+sec_in_day 1720916046 [11:57:17]quantity*price = 11000 [11:57:17]sum+1 = 11001 [11:57:17]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000286 Напиток Кока-Кола 2л 1.000 * 205.00 = 205.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 2.000 * 90.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 495.00 НСП 1% : 4.37 НДС 12% : 52.56 Наличными: 495.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 51 13.07.2024 11:57 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43006 ФПД: 207464902123792 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T115720&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43006&fm=207464902123792&tin=02508201610067®Number=0000000000091176&sum=49500 0 [11:57:18]StoreToDocumentArchive [11:57:18]shift 445 fd 43006 [11:57:18]save to /storage/0445/doc_00043006 [11:57:18]save last doc name /storage/0445/doc_00043006 to /storage/kkm_last_doc_name [11:57:18]save OK [11:57:18]Clear old archive folders... [11:57:18]ProcessDocumentItem done err = 0, tmpTLVsize=533 [11:57:18]tlvbuf is 015E3EC0 [11:57:18]SAM_PROTO_ClearQueue [11:57:18]wFMCommunicate request_size=4 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 09 00 00 [11:57:18]Write to MH i2c: E2 08 00 29 11 80 09 00 00 00 00 00 00 AC [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 29 11 00 90 00 AE [11:57:18]RAPDU: 90 00 [11:57:18]wFMCommunicate OK [11:57:18]SAM_PROTO_ClearQueue done [11:57:18]KKMCreateOFDPacket [11:57:18]OFDProtocolAddRootSTLVToBuf [11:57:18]FM_MakeSignedData [11:57:18]FM_MakeSignedData [11:57:18]SAM_PROTO_SignData [11:57:18]wFMCommunicate request_size=4 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 0D 01 02 [11:57:18]Write to MH i2c: E2 08 00 2A 11 80 0D 01 02 00 00 00 00 B4 [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 2A 11 00 90 00 AF [11:57:18]RAPDU: 90 00 [11:57:18]wFMCommunicate OK [11:57:18]wFMCommunicate request_size=255 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 0D 02 02 FA 03 00 15 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D [11:57:18]Write to MH i2c: E2 02 01 2B 11 80 0D 02 02 FA 00 03 00 15 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 00 37 [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 2B 11 00 90 00 B0 [11:57:18]RAPDU: 90 00 [11:57:18]wFMCommunicate OK [11:57:18]wFMCommunicate request_size=255 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 0D 02 02 FA 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 6B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 [11:57:18]Write to MH i2c: E2 02 01 2C 11 80 0D 02 02 FA 00 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 6B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 00 00 32 [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 2C 11 00 90 00 B1 [11:57:18]RAPDU: 90 00 [11:57:18]wFMCommunicate OK [11:57:18]wFMCommunicate request_size=42 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FE A7 00 00 35 04 06 00 BC B0 2F CB 61 10 [11:57:18]Write to MH i2c: E2 2D 00 2D 11 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FE A7 00 00 35 04 06 00 BC B0 2F CB 61 10 00 00 0D [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 03 00 2D 11 00 90 00 B2 [11:57:18]RAPDU: 90 00 [11:57:18]wFMCommunicate OK [11:57:18]wFMCommunicate request_size=4 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 0D 03 02 [11:57:18]Write to MH i2c: E2 08 00 2E 11 80 0D 03 02 00 00 00 00 BA [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 0B 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 0B 00 2E 11 00 4B E3 C7 98 20 54 BE 1C 90 00 96 [11:57:18]RAPDU: 4B E3 C7 98 20 54 BE 1C 90 00 [11:57:18]wFMCommunicate OK [11:57:18]SAM_PROTO_SignData done [11:57:18]FM_MakeSignedData done [11:57:18]CreateOFDProtocolMessage [11:57:18]wFMCommunicate request_size=4 [11:57:18]MH_SAM_APDU [11:57:18]CAPDU: 80 11 00 00 [11:57:18]Write to MH i2c: E2 08 00 2F 11 80 11 00 00 00 00 00 00 BA [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:18]Read from MH i2c: E2 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 17 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: E2 17 00 2F 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 11 [11:57:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:57:18]wFMCommunicate OK [11:57:18]CreateOFDProtocolMessage done [11:57:18]OFDSenderStorePacket 43006 [11:57:18]StoreOFDPacket docnum=43006 [11:57:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 02 00 00 EE A5 21 02 BD 8C 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 6B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FE A7 00 00 35 04 06 00 BC B0 2F CB 61 10 4B E3 C7 98 20 54 BE 1C [11:57:18]CheckFolder [11:57:18]dirname=/storage/ofd_packets [11:57:18]CheckFolder done [11:57:18]ProducePacketName [11:57:18]name=ofd_packets/00043006 [11:57:18]NVStorageSaveData ofd_packets/00043006 [11:57:18]File name is /storage/ofd_packets/00043006 [11:57:18]Write 583 bytes [11:57:18]NVStorageSaveData done [11:57:18]OFDSenderStorePacket done [11:57:18]KKMCreateOFDPacket done [11:57:18]NVStorageSaveData kkm_last_timestamp [11:57:18]File name is /storage/kkm_last_timestamp [11:57:18]Write 4 bytes [11:57:18]NVStorageSaveData done [11:57:18]ExternCall_PrintAddStr [11:57:18]wPrintStart [11:57:18]Write to MH i2c: 01 00 00 30 11 41 [11:57:18]Write i2c OK [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: 01 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: 01 07 00 [11:57:18]MH_I2C_Read... [11:57:18]Read from MH i2c: 01 07 00 30 11 00 00 00 00 00 FF 0F 56 [11:57:18]RasterBufferAndPrint [11:57:18]line Счет N : (3)300134 [11:57:18]line ИНН: 02508201610067 [11:57:18]line Контрольно-Кассовый Чек [11:57:18]line ПРОДАЖА [11:57:18]line Товар: 4870202521261 [11:57:18]line Напиток MAXI чай 1,2 лесные ягоды [11:57:18]line 1.000 * 110.00 [11:57:18]line = 110.00 [11:57:18]line НДС 12% НСП 1% [11:57:18]line > о реализуемом товаре [11:57:18]line Товар: 5449000000286 [11:57:18]line Напиток Кока-Кола 2л [11:57:18]line 1.000 * 205.00 [11:57:19]line = 205.00 [11:57:19]line НДС 12% НСП 1% [11:57:19]line > о реализуемом товаре [11:57:19]line Товар: 4660085515163 [11:57:19]line Шок Батончик Сникерс супер 95/80г [11:57:19]line 2.000 * 90.00 [11:57:19]line = 180.00 [11:57:19]line НДС 12% НСП 1% [11:57:19]line > о реализуемом товаре [11:57:19]line ИТОГО: 495.00 [11:57:19]line НСП 1% : 4.37 [11:57:19]line НДС 12% : 52.56 [11:57:19]line Наличными: 495.00 [11:57:19]line Безнал.: 0.00 [11:57:19]line Место: АЗС № 71 "Партнер Нефть" [11:57:19]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [11:57:19]line СНО: Общий режим [11:57:19]line Чек 51 13.07.2024 11:57 [11:57:19]line Смена: 445 ФФД: 1.0 [11:57:19]line ЗНМ: 0300000153 [11:57:19]line РНМ: 0000000000091176 [11:57:19]line Версия ККМ: 001 [11:57:19]line ФМ: 0000000000874935 [11:57:19]line ФД: 43006 [11:57:19]line ФПД: 207464902123792 [11:57:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T115720&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43006&fm=207464902123792&tin=02508201610067®Number=0000000000091176&sum=49500 [11:57:19]line 0 [11:57:19]OFD Sender: Processing packet 43006 [packets to send 31, broken 30] [11:57:19]ProducePacketName [11:57:19]name=ofd_packets/00043006 [11:57:19]OFD Sender: To server: pG, [11:57:19]CommunicateWithHost lk.salyk.kg:30040 [11:57:19]ConnectInit lk.salyk.kg [11:57:19]written 0, free lines is 4095 [11:57:19]Connected sock=10 [11:57:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 29 02 00 00 EE A5 21 02 BD 8C 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 6B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FE A7 00 00 35 04 06 00 BC B0 2F CB 61 10 4B E3 C7 98 20 54 BE 1C [11:57:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 08 0F 47 00 2C 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FE A7 00 00 F4 03 04 00 9B 17 92 66 B6 04 01 00 00 DF 83 0E 51 52 72 20 3E [11:57:19]CommunicateWithHost err = 0 [11:57:19]CheckOFDResponse [11:57:19]1017 (14) - 77093643461234 [11:57:19]1041 (16) - 0000000000874935 [11:57:19]1040 (4) - 43006 [11:57:19]1012 (4) - 13.07.2024 05:58 [11:57:19]1206 (1) - 0 [11:57:19]OFD Sender: Remove packet 43006 [11:57:19]ProducePacketName [11:57:19]name=ofd_packets/00043006 [11:57:19]NVStorageDeleteData [11:57:19]Write to MH i2c: 01 00 00 66 11 77 [11:57:19]Write i2c OK [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: 01 [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: 01 07 00 [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: 01 07 00 66 11 00 00 00 00 00 27 0C B1 [11:57:19]RasterBufferAndPrint [11:57:19]line [11:57:19]line [11:57:19]line [11:57:19]line [11:57:19]line [11:57:19]written 0, free lines is 3116 [11:57:19]MH_Cut [11:57:19]Write to MH i2c: D1 01 00 6D 11 01 50 [11:57:19]Write i2c OK [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: D1 [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: D1 01 00 [11:57:19]MH_I2C_Read... [11:57:19]Read from MH i2c: D1 01 00 6D 11 00 4F [11:57:19]Write to MH i2c: 01 00 00 6E 11 7F [11:57:19]Write i2c OK [11:57:19]MH_I2C_Read... [11:57:20]OFD Sender: No OFD packet to send [11:57:20]*** Cut start [11:57:20]*** Partial cut [11:57:20]*** CUTSNS_PIN = 1 [11:57:20]*** CUTSNS_PIN = 0 [11:57:21]*** Brake cut motor [11:57:21]Read from MH i2c: 01 [11:57:21]MH_I2C_Read... [11:57:21]*** Stop cut motor [11:57:21]*** Cut end [11:57:21]Read from MH i2c: 01 07 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: 01 07 00 6E 11 00 00 00 00 00 FF 0F 94 [11:57:21]process_action close_receipt done [11:57:21]requested_data is exist [11:57:21]produce_requested_data [11:57:21]requested_item fm.sn is exist - process it [11:57:21]wFMCommunicate request_size=4 [11:57:21]MH_SAM_APDU [11:57:21]CAPDU: 80 11 00 00 [11:57:21]Write to MH i2c: E2 08 00 6F 11 80 11 00 00 00 00 00 00 FA [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:21]Read from MH i2c: E2 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 17 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 17 00 6F 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 51 [11:57:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [11:57:21]wFMCommunicate OK [11:57:21]requested_item fd.num is exist - process it [11:57:21]SAM_PROTO_GetFieldsCounters [11:57:21]wFMCommunicate request_size=4 [11:57:21]MH_SAM_APDU [11:57:21]CAPDU: 80 13 00 00 [11:57:21]Write to MH i2c: E2 08 00 70 11 80 13 00 00 00 00 00 00 FD [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:57:21]Read from MH i2c: E2 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 62 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 62 00 70 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FE A7 00 00 0E 04 04 00 BD 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 1D [11:57:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FE A7 00 00 0E 04 04 00 BD 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 [11:57:21]wFMCommunicate OK [11:57:21]SAM_PROTO_GetFieldsCounters done [11:57:21]requested_item shift.num is exist - process it [11:57:21]requested_item shift.opened is exist - process it [11:57:21]req_shift_opened [11:57:21]FM_GetShiftState [11:57:21]SAM_PROTO_GetShiftState [11:57:21]wFMCommunicate request_size=4 [11:57:21]MH_SAM_APDU [11:57:21]CAPDU: 80 13 01 00 [11:57:21]Write to MH i2c: E2 08 00 71 11 80 13 01 00 00 00 00 00 FF [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:21]Read from MH i2c: E2 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 0E 00 [11:57:21]MH_I2C_Read... [11:57:21]Read from MH i2c: E2 0E 00 71 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 96 [11:57:21]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [11:57:21]wFMCommunicate OK [11:57:21]SAM_PROTO_GetShiftState done [11:57:21]FM_GetShiftState done [11:57:21]req_shift_opened done [11:57:21]requested_item shift.open_date is exist - process it [11:57:21]req_shift_open_date [11:57:21]req_shift_open_date done [11:57:21]requested_item shift.sale.total is exist - process it [11:57:21]SAM_PROTO_GetShiftData [11:57:21]wFMCommunicate request_size=4 [11:57:21]MH_SAM_APDU [11:57:21]CAPDU: 80 13 02 00 [11:57:21]Write to MH i2c: E2 08 00 72 11 80 13 02 00 00 00 00 00 01 [11:57:21]Write i2c OK [11:57:21]MH_I2C_Read... [11:57:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:57:22]Read from MH i2c: E2 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 72 11 00 AE 04 AA 04 AA 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 10 EC 0D 70 04 03 00 70 B6 0B 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 79 7A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 CF [11:57:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 10 EC 0D 70 04 03 00 70 B6 0B 72 04 03 00 A0 35 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 79 7A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [11:57:22]wFMCommunicate OK [11:57:22]wFMCommunicate request_size=4 [11:57:22]MH_SAM_APDU [11:57:22]CAPDU: 80 17 00 00 [11:57:22]Write to MH i2c: E2 08 00 73 11 80 17 00 00 00 00 00 00 04 [11:57:22]Write i2c OK [11:57:22]MH_I2C_Read... [11:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:57:22]Read from MH i2c: E2 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 73 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 26 [11:57:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:57:22]wFMCommunicate OK [11:57:22]wFMCommunicate request_size=4 [11:57:22]MH_SAM_APDU [11:57:22]CAPDU: 80 17 00 00 [11:57:22]Write to MH i2c: E2 08 00 74 11 80 17 00 00 00 00 00 00 05 [11:57:22]Write i2c OK [11:57:22]MH_I2C_Read... [11:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:57:22]Read from MH i2c: E2 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 [11:57:22]MH_I2C_Read... [11:57:22]Read from MH i2c: E2 FD 00 74 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 BC [11:57:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:57:22]wFMCommunicate OK [11:57:22]wFMCommunicate request_size=4 [11:57:22]MH_SAM_APDU [11:57:22]CAPDU: 80 17 00 00 [11:57:22]Write to MH i2c: E2 08 00 75 11 80 17 00 00 00 00 00 00 06 [11:57:22]Write i2c OK [11:57:22]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 FD 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 FD 00 75 11 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 78 [11:57:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:57:23]wFMCommunicate OK [11:57:23]wFMCommunicate request_size=4 [11:57:23]MH_SAM_APDU [11:57:23]CAPDU: 80 17 00 00 [11:57:23]Write to MH i2c: E2 08 00 76 11 80 17 00 00 00 00 00 00 07 [11:57:23]Write i2c OK [11:57:23]MH_I2C_Read... [11:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:57:23]Read from MH i2c: E2 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 CB 00 [11:57:23]MH_I2C_Read... [11:57:23]Read from MH i2c: E2 CB 00 76 11 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F0 [11:57:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:57:23]wFMCommunicate OK [11:57:23]SAM_PROTO_GetShiftData done [11:57:23]requested_item shift.sale.total_cash is exist - process it [11:57:23]requested_item shift.sale_refund.total is exist - process it [11:57:23]requested_item shift.sale_refund.total_cash is exist - process it [11:57:23]produce_requested_data done [11:57:23]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43006,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9124.00,"shift.sale.total_cash":7676.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:57:23]process_action_free close_receipt [11:57:23]json_value_free [11:57:23]json_value_free done [11:57:23]process_json_proto returns [11:57:23]Send response to host [11:57:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43006,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9124.00,"shift.sale.total_cash":7676.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:57:23]free response buf [11:57:23]execute_script done [11:57:23]execute_script returns [11:57:23]free content buf [11:57:23]Sock 7.Close socket [11:57:23]Sock 7.Thread stoped [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:46]accept exits with 9 [12:02:46]New connection [12:02:46]New thread 3067387236 created [12:02:46]Thread 3067530596 joined [12:02:46]Waiting for new connection... [12:02:46] Sock 9.Parse request [12:02:46]Sock 9.Check first char [12:02:46]Sock 9.First char is OK [12:02:46]request: POST /json_proto HTTP/1.0 [12:02:46]Method: POST [12:02:46]URL: /json_proto [12:02:46]Method is POST - this is cgi request [12:02:46]url: /json_proto [12:02:46]query_string will be loaded in cgi processing [12:02:46]execute_cgi json_proto POST (null) [12:02:46]execute_cgi path=json_proto method=POST [12:02:46]POST find Content-Length [12:02:46]Host: 172.17.38.197:8080 [12:02:46]Content-Length: 994 [12:02:46]Content-Type: application/json [12:02:46] [12:02:46]POST finish read [12:02:46]Found Content-Length = 994 [12:02:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300135", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:02:46]execute_script... [12:02:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300135", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:02:46]POST & json_proto [12:02:46]process_json_proto [12:02:46]json parsed OK: [12:02:46]protocol is kg_v1.0 [12:02:46]action value=close_receipt [12:02:46]process_action close_receipt [12:02:46]cmd_close_receipt [12:02:46]MH_GetDate [12:02:46]Write to MH i2c: F0 00 00 77 11 77 [12:02:46]Write i2c OK [12:02:46]MH_I2C_Read... [12:02:46]Read from MH i2c: F0 [12:02:46]MH_I2C_Read... [12:02:46]Read from MH i2c: F0 09 00 [12:02:46]MH_I2C_Read... [12:02:46]Read from MH i2c: F0 09 00 77 11 00 E9 6C 92 66 1E 0D 88 66 E6 [12:02:46]GetLastDocTimeStamp 1720871840 [12:02:46]current date 1720872169 [12:02:46]FM_GetShiftState [12:02:46]SAM_PROTO_GetShiftState [12:02:46]wFMCommunicate request_size=4 [12:02:46]MH_SAM_APDU [12:02:46]CAPDU: 80 13 01 00 [12:02:46]Write to MH i2c: E2 08 00 78 11 80 13 01 00 00 00 00 00 06 [12:02:46]Write i2c OK [12:02:46]MH_I2C_Read... [12:02:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:02:46]Read from MH i2c: E2 [12:02:46]MH_I2C_Read... [12:02:46]Read from MH i2c: E2 0E 00 [12:02:46]MH_I2C_Read... [12:02:46]Read from MH i2c: E2 0E 00 78 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9D [12:02:46]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:02:46]wFMCommunicate OK [12:02:46]SAM_PROTO_GetShiftState done [12:02:46]FM_GetShiftState done [12:02:46]opened in 1720829646 [12:02:46]opened+sec_in_day 1720916046 [12:02:46]quantity*price = 10000 [12:02:46]sum+1 = 10001 [12:02:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 0.00 Безнал.: 100.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 52 13.07.2024 12:02 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43007 ФПД: 260594080827593 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T120249&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43007&fm=260594080827593&tin=02508201610067®Number=0000000000091176&sum=10000 0 [12:02:47]StoreToDocumentArchive [12:02:47]shift 445 fd 43007 [12:02:47]save to /storage/0445/doc_00043007 [12:02:47]save last doc name /storage/0445/doc_00043007 to /storage/kkm_last_doc_name [12:02:47]save OK [12:02:47]Clear old archive folders... [12:02:47]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:02:47]tlvbuf is 0158F400 [12:02:47]SAM_PROTO_ClearQueue [12:02:47]wFMCommunicate request_size=4 [12:02:47]MH_SAM_APDU [12:02:47]CAPDU: 80 09 00 00 [12:02:47]Write to MH i2c: E2 08 00 85 11 80 09 00 00 00 00 00 00 08 [12:02:47]Write i2c OK [12:02:47]MH_I2C_Read... [12:02:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:02:47]Read from MH i2c: E2 [12:02:47]MH_I2C_Read... [12:02:47]Read from MH i2c: E2 03 00 [12:02:47]MH_I2C_Read... [12:02:47]Read from MH i2c: E2 03 00 85 11 00 90 00 0A [12:02:47]RAPDU: 90 00 [12:02:47]wFMCommunicate OK [12:02:47]SAM_PROTO_ClearQueue done [12:02:47]KKMCreateOFDPacket [12:02:47]OFDProtocolAddRootSTLVToBuf [12:02:47]FM_MakeSignedData [12:02:47]FM_MakeSignedData [12:02:47]SAM_PROTO_SignData [12:02:47]wFMCommunicate request_size=4 [12:02:47]MH_SAM_APDU [12:02:47]CAPDU: 80 0D 01 02 [12:02:47]Write to MH i2c: E2 08 00 86 11 80 0D 01 02 00 00 00 00 10 [12:02:47]Write i2c OK [12:02:47]MH_I2C_Read... [12:02:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:02:47]Read from MH i2c: E2 [12:02:47]MH_I2C_Read... [12:02:47]Read from MH i2c: E2 03 00 [12:02:47]MH_I2C_Read... [12:02:47]Read from MH i2c: E2 03 00 86 11 00 90 00 0B [12:02:47]RAPDU: 90 00 [12:02:47]wFMCommunicate OK [12:02:47]wFMCommunicate request_size=255 [12:02:47]MH_SAM_APDU [12:02:47]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 E9 6C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:02:47]Write to MH i2c: E2 02 01 87 11 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 E9 6C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 08 [12:02:47]Write i2c OK [12:02:47]MH_I2C_Read... [12:02:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:02:47]Read from MH i2c: E2 [12:02:47]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 03 00 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 03 00 87 11 00 90 00 0C [12:02:48]RAPDU: 90 00 [12:02:48]wFMCommunicate OK [12:02:48]wFMCommunicate request_size=52 [12:02:48]MH_SAM_APDU [12:02:48]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FF A7 00 00 35 04 06 00 ED 02 49 9E 48 C9 [12:02:48]Write to MH i2c: E2 37 00 88 11 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FF A7 00 00 35 04 06 00 ED 02 49 9E 48 C9 00 00 66 [12:02:48]Write i2c OK [12:02:48]MH_I2C_Read... [12:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:02:48]Read from MH i2c: E2 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 03 00 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 03 00 88 11 00 90 00 0D [12:02:48]RAPDU: 90 00 [12:02:48]wFMCommunicate OK [12:02:48]wFMCommunicate request_size=4 [12:02:48]MH_SAM_APDU [12:02:48]CAPDU: 80 0D 03 02 [12:02:48]Write to MH i2c: E2 08 00 89 11 80 0D 03 02 00 00 00 00 15 [12:02:48]Write i2c OK [12:02:48]MH_I2C_Read... [12:02:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:02:48]Read from MH i2c: E2 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 0B 00 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 0B 00 89 11 00 71 65 3D C8 FB FE B7 C5 90 00 66 [12:02:48]RAPDU: 71 65 3D C8 FB FE B7 C5 90 00 [12:02:48]wFMCommunicate OK [12:02:48]SAM_PROTO_SignData done [12:02:48]FM_MakeSignedData done [12:02:48]CreateOFDProtocolMessage [12:02:48]wFMCommunicate request_size=4 [12:02:48]MH_SAM_APDU [12:02:48]CAPDU: 80 11 00 00 [12:02:48]Write to MH i2c: E2 08 00 8A 11 80 11 00 00 00 00 00 00 15 [12:02:48]Write i2c OK [12:02:48]MH_I2C_Read... [12:02:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:02:48]Read from MH i2c: E2 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 17 00 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: E2 17 00 8A 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6C [12:02:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:02:48]wFMCommunicate OK [12:02:48]CreateOFDProtocolMessage done [12:02:48]OFDSenderStorePacket 43007 [12:02:48]StoreOFDPacket docnum=43007 [12:02:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 A4 5F 31 01 82 C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 E9 6C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FF A7 00 00 35 04 06 00 ED 02 49 9E 48 C9 71 65 3D C8 FB FE B7 C5 [12:02:48]CheckFolder [12:02:48]dirname=/storage/ofd_packets [12:02:48]CheckFolder done [12:02:48]ProducePacketName [12:02:48]name=ofd_packets/00043007 [12:02:48]NVStorageSaveData ofd_packets/00043007 [12:02:48]File name is /storage/ofd_packets/00043007 [12:02:48]Write 343 bytes [12:02:48]NVStorageSaveData done [12:02:48]OFDSenderStorePacket done [12:02:48]KKMCreateOFDPacket done [12:02:48]NVStorageSaveData kkm_last_timestamp [12:02:48]File name is /storage/kkm_last_timestamp [12:02:48]Write 4 bytes [12:02:48]NVStorageSaveData done [12:02:48]OFD Sender: Processing packet 43007 [packets to send 31, broken 30] [12:02:48]ProducePacketName [12:02:48]name=ofd_packets/00043007 [12:02:48]OFD Sender: To server: pG, [12:02:48]CommunicateWithHost lk.salyk.kg:30040 [12:02:48]ConnectInit lk.salyk.kg [12:02:48]ExternCall_PrintAddStr [12:02:48]wPrintStart [12:02:48]Write to MH i2c: 01 00 00 8B 11 9C [12:02:48]Write i2c OK [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: 01 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: 01 07 00 [12:02:48]MH_I2C_Read... [12:02:48]Read from MH i2c: 01 07 00 8B 11 00 00 00 00 00 FF 0F B1 [12:02:48]RasterBufferAndPrint [12:02:48]line Счет N : (3)300135 [12:02:48]line ИНН: 02508201610067 [12:02:48]line Контрольно-Кассовый Чек [12:02:48]line ПРОДАЖА [12:02:48]line Товар: 4870002326172 [12:02:48]line Вода ASU пит н.газ лимон ПЭТ 1л [12:02:48]line 1.000 * 100.00 [12:02:48]line = 100.00 [12:02:48]line НДС 12% НСП 1% [12:02:48]line > о реализуемом товаре [12:02:48]line ИТОГО: 100.00 [12:02:48]line НСП 1% : 0.88 [12:02:48]line НДС 12% : 10.62 [12:02:48]line Наличными: 0.00 [12:02:48]line Безнал.: 100.00 [12:02:48]line Место: АЗС № 71 "Партнер Нефть" [12:02:48]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [12:02:48]line СНО: Общий режим [12:02:48]line Чек 52 13.07.2024 12:02 [12:02:48]line Смена: 445 ФФД: 1.0 [12:02:48]line ЗНМ: 0300000153 [12:02:48]line РНМ: 0000000000091176 [12:02:48]line Версия ККМ: 001 [12:02:48]line Платежная система: АКБ Кыргызстан [12:02:48]line ФМ: 0000000000874935 [12:02:48]line ФД: 43007 [12:02:48]line ФПД: 260594080827593 [12:02:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T120249&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43007&fm=260594080827593&tin=02508201610067®Number=0000000000091176&sum=10000 [12:02:48]line 0 [12:02:48]Connected sock=11 [12:02:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 A4 5F 31 01 82 C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 E9 6C 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 FF A7 00 00 35 04 06 00 ED 02 49 9E 48 C9 71 65 3D C8 FB FE B7 C5 [12:02:48]written 0, free lines is 4095 [12:02:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 05 85 47 00 68 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 38 37 34 39 33 35 10 04 04 00 FF A7 00 00 F4 03 04 00 E4 18 92 66 B6 04 01 00 00 61 E0 50 25 3E EF E8 D5 [12:02:48]CommunicateWithHost err = 0 [12:02:48]CheckOFDResponse [12:02:48]1017 (14) - 77093643461234 [12:02:48]1041 (16) - 0000000000874935 [12:02:48]1040 (4) - 43007 [12:02:48]1012 (4) - 13.07.2024 06:04 [12:02:48]1206 (1) - 0 [12:02:48]OFD Sender: Remove packet 43007 [12:02:48]ProducePacketName [12:02:48]name=ofd_packets/00043007 [12:02:48]NVStorageDeleteData [12:02:49]Write to MH i2c: 01 00 00 B6 11 C7 [12:02:49]Write i2c OK [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: 01 [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: 01 07 00 [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: 01 07 00 B6 11 00 00 00 00 00 E1 0C BB [12:02:49]RasterBufferAndPrint [12:02:49]line [12:02:49]line [12:02:49]line [12:02:49]line [12:02:49]line [12:02:49]written 0, free lines is 3302 [12:02:49]MH_Cut [12:02:49]Write to MH i2c: D1 01 00 BD 11 01 A0 [12:02:49]Write i2c OK [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: D1 [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: D1 01 00 [12:02:49]MH_I2C_Read... [12:02:49]Read from MH i2c: D1 01 00 BD 11 00 9F [12:02:49]Write to MH i2c: 01 00 00 BE 11 CF [12:02:49]Write i2c OK [12:02:49]MH_I2C_Read... [12:02:49]OFD Sender: No OFD packet to send [12:02:49]*** Cut start [12:02:49]*** Partial cut [12:02:49]*** CUTSNS_PIN = 1 [12:02:49]*** CUTSNS_PIN = 0 [12:02:50]*** Brake cut motor [12:02:50]Read from MH i2c: 01 [12:02:50]MH_I2C_Read... [12:02:50]*** Stop cut motor [12:02:50]*** Cut end [12:02:50]Read from MH i2c: 01 07 00 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: 01 07 00 BE 11 00 00 00 00 00 FF 0F E4 [12:02:50]process_action close_receipt done [12:02:50]requested_data is exist [12:02:50]produce_requested_data [12:02:50]requested_item fm.sn is exist - process it [12:02:50]wFMCommunicate request_size=4 [12:02:50]MH_SAM_APDU [12:02:50]CAPDU: 80 11 00 00 [12:02:50]Write to MH i2c: E2 08 00 BF 11 80 11 00 00 00 00 00 00 4A [12:02:50]Write i2c OK [12:02:50]MH_I2C_Read... [12:02:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:02:50]Read from MH i2c: E2 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 17 00 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 17 00 BF 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A1 [12:02:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:02:50]wFMCommunicate OK [12:02:50]requested_item fd.num is exist - process it [12:02:50]SAM_PROTO_GetFieldsCounters [12:02:50]wFMCommunicate request_size=4 [12:02:50]MH_SAM_APDU [12:02:50]CAPDU: 80 13 00 00 [12:02:50]Write to MH i2c: E2 08 00 C0 11 80 13 00 00 00 00 00 00 4D [12:02:50]Write i2c OK [12:02:50]MH_I2C_Read... [12:02:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:02:50]Read from MH i2c: E2 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 62 00 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 62 00 C0 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FF A7 00 00 0E 04 04 00 BD 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 71 [12:02:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 FF A7 00 00 0E 04 04 00 BD 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 [12:02:50]wFMCommunicate OK [12:02:50]SAM_PROTO_GetFieldsCounters done [12:02:50]requested_item shift.num is exist - process it [12:02:50]requested_item shift.opened is exist - process it [12:02:50]req_shift_opened [12:02:50]FM_GetShiftState [12:02:50]SAM_PROTO_GetShiftState [12:02:50]wFMCommunicate request_size=4 [12:02:50]MH_SAM_APDU [12:02:50]CAPDU: 80 13 01 00 [12:02:50]Write to MH i2c: E2 08 00 C1 11 80 13 01 00 00 00 00 00 4F [12:02:50]Write i2c OK [12:02:50]MH_I2C_Read... [12:02:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:02:50]Read from MH i2c: E2 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 0E 00 [12:02:50]MH_I2C_Read... [12:02:50]Read from MH i2c: E2 0E 00 C1 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E6 [12:02:50]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:02:50]wFMCommunicate OK [12:02:50]SAM_PROTO_GetShiftState done [12:02:50]FM_GetShiftState done [12:02:50]req_shift_opened done [12:02:50]requested_item shift.open_date is exist - process it [12:02:50]req_shift_open_date [12:02:50]req_shift_open_date done [12:02:50]requested_item shift.sale.total is exist - process it [12:02:50]SAM_PROTO_GetShiftData [12:02:50]wFMCommunicate request_size=4 [12:02:50]MH_SAM_APDU [12:02:50]CAPDU: 80 13 02 00 [12:02:50]Write to MH i2c: E2 08 00 C2 11 80 13 02 00 00 00 00 00 51 [12:02:50]Write i2c OK [12:02:50]MH_I2C_Read... [12:02:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:02:51]Read from MH i2c: E2 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 C2 11 00 AE 04 AA 04 AA 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 20 13 0E 70 04 03 00 70 B6 0B 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F 7E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DB 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 12 [12:02:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 20 13 0E 70 04 03 00 70 B6 0B 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F 7E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DB 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:02:51]wFMCommunicate OK [12:02:51]wFMCommunicate request_size=4 [12:02:51]MH_SAM_APDU [12:02:51]CAPDU: 80 17 00 00 [12:02:51]Write to MH i2c: E2 08 00 C3 11 80 17 00 00 00 00 00 00 54 [12:02:51]Write i2c OK [12:02:51]MH_I2C_Read... [12:02:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:51]Read from MH i2c: E2 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 C3 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 76 [12:02:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:02:51]wFMCommunicate OK [12:02:51]wFMCommunicate request_size=4 [12:02:51]MH_SAM_APDU [12:02:51]CAPDU: 80 17 00 00 [12:02:51]Write to MH i2c: E2 08 00 C4 11 80 17 00 00 00 00 00 00 55 [12:02:51]Write i2c OK [12:02:51]MH_I2C_Read... [12:02:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:51]Read from MH i2c: E2 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 C4 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0C [12:02:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:02:51]wFMCommunicate OK [12:02:51]wFMCommunicate request_size=4 [12:02:51]MH_SAM_APDU [12:02:51]CAPDU: 80 17 00 00 [12:02:51]Write to MH i2c: E2 08 00 C5 11 80 17 00 00 00 00 00 00 56 [12:02:51]Write i2c OK [12:02:51]MH_I2C_Read... [12:02:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:51]Read from MH i2c: E2 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 [12:02:51]MH_I2C_Read... [12:02:51]Read from MH i2c: E2 FD 00 C5 11 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C8 [12:02:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:02:52]wFMCommunicate OK [12:02:52]wFMCommunicate request_size=4 [12:02:52]MH_SAM_APDU [12:02:52]CAPDU: 80 17 00 00 [12:02:52]Write to MH i2c: E2 08 00 C6 11 80 17 00 00 00 00 00 00 57 [12:02:52]Write i2c OK [12:02:52]MH_I2C_Read... [12:02:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:02:52]Read from MH i2c: E2 [12:02:52]MH_I2C_Read... [12:02:52]Read from MH i2c: E2 CB 00 [12:02:52]MH_I2C_Read... [12:02:52]Read from MH i2c: E2 CB 00 C6 11 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 40 [12:02:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:02:52]wFMCommunicate OK [12:02:52]SAM_PROTO_GetShiftData done [12:02:52]requested_item shift.sale.total_cash is exist - process it [12:02:52]requested_item shift.sale_refund.total is exist - process it [12:02:52]requested_item shift.sale_refund.total_cash is exist - process it [12:02:52]produce_requested_data done [12:02:52]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43007,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9224.00,"shift.sale.total_cash":7676.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [12:02:52]process_action_free close_receipt [12:02:52]json_value_free [12:02:52]json_value_free done [12:02:52]process_json_proto returns [12:02:52]Send response to host [12:02:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43007,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9224.00,"shift.sale.total_cash":7676.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [12:02:52]free response buf [12:02:52]execute_script done [12:02:52]execute_script returns [12:02:52]free content buf [12:02:52]Sock 9.Close socket [12:02:52]Sock 9.Thread stoped [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:23]accept exits with 7 [12:40:23]New connection [12:40:23]New thread 3067530596 created [12:40:23]Thread 3067387236 joined [12:40:23]Waiting for new connection... [12:40:23] Sock 7.Parse request [12:40:23]Sock 7.Check first char [12:40:23]Sock 7.First char is OK [12:40:23]request: POST /json_proto HTTP/1.0 [12:40:23]Method: POST [12:40:23]URL: /json_proto [12:40:23]Method is POST - this is cgi request [12:40:23]url: /json_proto [12:40:23]query_string will be loaded in cgi processing [12:40:23]execute_cgi json_proto POST (null) [12:40:23]execute_cgi path=json_proto method=POST [12:40:23]POST find Content-Length [12:40:23]Host: 172.17.38.197:8080 [12:40:23]Content-Length: 788 [12:40:23]Content-Type: application/json [12:40:23] [12:40:23]POST finish read [12:40:23]Found Content-Length = 788 [12:40:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300136", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:40:23]execute_script... [12:40:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300136", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:40:23]POST & json_proto [12:40:23]process_json_proto [12:40:23]json parsed OK: [12:40:23]protocol is kg_v1.0 [12:40:23]action value=close_receipt [12:40:23]process_action close_receipt [12:40:23]cmd_close_receipt [12:40:23]MH_GetDate [12:40:23]Write to MH i2c: F0 00 00 C7 11 C7 [12:40:23]Write i2c OK [12:40:23]MH_I2C_Read... [12:40:23]Read from MH i2c: F0 [12:40:23]MH_I2C_Read... [12:40:23]Read from MH i2c: F0 09 00 [12:40:23]MH_I2C_Read... [12:40:23]Read from MH i2c: F0 09 00 C7 11 00 BB 75 92 66 1E 0D 88 66 11 [12:40:23]GetLastDocTimeStamp 1720872169 [12:40:23]current date 1720874427 [12:40:23]FM_GetShiftState [12:40:23]SAM_PROTO_GetShiftState [12:40:23]wFMCommunicate request_size=4 [12:40:23]MH_SAM_APDU [12:40:23]CAPDU: 80 13 01 00 [12:40:23]Write to MH i2c: E2 08 00 C8 11 80 13 01 00 00 00 00 00 56 [12:40:23]Write i2c OK [12:40:23]MH_I2C_Read... [12:40:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:23]Read from MH i2c: E2 [12:40:23]MH_I2C_Read... [12:40:23]Read from MH i2c: E2 0E 00 [12:40:23]MH_I2C_Read... [12:40:23]Read from MH i2c: E2 0E 00 C8 11 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 ED [12:40:23]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:40:23]wFMCommunicate OK [12:40:23]SAM_PROTO_GetShiftState done [12:40:23]FM_GetShiftState done [12:40:23]opened in 1720829646 [12:40:23]opened+sec_in_day 1720916046 [12:40:23]quantity*price = 12500 [12:40:23]sum+1 = 12501 [12:40:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 53 13.07.2024 12:40 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43008 ФПД: 99412211510801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124027&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43008&fm=99412211510801&tin=02508201610067®Number=0000000000091176&sum=12500 0 [12:40:24]StoreToDocumentArchive [12:40:24]shift 445 fd 43008 [12:40:24]save to /storage/0445/doc_00043008 [12:40:24]save last doc name /storage/0445/doc_00043008 to /storage/kkm_last_doc_name [12:40:24]save OK [12:40:24]Clear old archive folders... [12:40:24]ProcessDocumentItem done err = 0, tmpTLVsize=292 [12:40:24]tlvbuf is 015E9700 [12:40:24]SAM_PROTO_ClearQueue [12:40:24]wFMCommunicate request_size=4 [12:40:24]MH_SAM_APDU [12:40:24]CAPDU: 80 09 00 00 [12:40:24]Write to MH i2c: E2 08 00 D5 11 80 09 00 00 00 00 00 00 58 [12:40:24]Write i2c OK [12:40:24]MH_I2C_Read... [12:40:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:40:24]Read from MH i2c: E2 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 D5 11 00 90 00 5A [12:40:24]RAPDU: 90 00 [12:40:24]wFMCommunicate OK [12:40:24]SAM_PROTO_ClearQueue done [12:40:24]KKMCreateOFDPacket [12:40:24]OFDProtocolAddRootSTLVToBuf [12:40:24]FM_MakeSignedData [12:40:24]FM_MakeSignedData [12:40:24]SAM_PROTO_SignData [12:40:24]wFMCommunicate request_size=4 [12:40:24]MH_SAM_APDU [12:40:24]CAPDU: 80 0D 01 02 [12:40:24]Write to MH i2c: E2 08 00 D6 11 80 0D 01 02 00 00 00 00 60 [12:40:24]Write i2c OK [12:40:24]MH_I2C_Read... [12:40:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:40:24]Read from MH i2c: E2 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 D6 11 00 90 00 5B [12:40:24]RAPDU: 90 00 [12:40:24]wFMCommunicate OK [12:40:24]wFMCommunicate request_size=255 [12:40:24]MH_SAM_APDU [12:40:24]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 BB 75 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [12:40:24]Write to MH i2c: E2 02 01 D7 11 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 BB 75 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 41 [12:40:24]Write i2c OK [12:40:24]MH_I2C_Read... [12:40:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:24]Read from MH i2c: E2 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 [12:40:24]MH_I2C_Read... [12:40:24]Read from MH i2c: E2 03 00 D7 11 00 90 00 5C [12:40:24]RAPDU: 90 00 [12:40:24]wFMCommunicate OK [12:40:24]wFMCommunicate request_size=51 [12:40:24]MH_SAM_APDU [12:40:24]CAPDU: 80 0D 02 02 2E 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 A8 00 00 35 04 06 00 5A 6A 35 8D AE 11 [12:40:24]Write to MH i2c: E2 36 00 D8 11 80 0D 02 02 2E 00 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 A8 00 00 35 04 06 00 5A 6A 35 8D AE 11 00 00 E4 [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:25]Read from MH i2c: E2 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 03 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 03 00 D8 11 00 90 00 5D [12:40:25]RAPDU: 90 00 [12:40:25]wFMCommunicate OK [12:40:25]wFMCommunicate request_size=4 [12:40:25]MH_SAM_APDU [12:40:25]CAPDU: 80 0D 03 02 [12:40:25]Write to MH i2c: E2 08 00 D9 11 80 0D 03 02 00 00 00 00 65 [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:40:25]Read from MH i2c: E2 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 0B 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 0B 00 D9 11 00 01 6D 51 23 DF 50 0B ED 90 00 6F [12:40:25]RAPDU: 01 6D 51 23 DF 50 0B ED 90 00 [12:40:25]wFMCommunicate OK [12:40:25]SAM_PROTO_SignData done [12:40:25]FM_MakeSignedData done [12:40:25]CreateOFDProtocolMessage [12:40:25]wFMCommunicate request_size=4 [12:40:25]MH_SAM_APDU [12:40:25]CAPDU: 80 11 00 00 [12:40:25]Write to MH i2c: E2 08 00 DA 11 80 11 00 00 00 00 00 00 65 [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:25]Read from MH i2c: E2 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 17 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: E2 17 00 DA 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 BC [12:40:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:40:25]wFMCommunicate OK [12:40:25]CreateOFDProtocolMessage done [12:40:25]OFDSenderStorePacket 43008 [12:40:25]StoreOFDPacket docnum=43008 [12:40:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 38 01 00 00 6A 3A 30 01 15 B6 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 BB 75 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 A8 00 00 35 04 06 00 5A 6A 35 8D AE 11 01 6D 51 23 DF 50 0B ED [12:40:25]CheckFolder [12:40:25]dirname=/storage/ofd_packets [12:40:25]CheckFolder done [12:40:25]ProducePacketName [12:40:25]name=ofd_packets/00043008 [12:40:25]NVStorageSaveData ofd_packets/00043008 [12:40:25]File name is /storage/ofd_packets/00043008 [12:40:25]Write 342 bytes [12:40:25]NVStorageSaveData done [12:40:25]OFDSenderStorePacket done [12:40:25]KKMCreateOFDPacket done [12:40:25]NVStorageSaveData kkm_last_timestamp [12:40:25]File name is /storage/kkm_last_timestamp [12:40:25]Write 4 bytes [12:40:25]NVStorageSaveData done [12:40:25]ExternCall_PrintAddStr [12:40:25]wPrintStart [12:40:25]Write to MH i2c: 01 00 00 DB 11 EC [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 07 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 07 00 DB 11 00 00 00 00 00 FF 0F 01 [12:40:25]RasterBufferAndPrint [12:40:25]line Счет N : (3)300136 [12:40:25]line ИНН: 02508201610067 [12:40:25]line Контрольно-Кассовый Чек [12:40:25]line ПРОДАЖА [12:40:25]line Товар: 4870202521230 [12:40:25]line Напиток MAXI чай 1,2 черн.лимон [12:40:25]line 1.000 * 125.00 [12:40:25]line = 125.00 [12:40:25]line НДС 12% НСП 1% [12:40:25]line > о реализуемом товаре [12:40:25]line ИТОГО: 125.00 [12:40:25]line НСП 1% : 1.11 [12:40:25]line НДС 12% : 13.27 [12:40:25]line Наличными: 125.00 [12:40:25]line Безнал.: 0.00 [12:40:25]line Место: АЗС № 71 "Партнер Нефть" [12:40:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [12:40:25]line СНО: Общий режим [12:40:25]line Чек 53 13.07.2024 12:40 [12:40:25]line Смена: 445 ФФД: 1.0 [12:40:25]line ЗНМ: 0300000153 [12:40:25]line РНМ: 0000000000091176 [12:40:25]line Версия ККМ: 001 [12:40:25]line ФМ: 0000000000874935 [12:40:25]line ФД: 43008 [12:40:25]line ФПД: 99412211510801 [12:40:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124027&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43008&fm=99412211510801&tin=02508201610067®Number=0000000000091176&sum=12500 [12:40:25]OFD Sender: Processing packet 43008 [packets to send 31, broken 30] [12:40:25]ProducePacketName [12:40:25]name=ofd_packets/00043008 [12:40:25]OFD Sender: To server: pG, [12:40:25]CommunicateWithHost lk.salyk.kg:30040 [12:40:25]ConnectInit lk.salyk.kg [12:40:25]line 0 [12:40:25]written 0, free lines is 4095 [12:40:25]Connected sock=10 [12:40:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 38 01 00 00 6A 3A 30 01 15 B6 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 BB 75 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 A8 00 00 35 04 06 00 5A 6A 35 8D AE 11 01 6D 51 23 DF 50 0B ED [12:40:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 12 EF 47 00 BC 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 38 37 34 39 33 35 10 04 04 00 00 A8 00 00 F4 03 04 00 B5 21 92 66 B6 04 01 00 00 FF 53 F1 4C 44 ED 5C 1B [12:40:25]CommunicateWithHost err = 0 [12:40:25]CheckOFDResponse [12:40:25]1017 (14) - 77093643461234 [12:40:25]1041 (16) - 0000000000874935 [12:40:25]1040 (4) - 43008 [12:40:25]1012 (4) - 13.07.2024 06:41 [12:40:25]1206 (1) - 0 [12:40:25]OFD Sender: Remove packet 43008 [12:40:25]ProducePacketName [12:40:25]name=ofd_packets/00043008 [12:40:25]NVStorageDeleteData [12:40:25]Write to MH i2c: 01 00 00 04 12 16 [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 07 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: 01 07 00 04 12 00 00 00 00 00 EC 0C 15 [12:40:25]RasterBufferAndPrint [12:40:25]line [12:40:25]line [12:40:25]line [12:40:25]line [12:40:25]line [12:40:25]written 0, free lines is 3314 [12:40:25]MH_Cut [12:40:25]Write to MH i2c: D1 01 00 0B 12 01 EF [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: D1 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: D1 01 00 [12:40:25]MH_I2C_Read... [12:40:25]Read from MH i2c: D1 01 00 0B 12 00 EE [12:40:25]Write to MH i2c: 01 00 00 0C 12 1E [12:40:25]Write i2c OK [12:40:25]MH_I2C_Read... [12:40:26]OFD Sender: No OFD packet to send [12:40:26]*** Cut start [12:40:26]*** Partial cut [12:40:26]*** CUTSNS_PIN = 1 [12:40:26]*** CUTSNS_PIN = 0 [12:40:26]*** Brake cut motor [12:40:27]Read from MH i2c: 01 [12:40:27]MH_I2C_Read... [12:40:27]*** Stop cut motor [12:40:27]*** Cut end [12:40:27]Read from MH i2c: 01 07 00 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: 01 07 00 0C 12 00 00 00 00 00 FF 0F 33 [12:40:27]process_action close_receipt done [12:40:27]requested_data is exist [12:40:27]produce_requested_data [12:40:27]requested_item fm.sn is exist - process it [12:40:27]wFMCommunicate request_size=4 [12:40:27]MH_SAM_APDU [12:40:27]CAPDU: 80 11 00 00 [12:40:27]Write to MH i2c: E2 08 00 0D 12 80 11 00 00 00 00 00 00 99 [12:40:27]Write i2c OK [12:40:27]MH_I2C_Read... [12:40:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:27]Read from MH i2c: E2 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 17 00 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 17 00 0D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F0 [12:40:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:40:27]wFMCommunicate OK [12:40:27]requested_item fd.num is exist - process it [12:40:27]SAM_PROTO_GetFieldsCounters [12:40:27]wFMCommunicate request_size=4 [12:40:27]MH_SAM_APDU [12:40:27]CAPDU: 80 13 00 00 [12:40:27]Write to MH i2c: E2 08 00 0E 12 80 13 00 00 00 00 00 00 9C [12:40:27]Write i2c OK [12:40:27]MH_I2C_Read... [12:40:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:40:27]Read from MH i2c: E2 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 62 00 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 62 00 0E 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 00 A8 00 00 0E 04 04 00 BD 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 C5 [12:40:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 00 A8 00 00 0E 04 04 00 BD 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 [12:40:27]wFMCommunicate OK [12:40:27]SAM_PROTO_GetFieldsCounters done [12:40:27]requested_item shift.num is exist - process it [12:40:27]requested_item shift.opened is exist - process it [12:40:27]req_shift_opened [12:40:27]FM_GetShiftState [12:40:27]SAM_PROTO_GetShiftState [12:40:27]wFMCommunicate request_size=4 [12:40:27]MH_SAM_APDU [12:40:27]CAPDU: 80 13 01 00 [12:40:27]Write to MH i2c: E2 08 00 0F 12 80 13 01 00 00 00 00 00 9E [12:40:27]Write i2c OK [12:40:27]MH_I2C_Read... [12:40:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:27]Read from MH i2c: E2 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 0E 00 [12:40:27]MH_I2C_Read... [12:40:27]Read from MH i2c: E2 0E 00 0F 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 35 [12:40:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:40:27]wFMCommunicate OK [12:40:27]SAM_PROTO_GetShiftState done [12:40:27]FM_GetShiftState done [12:40:27]req_shift_opened done [12:40:27]requested_item shift.open_date is exist - process it [12:40:27]req_shift_open_date [12:40:27]req_shift_open_date done [12:40:27]requested_item shift.sale.total is exist - process it [12:40:27]SAM_PROTO_GetShiftData [12:40:27]wFMCommunicate request_size=4 [12:40:27]MH_SAM_APDU [12:40:27]CAPDU: 80 13 02 00 [12:40:27]Write to MH i2c: E2 08 00 10 12 80 13 02 00 00 00 00 00 A0 [12:40:27]Write i2c OK [12:40:27]MH_I2C_Read... [12:40:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:40:28]Read from MH i2c: E2 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 10 12 00 AE 04 AA 04 AA 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 F4 43 0E 70 04 03 00 44 E7 0B 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CE 83 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 10 [12:40:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 F4 43 0E 70 04 03 00 44 E7 0B 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CE 83 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:40:28]wFMCommunicate OK [12:40:28]wFMCommunicate request_size=4 [12:40:28]MH_SAM_APDU [12:40:28]CAPDU: 80 17 00 00 [12:40:28]Write to MH i2c: E2 08 00 11 12 80 17 00 00 00 00 00 00 A3 [12:40:28]Write i2c OK [12:40:28]MH_I2C_Read... [12:40:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:40:28]Read from MH i2c: E2 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 11 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C5 [12:40:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:40:28]wFMCommunicate OK [12:40:28]wFMCommunicate request_size=4 [12:40:28]MH_SAM_APDU [12:40:28]CAPDU: 80 17 00 00 [12:40:28]Write to MH i2c: E2 08 00 12 12 80 17 00 00 00 00 00 00 A4 [12:40:28]Write i2c OK [12:40:28]MH_I2C_Read... [12:40:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:40:28]Read from MH i2c: E2 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 12 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5B [12:40:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:40:28]wFMCommunicate OK [12:40:28]wFMCommunicate request_size=4 [12:40:28]MH_SAM_APDU [12:40:28]CAPDU: 80 17 00 00 [12:40:28]Write to MH i2c: E2 08 00 13 12 80 17 00 00 00 00 00 00 A5 [12:40:28]Write i2c OK [12:40:28]MH_I2C_Read... [12:40:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:40:28]Read from MH i2c: E2 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 [12:40:28]MH_I2C_Read... [12:40:28]Read from MH i2c: E2 FD 00 13 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 17 [12:40:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:40:28]wFMCommunicate OK [12:40:28]wFMCommunicate request_size=4 [12:40:28]MH_SAM_APDU [12:40:28]CAPDU: 80 17 00 00 [12:40:28]Write to MH i2c: E2 08 00 14 12 80 17 00 00 00 00 00 00 A6 [12:40:28]Write i2c OK [12:40:28]MH_I2C_Read... [12:40:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:40:29]Read from MH i2c: E2 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: E2 CB 00 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: E2 CB 00 14 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8F [12:40:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:40:29]wFMCommunicate OK [12:40:29]SAM_PROTO_GetShiftData done [12:40:29]requested_item shift.sale.total_cash is exist - process it [12:40:29]requested_item shift.sale_refund.total is exist - process it [12:40:29]requested_item shift.sale_refund.total_cash is exist - process it [12:40:29]produce_requested_data done [12:40:29]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43008,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9349.00,"shift.sale.total_cash":7801.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [12:40:29]process_action_free close_receipt [12:40:29]json_value_free [12:40:29]json_value_free done [12:40:29]process_json_proto returns [12:40:29]Send response to host [12:40:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43008,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9349.00,"shift.sale.total_cash":7801.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [12:40:29]free response buf [12:40:29]execute_script done [12:40:29]execute_script returns [12:40:29]free content buf [12:40:29]Sock 7.Close socket [12:40:29]Sock 7.Thread stoped [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:23]accept exits with 9 [12:43:23]New connection [12:43:23]New thread 3067387236 created [12:43:23]Thread 3067530596 joined [12:43:23]Waiting for new connection... [12:43:23] Sock 9.Parse request [12:43:23]Sock 9.Check first char [12:43:23]Sock 9.First char is OK [12:43:23]request: POST /json_proto HTTP/1.0 [12:43:23]Method: POST [12:43:23]URL: /json_proto [12:43:23]Method is POST - this is cgi request [12:43:23]url: /json_proto [12:43:23]query_string will be loaded in cgi processing [12:43:23]execute_cgi json_proto POST (null) [12:43:23]execute_cgi path=json_proto method=POST [12:43:23]POST find Content-Length [12:43:23]Host: 172.17.38.197:8080 [12:43:23]Content-Length: 787 [12:43:23]Content-Type: application/json [12:43:23] [12:43:23]POST finish read [12:43:23]Found Content-Length = 787 [12:43:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300137", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:43:23]execute_script... [12:43:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300137", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:43:23]POST & json_proto [12:43:23]process_json_proto [12:43:23]json parsed OK: [12:43:23]protocol is kg_v1.0 [12:43:23]action value=close_receipt [12:43:23]process_action close_receipt [12:43:23]cmd_close_receipt [12:43:23]MH_GetDate [12:43:23]Write to MH i2c: F0 00 00 15 12 16 [12:43:23]Write i2c OK [12:43:23]MH_I2C_Read... [12:43:23]Read from MH i2c: F0 [12:43:23]MH_I2C_Read... [12:43:23]Read from MH i2c: F0 09 00 [12:43:23]MH_I2C_Read... [12:43:23]Read from MH i2c: F0 09 00 15 12 00 6E 76 92 66 1E 0D 88 66 14 [12:43:23]GetLastDocTimeStamp 1720874427 [12:43:23]current date 1720874606 [12:43:23]FM_GetShiftState [12:43:23]SAM_PROTO_GetShiftState [12:43:23]wFMCommunicate request_size=4 [12:43:23]MH_SAM_APDU [12:43:23]CAPDU: 80 13 01 00 [12:43:23]Write to MH i2c: E2 08 00 16 12 80 13 01 00 00 00 00 00 A5 [12:43:23]Write i2c OK [12:43:23]MH_I2C_Read... [12:43:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:23]Read from MH i2c: E2 [12:43:23]MH_I2C_Read... [12:43:23]Read from MH i2c: E2 0E 00 [12:43:23]MH_I2C_Read... [12:43:23]Read from MH i2c: E2 0E 00 16 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 3C [12:43:23]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:43:23]wFMCommunicate OK [12:43:23]SAM_PROTO_GetShiftState done [12:43:23]FM_GetShiftState done [12:43:23]opened in 1720829646 [12:43:23]opened+sec_in_day 1720916046 [12:43:23]quantity*price = 11000 [12:43:23]sum+1 = 11001 [12:43:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 54 13.07.2024 12:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43009 ФПД: 256183229647568 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124327&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43009&fm=256183229647568&tin=02508201610067®Number=0000000000091176&sum=11000 0 [12:43:24]StoreToDocumentArchive [12:43:24]shift 445 fd 43009 [12:43:24]save to /storage/0445/doc_00043009 [12:43:24]save last doc name /storage/0445/doc_00043009 to /storage/kkm_last_doc_name [12:43:24]save OK [12:43:24]Clear old archive folders... [12:43:24]ProcessDocumentItem done err = 0, tmpTLVsize=291 [12:43:24]tlvbuf is 0158C190 [12:43:24]SAM_PROTO_ClearQueue [12:43:24]wFMCommunicate request_size=4 [12:43:24]MH_SAM_APDU [12:43:24]CAPDU: 80 09 00 00 [12:43:24]Write to MH i2c: E2 08 00 23 12 80 09 00 00 00 00 00 00 A7 [12:43:24]Write i2c OK [12:43:24]MH_I2C_Read... [12:43:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:43:24]Read from MH i2c: E2 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 23 12 00 90 00 A9 [12:43:24]RAPDU: 90 00 [12:43:24]wFMCommunicate OK [12:43:24]SAM_PROTO_ClearQueue done [12:43:24]KKMCreateOFDPacket [12:43:24]OFDProtocolAddRootSTLVToBuf [12:43:24]FM_MakeSignedData [12:43:24]FM_MakeSignedData [12:43:24]SAM_PROTO_SignData [12:43:24]wFMCommunicate request_size=4 [12:43:24]MH_SAM_APDU [12:43:24]CAPDU: 80 0D 01 02 [12:43:24]Write to MH i2c: E2 08 00 24 12 80 0D 01 02 00 00 00 00 AF [12:43:24]Write i2c OK [12:43:24]MH_I2C_Read... [12:43:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:43:24]Read from MH i2c: E2 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 24 12 00 90 00 AA [12:43:24]RAPDU: 90 00 [12:43:24]wFMCommunicate OK [12:43:24]wFMCommunicate request_size=255 [12:43:24]MH_SAM_APDU [12:43:24]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 6F 76 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [12:43:24]Write to MH i2c: E2 02 01 25 12 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 6F 76 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 F3 [12:43:24]Write i2c OK [12:43:24]MH_I2C_Read... [12:43:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:24]Read from MH i2c: E2 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 [12:43:24]MH_I2C_Read... [12:43:24]Read from MH i2c: E2 03 00 25 12 00 90 00 AB [12:43:24]RAPDU: 90 00 [12:43:24]wFMCommunicate OK [12:43:24]wFMCommunicate request_size=50 [12:43:24]MH_SAM_APDU [12:43:24]CAPDU: 80 0D 02 02 2D 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 01 A8 00 00 35 04 06 00 E8 FF 4E 66 8A D0 [12:43:24]Write to MH i2c: E2 35 00 26 12 80 0D 02 02 2D 00 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 01 A8 00 00 35 04 06 00 E8 FF 4E 66 8A D0 00 00 B2 [12:43:24]Write i2c OK [12:43:24]MH_I2C_Read... [12:43:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:25]Read from MH i2c: E2 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 03 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 03 00 26 12 00 90 00 AC [12:43:25]RAPDU: 90 00 [12:43:25]wFMCommunicate OK [12:43:25]wFMCommunicate request_size=4 [12:43:25]MH_SAM_APDU [12:43:25]CAPDU: 80 0D 03 02 [12:43:25]Write to MH i2c: E2 08 00 27 12 80 0D 03 02 00 00 00 00 B4 [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:43:25]Read from MH i2c: E2 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 0B 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 0B 00 27 12 00 A7 E0 14 C2 99 76 25 09 90 00 4F [12:43:25]RAPDU: A7 E0 14 C2 99 76 25 09 90 00 [12:43:25]wFMCommunicate OK [12:43:25]SAM_PROTO_SignData done [12:43:25]FM_MakeSignedData done [12:43:25]CreateOFDProtocolMessage [12:43:25]wFMCommunicate request_size=4 [12:43:25]MH_SAM_APDU [12:43:25]CAPDU: 80 11 00 00 [12:43:25]Write to MH i2c: E2 08 00 28 12 80 11 00 00 00 00 00 00 B4 [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:25]Read from MH i2c: E2 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 17 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: E2 17 00 28 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 0B [12:43:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:43:25]wFMCommunicate OK [12:43:25]CreateOFDProtocolMessage done [12:43:25]OFDSenderStorePacket 43009 [12:43:25]StoreOFDPacket docnum=43009 [12:43:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 37 01 00 00 01 F1 2F 01 F7 08 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 6F 76 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 01 A8 00 00 35 04 06 00 E8 FF 4E 66 8A D0 A7 E0 14 C2 99 76 25 09 [12:43:25]CheckFolder [12:43:25]dirname=/storage/ofd_packets [12:43:25]CheckFolder done [12:43:25]ProducePacketName [12:43:25]name=ofd_packets/00043009 [12:43:25]NVStorageSaveData ofd_packets/00043009 [12:43:25]File name is /storage/ofd_packets/00043009 [12:43:25]Write 341 bytes [12:43:25]NVStorageSaveData done [12:43:25]OFDSenderStorePacket done [12:43:25]KKMCreateOFDPacket done [12:43:25]NVStorageSaveData kkm_last_timestamp [12:43:25]File name is /storage/kkm_last_timestamp [12:43:25]Write 4 bytes [12:43:25]NVStorageSaveData done [12:43:25]ExternCall_PrintAddStr [12:43:25]wPrintStart [12:43:25]Write to MH i2c: 01 00 00 29 12 3B [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 07 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 07 00 29 12 00 00 00 00 00 FF 0F 50 [12:43:25]RasterBufferAndPrint [12:43:25]line Счет N : (3)300137 [12:43:25]line ИНН: 02508201610067 [12:43:25]line Контрольно-Кассовый Чек [12:43:25]line ПРОДАЖА [12:43:25]line Товар: 4870202522015 [12:43:25]line Напиток Maxi Чай Грушевый 1,2л [12:43:25]line 1.000 * 110.00 [12:43:25]line = 110.00 [12:43:25]line НДС 12% НСП 1% [12:43:25]line > о реализуемом товаре [12:43:25]line ИТОГО: 110.00 [12:43:25]line НСП 1% : 0.97 [12:43:25]line НДС 12% : 11.68 [12:43:25]line Наличными: 110.00 [12:43:25]line Безнал.: 0.00 [12:43:25]line Место: АЗС № 71 "Партнер Нефть" [12:43:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [12:43:25]line СНО: Общий режим [12:43:25]line Чек 54 13.07.2024 12:43 [12:43:25]line Смена: 445 ФФД: 1.0 [12:43:25]line ЗНМ: 0300000153 [12:43:25]line РНМ: 0000000000091176 [12:43:25]line Версия ККМ: 001 [12:43:25]line ФМ: 0000000000874935 [12:43:25]line ФД: 43009 [12:43:25]line ФПД: 256183229647568 [12:43:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T124327&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43009&fm=256183229647568&tin=02508201610067®Number=0000000000091176&sum=11000 [12:43:25]OFD Sender: Processing packet 43009 [packets to send 31, broken 30] [12:43:25]ProducePacketName [12:43:25]name=ofd_packets/00043009 [12:43:25]OFD Sender: To server: pG, [12:43:25]CommunicateWithHost lk.salyk.kg:30040 [12:43:25]ConnectInit lk.salyk.kg [12:43:25]line 0 [12:43:25]written 0, free lines is 4095 [12:43:25]Connected sock=11 [12:43:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 37 01 00 00 01 F1 2F 01 F7 08 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 6F 76 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 01 A8 00 00 35 04 06 00 E8 FF 4E 66 8A D0 A7 E0 14 C2 99 76 25 09 [12:43:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DC 41 47 00 66 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 01 A8 00 00 F4 03 04 00 69 22 92 66 B6 04 01 00 00 39 F3 42 B1 4C FF 3B EA [12:43:25]CommunicateWithHost err = 0 [12:43:25]CheckOFDResponse [12:43:25]1017 (14) - 77093643461234 [12:43:25]1041 (16) - 0000000000874935 [12:43:25]1040 (4) - 43009 [12:43:25]1012 (4) - 13.07.2024 06:44 [12:43:25]1206 (1) - 0 [12:43:25]OFD Sender: Remove packet 43009 [12:43:25]ProducePacketName [12:43:25]name=ofd_packets/00043009 [12:43:25]NVStorageDeleteData [12:43:25]Write to MH i2c: 01 00 00 52 12 64 [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 07 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: 01 07 00 52 12 00 00 00 00 00 ED 0C 64 [12:43:25]RasterBufferAndPrint [12:43:25]line [12:43:25]line [12:43:25]line [12:43:25]line [12:43:25]line [12:43:25]written 0, free lines is 3315 [12:43:25]MH_Cut [12:43:25]Write to MH i2c: D1 01 00 59 12 01 3D [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: D1 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: D1 01 00 [12:43:25]MH_I2C_Read... [12:43:25]Read from MH i2c: D1 01 00 59 12 00 3C [12:43:25]Write to MH i2c: 01 00 00 5A 12 6C [12:43:25]Write i2c OK [12:43:25]MH_I2C_Read... [12:43:26]OFD Sender: No OFD packet to send [12:43:26]*** Cut start [12:43:26]*** Partial cut [12:43:26]*** CUTSNS_PIN = 1 [12:43:26]*** CUTSNS_PIN = 0 [12:43:26]*** Brake cut motor [12:43:27]Read from MH i2c: 01 [12:43:27]MH_I2C_Read... [12:43:27]*** Stop cut motor [12:43:27]*** Cut end [12:43:27]Read from MH i2c: 01 07 00 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: 01 07 00 5A 12 00 00 00 00 00 FF 0F 81 [12:43:27]process_action close_receipt done [12:43:27]requested_data is exist [12:43:27]produce_requested_data [12:43:27]requested_item fm.sn is exist - process it [12:43:27]wFMCommunicate request_size=4 [12:43:27]MH_SAM_APDU [12:43:27]CAPDU: 80 11 00 00 [12:43:27]Write to MH i2c: E2 08 00 5B 12 80 11 00 00 00 00 00 00 E7 [12:43:27]Write i2c OK [12:43:27]MH_I2C_Read... [12:43:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:27]Read from MH i2c: E2 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 17 00 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 17 00 5B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3E [12:43:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:43:27]wFMCommunicate OK [12:43:27]requested_item fd.num is exist - process it [12:43:27]SAM_PROTO_GetFieldsCounters [12:43:27]wFMCommunicate request_size=4 [12:43:27]MH_SAM_APDU [12:43:27]CAPDU: 80 13 00 00 [12:43:27]Write to MH i2c: E2 08 00 5C 12 80 13 00 00 00 00 00 00 EA [12:43:27]Write i2c OK [12:43:27]MH_I2C_Read... [12:43:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:43:27]Read from MH i2c: E2 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 62 00 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 62 00 5C 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 01 A8 00 00 0E 04 04 00 BD 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 17 [12:43:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 01 A8 00 00 0E 04 04 00 BD 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 [12:43:27]wFMCommunicate OK [12:43:27]SAM_PROTO_GetFieldsCounters done [12:43:27]requested_item shift.num is exist - process it [12:43:27]requested_item shift.opened is exist - process it [12:43:27]req_shift_opened [12:43:27]FM_GetShiftState [12:43:27]SAM_PROTO_GetShiftState [12:43:27]wFMCommunicate request_size=4 [12:43:27]MH_SAM_APDU [12:43:27]CAPDU: 80 13 01 00 [12:43:27]Write to MH i2c: E2 08 00 5D 12 80 13 01 00 00 00 00 00 EC [12:43:27]Write i2c OK [12:43:27]MH_I2C_Read... [12:43:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:27]Read from MH i2c: E2 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 0E 00 [12:43:27]MH_I2C_Read... [12:43:27]Read from MH i2c: E2 0E 00 5D 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 83 [12:43:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:43:27]wFMCommunicate OK [12:43:27]SAM_PROTO_GetShiftState done [12:43:27]FM_GetShiftState done [12:43:27]req_shift_opened done [12:43:27]requested_item shift.open_date is exist - process it [12:43:27]req_shift_open_date [12:43:27]req_shift_open_date done [12:43:27]requested_item shift.sale.total is exist - process it [12:43:27]SAM_PROTO_GetShiftData [12:43:27]wFMCommunicate request_size=4 [12:43:27]MH_SAM_APDU [12:43:27]CAPDU: 80 13 02 00 [12:43:27]Write to MH i2c: E2 08 00 5E 12 80 13 02 00 00 00 00 00 EE [12:43:27]Write i2c OK [12:43:27]MH_I2C_Read... [12:43:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:43:28]Read from MH i2c: E2 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 5E 12 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 EC 6E 0E 70 04 03 00 3C 12 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5E 88 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 9D [12:43:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 EC 6E 0E 70 04 03 00 3C 12 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5E 88 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:43:28]wFMCommunicate OK [12:43:28]wFMCommunicate request_size=4 [12:43:28]MH_SAM_APDU [12:43:28]CAPDU: 80 17 00 00 [12:43:28]Write to MH i2c: E2 08 00 5F 12 80 17 00 00 00 00 00 00 F1 [12:43:28]Write i2c OK [12:43:28]MH_I2C_Read... [12:43:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:28]Read from MH i2c: E2 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 5F 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 13 [12:43:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:43:28]wFMCommunicate OK [12:43:28]wFMCommunicate request_size=4 [12:43:28]MH_SAM_APDU [12:43:28]CAPDU: 80 17 00 00 [12:43:28]Write to MH i2c: E2 08 00 60 12 80 17 00 00 00 00 00 00 F2 [12:43:28]Write i2c OK [12:43:28]MH_I2C_Read... [12:43:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:28]Read from MH i2c: E2 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 60 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 A9 [12:43:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:43:28]wFMCommunicate OK [12:43:28]wFMCommunicate request_size=4 [12:43:28]MH_SAM_APDU [12:43:28]CAPDU: 80 17 00 00 [12:43:28]Write to MH i2c: E2 08 00 61 12 80 17 00 00 00 00 00 00 F3 [12:43:28]Write i2c OK [12:43:28]MH_I2C_Read... [12:43:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:43:28]Read from MH i2c: E2 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 [12:43:28]MH_I2C_Read... [12:43:28]Read from MH i2c: E2 FD 00 61 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 65 [12:43:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:43:28]wFMCommunicate OK [12:43:28]wFMCommunicate request_size=4 [12:43:28]MH_SAM_APDU [12:43:28]CAPDU: 80 17 00 00 [12:43:28]Write to MH i2c: E2 08 00 62 12 80 17 00 00 00 00 00 00 F4 [12:43:28]Write i2c OK [12:43:28]MH_I2C_Read... [12:43:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:43:29]Read from MH i2c: E2 [12:43:29]MH_I2C_Read... [12:43:29]Read from MH i2c: E2 CB 00 [12:43:29]MH_I2C_Read... [12:43:29]Read from MH i2c: E2 CB 00 62 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DD [12:43:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:43:29]wFMCommunicate OK [12:43:29]SAM_PROTO_GetShiftData done [12:43:29]requested_item shift.sale.total_cash is exist - process it [12:43:29]requested_item shift.sale_refund.total is exist - process it [12:43:29]requested_item shift.sale_refund.total_cash is exist - process it [12:43:29]produce_requested_data done [12:43:29]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43009,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9459.00,"shift.sale.total_cash":7911.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [12:43:29]process_action_free close_receipt [12:43:29]json_value_free [12:43:29]json_value_free done [12:43:29]process_json_proto returns [12:43:29]Send response to host [12:43:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43009,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9459.00,"shift.sale.total_cash":7911.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [12:43:29]free response buf [12:43:29]execute_script done [12:43:29]execute_script returns [12:43:29]free content buf [12:43:29]Sock 9.Close socket [12:43:29]Sock 9.Thread stoped [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]accept exits with 7 [12:53:26]New connection [12:53:26]New thread 3067530596 created [12:53:26]Thread 3067387236 joined [12:53:26]Waiting for new connection... [12:53:26] Sock 7.Parse request [12:53:26]Sock 7.Check first char [12:53:26]Sock 7.First char is OK [12:53:26]request: POST /json_proto HTTP/1.0 [12:53:26]Method: POST [12:53:26]URL: /json_proto [12:53:26]Method is POST - this is cgi request [12:53:26]url: /json_proto [12:53:26]query_string will be loaded in cgi processing [12:53:26]execute_cgi json_proto POST (null) [12:53:26]execute_cgi path=json_proto method=POST [12:53:26]POST find Content-Length [12:53:26]Host: 172.17.38.197:8080 [12:53:26]Content-Length: 713 [12:53:26]Content-Type: application/json [12:53:26] [12:53:26]POST finish read [12:53:26]Found Content-Length = 713 [12:53:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300138", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:53:26]execute_script... [12:53:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300138", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:53:26]POST & json_proto [12:53:26]process_json_proto [12:53:26]json parsed OK: [12:53:26]protocol is kg_v1.0 [12:53:26]action value=close_receipt [12:53:26]process_action close_receipt [12:53:26]cmd_close_receipt [12:53:26]MH_GetDate [12:53:26]Write to MH i2c: F0 00 00 63 12 64 [12:53:26]Write i2c OK [12:53:26]MH_I2C_Read... [12:53:26]Read from MH i2c: F0 [12:53:26]MH_I2C_Read... [12:53:26]Read from MH i2c: F0 09 00 [12:53:26]MH_I2C_Read... [12:53:26]Read from MH i2c: F0 09 00 63 12 00 CA 78 92 66 1E 0D 88 66 C0 [12:53:26]GetLastDocTimeStamp 1720874607 [12:53:26]current date 1720875210 [12:53:26]FM_GetShiftState [12:53:26]SAM_PROTO_GetShiftState [12:53:26]wFMCommunicate request_size=4 [12:53:26]MH_SAM_APDU [12:53:26]CAPDU: 80 13 01 00 [12:53:26]Write to MH i2c: E2 08 00 64 12 80 13 01 00 00 00 00 00 F3 [12:53:26]Write i2c OK [12:53:26]MH_I2C_Read... [12:53:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:26]Read from MH i2c: E2 [12:53:26]MH_I2C_Read... [12:53:26]Read from MH i2c: E2 0E 00 [12:53:26]MH_I2C_Read... [12:53:26]Read from MH i2c: E2 0E 00 64 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8A [12:53:26]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:53:26]wFMCommunicate OK [12:53:26]SAM_PROTO_GetShiftState done [12:53:26]FM_GetShiftState done [12:53:26]opened in 1720829646 [12:53:26]opened+sec_in_day 1720916046 [12:53:26]quantity*price = 13000 [12:53:26]sum+1 = 13001 [12:53:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 55 13.07.2024 12:53 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43010 ФПД: 59349284409596 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T125330&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43010&fm=59349284409596&tin=02508201610067®Number=0000000000091176&sum=13000 0 [12:53:27]StoreToDocumentArchive [12:53:27]shift 445 fd 43010 [12:53:27]save to /storage/0445/doc_00043010 [12:53:27]save last doc name /storage/0445/doc_00043010 to /storage/kkm_last_doc_name [12:53:27]save OK [12:53:27]Clear old archive folders... [12:53:27]ProcessDocumentItem done err = 0, tmpTLVsize=261 [12:53:27]tlvbuf is 015E9400 [12:53:27]SAM_PROTO_ClearQueue [12:53:27]wFMCommunicate request_size=4 [12:53:27]MH_SAM_APDU [12:53:27]CAPDU: 80 09 00 00 [12:53:27]Write to MH i2c: E2 08 00 71 12 80 09 00 00 00 00 00 00 F5 [12:53:27]Write i2c OK [12:53:27]MH_I2C_Read... [12:53:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:53:27]Read from MH i2c: E2 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 71 12 00 90 00 F7 [12:53:27]RAPDU: 90 00 [12:53:27]wFMCommunicate OK [12:53:27]SAM_PROTO_ClearQueue done [12:53:27]KKMCreateOFDPacket [12:53:27]OFDProtocolAddRootSTLVToBuf [12:53:27]FM_MakeSignedData [12:53:27]FM_MakeSignedData [12:53:27]SAM_PROTO_SignData [12:53:27]wFMCommunicate request_size=4 [12:53:27]MH_SAM_APDU [12:53:27]CAPDU: 80 0D 01 02 [12:53:27]Write to MH i2c: E2 08 00 72 12 80 0D 01 02 00 00 00 00 FD [12:53:27]Write i2c OK [12:53:27]MH_I2C_Read... [12:53:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:53:27]Read from MH i2c: E2 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 72 12 00 90 00 F8 [12:53:27]RAPDU: 90 00 [12:53:27]wFMCommunicate OK [12:53:27]wFMCommunicate request_size=255 [12:53:27]MH_SAM_APDU [12:53:27]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 CA 78 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 [12:53:27]Write to MH i2c: E2 02 01 73 12 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 CA 78 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 D7 [12:53:27]Write i2c OK [12:53:27]MH_I2C_Read... [12:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:27]Read from MH i2c: E2 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 73 12 00 90 00 F9 [12:53:27]RAPDU: 90 00 [12:53:27]wFMCommunicate OK [12:53:27]wFMCommunicate request_size=20 [12:53:27]MH_SAM_APDU [12:53:27]CAPDU: 80 0D 02 02 0F 00 02 A8 00 00 35 04 06 00 35 FA 55 03 D0 FC [12:53:27]Write to MH i2c: E2 17 00 74 12 80 0D 02 02 0F 00 00 02 A8 00 00 35 04 06 00 35 FA 55 03 D0 FC 00 00 5A [12:53:27]Write i2c OK [12:53:27]MH_I2C_Read... [12:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:27]Read from MH i2c: E2 [12:53:27]MH_I2C_Read... [12:53:27]Read from MH i2c: E2 03 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: E2 03 00 74 12 00 90 00 FA [12:53:28]RAPDU: 90 00 [12:53:28]wFMCommunicate OK [12:53:28]wFMCommunicate request_size=4 [12:53:28]MH_SAM_APDU [12:53:28]CAPDU: 80 0D 03 02 [12:53:28]Write to MH i2c: E2 08 00 75 12 80 0D 03 02 00 00 00 00 02 [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:53:28]Read from MH i2c: E2 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: E2 0B 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: E2 0B 00 75 12 00 77 95 7C DD 57 28 7F BB 90 00 21 [12:53:28]RAPDU: 77 95 7C DD 57 28 7F BB 90 00 [12:53:28]wFMCommunicate OK [12:53:28]SAM_PROTO_SignData done [12:53:28]FM_MakeSignedData done [12:53:28]CreateOFDProtocolMessage [12:53:28]wFMCommunicate request_size=4 [12:53:28]MH_SAM_APDU [12:53:28]CAPDU: 80 11 00 00 [12:53:28]Write to MH i2c: E2 08 00 76 12 80 11 00 00 00 00 00 00 02 [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:28]Read from MH i2c: E2 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: E2 17 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: E2 17 00 76 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 59 [12:53:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:53:28]wFMCommunicate OK [12:53:28]CreateOFDProtocolMessage done [12:53:28]OFDSenderStorePacket 43010 [12:53:28]StoreOFDPacket docnum=43010 [12:53:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 19 01 00 00 D2 27 11 01 0D 8E 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 CA 78 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 02 A8 00 00 35 04 06 00 35 FA 55 03 D0 FC 77 95 7C DD 57 28 7F BB [12:53:28]CheckFolder [12:53:28]dirname=/storage/ofd_packets [12:53:28]CheckFolder done [12:53:28]ProducePacketName [12:53:28]name=ofd_packets/00043010 [12:53:28]NVStorageSaveData ofd_packets/00043010 [12:53:28]File name is /storage/ofd_packets/00043010 [12:53:28]Write 311 bytes [12:53:28]NVStorageSaveData done [12:53:28]OFDSenderStorePacket done [12:53:28]KKMCreateOFDPacket done [12:53:28]NVStorageSaveData kkm_last_timestamp [12:53:28]File name is /storage/kkm_last_timestamp [12:53:28]Write 4 bytes [12:53:28]NVStorageSaveData done [12:53:28]ExternCall_PrintAddStr [12:53:28]wPrintStart [12:53:28]Write to MH i2c: 01 00 00 77 12 89 [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 07 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 07 00 77 12 00 00 00 00 00 FF 0F 9E [12:53:28]RasterBufferAndPrint [12:53:28]line Счет N : (3)300138 [12:53:28]line ИНН: 02508201610067 [12:53:28]line Контрольно-Кассовый Чек [12:53:28]line ПРОДАЖА [12:53:28]line Товар: 48741156 [12:53:28]line Сигареты LD Blue [12:53:28]line 1.000 * 130.00 [12:53:28]line = 130.00 [12:53:28]line НДС 12% НСП 1% [12:53:28]line > о реализуемом товаре [12:53:28]line ИТОГО: 130.00 [12:53:28]line НСП 1% : 1.15 [12:53:28]line НДС 12% : 13.80 [12:53:28]line Наличными: 130.00 [12:53:28]line Безнал.: 0.00 [12:53:28]line Место: АЗС № 71 "Партнер Нефть" [12:53:28]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [12:53:28]line СНО: Общий режим [12:53:28]line Чек 55 13.07.2024 12:53 [12:53:28]line Смена: 445 ФФД: 1.0 [12:53:28]line ЗНМ: 0300000153 [12:53:28]line РНМ: 0000000000091176 [12:53:28]line Версия ККМ: 001 [12:53:28]line ФМ: 0000000000874935 [12:53:28]line ФД: 43010 [12:53:28]line ФПД: 59349284409596 [12:53:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T125330&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43010&fm=59349284409596&tin=02508201610067®Number=0000000000091176&sum=13000 [12:53:28]line 0 [12:53:28]OFD Sender: Processing packet 43010 [packets to send 31, broken 30] [12:53:28]ProducePacketName [12:53:28]name=ofd_packets/00043010 [12:53:28]OFD Sender: To server: pG, [12:53:28]CommunicateWithHost lk.salyk.kg:30040 [12:53:28]ConnectInit lk.salyk.kg [12:53:28]written 0, free lines is 4095 [12:53:28]Connected sock=10 [12:53:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 19 01 00 00 D2 27 11 01 0D 8E 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 CA 78 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 02 A8 00 00 35 04 06 00 35 FA 55 03 D0 FC 77 95 7C DD 57 28 7F BB [12:53:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 67 18 47 00 3B 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 02 A8 00 00 F4 03 04 00 C4 24 92 66 B6 04 01 00 00 6B D0 5E DF 1E 52 28 9C [12:53:28]CommunicateWithHost err = 0 [12:53:28]CheckOFDResponse [12:53:28]1017 (14) - 77093643461234 [12:53:28]1041 (16) - 0000000000874935 [12:53:28]1040 (4) - 43010 [12:53:28]1012 (4) - 13.07.2024 06:55 [12:53:28]1206 (1) - 0 [12:53:28]OFD Sender: Remove packet 43010 [12:53:28]ProducePacketName [12:53:28]name=ofd_packets/00043010 [12:53:28]NVStorageDeleteData [12:53:28]Write to MH i2c: 01 00 00 9F 12 B1 [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 07 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: 01 07 00 9F 12 00 00 00 00 00 03 0D C8 [12:53:28]RasterBufferAndPrint [12:53:28]line [12:53:28]line [12:53:28]line [12:53:28]line [12:53:28]line [12:53:28]written 0, free lines is 3337 [12:53:28]MH_Cut [12:53:28]Write to MH i2c: D1 01 00 A6 12 01 8A [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: D1 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: D1 01 00 [12:53:28]MH_I2C_Read... [12:53:28]Read from MH i2c: D1 01 00 A6 12 00 89 [12:53:28]Write to MH i2c: 01 00 00 A7 12 B9 [12:53:28]Write i2c OK [12:53:28]MH_I2C_Read... [12:53:29]OFD Sender: No OFD packet to send [12:53:29]*** Cut start [12:53:29]*** Partial cut [12:53:29]*** CUTSNS_PIN = 1 [12:53:29]*** CUTSNS_PIN = 0 [12:53:29]*** Brake cut motor [12:53:30]Read from MH i2c: 01 [12:53:30]MH_I2C_Read... [12:53:30]*** Stop cut motor [12:53:30]*** Cut end [12:53:30]Read from MH i2c: 01 07 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: 01 07 00 A7 12 00 00 00 00 00 FF 0F CE [12:53:30]process_action close_receipt done [12:53:30]requested_data is exist [12:53:30]produce_requested_data [12:53:30]requested_item fm.sn is exist - process it [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 11 00 00 [12:53:30]Write to MH i2c: E2 08 00 A8 12 80 11 00 00 00 00 00 00 34 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 17 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 17 00 A8 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 8B [12:53:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [12:53:30]wFMCommunicate OK [12:53:30]requested_item fd.num is exist - process it [12:53:30]SAM_PROTO_GetFieldsCounters [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 13 00 00 [12:53:30]Write to MH i2c: E2 08 00 A9 12 80 13 00 00 00 00 00 00 37 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 62 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 62 00 A9 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 02 A8 00 00 0E 04 04 00 BD 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 68 [12:53:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 02 A8 00 00 0E 04 04 00 BD 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 [12:53:30]wFMCommunicate OK [12:53:30]SAM_PROTO_GetFieldsCounters done [12:53:30]requested_item shift.num is exist - process it [12:53:30]requested_item shift.opened is exist - process it [12:53:30]req_shift_opened [12:53:30]FM_GetShiftState [12:53:30]SAM_PROTO_GetShiftState [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 13 01 00 [12:53:30]Write to MH i2c: E2 08 00 AA 12 80 13 01 00 00 00 00 00 39 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 0E 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 0E 00 AA 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D0 [12:53:30]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [12:53:30]wFMCommunicate OK [12:53:30]SAM_PROTO_GetShiftState done [12:53:30]FM_GetShiftState done [12:53:30]req_shift_opened done [12:53:30]requested_item shift.open_date is exist - process it [12:53:30]req_shift_open_date [12:53:30]req_shift_open_date done [12:53:30]requested_item shift.sale.total is exist - process it [12:53:30]SAM_PROTO_GetShiftData [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 13 02 00 [12:53:30]Write to MH i2c: E2 08 00 AB 12 80 13 02 00 00 00 00 00 3B [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 FD 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 FD 00 AB 12 00 AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 B4 A1 0E 70 04 03 00 04 45 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C2 8D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1E 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 BF [12:53:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 B4 A1 0E 70 04 03 00 04 45 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C2 8D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1E 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:53:30]wFMCommunicate OK [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 17 00 00 [12:53:30]Write to MH i2c: E2 08 00 AC 12 80 17 00 00 00 00 00 00 3E [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:53:31]Read from MH i2c: E2 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 AC 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 60 [12:53:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:53:31]wFMCommunicate OK [12:53:31]wFMCommunicate request_size=4 [12:53:31]MH_SAM_APDU [12:53:31]CAPDU: 80 17 00 00 [12:53:31]Write to MH i2c: E2 08 00 AD 12 80 17 00 00 00 00 00 00 3F [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:53:31]Read from MH i2c: E2 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 AD 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 F6 [12:53:31]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:53:31]wFMCommunicate OK [12:53:31]wFMCommunicate request_size=4 [12:53:31]MH_SAM_APDU [12:53:31]CAPDU: 80 17 00 00 [12:53:31]Write to MH i2c: E2 08 00 AE 12 80 17 00 00 00 00 00 00 40 [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:53:31]Read from MH i2c: E2 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: E2 FD 00 AE 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 B2 [12:53:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:53:31]wFMCommunicate OK [12:53:31]wFMCommunicate request_size=4 [12:53:31]MH_SAM_APDU [12:53:31]CAPDU: 80 17 00 00 [12:53:31]Write to MH i2c: E2 08 00 AF 12 80 17 00 00 00 00 00 00 41 [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:53:32]Read from MH i2c: E2 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: E2 CB 00 [12:53:32]MH_I2C_Read... [12:53:32]Read from MH i2c: E2 CB 00 AF 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [12:53:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:53:32]wFMCommunicate OK [12:53:32]SAM_PROTO_GetShiftData done [12:53:32]requested_item shift.sale.total_cash is exist - process it [12:53:32]requested_item shift.sale_refund.total is exist - process it [12:53:32]requested_item shift.sale_refund.total_cash is exist - process it [12:53:32]produce_requested_data done [12:53:32]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43010,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9589.00,"shift.sale.total_cash":8041.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [12:53:32]process_action_free close_receipt [12:53:32]json_value_free [12:53:32]json_value_free done [12:53:32]process_json_proto returns [12:53:32]Send response to host [12:53:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43010,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9589.00,"shift.sale.total_cash":8041.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [12:53:32]free response buf [12:53:32]execute_script done [12:53:32]execute_script returns [12:53:32]free content buf [12:53:32]Sock 7.Close socket [12:53:32]Sock 7.Thread stoped [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:51]accept exits with 9 [13:02:51]New connection [13:02:51]New thread 3067387236 created [13:02:51]Thread 3067530596 joined [13:02:51]Waiting for new connection... [13:02:51] Sock 9.Parse request [13:02:51]Sock 9.Check first char [13:02:51]Sock 9.First char is OK [13:02:51]request: POST /json_proto HTTP/1.0 [13:02:51]Method: POST [13:02:51]URL: /json_proto [13:02:51]Method is POST - this is cgi request [13:02:51]url: /json_proto [13:02:51]query_string will be loaded in cgi processing [13:02:51]execute_cgi json_proto POST (null) [13:02:51]execute_cgi path=json_proto method=POST [13:02:51]POST find Content-Length [13:02:51]Host: 172.17.38.197:8080 [13:02:51]Content-Length: 734 [13:02:51]Content-Type: application/json [13:02:51] [13:02:51]POST finish read [13:02:51]Found Content-Length = 734 [13:02:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300139", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:02:51]execute_script... [13:02:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300139", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:02:51]POST & json_proto [13:02:51]process_json_proto [13:02:51]json parsed OK: [13:02:51]protocol is kg_v1.0 [13:02:51]action value=close_receipt [13:02:51]process_action close_receipt [13:02:51]cmd_close_receipt [13:02:51]MH_GetDate [13:02:51]Write to MH i2c: F0 00 00 B0 12 B1 [13:02:51]Write i2c OK [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: F0 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: F0 09 00 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: F0 09 00 B0 12 00 FF 7A 92 66 1E 0D 88 66 44 [13:02:51]GetLastDocTimeStamp 1720875210 [13:02:51]current date 1720875775 [13:02:51]FM_GetShiftState [13:02:51]SAM_PROTO_GetShiftState [13:02:51]wFMCommunicate request_size=4 [13:02:51]MH_SAM_APDU [13:02:51]CAPDU: 80 13 01 00 [13:02:51]Write to MH i2c: E2 08 00 B1 12 80 13 01 00 00 00 00 00 40 [13:02:51]Write i2c OK [13:02:51]MH_I2C_Read... [13:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:51]Read from MH i2c: E2 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: E2 0E 00 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: E2 0E 00 B1 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D7 [13:02:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:02:51]wFMCommunicate OK [13:02:51]SAM_PROTO_GetShiftState done [13:02:51]FM_GetShiftState done [13:02:51]opened in 1720829646 [13:02:51]opened+sec_in_day 1720916046 [13:02:51]quantity*price = 5000 [13:02:51]sum+1 = 5001 [13:02:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 56 13.07.2024 13:02 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43011 ФПД: 115798975964560 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130255&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43011&fm=115798975964560&tin=02508201610067®Number=0000000000091176&sum=5000 0 [13:02:52]StoreToDocumentArchive [13:02:52]shift 445 fd 43011 [13:02:52]save to /storage/0445/doc_00043011 [13:02:52]save last doc name /storage/0445/doc_00043011 to /storage/kkm_last_doc_name [13:02:52]save OK [13:02:52]Clear old archive folders... [13:02:52]ProcessDocumentItem done err = 0, tmpTLVsize=269 [13:02:52]tlvbuf is 01579330 [13:02:52]SAM_PROTO_ClearQueue [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 09 00 00 [13:02:52]Write to MH i2c: E2 08 00 BE 12 80 09 00 00 00 00 00 00 42 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BE 12 00 90 00 44 [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]SAM_PROTO_ClearQueue done [13:02:52]KKMCreateOFDPacket [13:02:52]OFDProtocolAddRootSTLVToBuf [13:02:52]FM_MakeSignedData [13:02:52]FM_MakeSignedData [13:02:52]SAM_PROTO_SignData [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 01 02 [13:02:52]Write to MH i2c: E2 08 00 BF 12 80 0D 01 02 00 00 00 00 4A [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BF 12 00 90 00 45 [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]wFMCommunicate request_size=255 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FF 7A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [13:02:52]Write to MH i2c: E2 02 01 C0 12 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FF 7A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 C7 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 C0 12 00 90 00 46 [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]wFMCommunicate request_size=28 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 03 A8 00 00 35 04 06 00 69 51 8C D3 E5 90 [13:02:52]Write to MH i2c: E2 1F 00 C1 12 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 03 A8 00 00 35 04 06 00 69 51 8C D3 E5 90 00 00 17 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:53]Read from MH i2c: E2 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 03 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 03 00 C1 12 00 90 00 47 [13:02:53]RAPDU: 90 00 [13:02:53]wFMCommunicate OK [13:02:53]wFMCommunicate request_size=4 [13:02:53]MH_SAM_APDU [13:02:53]CAPDU: 80 0D 03 02 [13:02:53]Write to MH i2c: E2 08 00 C2 12 80 0D 03 02 00 00 00 00 4F [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:02:53]Read from MH i2c: E2 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 0B 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 0B 00 C2 12 00 A3 90 BD 4C D0 01 F6 59 90 00 AC [13:02:53]RAPDU: A3 90 BD 4C D0 01 F6 59 90 00 [13:02:53]wFMCommunicate OK [13:02:53]SAM_PROTO_SignData done [13:02:53]FM_MakeSignedData done [13:02:53]CreateOFDProtocolMessage [13:02:53]wFMCommunicate request_size=4 [13:02:53]MH_SAM_APDU [13:02:53]CAPDU: 80 11 00 00 [13:02:53]Write to MH i2c: E2 08 00 C3 12 80 11 00 00 00 00 00 00 4F [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:53]Read from MH i2c: E2 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 17 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: E2 17 00 C3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A6 [13:02:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:02:53]wFMCommunicate OK [13:02:53]CreateOFDProtocolMessage done [13:02:53]OFDSenderStorePacket 43011 [13:02:53]StoreOFDPacket docnum=43011 [13:02:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 C1 D8 19 01 9C 17 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FF 7A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 03 A8 00 00 35 04 06 00 69 51 8C D3 E5 90 A3 90 BD 4C D0 01 F6 59 [13:02:53]CheckFolder [13:02:53]dirname=/storage/ofd_packets [13:02:53]CheckFolder done [13:02:53]ProducePacketName [13:02:53]name=ofd_packets/00043011 [13:02:53]NVStorageSaveData ofd_packets/00043011 [13:02:53]File name is /storage/ofd_packets/00043011 [13:02:53]Write 319 bytes [13:02:53]NVStorageSaveData done [13:02:53]OFDSenderStorePacket done [13:02:53]KKMCreateOFDPacket done [13:02:53]NVStorageSaveData kkm_last_timestamp [13:02:53]File name is /storage/kkm_last_timestamp [13:02:53]Write 4 bytes [13:02:53]NVStorageSaveData done [13:02:53]OFD Sender: Processing packet 43011 [packets to send 31, broken 30] [13:02:53]ProducePacketName [13:02:53]name=ofd_packets/00043011 [13:02:53]OFD Sender: To server: pG, [13:02:53]CommunicateWithHost lk.salyk.kg:30040 [13:02:53]ConnectInit lk.salyk.kg [13:02:53]ExternCall_PrintAddStr [13:02:53]wPrintStart [13:02:53]Write to MH i2c: 01 00 00 C4 12 D6 [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 C4 12 00 00 00 00 00 FF 0F EB [13:02:53]RasterBufferAndPrint [13:02:53]line Счет N : (3)300139 [13:02:53]line ИНН: 02508201610067 [13:02:53]line Контрольно-Кассовый Чек [13:02:53]line ПРОДАЖА [13:02:53]line Товар: 4700000160358 [13:02:53]line Вода Легенда 1л [13:02:53]line 1.000 * 50.00 [13:02:53]line = 50.00 [13:02:53]line НДС 12% НСП 1% [13:02:53]line > о реализуемом товаре [13:02:53]line ИТОГО: 50.00 [13:02:53]line НСП 1% : 0.44 [13:02:53]line НДС 12% : 5.31 [13:02:53]line Наличными: 50.00 [13:02:53]line Безнал.: 0.00 [13:02:53]line Место: АЗС № 71 "Партнер Нефть" [13:02:53]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:02:53]line СНО: Общий режим [13:02:53]line Чек 56 13.07.2024 13:02 [13:02:53]line Смена: 445 ФФД: 1.0 [13:02:53]line ЗНМ: 0300000153 [13:02:53]line РНМ: 0000000000091176 [13:02:53]line Версия ККМ: 001 [13:02:53]line ФМ: 0000000000874935 [13:02:53]line ФД: 43011 [13:02:53]line ФПД: 115798975964560 [13:02:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130255&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43011&fm=115798975964560&tin=02508201610067®Number=0000000000091176&sum=5000 [13:02:53]line 0 [13:02:53]Connected sock=11 [13:02:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 C1 D8 19 01 9C 17 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FF 7A 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 03 A8 00 00 35 04 06 00 69 51 8C D3 E5 90 A3 90 BD 4C D0 01 F6 59 [13:02:53]written 0, free lines is 4095 [13:02:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F6 76 47 00 87 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 03 A8 00 00 F4 03 04 00 F9 26 92 66 B6 04 01 00 00 11 1E AF B5 92 23 43 C0 [13:02:53]CommunicateWithHost err = 0 [13:02:53]CheckOFDResponse [13:02:53]1017 (14) - 77093643461234 [13:02:53]1041 (16) - 0000000000874935 [13:02:53]1040 (4) - 43011 [13:02:53]1012 (4) - 13.07.2024 07:04 [13:02:53]1206 (1) - 0 [13:02:53]OFD Sender: Remove packet 43011 [13:02:53]ProducePacketName [13:02:53]name=ofd_packets/00043011 [13:02:53]NVStorageDeleteData [13:02:53]Write to MH i2c: 01 00 00 EC 12 FE [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 EC 12 00 00 00 00 00 04 0D 16 [13:02:53]RasterBufferAndPrint [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]written 0, free lines is 3341 [13:02:53]MH_Cut [13:02:53]Write to MH i2c: D1 01 00 F3 12 01 D7 [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 01 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 01 00 F3 12 00 D6 [13:02:53]Write to MH i2c: 01 00 00 F4 12 06 [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:54]OFD Sender: No OFD packet to send [13:02:54]*** Cut start [13:02:54]*** Partial cut [13:02:54]*** CUTSNS_PIN = 1 [13:02:54]*** CUTSNS_PIN = 0 [13:02:54]*** Brake cut motor [13:02:55]Read from MH i2c: 01 [13:02:55]MH_I2C_Read... [13:02:55]*** Stop cut motor [13:02:55]*** Cut end [13:02:55]Read from MH i2c: 01 07 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: 01 07 00 F4 12 00 00 00 00 00 FF 0F 1B [13:02:55]process_action close_receipt done [13:02:55]requested_data is exist [13:02:55]produce_requested_data [13:02:55]requested_item fm.sn is exist - process it [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 11 00 00 [13:02:55]Write to MH i2c: E2 08 00 F5 12 80 11 00 00 00 00 00 00 81 [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 17 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 17 00 F5 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D8 [13:02:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:02:55]wFMCommunicate OK [13:02:55]requested_item fd.num is exist - process it [13:02:55]SAM_PROTO_GetFieldsCounters [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 13 00 00 [13:02:55]Write to MH i2c: E2 08 00 F6 12 80 13 00 00 00 00 00 00 84 [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 62 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 62 00 F6 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 03 A8 00 00 0E 04 04 00 BD 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 B9 [13:02:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 03 A8 00 00 0E 04 04 00 BD 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 [13:02:55]wFMCommunicate OK [13:02:55]SAM_PROTO_GetFieldsCounters done [13:02:55]requested_item shift.num is exist - process it [13:02:55]requested_item shift.opened is exist - process it [13:02:55]req_shift_opened [13:02:55]FM_GetShiftState [13:02:55]SAM_PROTO_GetShiftState [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 13 01 00 [13:02:55]Write to MH i2c: E2 08 00 F7 12 80 13 01 00 00 00 00 00 86 [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 0E 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 0E 00 F7 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 1D [13:02:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:02:55]wFMCommunicate OK [13:02:55]SAM_PROTO_GetShiftState done [13:02:55]FM_GetShiftState done [13:02:55]req_shift_opened done [13:02:55]requested_item shift.open_date is exist - process it [13:02:55]req_shift_open_date [13:02:55]req_shift_open_date done [13:02:55]requested_item shift.sale.total is exist - process it [13:02:55]SAM_PROTO_GetShiftData [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 13 02 00 [13:02:55]Write to MH i2c: E2 08 00 F8 12 80 13 02 00 00 00 00 00 88 [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 FD 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 FD 00 F8 12 00 AE 04 AA 04 AA 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 3C B5 0E 70 04 03 00 8C 58 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 8F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 86 [13:02:56]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 3C B5 0E 70 04 03 00 8C 58 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 8F 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:02:56]wFMCommunicate OK [13:02:56]wFMCommunicate request_size=4 [13:02:56]MH_SAM_APDU [13:02:56]CAPDU: 80 17 00 00 [13:02:56]Write to MH i2c: E2 08 00 F9 12 80 17 00 00 00 00 00 00 8B [13:02:56]Write i2c OK [13:02:56]MH_I2C_Read... [13:02:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:02:56]Read from MH i2c: E2 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 F9 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 AD [13:02:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:02:56]wFMCommunicate OK [13:02:56]wFMCommunicate request_size=4 [13:02:56]MH_SAM_APDU [13:02:56]CAPDU: 80 17 00 00 [13:02:56]Write to MH i2c: E2 08 00 FA 12 80 17 00 00 00 00 00 00 8C [13:02:56]Write i2c OK [13:02:56]MH_I2C_Read... [13:02:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:02:56]Read from MH i2c: E2 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 FA 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 43 [13:02:56]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:02:56]wFMCommunicate OK [13:02:56]wFMCommunicate request_size=4 [13:02:56]MH_SAM_APDU [13:02:56]CAPDU: 80 17 00 00 [13:02:56]Write to MH i2c: E2 08 00 FB 12 80 17 00 00 00 00 00 00 8D [13:02:56]Write i2c OK [13:02:56]MH_I2C_Read... [13:02:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:02:56]Read from MH i2c: E2 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 [13:02:56]MH_I2C_Read... [13:02:56]Read from MH i2c: E2 FD 00 FB 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 FF [13:02:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:02:56]wFMCommunicate OK [13:02:56]wFMCommunicate request_size=4 [13:02:56]MH_SAM_APDU [13:02:56]CAPDU: 80 17 00 00 [13:02:56]Write to MH i2c: E2 08 00 FC 12 80 17 00 00 00 00 00 00 8E [13:02:56]Write i2c OK [13:02:56]MH_I2C_Read... [13:02:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:02:57]Read from MH i2c: E2 [13:02:57]MH_I2C_Read... [13:02:57]Read from MH i2c: E2 CB 00 [13:02:57]MH_I2C_Read... [13:02:57]Read from MH i2c: E2 CB 00 FC 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 77 [13:02:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:02:57]wFMCommunicate OK [13:02:57]SAM_PROTO_GetShiftData done [13:02:57]requested_item shift.sale.total_cash is exist - process it [13:02:57]requested_item shift.sale_refund.total is exist - process it [13:02:57]requested_item shift.sale_refund.total_cash is exist - process it [13:02:57]produce_requested_data done [13:02:57]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43011,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9639.00,"shift.sale.total_cash":8091.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:02:57]process_action_free close_receipt [13:02:57]json_value_free [13:02:57]json_value_free done [13:02:57]process_json_proto returns [13:02:57]Send response to host [13:02:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43011,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9639.00,"shift.sale.total_cash":8091.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:02:57]free response buf [13:02:57]execute_script done [13:02:57]execute_script returns [13:02:57]free content buf [13:02:57]Sock 9.Close socket [13:02:57]Sock 9.Thread stoped [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:15]accept exits with 7 [13:05:15]New connection [13:05:15]New thread 3067530596 created [13:05:15]Thread 3067387236 joined [13:05:15]Waiting for new connection... [13:05:15] Sock 7.Parse request [13:05:15]Sock 7.Check first char [13:05:15]Sock 7.First char is OK [13:05:15]request: POST /json_proto HTTP/1.0 [13:05:15]Method: POST [13:05:15]URL: /json_proto [13:05:15]Method is POST - this is cgi request [13:05:15]url: /json_proto [13:05:15]query_string will be loaded in cgi processing [13:05:15]execute_cgi json_proto POST (null) [13:05:15]execute_cgi path=json_proto method=POST [13:05:15]POST find Content-Length [13:05:15]Host: 172.17.38.197:8080 [13:05:15]Content-Length: 775 [13:05:15]Content-Type: application/json [13:05:15] [13:05:15]POST finish read [13:05:15]Found Content-Length = 775 [13:05:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300140", "tax_sys" : 0, "items" : [ { "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 82.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:05:15]execute_script... [13:05:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300140", "tax_sys" : 0, "items" : [ { "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 82.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:05:15]POST & json_proto [13:05:15]process_json_proto [13:05:15]json parsed OK: [13:05:15]protocol is kg_v1.0 [13:05:15]action value=close_receipt [13:05:15]process_action close_receipt [13:05:15]cmd_close_receipt [13:05:15]MH_GetDate [13:05:15]Write to MH i2c: F0 00 00 FD 12 FE [13:05:15]Write i2c OK [13:05:15]MH_I2C_Read... [13:05:15]Read from MH i2c: F0 [13:05:15]MH_I2C_Read... [13:05:15]Read from MH i2c: F0 09 00 [13:05:15]MH_I2C_Read... [13:05:15]Read from MH i2c: F0 09 00 FD 12 00 8E 7B 92 66 1E 0D 88 66 21 [13:05:15]GetLastDocTimeStamp 1720875775 [13:05:15]current date 1720875918 [13:05:15]FM_GetShiftState [13:05:15]SAM_PROTO_GetShiftState [13:05:15]wFMCommunicate request_size=4 [13:05:15]MH_SAM_APDU [13:05:15]CAPDU: 80 13 01 00 [13:05:15]Write to MH i2c: E2 08 00 FE 12 80 13 01 00 00 00 00 00 8D [13:05:15]Write i2c OK [13:05:15]MH_I2C_Read... [13:05:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:15]Read from MH i2c: E2 [13:05:15]MH_I2C_Read... [13:05:15]Read from MH i2c: E2 0E 00 [13:05:15]MH_I2C_Read... [13:05:15]Read from MH i2c: E2 0E 00 FE 12 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 24 [13:05:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:05:15]wFMCommunicate OK [13:05:15]SAM_PROTO_GetShiftState done [13:05:15]FM_GetShiftState done [13:05:15]opened in 1720829646 [13:05:15]opened+sec_in_day 1720916046 [13:05:15]quantity*price = 8200 [13:05:15]sum+1 = 8201 [13:05:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 82.00 НСП 1% : 0.73 НДС 12% : 8.71 Наличными: 82.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 57 13.07.2024 13:05 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43012 ФПД: 183508890107187 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130518&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43012&fm=183508890107187&tin=02508201610067®Number=0000000000091176&sum=8200 0 [13:05:16]StoreToDocumentArchive [13:05:16]shift 445 fd 43012 [13:05:16]save to /storage/0445/doc_00043012 [13:05:16]save last doc name /storage/0445/doc_00043012 to /storage/kkm_last_doc_name [13:05:16]save OK [13:05:16]Clear old archive folders... [13:05:16]ProcessDocumentItem done err = 0, tmpTLVsize=290 [13:05:16]tlvbuf is 01572FF0 [13:05:16]SAM_PROTO_ClearQueue [13:05:16]wFMCommunicate request_size=4 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 09 00 00 [13:05:16]Write to MH i2c: E2 08 00 0B 13 80 09 00 00 00 00 00 00 90 [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 0B 13 00 90 00 92 [13:05:16]RAPDU: 90 00 [13:05:16]wFMCommunicate OK [13:05:16]SAM_PROTO_ClearQueue done [13:05:16]KKMCreateOFDPacket [13:05:16]OFDProtocolAddRootSTLVToBuf [13:05:16]FM_MakeSignedData [13:05:16]FM_MakeSignedData [13:05:16]SAM_PROTO_SignData [13:05:16]wFMCommunicate request_size=4 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 0D 01 02 [13:05:16]Write to MH i2c: E2 08 00 0C 13 80 0D 01 02 00 00 00 00 98 [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 0C 13 00 90 00 93 [13:05:16]RAPDU: 90 00 [13:05:16]wFMCommunicate OK [13:05:16]wFMCommunicate request_size=255 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 8E 7B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:05:16]Write to MH i2c: E2 02 01 0D 13 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 8E 7B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 66 [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 0D 13 00 90 00 94 [13:05:16]RAPDU: 90 00 [13:05:16]wFMCommunicate OK [13:05:16]wFMCommunicate request_size=49 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 0D 02 02 2C 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 04 A8 00 00 35 04 06 00 A6 E6 7E 35 3D 33 [13:05:16]Write to MH i2c: E2 34 00 0E 13 80 0D 02 02 2C 00 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 04 A8 00 00 35 04 06 00 A6 E6 7E 35 3D 33 00 00 26 [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 03 00 0E 13 00 90 00 95 [13:05:16]RAPDU: 90 00 [13:05:16]wFMCommunicate OK [13:05:16]wFMCommunicate request_size=4 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 0D 03 02 [13:05:16]Write to MH i2c: E2 08 00 0F 13 80 0D 03 02 00 00 00 00 9D [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 0B 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 0B 00 0F 13 00 87 32 75 3E 74 00 71 DB 90 00 CA [13:05:16]RAPDU: 87 32 75 3E 74 00 71 DB 90 00 [13:05:16]wFMCommunicate OK [13:05:16]SAM_PROTO_SignData done [13:05:16]FM_MakeSignedData done [13:05:16]CreateOFDProtocolMessage [13:05:16]wFMCommunicate request_size=4 [13:05:16]MH_SAM_APDU [13:05:16]CAPDU: 80 11 00 00 [13:05:16]Write to MH i2c: E2 08 00 10 13 80 11 00 00 00 00 00 00 9D [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:05:16]Read from MH i2c: E2 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 17 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: E2 17 00 10 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F4 [13:05:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:05:16]wFMCommunicate OK [13:05:16]CreateOFDProtocolMessage done [13:05:16]OFDSenderStorePacket 43012 [13:05:16]StoreOFDPacket docnum=43012 [13:05:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 36 01 00 00 69 F2 2E 01 FF 9D 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 8E 7B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 04 A8 00 00 35 04 06 00 A6 E6 7E 35 3D 33 87 32 75 3E 74 00 71 DB [13:05:16]CheckFolder [13:05:16]dirname=/storage/ofd_packets [13:05:16]CheckFolder done [13:05:16]ProducePacketName [13:05:16]name=ofd_packets/00043012 [13:05:16]NVStorageSaveData ofd_packets/00043012 [13:05:16]File name is /storage/ofd_packets/00043012 [13:05:16]Write 340 bytes [13:05:16]NVStorageSaveData done [13:05:16]OFDSenderStorePacket done [13:05:16]KKMCreateOFDPacket done [13:05:16]NVStorageSaveData kkm_last_timestamp [13:05:16]File name is /storage/kkm_last_timestamp [13:05:16]Write 4 bytes [13:05:16]NVStorageSaveData done [13:05:16]OFD Sender: Processing packet 43012 [packets to send 31, broken 30] [13:05:16]ProducePacketName [13:05:16]name=ofd_packets/00043012 [13:05:16]OFD Sender: To server: pG, [13:05:16]CommunicateWithHost lk.salyk.kg:30040 [13:05:16]ConnectInit lk.salyk.kg [13:05:16]ExternCall_PrintAddStr [13:05:16]wPrintStart [13:05:16]Write to MH i2c: 01 00 00 11 13 24 [13:05:16]Write i2c OK [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: 01 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: 01 07 00 [13:05:16]MH_I2C_Read... [13:05:16]Read from MH i2c: 01 07 00 11 13 00 00 00 00 00 FF 0F 39 [13:05:16]RasterBufferAndPrint [13:05:16]line Счет N : (3)300140 [13:05:16]line ИНН: 02508201610067 [13:05:16]line Контрольно-Кассовый Чек [13:05:16]line ПРОДАЖА [13:05:16]line Товар: 4700000483334 [13:05:16]line Напиток Nitro Fresh Дикие ягоды [13:05:16]line 1.000 * 82.00 [13:05:16]line = 82.00 [13:05:16]line НДС 12% НСП 1% [13:05:16]line > о реализуемом товаре [13:05:16]line ИТОГО: 82.00 [13:05:16]line НСП 1% : 0.73 [13:05:16]line НДС 12% : 8.71 [13:05:16]line Наличными: 82.00 [13:05:16]line Безнал.: 0.00 [13:05:16]line Место: АЗС № 71 "Партнер Нефть" [13:05:16]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:05:16]line СНО: Общий режим [13:05:16]line Чек 57 13.07.2024 13:05 [13:05:16]line Смена: 445 ФФД: 1.0 [13:05:16]line ЗНМ: 0300000153 [13:05:16]line РНМ: 0000000000091176 [13:05:16]line Версия ККМ: 001 [13:05:16]line ФМ: 0000000000874935 [13:05:16]line ФД: 43012 [13:05:16]line ФПД: 183508890107187 [13:05:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T130518&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43012&fm=183508890107187&tin=02508201610067®Number=0000000000091176&sum=8200 [13:05:17]line 0 [13:05:17]Connected sock=11 [13:05:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 36 01 00 00 69 F2 2E 01 FF 9D 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 8E 7B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 04 A8 00 00 35 04 06 00 A6 E6 7E 35 3D 33 87 32 75 3E 74 00 71 DB [13:05:17]written 0, free lines is 4095 [13:05:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 96 C2 47 00 1A AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 04 A8 00 00 F4 03 04 00 89 27 92 66 B6 04 01 00 00 15 3B 0E 2C 62 03 04 E3 [13:05:17]CommunicateWithHost err = 0 [13:05:17]CheckOFDResponse [13:05:17]1017 (14) - 77093643461234 [13:05:17]1041 (16) - 0000000000874935 [13:05:17]1040 (4) - 43012 [13:05:17]1012 (4) - 13.07.2024 07:06 [13:05:17]1206 (1) - 0 [13:05:17]OFD Sender: Remove packet 43012 [13:05:17]ProducePacketName [13:05:17]name=ofd_packets/00043012 [13:05:17]NVStorageDeleteData [13:05:17]Write to MH i2c: 01 00 00 3A 13 4D [13:05:17]Write i2c OK [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: 01 [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: 01 07 00 [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: 01 07 00 3A 13 00 00 00 00 00 E7 0C 47 [13:05:17]RasterBufferAndPrint [13:05:17]line [13:05:17]line [13:05:17]line [13:05:17]line [13:05:17]line [13:05:17]written 0, free lines is 3310 [13:05:17]MH_Cut [13:05:17]Write to MH i2c: D1 01 00 41 13 01 26 [13:05:17]Write i2c OK [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: D1 [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: D1 01 00 [13:05:17]MH_I2C_Read... [13:05:17]Read from MH i2c: D1 01 00 41 13 00 25 [13:05:17]Write to MH i2c: 01 00 00 42 13 55 [13:05:17]Write i2c OK [13:05:17]MH_I2C_Read... [13:05:18]OFD Sender: No OFD packet to send [13:05:18]*** Cut start [13:05:18]*** Partial cut [13:05:18]*** CUTSNS_PIN = 1 [13:05:18]*** CUTSNS_PIN = 0 [13:05:18]*** Brake cut motor [13:05:19]Read from MH i2c: 01 [13:05:19]MH_I2C_Read... [13:05:19]*** Stop cut motor [13:05:19]*** Cut end [13:05:19]Read from MH i2c: 01 07 00 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: 01 07 00 42 13 00 00 00 00 00 FF 0F 6A [13:05:19]process_action close_receipt done [13:05:19]requested_data is exist [13:05:19]produce_requested_data [13:05:19]requested_item fm.sn is exist - process it [13:05:19]wFMCommunicate request_size=4 [13:05:19]MH_SAM_APDU [13:05:19]CAPDU: 80 11 00 00 [13:05:19]Write to MH i2c: E2 08 00 43 13 80 11 00 00 00 00 00 00 D0 [13:05:19]Write i2c OK [13:05:19]MH_I2C_Read... [13:05:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:05:19]Read from MH i2c: E2 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 17 00 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 17 00 43 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 27 [13:05:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:05:19]wFMCommunicate OK [13:05:19]requested_item fd.num is exist - process it [13:05:19]SAM_PROTO_GetFieldsCounters [13:05:19]wFMCommunicate request_size=4 [13:05:19]MH_SAM_APDU [13:05:19]CAPDU: 80 13 00 00 [13:05:19]Write to MH i2c: E2 08 00 44 13 80 13 00 00 00 00 00 00 D3 [13:05:19]Write i2c OK [13:05:19]MH_I2C_Read... [13:05:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:05:19]Read from MH i2c: E2 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 62 00 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 62 00 44 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 04 A8 00 00 0E 04 04 00 BD 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 0C [13:05:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 04 A8 00 00 0E 04 04 00 BD 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 [13:05:19]wFMCommunicate OK [13:05:19]SAM_PROTO_GetFieldsCounters done [13:05:19]requested_item shift.num is exist - process it [13:05:19]requested_item shift.opened is exist - process it [13:05:19]req_shift_opened [13:05:19]FM_GetShiftState [13:05:19]SAM_PROTO_GetShiftState [13:05:19]wFMCommunicate request_size=4 [13:05:19]MH_SAM_APDU [13:05:19]CAPDU: 80 13 01 00 [13:05:19]Write to MH i2c: E2 08 00 45 13 80 13 01 00 00 00 00 00 D5 [13:05:19]Write i2c OK [13:05:19]MH_I2C_Read... [13:05:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:19]Read from MH i2c: E2 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 0E 00 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 0E 00 45 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6C [13:05:19]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:05:19]wFMCommunicate OK [13:05:19]SAM_PROTO_GetShiftState done [13:05:19]FM_GetShiftState done [13:05:19]req_shift_opened done [13:05:19]requested_item shift.open_date is exist - process it [13:05:19]req_shift_open_date [13:05:19]req_shift_open_date done [13:05:19]requested_item shift.sale.total is exist - process it [13:05:19]SAM_PROTO_GetShiftData [13:05:19]wFMCommunicate request_size=4 [13:05:19]MH_SAM_APDU [13:05:19]CAPDU: 80 13 02 00 [13:05:19]Write to MH i2c: E2 08 00 46 13 80 13 02 00 00 00 00 00 D7 [13:05:19]Write i2c OK [13:05:19]MH_I2C_Read... [13:05:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:05:19]Read from MH i2c: E2 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 FD 00 [13:05:19]MH_I2C_Read... [13:05:19]Read from MH i2c: E2 FD 00 46 13 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 44 D5 0E 70 04 03 00 94 78 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3C 93 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 93 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DB [13:05:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 44 D5 0E 70 04 03 00 94 78 0C 72 04 03 00 B0 5C 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3C 93 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 93 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:05:19]wFMCommunicate OK [13:05:19]wFMCommunicate request_size=4 [13:05:19]MH_SAM_APDU [13:05:19]CAPDU: 80 17 00 00 [13:05:19]Write to MH i2c: E2 08 00 47 13 80 17 00 00 00 00 00 00 DA [13:05:19]Write i2c OK [13:05:19]MH_I2C_Read... [13:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:05:20]Read from MH i2c: E2 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 47 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FC [13:05:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:05:20]wFMCommunicate OK [13:05:20]wFMCommunicate request_size=4 [13:05:20]MH_SAM_APDU [13:05:20]CAPDU: 80 17 00 00 [13:05:20]Write to MH i2c: E2 08 00 48 13 80 17 00 00 00 00 00 00 DB [13:05:20]Write i2c OK [13:05:20]MH_I2C_Read... [13:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:05:20]Read from MH i2c: E2 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 48 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 92 [13:05:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:05:20]wFMCommunicate OK [13:05:20]wFMCommunicate request_size=4 [13:05:20]MH_SAM_APDU [13:05:20]CAPDU: 80 17 00 00 [13:05:20]Write to MH i2c: E2 08 00 49 13 80 17 00 00 00 00 00 00 DC [13:05:20]Write i2c OK [13:05:20]MH_I2C_Read... [13:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:05:20]Read from MH i2c: E2 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 [13:05:20]MH_I2C_Read... [13:05:20]Read from MH i2c: E2 FD 00 49 13 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 4E [13:05:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:05:20]wFMCommunicate OK [13:05:20]wFMCommunicate request_size=4 [13:05:20]MH_SAM_APDU [13:05:20]CAPDU: 80 17 00 00 [13:05:20]Write to MH i2c: E2 08 00 4A 13 80 17 00 00 00 00 00 00 DD [13:05:20]Write i2c OK [13:05:20]MH_I2C_Read... [13:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:05:21]Read from MH i2c: E2 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: E2 CB 00 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: E2 CB 00 4A 13 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [13:05:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:05:21]wFMCommunicate OK [13:05:21]SAM_PROTO_GetShiftData done [13:05:21]requested_item shift.sale.total_cash is exist - process it [13:05:21]requested_item shift.sale_refund.total is exist - process it [13:05:21]requested_item shift.sale_refund.total_cash is exist - process it [13:05:21]produce_requested_data done [13:05:21]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43012,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9721.00,"shift.sale.total_cash":8173.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:05:21]process_action_free close_receipt [13:05:21]json_value_free [13:05:21]json_value_free done [13:05:21]process_json_proto returns [13:05:21]Send response to host [13:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43012,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9721.00,"shift.sale.total_cash":8173.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:05:21]free response buf [13:05:21]execute_script done [13:05:21]execute_script returns [13:05:21]free content buf [13:05:21]Sock 7.Close socket [13:05:21]Sock 7.Thread stoped [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:40]accept exits with 9 [13:13:40]New connection [13:13:40]New thread 3067387236 created [13:13:40]Thread 3067530596 joined [13:13:40]Waiting for new connection... [13:13:40] Sock 9.Parse request [13:13:40]Sock 9.Check first char [13:13:40]Sock 9.First char is OK [13:13:40]request: POST /json_proto HTTP/1.0 [13:13:40]Method: POST [13:13:40]URL: /json_proto [13:13:40]Method is POST - this is cgi request [13:13:40]url: /json_proto [13:13:40]query_string will be loaded in cgi processing [13:13:40]execute_cgi json_proto POST (null) [13:13:40]execute_cgi path=json_proto method=POST [13:13:40]POST find Content-Length [13:13:40]Host: 172.17.38.197:8080 [13:13:40]Content-Length: 951 [13:13:40]Content-Type: application/json [13:13:40] [13:13:40]POST finish read [13:13:40]Found Content-Length = 951 [13:13:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300141", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:13:40]execute_script... [13:13:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300141", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:13:40]POST & json_proto [13:13:40]process_json_proto [13:13:40]json parsed OK: [13:13:40]protocol is kg_v1.0 [13:13:40]action value=close_receipt [13:13:40]process_action close_receipt [13:13:40]cmd_close_receipt [13:13:40]MH_GetDate [13:13:40]Write to MH i2c: F0 00 00 4B 13 4D [13:13:40]Write i2c OK [13:13:40]MH_I2C_Read... [13:13:40]Read from MH i2c: F0 [13:13:40]MH_I2C_Read... [13:13:40]Read from MH i2c: F0 09 00 [13:13:40]MH_I2C_Read... [13:13:40]Read from MH i2c: F0 09 00 4B 13 00 88 7D 92 66 1E 0D 88 66 6C [13:13:40]GetLastDocTimeStamp 1720875918 [13:13:40]current date 1720876424 [13:13:40]FM_GetShiftState [13:13:40]SAM_PROTO_GetShiftState [13:13:40]wFMCommunicate request_size=4 [13:13:40]MH_SAM_APDU [13:13:40]CAPDU: 80 13 01 00 [13:13:40]Write to MH i2c: E2 08 00 4C 13 80 13 01 00 00 00 00 00 DC [13:13:40]Write i2c OK [13:13:40]MH_I2C_Read... [13:13:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:40]Read from MH i2c: E2 [13:13:40]MH_I2C_Read... [13:13:40]Read from MH i2c: E2 0E 00 [13:13:40]MH_I2C_Read... [13:13:40]Read from MH i2c: E2 0E 00 4C 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 73 [13:13:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:13:40]wFMCommunicate OK [13:13:40]SAM_PROTO_GetShiftState done [13:13:40]FM_GetShiftState done [13:13:40]opened in 1720829646 [13:13:40]opened+sec_in_day 1720916046 [13:13:40]quantity*price = 13000 [13:13:40]sum+1 = 13001 [13:13:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 58 13.07.2024 13:13 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43013 ФПД: 112126538062188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131344&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43013&fm=112126538062188&tin=02508201610067®Number=0000000000091176&sum=13000 0 [13:13:41]StoreToDocumentArchive [13:13:41]shift 445 fd 43013 [13:13:41]save to /storage/0445/doc_00043013 [13:13:41]save last doc name /storage/0445/doc_00043013 to /storage/kkm_last_doc_name [13:13:41]save OK [13:13:41]Clear old archive folders... [13:13:41]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:13:41]tlvbuf is 01578ED0 [13:13:41]SAM_PROTO_ClearQueue [13:13:41]wFMCommunicate request_size=4 [13:13:41]MH_SAM_APDU [13:13:41]CAPDU: 80 09 00 00 [13:13:41]Write to MH i2c: E2 08 00 59 13 80 09 00 00 00 00 00 00 DE [13:13:41]Write i2c OK [13:13:41]MH_I2C_Read... [13:13:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:41]Read from MH i2c: E2 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 59 13 00 90 00 E0 [13:13:41]RAPDU: 90 00 [13:13:41]wFMCommunicate OK [13:13:41]SAM_PROTO_ClearQueue done [13:13:41]KKMCreateOFDPacket [13:13:41]OFDProtocolAddRootSTLVToBuf [13:13:41]FM_MakeSignedData [13:13:41]FM_MakeSignedData [13:13:41]SAM_PROTO_SignData [13:13:41]wFMCommunicate request_size=4 [13:13:41]MH_SAM_APDU [13:13:41]CAPDU: 80 0D 01 02 [13:13:41]Write to MH i2c: E2 08 00 5A 13 80 0D 01 02 00 00 00 00 E6 [13:13:41]Write i2c OK [13:13:41]MH_I2C_Read... [13:13:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:41]Read from MH i2c: E2 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 5A 13 00 90 00 E1 [13:13:41]RAPDU: 90 00 [13:13:41]wFMCommunicate OK [13:13:41]wFMCommunicate request_size=255 [13:13:41]MH_SAM_APDU [13:13:41]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 88 7D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 [13:13:41]Write to MH i2c: E2 02 01 5B 13 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 88 7D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 00 00 E9 [13:13:41]Write i2c OK [13:13:41]MH_I2C_Read... [13:13:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:41]Read from MH i2c: E2 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 [13:13:41]MH_I2C_Read... [13:13:41]Read from MH i2c: E2 03 00 5B 13 00 90 00 E2 [13:13:41]RAPDU: 90 00 [13:13:41]wFMCommunicate OK [13:13:41]wFMCommunicate request_size=41 [13:13:41]MH_SAM_APDU [13:13:41]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 05 A8 00 00 35 04 06 00 65 FA 7E 78 99 6C [13:13:41]Write to MH i2c: E2 2C 00 5C 13 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 05 A8 00 00 35 04 06 00 65 FA 7E 78 99 6C 00 00 C3 [13:13:41]Write i2c OK [13:13:41]MH_I2C_Read... [13:13:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:42]Read from MH i2c: E2 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 03 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 03 00 5C 13 00 90 00 E3 [13:13:42]RAPDU: 90 00 [13:13:42]wFMCommunicate OK [13:13:42]wFMCommunicate request_size=4 [13:13:42]MH_SAM_APDU [13:13:42]CAPDU: 80 0D 03 02 [13:13:42]Write to MH i2c: E2 08 00 5D 13 80 0D 03 02 00 00 00 00 EB [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:42]Read from MH i2c: E2 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 0B 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 0B 00 5D 13 00 E6 73 9C 77 EF 51 E2 68 90 00 E2 [13:13:42]RAPDU: E6 73 9C 77 EF 51 E2 68 90 00 [13:13:42]wFMCommunicate OK [13:13:42]SAM_PROTO_SignData done [13:13:42]FM_MakeSignedData done [13:13:42]CreateOFDProtocolMessage [13:13:42]wFMCommunicate request_size=4 [13:13:42]MH_SAM_APDU [13:13:42]CAPDU: 80 11 00 00 [13:13:42]Write to MH i2c: E2 08 00 5E 13 80 11 00 00 00 00 00 00 EB [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:42]Read from MH i2c: E2 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 17 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: E2 17 00 5E 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 42 [13:13:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:13:42]wFMCommunicate OK [13:13:42]CreateOFDProtocolMessage done [13:13:42]OFDSenderStorePacket 43013 [13:13:42]StoreOFDPacket docnum=43013 [13:13:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2E 01 00 00 B8 FD 26 01 0A DB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 88 7D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 05 A8 00 00 35 04 06 00 65 FA 7E 78 99 6C E6 73 9C 77 EF 51 E2 68 [13:13:42]CheckFolder [13:13:42]dirname=/storage/ofd_packets [13:13:42]CheckFolder done [13:13:42]ProducePacketName [13:13:42]name=ofd_packets/00043013 [13:13:42]NVStorageSaveData ofd_packets/00043013 [13:13:42]File name is /storage/ofd_packets/00043013 [13:13:42]Write 332 bytes [13:13:42]NVStorageSaveData done [13:13:42]OFDSenderStorePacket done [13:13:42]KKMCreateOFDPacket done [13:13:42]NVStorageSaveData kkm_last_timestamp [13:13:42]File name is /storage/kkm_last_timestamp [13:13:42]Write 4 bytes [13:13:42]NVStorageSaveData done [13:13:42]ExternCall_PrintAddStr [13:13:42]wPrintStart [13:13:42]Write to MH i2c: 01 00 00 5F 13 72 [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 07 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 07 00 5F 13 00 00 00 00 00 FF 0F 87 [13:13:42]RasterBufferAndPrint [13:13:42]line Счет N : (3)300141 [13:13:42]line ИНН: 02508201610067 [13:13:42]line Контрольно-Кассовый Чек [13:13:42]line ПРОДАЖА [13:13:42]line Товар: 2000036220012 [13:13:42]line Кофе Капучино XL(GABB TRADE) [13:13:42]line 1.000 * 130.00 [13:13:42]line = 130.00 [13:13:42]line НДС 12% НСП 1% [13:13:42]line > о реализуемом товаре [13:13:42]line ИТОГО: 130.00 [13:13:42]line НСП 1% : 1.15 [13:13:42]line НДС 12% : 13.80 [13:13:42]line Наличными: 0.00 [13:13:42]line Безнал.: 130.00 [13:13:42]line Место: АЗС № 71 "Партнер Нефть" [13:13:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:13:42]line СНО: Общий режим [13:13:42]line Чек 58 13.07.2024 13:13 [13:13:42]line Смена: 445 ФФД: 1.0 [13:13:42]line ЗНМ: 0300000153 [13:13:42]line РНМ: 0000000000091176 [13:13:42]line Версия ККМ: 001 [13:13:42]line Платежная система: АКБ Кыргызстан [13:13:42]line ФМ: 0000000000874935 [13:13:42]line ФД: 43013 [13:13:42]line ФПД: 112126538062188 [13:13:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131344&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43013&fm=112126538062188&tin=02508201610067®Number=0000000000091176&sum=13000 [13:13:42]line 0 [13:13:42]OFD Sender: Processing packet 43013 [packets to send 31, broken 30] [13:13:42]ProducePacketName [13:13:42]name=ofd_packets/00043013 [13:13:42]OFD Sender: To server: pG, [13:13:42]CommunicateWithHost lk.salyk.kg:30040 [13:13:42]ConnectInit lk.salyk.kg [13:13:42]written 0, free lines is 4095 [13:13:42]Connected sock=11 [13:13:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2E 01 00 00 B8 FD 26 01 0A DB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 88 7D 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 05 A8 00 00 35 04 06 00 65 FA 7E 78 99 6C E6 73 9C 77 EF 51 E2 68 [13:13:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 B4 1A 47 00 B4 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 38 37 34 39 33 35 10 04 04 00 05 A8 00 00 F4 03 04 00 82 29 92 66 B6 04 01 00 00 E3 2A 60 A6 D4 8D 0C F3 [13:13:42]CommunicateWithHost err = 0 [13:13:42]CheckOFDResponse [13:13:42]1017 (14) - 77093643461234 [13:13:42]1041 (16) - 0000000000874935 [13:13:42]1040 (4) - 43013 [13:13:42]1012 (4) - 13.07.2024 07:15 [13:13:42]1206 (1) - 0 [13:13:42]OFD Sender: Remove packet 43013 [13:13:42]ProducePacketName [13:13:42]name=ofd_packets/00043013 [13:13:42]NVStorageDeleteData [13:13:42]Write to MH i2c: 01 00 00 8A 13 9D [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 07 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: 01 07 00 8A 13 00 00 00 00 00 E3 0C 93 [13:13:42]RasterBufferAndPrint [13:13:42]line [13:13:42]line [13:13:42]line [13:13:42]line [13:13:42]line [13:13:42]written 0, free lines is 3305 [13:13:42]MH_Cut [13:13:42]Write to MH i2c: D1 01 00 91 13 01 76 [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: D1 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: D1 01 00 [13:13:42]MH_I2C_Read... [13:13:42]Read from MH i2c: D1 01 00 91 13 00 75 [13:13:42]Write to MH i2c: 01 00 00 92 13 A5 [13:13:42]Write i2c OK [13:13:42]MH_I2C_Read... [13:13:43]OFD Sender: No OFD packet to send [13:13:43]*** Cut start [13:13:43]*** Partial cut [13:13:43]*** CUTSNS_PIN = 1 [13:13:43]*** CUTSNS_PIN = 0 [13:13:43]*** Brake cut motor [13:13:44]Read from MH i2c: 01 [13:13:44]MH_I2C_Read... [13:13:44]*** Stop cut motor [13:13:44]*** Cut end [13:13:44]Read from MH i2c: 01 07 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: 01 07 00 92 13 00 00 00 00 00 FF 0F BA [13:13:44]process_action close_receipt done [13:13:44]requested_data is exist [13:13:44]produce_requested_data [13:13:44]requested_item fm.sn is exist - process it [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 11 00 00 [13:13:44]Write to MH i2c: E2 08 00 93 13 80 11 00 00 00 00 00 00 20 [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 17 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 17 00 93 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 77 [13:13:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:13:44]wFMCommunicate OK [13:13:44]requested_item fd.num is exist - process it [13:13:44]SAM_PROTO_GetFieldsCounters [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 13 00 00 [13:13:44]Write to MH i2c: E2 08 00 94 13 80 13 00 00 00 00 00 00 23 [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 62 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 62 00 94 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 05 A8 00 00 0E 04 04 00 BD 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 60 [13:13:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 05 A8 00 00 0E 04 04 00 BD 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:13:44]wFMCommunicate OK [13:13:44]SAM_PROTO_GetFieldsCounters done [13:13:44]requested_item shift.num is exist - process it [13:13:44]requested_item shift.opened is exist - process it [13:13:44]req_shift_opened [13:13:44]FM_GetShiftState [13:13:44]SAM_PROTO_GetShiftState [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 13 01 00 [13:13:44]Write to MH i2c: E2 08 00 95 13 80 13 01 00 00 00 00 00 25 [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 0E 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 0E 00 95 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BC [13:13:44]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:13:44]wFMCommunicate OK [13:13:44]SAM_PROTO_GetShiftState done [13:13:44]FM_GetShiftState done [13:13:44]req_shift_opened done [13:13:44]requested_item shift.open_date is exist - process it [13:13:44]req_shift_open_date [13:13:44]req_shift_open_date done [13:13:44]requested_item shift.sale.total is exist - process it [13:13:44]SAM_PROTO_GetShiftData [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 13 02 00 [13:13:44]Write to MH i2c: E2 08 00 96 13 80 13 02 00 00 00 00 00 27 [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 FD 00 [13:13:44]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 96 13 00 AE 04 AA 04 AA 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 0C 08 0F 70 04 03 00 94 78 0C 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 98 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 06 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 01 [13:13:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 0C 08 0F 70 04 03 00 94 78 0C 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 98 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 06 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 17 00 00 [13:13:45]Write to MH i2c: E2 08 00 97 13 80 17 00 00 00 00 00 00 2A [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 97 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4C [13:13:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 17 00 00 [13:13:45]Write to MH i2c: E2 08 00 98 13 80 17 00 00 00 00 00 00 2B [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 98 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E2 [13:13:45]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 17 00 00 [13:13:45]Write to MH i2c: E2 08 00 99 13 80 17 00 00 00 00 00 00 2C [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 FD 00 99 13 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9E [13:13:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 17 00 00 [13:13:45]Write to MH i2c: E2 08 00 9A 13 80 17 00 00 00 00 00 00 2D [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:13:46]Read from MH i2c: E2 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 CB 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: E2 CB 00 9A 13 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 16 [13:13:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:13:46]wFMCommunicate OK [13:13:46]SAM_PROTO_GetShiftData done [13:13:46]requested_item shift.sale.total_cash is exist - process it [13:13:46]requested_item shift.sale_refund.total is exist - process it [13:13:46]requested_item shift.sale_refund.total_cash is exist - process it [13:13:46]produce_requested_data done [13:13:46]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43013,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9851.00,"shift.sale.total_cash":8173.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:13:46]process_action_free close_receipt [13:13:46]json_value_free [13:13:46]json_value_free done [13:13:46]process_json_proto returns [13:13:46]Send response to host [13:13:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43013,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":9851.00,"shift.sale.total_cash":8173.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:13:46]free response buf [13:13:46]execute_script done [13:13:46]execute_script returns [13:13:46]free content buf [13:13:46]Sock 9.Close socket [13:13:46]Sock 9.Thread stoped [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:10]accept exits with 7 [13:17:10]New connection [13:17:10]New thread 3067530596 created [13:17:10]Thread 3067387236 joined [13:17:10]Waiting for new connection... [13:17:10] Sock 7.Parse request [13:17:10]Sock 7.Check first char [13:17:10]Sock 7.First char is OK [13:17:10]request: POST /json_proto HTTP/1.0 [13:17:10]Method: POST [13:17:10]URL: /json_proto [13:17:10]Method is POST - this is cgi request [13:17:10]url: /json_proto [13:17:10]query_string will be loaded in cgi processing [13:17:10]execute_cgi json_proto POST (null) [13:17:10]execute_cgi path=json_proto method=POST [13:17:10]POST find Content-Length [13:17:10]Host: 172.17.38.197:8080 [13:17:10]Content-Length: 1043 [13:17:10]Content-Type: application/json [13:17:10] [13:17:10]POST finish read [13:17:10]Found Content-Length = 1043 [13:17:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300142", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:17:10]execute_script... [13:17:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300142", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:17:10]POST & json_proto [13:17:10]process_json_proto [13:17:10]json parsed OK: [13:17:10]protocol is kg_v1.0 [13:17:10]action value=close_receipt [13:17:10]process_action close_receipt [13:17:10]cmd_close_receipt [13:17:10]MH_GetDate [13:17:10]Write to MH i2c: F0 00 00 9B 13 9D [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: F0 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: F0 09 00 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: F0 09 00 9B 13 00 5A 7E 92 66 1E 0D 88 66 8F [13:17:10]GetLastDocTimeStamp 1720876424 [13:17:10]current date 1720876634 [13:17:10]FM_GetShiftState [13:17:10]SAM_PROTO_GetShiftState [13:17:10]wFMCommunicate request_size=4 [13:17:10]MH_SAM_APDU [13:17:10]CAPDU: 80 13 01 00 [13:17:10]Write to MH i2c: E2 08 00 9C 13 80 13 01 00 00 00 00 00 2C [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:10]Read from MH i2c: E2 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 0E 00 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 0E 00 9C 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C3 [13:17:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:17:10]wFMCommunicate OK [13:17:10]SAM_PROTO_GetShiftState done [13:17:10]FM_GetShiftState done [13:17:10]opened in 1720829646 [13:17:10]opened+sec_in_day 1720916046 [13:17:10]quantity*price = 12500 [13:17:10]sum+1 = 12501 [13:17:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46146632 Р/ж Orbit XXL клубника,банан 20,4г 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.60 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 59 13.07.2024 13:17 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43014 ФПД: 136818027130211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131714&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43014&fm=136818027130211&tin=02508201610067®Number=0000000000091176&sum=18000 0 [13:17:11]StoreToDocumentArchive [13:17:11]shift 445 fd 43014 [13:17:11]save to /storage/0445/doc_00043014 [13:17:11]save last doc name /storage/0445/doc_00043014 to /storage/kkm_last_doc_name [13:17:11]save OK [13:17:11]Clear old archive folders... [13:17:11]ProcessDocumentItem done err = 0, tmpTLVsize=395 [13:17:11]tlvbuf is 015E9420 [13:17:11]SAM_PROTO_ClearQueue [13:17:11]wFMCommunicate request_size=4 [13:17:11]MH_SAM_APDU [13:17:11]CAPDU: 80 09 00 00 [13:17:11]Write to MH i2c: E2 08 00 A9 13 80 09 00 00 00 00 00 00 2E [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:17:11]Read from MH i2c: E2 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 A9 13 00 90 00 30 [13:17:11]RAPDU: 90 00 [13:17:11]wFMCommunicate OK [13:17:11]SAM_PROTO_ClearQueue done [13:17:11]KKMCreateOFDPacket [13:17:11]OFDProtocolAddRootSTLVToBuf [13:17:11]FM_MakeSignedData [13:17:11]FM_MakeSignedData [13:17:11]SAM_PROTO_SignData [13:17:11]wFMCommunicate request_size=4 [13:17:11]MH_SAM_APDU [13:17:11]CAPDU: 80 0D 01 02 [13:17:11]Write to MH i2c: E2 08 00 AA 13 80 0D 01 02 00 00 00 00 36 [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:17:11]Read from MH i2c: E2 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 AA 13 00 90 00 31 [13:17:11]RAPDU: 90 00 [13:17:11]wFMCommunicate OK [13:17:11]wFMCommunicate request_size=255 [13:17:11]MH_SAM_APDU [13:17:11]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 [13:17:11]Write to MH i2c: E2 02 01 AB 13 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 00 00 0E [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:12]Read from MH i2c: E2 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 03 00 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 03 00 AB 13 00 90 00 32 [13:17:12]RAPDU: 90 00 [13:17:12]wFMCommunicate OK [13:17:12]wFMCommunicate request_size=154 [13:17:12]MH_SAM_APDU [13:17:12]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5A 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 06 A8 00 00 35 04 06 00 7C 6F 6D E7 ED 63 [13:17:12]Write to MH i2c: E2 9D 00 AC 13 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5A 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 06 A8 00 00 35 04 06 00 7C 6F 6D E7 ED 63 00 00 57 [13:17:12]Write i2c OK [13:17:12]MH_I2C_Read... [13:17:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:12]Read from MH i2c: E2 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 03 00 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 03 00 AC 13 00 90 00 33 [13:17:12]RAPDU: 90 00 [13:17:12]wFMCommunicate OK [13:17:12]wFMCommunicate request_size=4 [13:17:12]MH_SAM_APDU [13:17:12]CAPDU: 80 0D 03 02 [13:17:12]Write to MH i2c: E2 08 00 AD 13 80 0D 03 02 00 00 00 00 3B [13:17:12]Write i2c OK [13:17:12]MH_I2C_Read... [13:17:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:17:12]Read from MH i2c: E2 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 0B 00 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 0B 00 AD 13 00 FD EB A8 37 01 C5 A8 FD 90 00 6E [13:17:12]RAPDU: FD EB A8 37 01 C5 A8 FD 90 00 [13:17:12]wFMCommunicate OK [13:17:12]SAM_PROTO_SignData done [13:17:12]FM_MakeSignedData done [13:17:12]CreateOFDProtocolMessage [13:17:12]wFMCommunicate request_size=4 [13:17:12]MH_SAM_APDU [13:17:12]CAPDU: 80 11 00 00 [13:17:12]Write to MH i2c: E2 08 00 AE 13 80 11 00 00 00 00 00 00 3B [13:17:12]Write i2c OK [13:17:12]MH_I2C_Read... [13:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:12]Read from MH i2c: E2 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 17 00 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: E2 17 00 AE 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 92 [13:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:17:12]wFMCommunicate OK [13:17:12]CreateOFDProtocolMessage done [13:17:12]OFDSenderStorePacket 43014 [13:17:12]StoreOFDPacket docnum=43014 [13:17:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9F 01 00 00 8A 9F 97 01 50 B9 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5A 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 06 A8 00 00 35 04 06 00 7C 6F 6D E7 ED 63 FD EB A8 37 01 C5 A8 FD [13:17:12]CheckFolder [13:17:12]dirname=/storage/ofd_packets [13:17:12]CheckFolder done [13:17:12]ProducePacketName [13:17:12]name=ofd_packets/00043014 [13:17:12]NVStorageSaveData ofd_packets/00043014 [13:17:12]File name is /storage/ofd_packets/00043014 [13:17:12]Write 445 bytes [13:17:12]NVStorageSaveData done [13:17:12]OFDSenderStorePacket done [13:17:12]KKMCreateOFDPacket done [13:17:12]NVStorageSaveData kkm_last_timestamp [13:17:12]File name is /storage/kkm_last_timestamp [13:17:12]Write 4 bytes [13:17:12]NVStorageSaveData done [13:17:12]ExternCall_PrintAddStr [13:17:12]wPrintStart [13:17:12]Write to MH i2c: 01 00 00 AF 13 C2 [13:17:12]OFD Sender: Processing packet 43014 [packets to send 31, broken 30] [13:17:12]ProducePacketName [13:17:12]name=ofd_packets/00043014 [13:17:12]OFD Sender: To server: pG, [13:17:12]CommunicateWithHost lk.salyk.kg:30040 [13:17:12]ConnectInit lk.salyk.kg [13:17:12]Write i2c OK [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: 01 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: 01 07 00 [13:17:12]MH_I2C_Read... [13:17:12]Read from MH i2c: 01 07 00 AF 13 00 00 00 00 00 FF 0F D7 [13:17:12]RasterBufferAndPrint [13:17:12]line Счет N : (3)300142 [13:17:12]line ИНН: 02508201610067 [13:17:12]line Контрольно-Кассовый Чек [13:17:12]line ПРОДАЖА [13:17:12]line Товар: 5449000054227 [13:17:12]line Напиток Кока-Кола 1л [13:17:12]line 1.000 * 125.00 [13:17:12]line = 125.00 [13:17:12]line НДС 12% НСП 1% [13:17:12]line > о реализуемом товаре [13:17:12]line Товар: 46146632 [13:17:12]line Р/ж Orbit XXL клубника,банан 20,4г [13:17:12]line 1.000 * 55.00 [13:17:12]line = 55.00 [13:17:12]line НДС 12% НСП 1% [13:17:12]line > о реализуемом товаре [13:17:12]line ИТОГО: 180.00 [13:17:12]line НСП 1% : 1.60 [13:17:12]line НДС 12% : 19.11 [13:17:12]line Наличными: 180.00 [13:17:12]line Безнал.: 0.00 [13:17:12]line Место: АЗС № 71 "Партнер Нефть" [13:17:12]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:17:12]line СНО: Общий режим [13:17:12]line Чек 59 13.07.2024 13:17 [13:17:12]line Смена: 445 ФФД: 1.0 [13:17:12]line ЗНМ: 0300000153 [13:17:12]line РНМ: 0000000000091176 [13:17:12]line Версия ККМ: 001 [13:17:12]line ФМ: 0000000000874935 [13:17:12]line ФД: 43014 [13:17:12]line ФПД: 136818027130211 [13:17:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131714&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43014&fm=136818027130211&tin=02508201610067®Number=0000000000091176&sum=18000 [13:17:12]line 0 [13:17:12]written 0, free lines is 4095 [13:17:12]Connected sock=10 [13:17:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 9F 01 00 00 8A 9F 97 01 50 B9 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 5A 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 06 A8 00 00 35 04 06 00 7C 6F 6D E7 ED 63 FD EB A8 37 01 C5 A8 FD [13:17:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1A EE 47 00 B7 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 06 A8 00 00 F4 03 04 00 54 2A 92 66 B6 04 01 00 00 7C EA 52 40 2F 7F 09 3E [13:17:13]CommunicateWithHost err = 0 [13:17:13]CheckOFDResponse [13:17:13]1017 (14) - 77093643461234 [13:17:13]1041 (16) - 0000000000874935 [13:17:13]1040 (4) - 43014 [13:17:13]1012 (4) - 13.07.2024 07:18 [13:17:13]1206 (1) - 0 [13:17:13]OFD Sender: Remove packet 43014 [13:17:13]ProducePacketName [13:17:13]name=ofd_packets/00043014 [13:17:13]NVStorageDeleteData [13:17:13]Write to MH i2c: 01 00 00 DE 13 F1 [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: 01 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: 01 07 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: 01 07 00 DE 13 00 00 00 00 00 A2 0C A6 [13:17:13]RasterBufferAndPrint [13:17:13]line [13:17:13]line [13:17:13]line [13:17:13]line [13:17:13]line [13:17:13]written 0, free lines is 3241 [13:17:13]MH_Cut [13:17:13]Write to MH i2c: D1 01 00 E5 13 01 CA [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: D1 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: D1 01 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: D1 01 00 E5 13 00 C9 [13:17:13]Write to MH i2c: 01 00 00 E6 13 F9 [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]OFD Sender: No OFD packet to send [13:17:14]*** Cut start [13:17:14]*** Partial cut [13:17:14]*** CUTSNS_PIN = 1 [13:17:14]*** CUTSNS_PIN = 0 [13:17:14]*** Brake cut motor [13:17:14]Read from MH i2c: 01 [13:17:14]MH_I2C_Read... [13:17:14]*** Stop cut motor [13:17:14]*** Cut end [13:17:14]Read from MH i2c: 01 07 00 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: 01 07 00 E6 13 00 00 00 00 00 FF 0F 0E [13:17:14]process_action close_receipt done [13:17:14]requested_data is exist [13:17:14]produce_requested_data [13:17:14]requested_item fm.sn is exist - process it [13:17:14]wFMCommunicate request_size=4 [13:17:14]MH_SAM_APDU [13:17:14]CAPDU: 80 11 00 00 [13:17:14]Write to MH i2c: E2 08 00 E7 13 80 11 00 00 00 00 00 00 74 [13:17:14]Write i2c OK [13:17:14]MH_I2C_Read... [13:17:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:14]Read from MH i2c: E2 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 17 00 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 17 00 E7 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CB [13:17:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:17:14]wFMCommunicate OK [13:17:14]requested_item fd.num is exist - process it [13:17:14]SAM_PROTO_GetFieldsCounters [13:17:14]wFMCommunicate request_size=4 [13:17:14]MH_SAM_APDU [13:17:14]CAPDU: 80 13 00 00 [13:17:14]Write to MH i2c: E2 08 00 E8 13 80 13 00 00 00 00 00 00 77 [13:17:14]Write i2c OK [13:17:14]MH_I2C_Read... [13:17:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:17:14]Read from MH i2c: E2 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 62 00 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 62 00 E8 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 06 A8 00 00 0E 04 04 00 BD 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 B8 [13:17:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 06 A8 00 00 0E 04 04 00 BD 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 [13:17:14]wFMCommunicate OK [13:17:14]SAM_PROTO_GetFieldsCounters done [13:17:14]requested_item shift.num is exist - process it [13:17:14]requested_item shift.opened is exist - process it [13:17:14]req_shift_opened [13:17:14]FM_GetShiftState [13:17:14]SAM_PROTO_GetShiftState [13:17:14]wFMCommunicate request_size=4 [13:17:14]MH_SAM_APDU [13:17:14]CAPDU: 80 13 01 00 [13:17:14]Write to MH i2c: E2 08 00 E9 13 80 13 01 00 00 00 00 00 79 [13:17:14]Write i2c OK [13:17:14]MH_I2C_Read... [13:17:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:14]Read from MH i2c: E2 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 0E 00 [13:17:14]MH_I2C_Read... [13:17:14]Read from MH i2c: E2 0E 00 E9 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 10 [13:17:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:17:14]wFMCommunicate OK [13:17:14]SAM_PROTO_GetShiftState done [13:17:14]FM_GetShiftState done [13:17:14]req_shift_opened done [13:17:14]requested_item shift.open_date is exist - process it [13:17:14]req_shift_open_date [13:17:14]req_shift_open_date done [13:17:14]requested_item shift.sale.total is exist - process it [13:17:14]SAM_PROTO_GetShiftData [13:17:14]wFMCommunicate request_size=4 [13:17:14]MH_SAM_APDU [13:17:14]CAPDU: 80 13 02 00 [13:17:14]Write to MH i2c: E2 08 00 EA 13 80 13 02 00 00 00 00 00 7B [13:17:14]Write i2c OK [13:17:14]MH_I2C_Read... [13:17:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:17:15]Read from MH i2c: E2 [13:17:15]MH_I2C_Read... [13:17:15]Read from MH i2c: E2 FD 00 [13:17:15]MH_I2C_Read... [13:17:15]Read from MH i2c: E2 FD 00 EA 13 00 AE 04 AA 04 AA 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 5C 4E 0F 70 04 03 00 E4 BE 0C 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 17 A0 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A6 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A2 [13:17:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 5C 4E 0F 70 04 03 00 E4 BE 0C 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 17 A0 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A6 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:17:15]wFMCommunicate OK [13:17:15]wFMCommunicate request_size=4 [13:17:15]MH_SAM_APDU [13:17:15]CAPDU: 80 17 00 00 [13:17:15]Write to MH i2c: E2 08 00 EB 13 80 17 00 00 00 00 00 00 7E [13:17:15]Write i2c OK [13:17:15]MH_I2C_Read... [13:17:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:17:15]Read from MH i2c: E2 [13:17:15]MH_I2C_Read... [13:17:15]Read from MH i2c: E2 FD 00 [13:17:15]MH_I2C_Read... [13:17:15]Read from MH i2c: E2 FD 00 EB 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 A0 [13:17:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:17:15]wFMCommunicate OK [13:17:15]wFMCommunicate request_size=4 [13:17:15]MH_SAM_APDU [13:17:15]CAPDU: 80 17 00 00 [13:17:15]Write to MH i2c: E2 08 00 EC 13 80 17 00 00 00 00 00 00 7F [13:17:15]Write i2c OK [13:17:15]MH_I2C_Read... [13:17:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:17:16]Read from MH i2c: E2 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 FD 00 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 FD 00 EC 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 36 [13:17:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:17:16]wFMCommunicate OK [13:17:16]wFMCommunicate request_size=4 [13:17:16]MH_SAM_APDU [13:17:16]CAPDU: 80 17 00 00 [13:17:16]Write to MH i2c: E2 08 00 ED 13 80 17 00 00 00 00 00 00 80 [13:17:16]Write i2c OK [13:17:16]MH_I2C_Read... [13:17:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:17:16]Read from MH i2c: E2 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 FD 00 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 FD 00 ED 13 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F2 [13:17:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:17:16]wFMCommunicate OK [13:17:16]wFMCommunicate request_size=4 [13:17:16]MH_SAM_APDU [13:17:16]CAPDU: 80 17 00 00 [13:17:16]Write to MH i2c: E2 08 00 EE 13 80 17 00 00 00 00 00 00 81 [13:17:16]Write i2c OK [13:17:16]MH_I2C_Read... [13:17:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:17:16]Read from MH i2c: E2 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 CB 00 [13:17:16]MH_I2C_Read... [13:17:16]Read from MH i2c: E2 CB 00 EE 13 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6A [13:17:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:17:16]wFMCommunicate OK [13:17:16]SAM_PROTO_GetShiftData done [13:17:16]requested_item shift.sale.total_cash is exist - process it [13:17:16]requested_item shift.sale_refund.total is exist - process it [13:17:16]requested_item shift.sale_refund.total_cash is exist - process it [13:17:16]produce_requested_data done [13:17:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43014,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10031.00,"shift.sale.total_cash":8353.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:17:16]process_action_free close_receipt [13:17:16]json_value_free [13:17:16]json_value_free done [13:17:16]process_json_proto returns [13:17:16]Send response to host [13:17:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43014,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10031.00,"shift.sale.total_cash":8353.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:17:16]free response buf [13:17:16]execute_script done [13:17:16]execute_script returns [13:17:16]free content buf [13:17:16]Sock 7.Close socket [13:17:16]Sock 7.Thread stoped [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]accept exits with 9 [13:18:03]New connection [13:18:03]New thread 3067387236 created [13:18:03]Thread 3067530596 joined [13:18:03]Waiting for new connection... [13:18:03] Sock 9.Parse request [13:18:03]Sock 9.Check first char [13:18:03]Sock 9.First char is OK [13:18:03]request: POST /json_proto HTTP/1.0 [13:18:03]Method: POST [13:18:03]URL: /json_proto [13:18:03]Method is POST - this is cgi request [13:18:03]url: /json_proto [13:18:03]query_string will be loaded in cgi processing [13:18:03]execute_cgi json_proto POST (null) [13:18:03]execute_cgi path=json_proto method=POST [13:18:03]POST find Content-Length [13:18:03]Host: 172.17.38.197:8080 [13:18:03]Content-Length: 1494 [13:18:03]Content-Type: application/json [13:18:03] [13:18:03]POST finish read [13:18:03]Found Content-Length = 1494 [13:18:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300143", "tax_sys" : 0, "items" : [ { "code": "4700321005031", "name": "\u0424\u0438\u0441\u0442\u0430\u0448\u043A\u0438 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0435 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 50\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:18:03]execute_script... [13:18:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300143", "tax_sys" : 0, "items" : [ { "code": "4700321005031", "name": "\u0424\u0438\u0441\u0442\u0430\u0448\u043A\u0438 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0435 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 50\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:18:03]POST & json_proto [13:18:03]process_json_proto [13:18:03]json parsed OK: [13:18:03]protocol is kg_v1.0 [13:18:03]action value=close_receipt [13:18:03]process_action close_receipt [13:18:03]cmd_close_receipt [13:18:03]MH_GetDate [13:18:03]Write to MH i2c: F0 00 00 EF 13 F1 [13:18:03]Write i2c OK [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: F0 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: F0 09 00 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: F0 09 00 EF 13 00 8E 7E 92 66 1E 0D 88 66 17 [13:18:03]GetLastDocTimeStamp 1720876634 [13:18:03]current date 1720876686 [13:18:03]FM_GetShiftState [13:18:03]SAM_PROTO_GetShiftState [13:18:03]wFMCommunicate request_size=4 [13:18:03]MH_SAM_APDU [13:18:03]CAPDU: 80 13 01 00 [13:18:03]Write to MH i2c: E2 08 00 F0 13 80 13 01 00 00 00 00 00 80 [13:18:03]Write i2c OK [13:18:03]MH_I2C_Read... [13:18:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:03]Read from MH i2c: E2 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 0E 00 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 0E 00 F0 13 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 17 [13:18:03]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:18:03]wFMCommunicate OK [13:18:03]SAM_PROTO_GetShiftState done [13:18:03]FM_GetShiftState done [13:18:03]opened in 1720829646 [13:18:03]opened+sec_in_day 1720916046 [13:18:03]quantity*price = 13000 [13:18:03]sum+1 = 13001 [13:18:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000483297 Энергетический напиток Nitro Ананас-гуав 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000482757 Напиток Nitro Fr газ манг,клуб ж/б 0,45л 1.000 * 82.00 = 82.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 307.00 НСП 1% : 2.72 НДС 12% : 32.60 Наличными: 307.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 60 13.07.2024 13:18 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43015 ФПД: 48067246594779 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131807&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43015&fm=48067246594779&tin=02508201610067®Number=0000000000091176&sum=30700 0 [13:18:04]StoreToDocumentArchive [13:18:04]shift 445 fd 43015 [13:18:04]save to /storage/0445/doc_00043015 [13:18:04]save last doc name /storage/0445/doc_00043015 to /storage/kkm_last_doc_name [13:18:04]save OK [13:18:04]Clear old archive folders... [13:18:04]ProcessDocumentItem done err = 0, tmpTLVsize=574 [13:18:04]tlvbuf is 0158BAA0 [13:18:04]SAM_PROTO_ClearQueue [13:18:04]wFMCommunicate request_size=4 [13:18:04]MH_SAM_APDU [13:18:04]CAPDU: 80 09 00 00 [13:18:04]Write to MH i2c: E2 08 00 FD 13 80 09 00 00 00 00 00 00 82 [13:18:04]Write i2c OK [13:18:04]MH_I2C_Read... [13:18:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:18:04]Read from MH i2c: E2 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 FD 13 00 90 00 84 [13:18:04]RAPDU: 90 00 [13:18:04]wFMCommunicate OK [13:18:04]SAM_PROTO_ClearQueue done [13:18:04]KKMCreateOFDPacket [13:18:04]OFDProtocolAddRootSTLVToBuf [13:18:04]FM_MakeSignedData [13:18:04]FM_MakeSignedData [13:18:04]SAM_PROTO_SignData [13:18:04]wFMCommunicate request_size=4 [13:18:04]MH_SAM_APDU [13:18:04]CAPDU: 80 0D 01 02 [13:18:04]Write to MH i2c: E2 08 00 FE 13 80 0D 01 02 00 00 00 00 8A [13:18:04]Write i2c OK [13:18:04]MH_I2C_Read... [13:18:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:18:04]Read from MH i2c: E2 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 FE 13 00 90 00 85 [13:18:04]RAPDU: 90 00 [13:18:04]wFMCommunicate OK [13:18:04]wFMCommunicate request_size=255 [13:18:04]MH_SAM_APDU [13:18:04]CAPDU: 80 0D 02 02 FA 03 00 3E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 33 31 06 04 38 00 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B8 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B5 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C [13:18:04]Write to MH i2c: E2 02 01 FF 13 80 0D 02 02 FA 00 03 00 3E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 33 31 06 04 38 00 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B8 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B5 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 00 00 FB [13:18:04]Write i2c OK [13:18:04]MH_I2C_Read... [13:18:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:04]Read from MH i2c: E2 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 [13:18:04]MH_I2C_Read... [13:18:04]Read from MH i2c: E2 03 00 FF 13 00 90 00 86 [13:18:04]RAPDU: 90 00 [13:18:04]wFMCommunicate OK [13:18:04]wFMCommunicate request_size=255 [13:18:04]MH_SAM_APDU [13:18:04]CAPDU: 80 0D 02 02 FA 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 [13:18:05]Write to MH i2c: E2 02 01 00 14 80 0D 02 02 FA 00 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 00 00 DA [13:18:05]Write i2c OK [13:18:05]MH_I2C_Read... [13:18:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:05]Read from MH i2c: E2 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 03 00 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 03 00 00 14 00 90 00 88 [13:18:05]RAPDU: 90 00 [13:18:05]wFMCommunicate OK [13:18:05]wFMCommunicate request_size=83 [13:18:05]MH_SAM_APDU [13:18:05]CAPDU: 80 0D 02 02 4E 03 04 00 8F 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 07 A8 00 00 35 04 06 00 2B B7 87 28 9A DB [13:18:05]Write to MH i2c: E2 56 00 01 14 80 0D 02 02 4E 00 03 04 00 8F 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 07 A8 00 00 35 04 06 00 2B B7 87 28 9A DB 00 00 58 [13:18:05]Write i2c OK [13:18:05]MH_I2C_Read... [13:18:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:05]Read from MH i2c: E2 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 03 00 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 03 00 01 14 00 90 00 89 [13:18:05]RAPDU: 90 00 [13:18:05]wFMCommunicate OK [13:18:05]wFMCommunicate request_size=4 [13:18:05]MH_SAM_APDU [13:18:05]CAPDU: 80 0D 03 02 [13:18:05]Write to MH i2c: E2 08 00 02 14 80 0D 03 02 00 00 00 00 91 [13:18:05]Write i2c OK [13:18:05]MH_I2C_Read... [13:18:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:18:05]Read from MH i2c: E2 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 0B 00 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 0B 00 02 14 00 36 50 8C 2F C9 3D D1 B2 90 00 5C [13:18:05]RAPDU: 36 50 8C 2F C9 3D D1 B2 90 00 [13:18:05]wFMCommunicate OK [13:18:05]SAM_PROTO_SignData done [13:18:05]FM_MakeSignedData done [13:18:05]CreateOFDProtocolMessage [13:18:05]wFMCommunicate request_size=4 [13:18:05]MH_SAM_APDU [13:18:05]CAPDU: 80 11 00 00 [13:18:05]Write to MH i2c: E2 08 00 03 14 80 11 00 00 00 00 00 00 91 [13:18:05]Write i2c OK [13:18:05]MH_I2C_Read... [13:18:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:05]Read from MH i2c: E2 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 17 00 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: E2 17 00 03 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E8 [13:18:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:18:05]wFMCommunicate OK [13:18:05]CreateOFDProtocolMessage done [13:18:05]OFDSenderStorePacket 43015 [13:18:05]StoreOFDPacket docnum=43015 [13:18:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 52 02 00 00 61 BC 4A 02 04 A7 5A 03 01 00 03 00 3E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 33 31 06 04 38 00 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B8 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B5 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 8F 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 07 A8 00 00 35 04 06 00 2B B7 87 28 9A DB 36 50 8C 2F C9 3D D1 B2 [13:18:05]CheckFolder [13:18:05]dirname=/storage/ofd_packets [13:18:05]CheckFolder done [13:18:05]ProducePacketName [13:18:05]name=ofd_packets/00043015 [13:18:05]NVStorageSaveData ofd_packets/00043015 [13:18:05]File name is /storage/ofd_packets/00043015 [13:18:05]Write 624 bytes [13:18:05]NVStorageSaveData done [13:18:05]OFDSenderStorePacket done [13:18:05]KKMCreateOFDPacket done [13:18:05]NVStorageSaveData kkm_last_timestamp [13:18:05]File name is /storage/kkm_last_timestamp [13:18:05]Write 4 bytes [13:18:05]NVStorageSaveData done [13:18:05]ExternCall_PrintAddStr [13:18:05]wPrintStart [13:18:05]Write to MH i2c: 01 00 00 04 14 18 [13:18:05]Write i2c OK [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: 01 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: 01 07 00 [13:18:05]MH_I2C_Read... [13:18:05]Read from MH i2c: 01 07 00 04 14 00 00 00 00 00 FF 0F 2D [13:18:05]RasterBufferAndPrint [13:18:05]line Счет N : (3)300143 [13:18:05]line ИНН: 02508201610067 [13:18:05]line Контрольно-Кассовый Чек [13:18:05]line ПРОДАЖА [13:18:05]line Товар: 4700321005031 [13:18:05]line Фисташки Mike жареные соленые 50г [13:18:05]line 1.000 * 130.00 [13:18:05]line = 130.00 [13:18:05]line НДС 12% НСП 1% [13:18:05]line > о реализуемом товаре [13:18:05]line Товар: 4700000483297 [13:18:05]line Энергетический напиток Nitro Ананас-гуав [13:18:05]line 1.000 * 95.00 [13:18:05]line = 95.00 [13:18:05]line НДС 12% НСП 1% [13:18:05]line > о реализуемом товаре [13:18:05]line Товар: 4700000482757 [13:18:05]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [13:18:05]line 1.000 * 82.00 [13:18:05]line = 82.00 [13:18:05]line НДС 12% НСП 1% [13:18:05]line > о реализуемом товаре [13:18:05]line ИТОГО: 307.00 [13:18:05]line НСП 1% : 2.72 [13:18:05]line НДС 12% : 32.60 [13:18:05]line Наличными: 307.00 [13:18:05]line Безнал.: 0.00 [13:18:05]line Место: АЗС № 71 "Партнер Нефть" [13:18:05]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:18:05]line СНО: Общий режим [13:18:05]line Чек 60 13.07.2024 13:18 [13:18:05]line Смена: 445 ФФД: 1.0 [13:18:05]line ЗНМ: 0300000153 [13:18:05]line РНМ: 0000000000091176 [13:18:05]line Версия ККМ: 001 [13:18:05]line ФМ: 0000000000874935 [13:18:05]line ФД: 43015 [13:18:05]line ФПД: 48067246594779 [13:18:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T131807&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43015&fm=48067246594779&tin=02508201610067®Number=0000000000091176&sum=30700 [13:18:05]OFD Sender: Processing packet 43015 [packets to send 31, broken 30] [13:18:05]ProducePacketName [13:18:05]name=ofd_packets/00043015 [13:18:05]OFD Sender: To server: pG, [13:18:05]CommunicateWithHost lk.salyk.kg:30040 [13:18:05]ConnectInit lk.salyk.kg [13:18:05]line 0 [13:18:05]written 0, free lines is 4095 [13:18:05]Connected sock=10 [13:18:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 52 02 00 00 61 BC 4A 02 04 A7 5A 03 01 00 03 00 3E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 33 31 06 04 38 00 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B8 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B5 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 8F 7E 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 07 A8 00 00 35 04 06 00 2B B7 87 28 9A DB 36 50 8C 2F C9 3D D1 B2 [13:18:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 B8 38 47 00 AF 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 07 A8 00 00 F4 03 04 00 89 2A 92 66 B6 04 01 00 00 8E 3A 08 33 D3 57 AE 33 [13:18:06]CommunicateWithHost err = 0 [13:18:06]CheckOFDResponse [13:18:06]1017 (14) - 77093643461234 [13:18:06]1041 (16) - 0000000000874935 [13:18:06]1040 (4) - 43015 [13:18:06]1012 (4) - 13.07.2024 07:19 [13:18:06]1206 (1) - 0 [13:18:06]OFD Sender: Remove packet 43015 [13:18:06]ProducePacketName [13:18:06]name=ofd_packets/00043015 [13:18:06]NVStorageDeleteData [13:18:06]Write to MH i2c: 01 00 00 3B 14 4F [13:18:06]Write i2c OK [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: 01 [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: 01 07 00 [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: 01 07 00 3B 14 00 00 00 00 00 0A 0C 6C [13:18:06]RasterBufferAndPrint [13:18:06]line [13:18:06]line [13:18:06]line [13:18:06]line [13:18:06]line [13:18:06]written 0, free lines is 3089 [13:18:06]MH_Cut [13:18:06]Write to MH i2c: D1 01 00 42 14 01 28 [13:18:06]Write i2c OK [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: D1 [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: D1 01 00 [13:18:06]MH_I2C_Read... [13:18:06]Read from MH i2c: D1 01 00 42 14 00 27 [13:18:06]Write to MH i2c: 01 00 00 43 14 57 [13:18:06]Write i2c OK [13:18:06]MH_I2C_Read... [13:18:06]OFD Sender: No OFD packet to send [13:18:07]*** Cut start [13:18:07]*** Partial cut [13:18:07]*** CUTSNS_PIN = 1 [13:18:07]*** CUTSNS_PIN = 0 [13:18:07]*** Brake cut motor [13:18:07]Read from MH i2c: 01 [13:18:07]MH_I2C_Read... [13:18:07]*** Stop cut motor [13:18:07]*** Cut end [13:18:07]Read from MH i2c: 01 07 00 [13:18:07]MH_I2C_Read... [13:18:07]Read from MH i2c: 01 07 00 43 14 00 00 00 00 00 FF 0F 6C [13:18:07]process_action close_receipt done [13:18:07]requested_data is exist [13:18:07]produce_requested_data [13:18:07]requested_item fm.sn is exist - process it [13:18:07]wFMCommunicate request_size=4 [13:18:07]MH_SAM_APDU [13:18:07]CAPDU: 80 11 00 00 [13:18:07]Write to MH i2c: E2 08 00 44 14 80 11 00 00 00 00 00 00 D2 [13:18:07]Write i2c OK [13:18:07]MH_I2C_Read... [13:18:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:07]Read from MH i2c: E2 [13:18:07]MH_I2C_Read... [13:18:07]Read from MH i2c: E2 17 00 [13:18:07]MH_I2C_Read... [13:18:07]Read from MH i2c: E2 17 00 44 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 29 [13:18:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:18:07]wFMCommunicate OK [13:18:07]requested_item fd.num is exist - process it [13:18:07]SAM_PROTO_GetFieldsCounters [13:18:07]wFMCommunicate request_size=4 [13:18:07]MH_SAM_APDU [13:18:07]CAPDU: 80 13 00 00 [13:18:07]Write to MH i2c: E2 08 00 45 14 80 13 00 00 00 00 00 00 D5 [13:18:07]Write i2c OK [13:18:07]MH_I2C_Read... [13:18:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:18:08]Read from MH i2c: E2 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 62 00 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 62 00 45 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 07 A8 00 00 0E 04 04 00 BD 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 1A [13:18:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 07 A8 00 00 0E 04 04 00 BD 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 [13:18:08]wFMCommunicate OK [13:18:08]SAM_PROTO_GetFieldsCounters done [13:18:08]requested_item shift.num is exist - process it [13:18:08]requested_item shift.opened is exist - process it [13:18:08]req_shift_opened [13:18:08]FM_GetShiftState [13:18:08]SAM_PROTO_GetShiftState [13:18:08]wFMCommunicate request_size=4 [13:18:08]MH_SAM_APDU [13:18:08]CAPDU: 80 13 01 00 [13:18:08]Write to MH i2c: E2 08 00 46 14 80 13 01 00 00 00 00 00 D7 [13:18:08]Write i2c OK [13:18:08]MH_I2C_Read... [13:18:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:08]Read from MH i2c: E2 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 0E 00 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 0E 00 46 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6E [13:18:08]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:18:08]wFMCommunicate OK [13:18:08]SAM_PROTO_GetShiftState done [13:18:08]FM_GetShiftState done [13:18:08]req_shift_opened done [13:18:08]requested_item shift.open_date is exist - process it [13:18:08]req_shift_open_date [13:18:08]req_shift_open_date done [13:18:08]requested_item shift.sale.total is exist - process it [13:18:08]SAM_PROTO_GetShiftData [13:18:08]wFMCommunicate request_size=4 [13:18:08]MH_SAM_APDU [13:18:08]CAPDU: 80 13 02 00 [13:18:08]Write to MH i2c: E2 08 00 47 14 80 13 02 00 00 00 00 00 D9 [13:18:08]Write i2c OK [13:18:08]MH_I2C_Read... [13:18:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:18:08]Read from MH i2c: E2 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 FD 00 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 FD 00 47 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 48 C6 0F 70 04 03 00 D0 36 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D3 AC 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A4 [13:18:08]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 48 C6 0F 70 04 03 00 D0 36 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D3 AC 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:18:08]wFMCommunicate OK [13:18:08]wFMCommunicate request_size=4 [13:18:08]MH_SAM_APDU [13:18:08]CAPDU: 80 17 00 00 [13:18:08]Write to MH i2c: E2 08 00 48 14 80 17 00 00 00 00 00 00 DC [13:18:08]Write i2c OK [13:18:08]MH_I2C_Read... [13:18:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:08]Read from MH i2c: E2 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 FD 00 [13:18:08]MH_I2C_Read... [13:18:08]Read from MH i2c: E2 FD 00 48 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FE [13:18:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:18:09]wFMCommunicate OK [13:18:09]wFMCommunicate request_size=4 [13:18:09]MH_SAM_APDU [13:18:09]CAPDU: 80 17 00 00 [13:18:09]Write to MH i2c: E2 08 00 49 14 80 17 00 00 00 00 00 00 DD [13:18:09]Write i2c OK [13:18:09]MH_I2C_Read... [13:18:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:09]Read from MH i2c: E2 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 FD 00 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 FD 00 49 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 94 [13:18:09]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:18:09]wFMCommunicate OK [13:18:09]wFMCommunicate request_size=4 [13:18:09]MH_SAM_APDU [13:18:09]CAPDU: 80 17 00 00 [13:18:09]Write to MH i2c: E2 08 00 4A 14 80 17 00 00 00 00 00 00 DE [13:18:09]Write i2c OK [13:18:09]MH_I2C_Read... [13:18:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:09]Read from MH i2c: E2 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 FD 00 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 FD 00 4A 14 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 50 [13:18:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:18:09]wFMCommunicate OK [13:18:09]wFMCommunicate request_size=4 [13:18:09]MH_SAM_APDU [13:18:09]CAPDU: 80 17 00 00 [13:18:09]Write to MH i2c: E2 08 00 4B 14 80 17 00 00 00 00 00 00 DF [13:18:09]Write i2c OK [13:18:09]MH_I2C_Read... [13:18:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:18:09]Read from MH i2c: E2 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 CB 00 [13:18:09]MH_I2C_Read... [13:18:09]Read from MH i2c: E2 CB 00 4B 14 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C8 [13:18:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:18:10]wFMCommunicate OK [13:18:10]SAM_PROTO_GetShiftData done [13:18:10]requested_item shift.sale.total_cash is exist - process it [13:18:10]requested_item shift.sale_refund.total is exist - process it [13:18:10]requested_item shift.sale_refund.total_cash is exist - process it [13:18:10]produce_requested_data done [13:18:10]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43015,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10338.00,"shift.sale.total_cash":8660.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:18:10]process_action_free close_receipt [13:18:10]json_value_free [13:18:10]json_value_free done [13:18:10]process_json_proto returns [13:18:10]Send response to host [13:18:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43015,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10338.00,"shift.sale.total_cash":8660.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:18:10]free response buf [13:18:10]execute_script done [13:18:10]execute_script returns [13:18:10]free content buf [13:18:10]Sock 9.Close socket [13:18:10]Sock 9.Thread stoped [13:18:11]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:21]OFD Sender: No OFD packet to send [13:18:26]OFD Sender: No OFD packet to send [13:18:31]OFD Sender: No OFD packet to send [13:18:36]OFD Sender: No OFD packet to send [13:18:41]OFD Sender: No OFD packet to send [13:18:46]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [13:19:06]OFD Sender: No OFD packet to send [13:19:11]OFD Sender: No OFD packet to send [13:19:16]OFD Sender: No OFD packet to send [13:19:21]OFD Sender: No OFD packet to send [13:19:26]OFD Sender: No OFD packet to send [13:19:31]OFD Sender: No OFD packet to send [13:19:36]OFD Sender: No OFD packet to send [13:19:41]OFD Sender: No OFD packet to send [13:19:46]OFD Sender: No OFD packet to send [13:19:51]OFD Sender: No OFD packet to send [13:19:56]OFD Sender: No OFD packet to send [13:20:01]OFD Sender: No OFD packet to send [13:20:06]OFD Sender: No OFD packet to send [13:20:11]OFD Sender: No OFD packet to send [13:20:16]OFD Sender: No OFD packet to send [13:20:21]OFD Sender: No OFD packet to send [13:20:26]OFD Sender: No OFD packet to send [13:20:31]OFD Sender: No OFD packet to send [13:20:36]OFD Sender: No OFD packet to send [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]OFD Sender: No OFD packet to send [13:21:41]OFD Sender: No OFD packet to send [13:21:46]OFD Sender: No OFD packet to send [13:21:51]OFD Sender: No OFD packet to send [13:21:56]OFD Sender: No OFD packet to send [13:22:01]OFD Sender: No OFD packet to send [13:22:06]OFD Sender: No OFD packet to send [13:22:11]OFD Sender: No OFD packet to send [13:22:16]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:11]accept exits with 7 [13:25:11]New connection [13:25:11]New thread 3067530596 created [13:25:11]Thread 3067387236 joined [13:25:11]Waiting for new connection... [13:25:11] Sock 7.Parse request [13:25:11]Sock 7.Check first char [13:25:11]Sock 7.First char is OK [13:25:11]request: POST /json_proto HTTP/1.0 [13:25:11]Method: POST [13:25:11]URL: /json_proto [13:25:11]Method is POST - this is cgi request [13:25:11]url: /json_proto [13:25:11]query_string will be loaded in cgi processing [13:25:11]execute_cgi json_proto POST (null) [13:25:11]execute_cgi path=json_proto method=POST [13:25:11]POST find Content-Length [13:25:11]Host: 172.17.38.197:8080 [13:25:11]Content-Length: 791 [13:25:11]Content-Type: application/json [13:25:11] [13:25:11]POST finish read [13:25:11]Found Content-Length = 791 [13:25:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300144", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:25:11]execute_script... [13:25:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300144", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:25:11]POST & json_proto [13:25:11]process_json_proto [13:25:11]json parsed OK: [13:25:11]protocol is kg_v1.0 [13:25:11]action value=close_receipt [13:25:11]process_action close_receipt [13:25:11]cmd_close_receipt [13:25:11]MH_GetDate [13:25:11]Write to MH i2c: F0 00 00 4C 14 4F [13:25:11]Write i2c OK [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: F0 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: F0 09 00 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: F0 09 00 4C 14 00 3B 80 92 66 1E 0D 88 66 24 [13:25:11]GetLastDocTimeStamp 1720876687 [13:25:11]current date 1720877115 [13:25:11]FM_GetShiftState [13:25:11]SAM_PROTO_GetShiftState [13:25:11]wFMCommunicate request_size=4 [13:25:11]MH_SAM_APDU [13:25:11]CAPDU: 80 13 01 00 [13:25:11]Write to MH i2c: E2 08 00 4D 14 80 13 01 00 00 00 00 00 DE [13:25:11]Write i2c OK [13:25:11]MH_I2C_Read... [13:25:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:11]Read from MH i2c: E2 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: E2 0E 00 [13:25:11]MH_I2C_Read... [13:25:11]Read from MH i2c: E2 0E 00 4D 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 75 [13:25:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:25:11]wFMCommunicate OK [13:25:11]SAM_PROTO_GetShiftState done [13:25:11]FM_GetShiftState done [13:25:11]opened in 1720829646 [13:25:11]opened+sec_in_day 1720916046 [13:25:11]quantity*price = 5000 [13:25:11]sum+1 = 5001 [13:25:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 61 13.07.2024 13:25 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43016 ФПД: 65550102095584 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132515&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43016&fm=65550102095584&tin=02508201610067®Number=0000000000091176&sum=5000 0 [13:25:12]StoreToDocumentArchive [13:25:12]shift 445 fd 43016 [13:25:12]save to /storage/0445/doc_00043016 [13:25:12]save last doc name /storage/0445/doc_00043016 to /storage/kkm_last_doc_name [13:25:12]save OK [13:25:12]Clear old archive folders... [13:25:12]ProcessDocumentItem done err = 0, tmpTLVsize=298 [13:25:12]tlvbuf is B6E354D0 [13:25:12]SAM_PROTO_ClearQueue [13:25:12]wFMCommunicate request_size=4 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 09 00 00 [13:25:12]Write to MH i2c: E2 08 00 5A 14 80 09 00 00 00 00 00 00 E0 [13:25:12]Write i2c OK [13:25:12]MH_I2C_Read... [13:25:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:12]Read from MH i2c: E2 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 5A 14 00 90 00 E2 [13:25:12]RAPDU: 90 00 [13:25:12]wFMCommunicate OK [13:25:12]SAM_PROTO_ClearQueue done [13:25:12]KKMCreateOFDPacket [13:25:12]OFDProtocolAddRootSTLVToBuf [13:25:12]FM_MakeSignedData [13:25:12]FM_MakeSignedData [13:25:12]SAM_PROTO_SignData [13:25:12]wFMCommunicate request_size=4 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 0D 01 02 [13:25:12]Write to MH i2c: E2 08 00 5B 14 80 0D 01 02 00 00 00 00 E8 [13:25:12]Write i2c OK [13:25:12]MH_I2C_Read... [13:25:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:12]Read from MH i2c: E2 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 5B 14 00 90 00 E3 [13:25:12]RAPDU: 90 00 [13:25:12]wFMCommunicate OK [13:25:12]wFMCommunicate request_size=255 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 3B 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [13:25:12]Write to MH i2c: E2 02 01 5C 14 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 3B 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 96 [13:25:12]Write i2c OK [13:25:12]MH_I2C_Read... [13:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:12]Read from MH i2c: E2 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 5C 14 00 90 00 E4 [13:25:12]RAPDU: 90 00 [13:25:12]wFMCommunicate OK [13:25:12]wFMCommunicate request_size=57 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 08 A8 00 00 35 04 06 00 3B 9E 12 8C E6 E0 [13:25:12]Write to MH i2c: E2 3C 00 5D 14 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 08 A8 00 00 35 04 06 00 3B 9E 12 8C E6 E0 00 00 98 [13:25:12]Write i2c OK [13:25:12]MH_I2C_Read... [13:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:12]Read from MH i2c: E2 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 03 00 5D 14 00 90 00 E5 [13:25:12]RAPDU: 90 00 [13:25:12]wFMCommunicate OK [13:25:12]wFMCommunicate request_size=4 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 0D 03 02 [13:25:12]Write to MH i2c: E2 08 00 5E 14 80 0D 03 02 00 00 00 00 ED [13:25:12]Write i2c OK [13:25:12]MH_I2C_Read... [13:25:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:12]Read from MH i2c: E2 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 0B 00 [13:25:12]MH_I2C_Read... [13:25:12]Read from MH i2c: E2 0B 00 5E 14 00 57 D7 F1 02 FF 6A 08 EA 90 00 6A [13:25:12]RAPDU: 57 D7 F1 02 FF 6A 08 EA 90 00 [13:25:12]wFMCommunicate OK [13:25:12]SAM_PROTO_SignData done [13:25:12]FM_MakeSignedData done [13:25:12]CreateOFDProtocolMessage [13:25:12]wFMCommunicate request_size=4 [13:25:12]MH_SAM_APDU [13:25:12]CAPDU: 80 11 00 00 [13:25:12]Write to MH i2c: E2 08 00 5F 14 80 11 00 00 00 00 00 00 ED [13:25:12]Write i2c OK [13:25:12]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 5F 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 44 [13:25:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:25:13]wFMCommunicate OK [13:25:13]CreateOFDProtocolMessage done [13:25:13]OFDSenderStorePacket 43016 [13:25:13]StoreOFDPacket docnum=43016 [13:25:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3E 01 00 00 89 E9 36 01 28 59 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 3B 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 08 A8 00 00 35 04 06 00 3B 9E 12 8C E6 E0 57 D7 F1 02 FF 6A 08 EA [13:25:13]CheckFolder [13:25:13]dirname=/storage/ofd_packets [13:25:13]CheckFolder done [13:25:13]ProducePacketName [13:25:13]name=ofd_packets/00043016 [13:25:13]NVStorageSaveData ofd_packets/00043016 [13:25:13]File name is /storage/ofd_packets/00043016 [13:25:13]Write 348 bytes [13:25:13]NVStorageSaveData done [13:25:13]OFDSenderStorePacket done [13:25:13]KKMCreateOFDPacket done [13:25:13]NVStorageSaveData kkm_last_timestamp [13:25:13]File name is /storage/kkm_last_timestamp [13:25:13]Write 4 bytes [13:25:13]NVStorageSaveData done [13:25:13]ExternCall_PrintAddStr [13:25:13]wPrintStart [13:25:13]Write to MH i2c: 01 00 00 60 14 74 [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: 01 [13:25:13]MH_I2C_Read... [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 60 14 00 00 00 00 00 FF 0F 89 [13:25:13]RasterBufferAndPrint [13:25:13]line Счет N : (3)300144 [13:25:13]line ИНН: 02508201610067 [13:25:13]line Контрольно-Кассовый Чек [13:25:13]line ПРОДАЖА [13:25:13]line Товар: 4700003010032 [13:25:13]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [13:25:13]line 1.000 * 50.00 [13:25:13]line = 50.00 [13:25:13]line НДС 12% НСП 1% [13:25:13]line > о реализуемом товаре [13:25:13]line ИТОГО: 50.00 [13:25:13]line НСП 1% : 0.44 [13:25:13]line НДС 12% : 5.31 [13:25:13]line Наличными: 50.00 [13:25:13]line Безнал.: 0.00 [13:25:13]line Место: АЗС № 71 "Партнер Нефть" [13:25:13]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:25:13]line СНО: Общий режим [13:25:13]line Чек 61 13.07.2024 13:25 [13:25:13]line Смена: 445 ФФД: 1.0 [13:25:13]line ЗНМ: 0300000153 [13:25:13]line РНМ: 0000000000091176 [13:25:13]line Версия ККМ: 001 [13:25:13]line ФМ: 0000000000874935 [13:25:13]line ФД: 43016 [13:25:13]line ФПД: 65550102095584 [13:25:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132515&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43016&fm=65550102095584&tin=02508201610067®Number=0000000000091176&sum=5000 [13:25:13]line 0 [13:25:13]OFD Sender: Processing packet 43016 [packets to send 31, broken 30] [13:25:13]ProducePacketName [13:25:13]name=ofd_packets/00043016 [13:25:13]OFD Sender: To server: pG, [13:25:13]CommunicateWithHost lk.salyk.kg:30040 [13:25:13]ConnectInit lk.salyk.kg [13:25:13]written 0, free lines is 4095 [13:25:13]Connected sock=10 [13:25:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3E 01 00 00 89 E9 36 01 28 59 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 3B 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 08 A8 00 00 35 04 06 00 3B 9E 12 8C E6 E0 57 D7 F1 02 FF 6A 08 EA [13:25:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 49 03 47 00 40 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 38 37 34 39 33 35 10 04 04 00 08 A8 00 00 F4 03 04 00 35 2C 92 66 B6 04 01 00 00 C3 62 D0 29 18 21 6A DA [13:25:13]CommunicateWithHost err = 0 [13:25:13]CheckOFDResponse [13:25:13]1017 (14) - 77093643461234 [13:25:13]1041 (16) - 0000000000874935 [13:25:13]1040 (4) - 43016 [13:25:13]1012 (4) - 13.07.2024 07:26 [13:25:13]1206 (1) - 0 [13:25:13]OFD Sender: Remove packet 43016 [13:25:13]ProducePacketName [13:25:13]name=ofd_packets/00043016 [13:25:13]NVStorageDeleteData [13:25:13]Write to MH i2c: 01 00 00 89 14 9D [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: 01 [13:25:13]MH_I2C_Read... [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 89 14 00 00 00 00 00 FA 0C AA [13:25:13]RasterBufferAndPrint [13:25:13]line [13:25:13]line [13:25:13]line [13:25:13]line [13:25:13]line [13:25:13]written 0, free lines is 3327 [13:25:13]MH_Cut [13:25:13]Write to MH i2c: D1 01 00 90 14 01 76 [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: D1 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: D1 01 00 [13:25:13]MH_I2C_Read... [13:25:13]Read from MH i2c: D1 01 00 90 14 00 75 [13:25:13]Write to MH i2c: 01 00 00 91 14 A5 [13:25:13]Write i2c OK [13:25:13]MH_I2C_Read... [13:25:14]OFD Sender: No OFD packet to send [13:25:14]*** Cut start [13:25:14]*** Partial cut [13:25:14]*** CUTSNS_PIN = 1 [13:25:14]*** CUTSNS_PIN = 0 [13:25:14]*** Brake cut motor [13:25:15]Read from MH i2c: 01 [13:25:15]MH_I2C_Read... [13:25:15]*** Stop cut motor [13:25:15]*** Cut end [13:25:15]Read from MH i2c: 01 07 00 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: 01 07 00 91 14 00 00 00 00 00 FF 0F BA [13:25:15]process_action close_receipt done [13:25:15]requested_data is exist [13:25:15]produce_requested_data [13:25:15]requested_item fm.sn is exist - process it [13:25:15]wFMCommunicate request_size=4 [13:25:15]MH_SAM_APDU [13:25:15]CAPDU: 80 11 00 00 [13:25:15]Write to MH i2c: E2 08 00 92 14 80 11 00 00 00 00 00 00 20 [13:25:15]Write i2c OK [13:25:15]MH_I2C_Read... [13:25:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:15]Read from MH i2c: E2 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 17 00 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 17 00 92 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 77 [13:25:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:25:15]wFMCommunicate OK [13:25:15]requested_item fd.num is exist - process it [13:25:15]SAM_PROTO_GetFieldsCounters [13:25:15]wFMCommunicate request_size=4 [13:25:15]MH_SAM_APDU [13:25:15]CAPDU: 80 13 00 00 [13:25:15]Write to MH i2c: E2 08 00 93 14 80 13 00 00 00 00 00 00 23 [13:25:15]Write i2c OK [13:25:15]MH_I2C_Read... [13:25:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:15]Read from MH i2c: E2 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 62 00 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 62 00 93 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 08 A8 00 00 0E 04 04 00 BD 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 6C [13:25:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 08 A8 00 00 0E 04 04 00 BD 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 [13:25:15]wFMCommunicate OK [13:25:15]SAM_PROTO_GetFieldsCounters done [13:25:15]requested_item shift.num is exist - process it [13:25:15]requested_item shift.opened is exist - process it [13:25:15]req_shift_opened [13:25:15]FM_GetShiftState [13:25:15]SAM_PROTO_GetShiftState [13:25:15]wFMCommunicate request_size=4 [13:25:15]MH_SAM_APDU [13:25:15]CAPDU: 80 13 01 00 [13:25:15]Write to MH i2c: E2 08 00 94 14 80 13 01 00 00 00 00 00 25 [13:25:15]Write i2c OK [13:25:15]MH_I2C_Read... [13:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:15]Read from MH i2c: E2 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 0E 00 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 0E 00 94 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BC [13:25:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:25:15]wFMCommunicate OK [13:25:15]SAM_PROTO_GetShiftState done [13:25:15]FM_GetShiftState done [13:25:15]req_shift_opened done [13:25:15]requested_item shift.open_date is exist - process it [13:25:15]req_shift_open_date [13:25:15]req_shift_open_date done [13:25:15]requested_item shift.sale.total is exist - process it [13:25:15]SAM_PROTO_GetShiftData [13:25:15]wFMCommunicate request_size=4 [13:25:15]MH_SAM_APDU [13:25:15]CAPDU: 80 13 02 00 [13:25:15]Write to MH i2c: E2 08 00 95 14 80 13 02 00 00 00 00 00 27 [13:25:15]Write i2c OK [13:25:15]MH_I2C_Read... [13:25:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:25:15]Read from MH i2c: E2 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 FD 00 [13:25:15]MH_I2C_Read... [13:25:15]Read from MH i2c: E2 FD 00 95 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 D0 D9 0F 70 04 03 00 58 4A 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E6 AE 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E2 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6C [13:25:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 D0 D9 0F 70 04 03 00 58 4A 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E6 AE 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E2 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:25:15]wFMCommunicate OK [13:25:15]wFMCommunicate request_size=4 [13:25:15]MH_SAM_APDU [13:25:15]CAPDU: 80 17 00 00 [13:25:15]Write to MH i2c: E2 08 00 96 14 80 17 00 00 00 00 00 00 2A [13:25:15]Write i2c OK [13:25:15]MH_I2C_Read... [13:25:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:16]Read from MH i2c: E2 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 96 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4C [13:25:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:25:16]wFMCommunicate OK [13:25:16]wFMCommunicate request_size=4 [13:25:16]MH_SAM_APDU [13:25:16]CAPDU: 80 17 00 00 [13:25:16]Write to MH i2c: E2 08 00 97 14 80 17 00 00 00 00 00 00 2B [13:25:16]Write i2c OK [13:25:16]MH_I2C_Read... [13:25:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:16]Read from MH i2c: E2 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 97 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E2 [13:25:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:25:16]wFMCommunicate OK [13:25:16]wFMCommunicate request_size=4 [13:25:16]MH_SAM_APDU [13:25:16]CAPDU: 80 17 00 00 [13:25:16]Write to MH i2c: E2 08 00 98 14 80 17 00 00 00 00 00 00 2C [13:25:16]Write i2c OK [13:25:16]MH_I2C_Read... [13:25:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:16]Read from MH i2c: E2 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 [13:25:16]MH_I2C_Read... [13:25:16]Read from MH i2c: E2 FD 00 98 14 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9E [13:25:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:25:16]wFMCommunicate OK [13:25:16]wFMCommunicate request_size=4 [13:25:16]MH_SAM_APDU [13:25:16]CAPDU: 80 17 00 00 [13:25:16]Write to MH i2c: E2 08 00 99 14 80 17 00 00 00 00 00 00 2D [13:25:16]Write i2c OK [13:25:16]MH_I2C_Read... [13:25:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:25:17]Read from MH i2c: E2 [13:25:17]MH_I2C_Read... [13:25:17]Read from MH i2c: E2 CB 00 [13:25:17]MH_I2C_Read... [13:25:17]Read from MH i2c: E2 CB 00 99 14 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 16 [13:25:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:25:17]wFMCommunicate OK [13:25:17]SAM_PROTO_GetShiftData done [13:25:17]requested_item shift.sale.total_cash is exist - process it [13:25:17]requested_item shift.sale_refund.total is exist - process it [13:25:17]requested_item shift.sale_refund.total_cash is exist - process it [13:25:17]produce_requested_data done [13:25:17]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43016,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10388.00,"shift.sale.total_cash":8710.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:25:17]process_action_free close_receipt [13:25:17]json_value_free [13:25:17]json_value_free done [13:25:17]process_json_proto returns [13:25:17]Send response to host [13:25:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43016,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10388.00,"shift.sale.total_cash":8710.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:25:17]free response buf [13:25:17]execute_script done [13:25:17]execute_script returns [13:25:17]free content buf [13:25:17]Sock 7.Close socket [13:25:17]Sock 7.Thread stoped [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]accept exits with 9 [13:26:24]New connection [13:26:24]New thread 3067387236 created [13:26:24]Thread 3067530596 joined [13:26:24]Waiting for new connection... [13:26:24] Sock 9.Parse request [13:26:24]Sock 9.Check first char [13:26:24]Sock 9.First char is OK [13:26:24]request: POST /json_proto HTTP/1.0 [13:26:24]Method: POST [13:26:24]URL: /json_proto [13:26:24]Method is POST - this is cgi request [13:26:24]url: /json_proto [13:26:24]query_string will be loaded in cgi processing [13:26:24]execute_cgi json_proto POST (null) [13:26:24]execute_cgi path=json_proto method=POST [13:26:24]POST find Content-Length [13:26:24]Host: 172.17.38.197:8080 [13:26:24]Content-Length: 783 [13:26:24]Content-Type: application/json [13:26:24] [13:26:24]POST finish read [13:26:24]Found Content-Length = 783 [13:26:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300145", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:26:24]execute_script... [13:26:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300145", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:26:24]POST & json_proto [13:26:24]process_json_proto [13:26:24]json parsed OK: [13:26:24]protocol is kg_v1.0 [13:26:24]action value=close_receipt [13:26:24]process_action close_receipt [13:26:24]cmd_close_receipt [13:26:24]MH_GetDate [13:26:24]Write to MH i2c: F0 00 00 9A 14 9D [13:26:24]Write i2c OK [13:26:24]MH_I2C_Read... [13:26:24]Read from MH i2c: F0 [13:26:24]MH_I2C_Read... [13:26:24]Read from MH i2c: F0 09 00 [13:26:24]MH_I2C_Read... [13:26:24]Read from MH i2c: F0 09 00 9A 14 00 83 80 92 66 1E 0D 88 66 BA [13:26:24]GetLastDocTimeStamp 1720877115 [13:26:24]current date 1720877187 [13:26:24]FM_GetShiftState [13:26:24]SAM_PROTO_GetShiftState [13:26:24]wFMCommunicate request_size=4 [13:26:24]MH_SAM_APDU [13:26:24]CAPDU: 80 13 01 00 [13:26:24]Write to MH i2c: E2 08 00 9B 14 80 13 01 00 00 00 00 00 2C [13:26:24]Write i2c OK [13:26:24]MH_I2C_Read... [13:26:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:24]Read from MH i2c: E2 [13:26:24]MH_I2C_Read... [13:26:24]Read from MH i2c: E2 0E 00 [13:26:24]MH_I2C_Read... [13:26:24]Read from MH i2c: E2 0E 00 9B 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C3 [13:26:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:26:24]wFMCommunicate OK [13:26:24]SAM_PROTO_GetShiftState done [13:26:24]FM_GetShiftState done [13:26:24]opened in 1720829646 [13:26:24]opened+sec_in_day 1720916046 [13:26:24]quantity*price = 8000 [13:26:24]sum+1 = 8001 [13:26:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 62 13.07.2024 13:26 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43017 ФПД: 113962141058721 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132627&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43017&fm=113962141058721&tin=02508201610067®Number=0000000000091176&sum=8000 0 [13:26:25]StoreToDocumentArchive [13:26:25]shift 445 fd 43017 [13:26:25]save to /storage/0445/doc_00043017 [13:26:25]save last doc name /storage/0445/doc_00043017 to /storage/kkm_last_doc_name [13:26:25]save OK [13:26:25]Clear old archive folders... [13:26:25]ProcessDocumentItem done err = 0, tmpTLVsize=294 [13:26:25]tlvbuf is B6F35700 [13:26:25]SAM_PROTO_ClearQueue [13:26:25]wFMCommunicate request_size=4 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 09 00 00 [13:26:25]Write to MH i2c: E2 08 00 A8 14 80 09 00 00 00 00 00 00 2E [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 A8 14 00 90 00 30 [13:26:25]RAPDU: 90 00 [13:26:25]wFMCommunicate OK [13:26:25]SAM_PROTO_ClearQueue done [13:26:25]KKMCreateOFDPacket [13:26:25]OFDProtocolAddRootSTLVToBuf [13:26:25]FM_MakeSignedData [13:26:25]FM_MakeSignedData [13:26:25]SAM_PROTO_SignData [13:26:25]wFMCommunicate request_size=4 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 0D 01 02 [13:26:25]Write to MH i2c: E2 08 00 A9 14 80 0D 01 02 00 00 00 00 36 [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 A9 14 00 90 00 31 [13:26:25]RAPDU: 90 00 [13:26:25]wFMCommunicate OK [13:26:25]wFMCommunicate request_size=255 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 83 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [13:26:25]Write to MH i2c: E2 02 01 AA 14 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 83 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 2F [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 AA 14 00 90 00 32 [13:26:25]RAPDU: 90 00 [13:26:25]wFMCommunicate OK [13:26:25]wFMCommunicate request_size=53 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 09 A8 00 00 35 04 06 00 67 A5 E0 EF 86 A1 [13:26:25]Write to MH i2c: E2 38 00 AB 14 80 0D 02 02 30 00 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 09 A8 00 00 35 04 06 00 67 A5 E0 EF 86 A1 00 00 E4 [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 03 00 AB 14 00 90 00 33 [13:26:25]RAPDU: 90 00 [13:26:25]wFMCommunicate OK [13:26:25]wFMCommunicate request_size=4 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 0D 03 02 [13:26:25]Write to MH i2c: E2 08 00 AC 14 80 0D 03 02 00 00 00 00 3B [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 0B 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 0B 00 AC 14 00 E4 69 5C 94 08 B9 B6 77 90 00 67 [13:26:25]RAPDU: E4 69 5C 94 08 B9 B6 77 90 00 [13:26:25]wFMCommunicate OK [13:26:25]SAM_PROTO_SignData done [13:26:25]FM_MakeSignedData done [13:26:25]CreateOFDProtocolMessage [13:26:25]wFMCommunicate request_size=4 [13:26:25]MH_SAM_APDU [13:26:25]CAPDU: 80 11 00 00 [13:26:25]Write to MH i2c: E2 08 00 AD 14 80 11 00 00 00 00 00 00 3B [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:25]Read from MH i2c: E2 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 17 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: E2 17 00 AD 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 92 [13:26:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:26:25]wFMCommunicate OK [13:26:25]CreateOFDProtocolMessage done [13:26:25]OFDSenderStorePacket 43017 [13:26:25]StoreOFDPacket docnum=43017 [13:26:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 F7 3A 32 01 DF 09 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 83 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 09 A8 00 00 35 04 06 00 67 A5 E0 EF 86 A1 E4 69 5C 94 08 B9 B6 77 [13:26:25]CheckFolder [13:26:25]dirname=/storage/ofd_packets [13:26:25]CheckFolder done [13:26:25]ProducePacketName [13:26:25]name=ofd_packets/00043017 [13:26:25]NVStorageSaveData ofd_packets/00043017 [13:26:25]File name is /storage/ofd_packets/00043017 [13:26:25]Write 344 bytes [13:26:25]NVStorageSaveData done [13:26:25]OFDSenderStorePacket done [13:26:25]KKMCreateOFDPacket done [13:26:25]NVStorageSaveData kkm_last_timestamp [13:26:25]File name is /storage/kkm_last_timestamp [13:26:25]Write 4 bytes [13:26:25]NVStorageSaveData done [13:26:25]ExternCall_PrintAddStr [13:26:25]wPrintStart [13:26:25]Write to MH i2c: 01 00 00 AE 14 C2 [13:26:25]Write i2c OK [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: 01 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: 01 07 00 [13:26:25]MH_I2C_Read... [13:26:25]Read from MH i2c: 01 07 00 AE 14 00 00 00 00 00 FF 0F D7 [13:26:25]RasterBufferAndPrint [13:26:25]line Счет N : (3)300145 [13:26:25]line ИНН: 02508201610067 [13:26:25]line Контрольно-Кассовый Чек [13:26:25]line ПРОДАЖА [13:26:25]line Товар: 4700003010353 [13:26:25]line Напиток Let`s Go! с/с груша ПЭТ 1л [13:26:25]line 1.000 * 80.00 [13:26:25]line = 80.00 [13:26:25]line НДС 12% НСП 1% [13:26:25]line > о реализуемом товаре [13:26:25]line ИТОГО: 80.00 [13:26:25]line НСП 1% : 0.71 [13:26:25]line НДС 12% : 8.50 [13:26:25]line Наличными: 80.00 [13:26:25]line Безнал.: 0.00 [13:26:25]line Место: АЗС № 71 "Партнер Нефть" [13:26:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:26:25]line СНО: Общий режим [13:26:25]line Чек 62 13.07.2024 13:26 [13:26:25]line Смена: 445 ФФД: 1.0 [13:26:25]line ЗНМ: 0300000153 [13:26:25]line РНМ: 0000000000091176 [13:26:25]line Версия ККМ: 001 [13:26:25]line ФМ: 0000000000874935 [13:26:25]line ФД: 43017 [13:26:25]line ФПД: 113962141058721 [13:26:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T132627&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43017&fm=113962141058721&tin=02508201610067®Number=0000000000091176&sum=8000 [13:26:26]OFD Sender: Processing packet 43017 [packets to send 31, broken 30] [13:26:26]ProducePacketName [13:26:26]name=ofd_packets/00043017 [13:26:26]OFD Sender: To server: pG, [13:26:26]CommunicateWithHost lk.salyk.kg:30040 [13:26:26]ConnectInit lk.salyk.kg [13:26:26]line 0 [13:26:26]written 0, free lines is 4095 [13:26:26]Connected sock=10 [13:26:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 F7 3A 32 01 DF 09 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 83 80 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 09 A8 00 00 35 04 06 00 67 A5 E0 EF 86 A1 E4 69 5C 94 08 B9 B6 77 [13:26:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F0 10 47 00 DC F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 09 A8 00 00 F4 03 04 00 7E 2C 92 66 B6 04 01 00 00 C7 8B EF 6A 13 BE 22 2A [13:26:26]CommunicateWithHost err = 0 [13:26:26]CheckOFDResponse [13:26:26]1017 (14) - 77093643461234 [13:26:26]1041 (16) - 0000000000874935 [13:26:26]1040 (4) - 43017 [13:26:26]1012 (4) - 13.07.2024 07:27 [13:26:26]1206 (1) - 0 [13:26:26]OFD Sender: Remove packet 43017 [13:26:26]ProducePacketName [13:26:26]name=ofd_packets/00043017 [13:26:26]NVStorageDeleteData [13:26:26]Write to MH i2c: 01 00 00 D7 14 EB [13:26:26]Write i2c OK [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: 01 [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: 01 07 00 [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: 01 07 00 D7 14 00 00 00 00 00 F0 0C EE [13:26:26]RasterBufferAndPrint [13:26:26]line [13:26:26]line [13:26:26]line [13:26:26]line [13:26:26]line [13:26:26]written 0, free lines is 3318 [13:26:26]MH_Cut [13:26:26]Write to MH i2c: D1 01 00 DE 14 01 C4 [13:26:26]Write i2c OK [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: D1 [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: D1 01 00 [13:26:26]MH_I2C_Read... [13:26:26]Read from MH i2c: D1 01 00 DE 14 00 C3 [13:26:26]Write to MH i2c: 01 00 00 DF 14 F3 [13:26:26]Write i2c OK [13:26:26]MH_I2C_Read... [13:26:27]OFD Sender: No OFD packet to send [13:26:27]*** Cut start [13:26:27]*** Partial cut [13:26:27]*** CUTSNS_PIN = 1 [13:26:27]*** CUTSNS_PIN = 0 [13:26:27]*** Brake cut motor [13:26:28]Read from MH i2c: 01 [13:26:28]MH_I2C_Read... [13:26:28]*** Stop cut motor [13:26:28]*** Cut end [13:26:28]Read from MH i2c: 01 07 00 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: 01 07 00 DF 14 00 00 00 00 00 FF 0F 08 [13:26:28]process_action close_receipt done [13:26:28]requested_data is exist [13:26:28]produce_requested_data [13:26:28]requested_item fm.sn is exist - process it [13:26:28]wFMCommunicate request_size=4 [13:26:28]MH_SAM_APDU [13:26:28]CAPDU: 80 11 00 00 [13:26:28]Write to MH i2c: E2 08 00 E0 14 80 11 00 00 00 00 00 00 6E [13:26:28]Write i2c OK [13:26:28]MH_I2C_Read... [13:26:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:28]Read from MH i2c: E2 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 17 00 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 17 00 E0 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C5 [13:26:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:26:28]wFMCommunicate OK [13:26:28]requested_item fd.num is exist - process it [13:26:28]SAM_PROTO_GetFieldsCounters [13:26:28]wFMCommunicate request_size=4 [13:26:28]MH_SAM_APDU [13:26:28]CAPDU: 80 13 00 00 [13:26:28]Write to MH i2c: E2 08 00 E1 14 80 13 00 00 00 00 00 00 71 [13:26:28]Write i2c OK [13:26:28]MH_I2C_Read... [13:26:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:26:28]Read from MH i2c: E2 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 62 00 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 62 00 E1 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 09 A8 00 00 0E 04 04 00 BD 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 BE [13:26:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 09 A8 00 00 0E 04 04 00 BD 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 [13:26:28]wFMCommunicate OK [13:26:28]SAM_PROTO_GetFieldsCounters done [13:26:28]requested_item shift.num is exist - process it [13:26:28]requested_item shift.opened is exist - process it [13:26:28]req_shift_opened [13:26:28]FM_GetShiftState [13:26:28]SAM_PROTO_GetShiftState [13:26:28]wFMCommunicate request_size=4 [13:26:28]MH_SAM_APDU [13:26:28]CAPDU: 80 13 01 00 [13:26:28]Write to MH i2c: E2 08 00 E2 14 80 13 01 00 00 00 00 00 73 [13:26:28]Write i2c OK [13:26:28]MH_I2C_Read... [13:26:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:28]Read from MH i2c: E2 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 0E 00 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 0E 00 E2 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0A [13:26:28]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:26:28]wFMCommunicate OK [13:26:28]SAM_PROTO_GetShiftState done [13:26:28]FM_GetShiftState done [13:26:28]req_shift_opened done [13:26:28]requested_item shift.open_date is exist - process it [13:26:28]req_shift_open_date [13:26:28]req_shift_open_date done [13:26:28]requested_item shift.sale.total is exist - process it [13:26:28]SAM_PROTO_GetShiftData [13:26:28]wFMCommunicate request_size=4 [13:26:28]MH_SAM_APDU [13:26:28]CAPDU: 80 13 02 00 [13:26:28]Write to MH i2c: E2 08 00 E3 14 80 13 02 00 00 00 00 00 75 [13:26:28]Write i2c OK [13:26:28]MH_I2C_Read... [13:26:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:26:28]Read from MH i2c: E2 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 FD 00 [13:26:28]MH_I2C_Read... [13:26:28]Read from MH i2c: E2 FD 00 E3 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 10 F9 0F 70 04 03 00 98 69 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 38 B2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 29 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 19 [13:26:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 10 F9 0F 70 04 03 00 98 69 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 38 B2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 29 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:26:28]wFMCommunicate OK [13:26:28]wFMCommunicate request_size=4 [13:26:28]MH_SAM_APDU [13:26:28]CAPDU: 80 17 00 00 [13:26:28]Write to MH i2c: E2 08 00 E4 14 80 17 00 00 00 00 00 00 78 [13:26:28]Write i2c OK [13:26:28]MH_I2C_Read... [13:26:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:26:29]Read from MH i2c: E2 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 E4 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 9A [13:26:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:26:29]wFMCommunicate OK [13:26:29]wFMCommunicate request_size=4 [13:26:29]MH_SAM_APDU [13:26:29]CAPDU: 80 17 00 00 [13:26:29]Write to MH i2c: E2 08 00 E5 14 80 17 00 00 00 00 00 00 79 [13:26:29]Write i2c OK [13:26:29]MH_I2C_Read... [13:26:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:26:29]Read from MH i2c: E2 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 E5 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 30 [13:26:29]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:26:29]wFMCommunicate OK [13:26:29]wFMCommunicate request_size=4 [13:26:29]MH_SAM_APDU [13:26:29]CAPDU: 80 17 00 00 [13:26:29]Write to MH i2c: E2 08 00 E6 14 80 17 00 00 00 00 00 00 7A [13:26:29]Write i2c OK [13:26:29]MH_I2C_Read... [13:26:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:26:29]Read from MH i2c: E2 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 FD 00 E6 14 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 EC [13:26:29]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:26:29]wFMCommunicate OK [13:26:29]wFMCommunicate request_size=4 [13:26:29]MH_SAM_APDU [13:26:29]CAPDU: 80 17 00 00 [13:26:29]Write to MH i2c: E2 08 00 E7 14 80 17 00 00 00 00 00 00 7B [13:26:29]Write i2c OK [13:26:29]MH_I2C_Read... [13:26:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:26:29]Read from MH i2c: E2 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 CB 00 [13:26:29]MH_I2C_Read... [13:26:29]Read from MH i2c: E2 CB 00 E7 14 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 64 [13:26:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:26:30]wFMCommunicate OK [13:26:30]SAM_PROTO_GetShiftData done [13:26:30]requested_item shift.sale.total_cash is exist - process it [13:26:30]requested_item shift.sale_refund.total is exist - process it [13:26:30]requested_item shift.sale_refund.total_cash is exist - process it [13:26:30]produce_requested_data done [13:26:30]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43017,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10468.00,"shift.sale.total_cash":8790.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:26:30]process_action_free close_receipt [13:26:30]json_value_free [13:26:30]json_value_free done [13:26:30]process_json_proto returns [13:26:30]Send response to host [13:26:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43017,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10468.00,"shift.sale.total_cash":8790.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:26:30]free response buf [13:26:30]execute_script done [13:26:30]execute_script returns [13:26:30]free content buf [13:26:30]Sock 9.Close socket [13:26:30]Sock 9.Thread stoped [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:09]accept exits with 7 [13:33:09]New connection [13:33:09]New thread 3067530596 created [13:33:09]Thread 3067387236 joined [13:33:09]Waiting for new connection... [13:33:09] Sock 7.Parse request [13:33:09]Sock 7.Check first char [13:33:09]Sock 7.First char is OK [13:33:09]request: POST /json_proto HTTP/1.0 [13:33:09]Method: POST [13:33:09]URL: /json_proto [13:33:09]Method is POST - this is cgi request [13:33:09]url: /json_proto [13:33:09]query_string will be loaded in cgi processing [13:33:09]execute_cgi json_proto POST (null) [13:33:09]execute_cgi path=json_proto method=POST [13:33:09]POST find Content-Length [13:33:09]Host: 172.17.38.197:8080 [13:33:09]Content-Length: 1576 [13:33:09]Content-Type: application/json [13:33:09] [13:33:09]POST finish read [13:33:09]Found Content-Length = 1576 [13:33:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300146", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:33:09]execute_script... [13:33:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300146", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 37.00, "quantity" : 1.000, "sum" : 37.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:33:09]POST & json_proto [13:33:09]process_json_proto [13:33:09]json parsed OK: [13:33:09]protocol is kg_v1.0 [13:33:09]action value=close_receipt [13:33:09]process_action close_receipt [13:33:09]cmd_close_receipt [13:33:09]MH_GetDate [13:33:09]Write to MH i2c: F0 00 00 E8 14 EB [13:33:09]Write i2c OK [13:33:09]MH_I2C_Read... [13:33:09]Read from MH i2c: F0 [13:33:10]MH_I2C_Read... [13:33:10]Read from MH i2c: F0 09 00 [13:33:10]MH_I2C_Read... [13:33:10]Read from MH i2c: F0 09 00 E8 14 00 19 82 92 66 1E 0D 88 66 A0 [13:33:10]GetLastDocTimeStamp 1720877187 [13:33:10]current date 1720877593 [13:33:10]FM_GetShiftState [13:33:10]SAM_PROTO_GetShiftState [13:33:10]wFMCommunicate request_size=4 [13:33:10]MH_SAM_APDU [13:33:10]CAPDU: 80 13 01 00 [13:33:10]Write to MH i2c: E2 08 00 E9 14 80 13 01 00 00 00 00 00 7A [13:33:10]Write i2c OK [13:33:10]MH_I2C_Read... [13:33:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:33:10]Read from MH i2c: E2 [13:33:10]MH_I2C_Read... [13:33:10]Read from MH i2c: E2 0E 00 [13:33:10]MH_I2C_Read... [13:33:10]Read from MH i2c: E2 0E 00 E9 14 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 11 [13:33:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:33:10]wFMCommunicate OK [13:33:10]SAM_PROTO_GetShiftState done [13:33:10]FM_GetShiftState done [13:33:10]opened in 1720829646 [13:33:10]opened+sec_in_day 1720916046 [13:33:10]quantity*price = 13000 [13:33:10]sum+1 = 13001 [13:33:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032760017 Слойка DC треугольная мясо110г 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032780015 Слойка DC треугольная курица 110г 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113164 Жев Orbit White Spearmint 1.000 * 37.00 = 37.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 297.00 НСП 1% : 2.62 НДС 12% : 31.53 Наличными: 297.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 63 13.07.2024 13:33 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43018 ФПД: 278034718199118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T133313&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43018&fm=278034718199118&tin=02508201610067®Number=0000000000091176&sum=29700 0 [13:33:11]StoreToDocumentArchive [13:33:11]shift 445 fd 43018 [13:33:11]save to /storage/0445/doc_00043018 [13:33:11]save last doc name /storage/0445/doc_00043018 to /storage/kkm_last_doc_name [13:33:11]save OK [13:33:11]Clear old archive folders... [13:33:11]ProcessDocumentItem done err = 0, tmpTLVsize=624 [13:33:11]tlvbuf is 015E8E80 [13:33:11]SAM_PROTO_ClearQueue [13:33:11]wFMCommunicate request_size=4 [13:33:11]MH_SAM_APDU [13:33:11]CAPDU: 80 09 00 00 [13:33:11]Write to MH i2c: E2 08 00 F6 14 80 09 00 00 00 00 00 00 7C [13:33:11]Write i2c OK [13:33:11]MH_I2C_Read... [13:33:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:33:11]Read from MH i2c: E2 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 F6 14 00 90 00 7E [13:33:11]RAPDU: 90 00 [13:33:11]wFMCommunicate OK [13:33:11]SAM_PROTO_ClearQueue done [13:33:11]KKMCreateOFDPacket [13:33:11]OFDProtocolAddRootSTLVToBuf [13:33:11]FM_MakeSignedData [13:33:11]FM_MakeSignedData [13:33:11]SAM_PROTO_SignData [13:33:11]wFMCommunicate request_size=4 [13:33:11]MH_SAM_APDU [13:33:11]CAPDU: 80 0D 01 02 [13:33:11]Write to MH i2c: E2 08 00 F7 14 80 0D 01 02 00 00 00 00 84 [13:33:11]Write i2c OK [13:33:11]MH_I2C_Read... [13:33:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:33:11]Read from MH i2c: E2 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 F7 14 00 90 00 7F [13:33:11]RAPDU: 90 00 [13:33:11]wFMCommunicate OK [13:33:11]wFMCommunicate request_size=255 [13:33:11]MH_SAM_APDU [13:33:11]CAPDU: 80 0D 02 02 FA 03 00 70 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 [13:33:11]Write to MH i2c: E2 02 01 F8 14 80 0D 02 02 FA 00 03 00 70 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 00 00 42 [13:33:11]Write i2c OK [13:33:11]MH_I2C_Read... [13:33:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:11]Read from MH i2c: E2 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 F8 14 00 90 00 80 [13:33:11]RAPDU: 90 00 [13:33:11]wFMCommunicate OK [13:33:11]wFMCommunicate request_size=255 [13:33:11]MH_SAM_APDU [13:33:11]CAPDU: 80 0D 02 02 FA 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 [13:33:11]Write to MH i2c: E2 02 01 F9 14 80 0D 02 02 FA 00 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 00 00 5E [13:33:11]Write i2c OK [13:33:11]MH_I2C_Read... [13:33:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:11]Read from MH i2c: E2 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 [13:33:11]MH_I2C_Read... [13:33:11]Read from MH i2c: E2 03 00 F9 14 00 90 00 81 [13:33:11]RAPDU: 90 00 [13:33:11]wFMCommunicate OK [13:33:11]wFMCommunicate request_size=133 [13:33:11]MH_SAM_APDU [13:33:11]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 51 0C 00 00 00 00 07 04 06 00 04 74 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 19 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0A A8 00 00 35 04 06 00 FC DF 00 9D 0D 4E [13:33:11]Write to MH i2c: E2 88 00 FA 14 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 51 0C 00 00 00 00 07 04 06 00 04 74 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 19 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0A A8 00 00 35 04 06 00 FC DF 00 9D 0D 4E 00 00 A2 [13:33:11]Write i2c OK [13:33:11]MH_I2C_Read... [13:33:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:12]Read from MH i2c: E2 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 03 00 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 03 00 FA 14 00 90 00 82 [13:33:12]RAPDU: 90 00 [13:33:12]wFMCommunicate OK [13:33:12]wFMCommunicate request_size=4 [13:33:12]MH_SAM_APDU [13:33:12]CAPDU: 80 0D 03 02 [13:33:12]Write to MH i2c: E2 08 00 FB 14 80 0D 03 02 00 00 00 00 8A [13:33:12]Write i2c OK [13:33:12]MH_I2C_Read... [13:33:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:33:12]Read from MH i2c: E2 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 0B 00 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 0B 00 FB 14 00 43 B4 04 3C 02 F2 C0 9A 90 00 10 [13:33:12]RAPDU: 43 B4 04 3C 02 F2 C0 9A 90 00 [13:33:12]wFMCommunicate OK [13:33:12]SAM_PROTO_SignData done [13:33:12]FM_MakeSignedData done [13:33:12]CreateOFDProtocolMessage [13:33:12]wFMCommunicate request_size=4 [13:33:12]MH_SAM_APDU [13:33:12]CAPDU: 80 11 00 00 [13:33:12]Write to MH i2c: E2 08 00 FC 14 80 11 00 00 00 00 00 00 8A [13:33:12]Write i2c OK [13:33:12]MH_I2C_Read... [13:33:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:33:12]Read from MH i2c: E2 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 17 00 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: E2 17 00 FC 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E1 [13:33:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:33:12]wFMCommunicate OK [13:33:12]CreateOFDProtocolMessage done [13:33:12]OFDSenderStorePacket 43018 [13:33:12]StoreOFDPacket docnum=43018 [13:33:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 84 02 00 00 B1 BA 7C 02 8C 4A 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 0C 00 00 00 00 07 04 06 00 04 74 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 19 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0A A8 00 00 35 04 06 00 FC DF 00 9D 0D 4E 43 B4 04 3C 02 F2 C0 9A [13:33:12]CheckFolder [13:33:12]dirname=/storage/ofd_packets [13:33:12]CheckFolder done [13:33:12]ProducePacketName [13:33:12]name=ofd_packets/00043018 [13:33:12]NVStorageSaveData ofd_packets/00043018 [13:33:12]File name is /storage/ofd_packets/00043018 [13:33:12]Write 674 bytes [13:33:12]NVStorageSaveData done [13:33:12]OFDSenderStorePacket done [13:33:12]KKMCreateOFDPacket done [13:33:12]NVStorageSaveData kkm_last_timestamp [13:33:12]File name is /storage/kkm_last_timestamp [13:33:12]Write 4 bytes [13:33:12]NVStorageSaveData done [13:33:12]ExternCall_PrintAddStr [13:33:12]wPrintStart [13:33:12]Write to MH i2c: 01 00 00 FD 14 11 [13:33:12]Write i2c OK [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: 01 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: 01 07 00 [13:33:12]MH_I2C_Read... [13:33:12]Read from MH i2c: 01 07 00 FD 14 00 00 00 00 00 FF 0F 26 [13:33:12]RasterBufferAndPrint [13:33:12]line Счет N : (3)300146 [13:33:12]line ИНН: 02508201610067 [13:33:12]line Контрольно-Кассовый Чек [13:33:12]line ПРОДАЖА [13:33:12]line Товар: 2000036230011 [13:33:12]line Кофе Латте XL(GABB TRADE) [13:33:12]line 1.000 * 130.00 [13:33:12]line = 130.00 [13:33:12]line НДС 12% НСП 1% [13:33:12]line > о реализуемом товаре [13:33:12]line Товар: 2000032760017 [13:33:12]line Слойка DC треугольная мясо110г [13:33:12]line 1.000 * 65.00 [13:33:12]line = 65.00 [13:33:12]line НДС 12% НСП 1% [13:33:12]line > о реализуемом товаре [13:33:12]line Товар: 2000032780015 [13:33:12]line Слойка DC треугольная курица 110г [13:33:12]line 1.000 * 65.00 [13:33:12]line = 65.00 [13:33:12]line НДС 12% НСП 1% [13:33:12]line > о реализуемом товаре [13:33:12]line Товар: 42113164 [13:33:12]line Жев Orbit White Spearmint [13:33:12]line 1.000 * 37.00 [13:33:12]line = 37.00 [13:33:12]line НДС 12% НСП 1% [13:33:12]line > о реализуемом товаре [13:33:12]line ИТОГО: 297.00 [13:33:12]line НСП 1% : 2.62 [13:33:12]line НДС 12% : 31.53 [13:33:12]line Наличными: 297.00 [13:33:12]line Безнал.: 0.00 [13:33:12]line Место: АЗС № 71 "Партнер Нефть" [13:33:12]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:33:12]line СНО: Общий режим [13:33:12]line Чек 63 13.07.2024 13:33 [13:33:12]line Смена: 445 ФФД: 1.0 [13:33:12]line ЗНМ: 0300000153 [13:33:12]line РНМ: 0000000000091176 [13:33:12]line Версия ККМ: 001 [13:33:12]line ФМ: 0000000000874935 [13:33:12]line ФД: 43018 [13:33:12]line ФПД: 278034718199118 [13:33:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T133313&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43018&fm=278034718199118&tin=02508201610067®Number=0000000000091176&sum=29700 [13:33:12]line 0 [13:33:12]OFD Sender: Processing packet 43018 [packets to send 31, broken 30] [13:33:12]ProducePacketName [13:33:12]name=ofd_packets/00043018 [13:33:12]OFD Sender: To server: pG, [13:33:12]CommunicateWithHost lk.salyk.kg:30040 [13:33:12]ConnectInit lk.salyk.kg [13:33:12]written 0, free lines is 4095 [13:33:12]Connected sock=10 [13:33:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 84 02 00 00 B1 BA 7C 02 8C 4A 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 0C 00 00 00 00 07 04 06 00 04 74 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 19 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0A A8 00 00 35 04 06 00 FC DF 00 9D 0D 4E 43 B4 04 3C 02 F2 C0 9A [13:33:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D3 A5 47 00 81 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0A A8 00 00 F4 03 04 00 14 2E 92 66 B6 04 01 00 00 DD 00 48 FF 4B 4B 0A 0D [13:33:12]CommunicateWithHost err = 0 [13:33:12]CheckOFDResponse [13:33:12]1017 (14) - 77093643461234 [13:33:12]1041 (16) - 0000000000874935 [13:33:12]1040 (4) - 43018 [13:33:12]1012 (4) - 13.07.2024 07:34 [13:33:12]1206 (1) - 0 [13:33:12]OFD Sender: Remove packet 43018 [13:33:12]ProducePacketName [13:33:12]name=ofd_packets/00043018 [13:33:12]NVStorageDeleteData [13:33:13]Write to MH i2c: 01 00 00 39 15 4E [13:33:13]Write i2c OK [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: 01 [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: 01 07 00 [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: 01 07 00 39 15 00 00 00 00 00 DC 0B 3C [13:33:13]RasterBufferAndPrint [13:33:13]line [13:33:13]line [13:33:13]line [13:33:13]line [13:33:13]line [13:33:13]written 0, free lines is 3045 [13:33:13]MH_Cut [13:33:13]Write to MH i2c: D1 01 00 40 15 01 27 [13:33:13]Write i2c OK [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: D1 [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: D1 01 00 [13:33:13]MH_I2C_Read... [13:33:13]Read from MH i2c: D1 01 00 40 15 00 26 [13:33:13]Write to MH i2c: 01 00 00 41 15 56 [13:33:13]Write i2c OK [13:33:13]MH_I2C_Read... [13:33:13]OFD Sender: No OFD packet to send [13:33:14]*** Cut start [13:33:14]*** Partial cut [13:33:14]*** CUTSNS_PIN = 1 [13:33:14]*** CUTSNS_PIN = 0 [13:33:14]*** Brake cut motor [13:33:14]Read from MH i2c: 01 [13:33:14]MH_I2C_Read... [13:33:14]*** Stop cut motor [13:33:14]*** Cut end [13:33:14]Read from MH i2c: 01 07 00 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: 01 07 00 41 15 00 00 00 00 00 FF 0F 6B [13:33:14]process_action close_receipt done [13:33:14]requested_data is exist [13:33:14]produce_requested_data [13:33:14]requested_item fm.sn is exist - process it [13:33:14]wFMCommunicate request_size=4 [13:33:14]MH_SAM_APDU [13:33:14]CAPDU: 80 11 00 00 [13:33:14]Write to MH i2c: E2 08 00 42 15 80 11 00 00 00 00 00 00 D1 [13:33:14]Write i2c OK [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 [13:33:14]MH_I2C_Read... [13:33:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:33:14]Read from MH i2c: E2 17 00 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 17 00 42 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 28 [13:33:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:33:14]wFMCommunicate OK [13:33:14]requested_item fd.num is exist - process it [13:33:14]SAM_PROTO_GetFieldsCounters [13:33:14]wFMCommunicate request_size=4 [13:33:14]MH_SAM_APDU [13:33:14]CAPDU: 80 13 00 00 [13:33:14]Write to MH i2c: E2 08 00 43 15 80 13 00 00 00 00 00 00 D4 [13:33:14]Write i2c OK [13:33:14]MH_I2C_Read... [13:33:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:33:14]Read from MH i2c: E2 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 62 00 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 62 00 43 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0A A8 00 00 0E 04 04 00 BD 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 25 [13:33:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0A A8 00 00 0E 04 04 00 BD 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 [13:33:14]wFMCommunicate OK [13:33:14]SAM_PROTO_GetFieldsCounters done [13:33:14]requested_item shift.num is exist - process it [13:33:14]requested_item shift.opened is exist - process it [13:33:14]req_shift_opened [13:33:14]FM_GetShiftState [13:33:14]SAM_PROTO_GetShiftState [13:33:14]wFMCommunicate request_size=4 [13:33:14]MH_SAM_APDU [13:33:14]CAPDU: 80 13 01 00 [13:33:14]Write to MH i2c: E2 08 00 44 15 80 13 01 00 00 00 00 00 D6 [13:33:14]Write i2c OK [13:33:14]MH_I2C_Read... [13:33:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:33:14]Read from MH i2c: E2 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 0E 00 [13:33:14]MH_I2C_Read... [13:33:14]Read from MH i2c: E2 0E 00 44 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6D [13:33:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:33:14]wFMCommunicate OK [13:33:14]SAM_PROTO_GetShiftState done [13:33:14]FM_GetShiftState done [13:33:14]req_shift_opened done [13:33:14]requested_item shift.open_date is exist - process it [13:33:14]req_shift_open_date [13:33:14]req_shift_open_date done [13:33:14]requested_item shift.sale.total is exist - process it [13:33:14]SAM_PROTO_GetShiftData [13:33:14]wFMCommunicate request_size=4 [13:33:14]MH_SAM_APDU [13:33:14]CAPDU: 80 13 02 00 [13:33:14]Write to MH i2c: E2 08 00 45 15 80 13 02 00 00 00 00 00 D8 [13:33:15]Write i2c OK [13:33:15]MH_I2C_Read... [13:33:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:33:15]Read from MH i2c: E2 [13:33:15]MH_I2C_Read... [13:33:15]Read from MH i2c: E2 FD 00 [13:33:15]MH_I2C_Read... [13:33:15]Read from MH i2c: E2 FD 00 45 15 00 AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 14 6D 10 70 04 03 00 9C DD 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 89 BE 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2F 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D3 [13:33:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 14 6D 10 70 04 03 00 9C DD 0D 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 89 BE 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2F 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:33:15]wFMCommunicate OK [13:33:15]wFMCommunicate request_size=4 [13:33:15]MH_SAM_APDU [13:33:15]CAPDU: 80 17 00 00 [13:33:15]Write to MH i2c: E2 08 00 46 15 80 17 00 00 00 00 00 00 DB [13:33:15]Write i2c OK [13:33:15]MH_I2C_Read... [13:33:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:15]Read from MH i2c: E2 [13:33:15]MH_I2C_Read... [13:33:15]Read from MH i2c: E2 FD 00 [13:33:15]MH_I2C_Read... [13:33:15]Read from MH i2c: E2 FD 00 46 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FD [13:33:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:33:15]wFMCommunicate OK [13:33:15]wFMCommunicate request_size=4 [13:33:15]MH_SAM_APDU [13:33:15]CAPDU: 80 17 00 00 [13:33:15]Write to MH i2c: E2 08 00 47 15 80 17 00 00 00 00 00 00 DC [13:33:15]Write i2c OK [13:33:15]MH_I2C_Read... [13:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:16]Read from MH i2c: E2 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 FD 00 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 FD 00 47 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 93 [13:33:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:33:16]wFMCommunicate OK [13:33:16]wFMCommunicate request_size=4 [13:33:16]MH_SAM_APDU [13:33:16]CAPDU: 80 17 00 00 [13:33:16]Write to MH i2c: E2 08 00 48 15 80 17 00 00 00 00 00 00 DD [13:33:16]Write i2c OK [13:33:16]MH_I2C_Read... [13:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:16]Read from MH i2c: E2 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 FD 00 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 FD 00 48 15 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 4F [13:33:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:33:16]wFMCommunicate OK [13:33:16]wFMCommunicate request_size=4 [13:33:16]MH_SAM_APDU [13:33:16]CAPDU: 80 17 00 00 [13:33:16]Write to MH i2c: E2 08 00 49 15 80 17 00 00 00 00 00 00 DE [13:33:16]Write i2c OK [13:33:16]MH_I2C_Read... [13:33:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:33:16]Read from MH i2c: E2 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 CB 00 [13:33:16]MH_I2C_Read... [13:33:16]Read from MH i2c: E2 CB 00 49 15 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C7 [13:33:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:33:16]wFMCommunicate OK [13:33:16]SAM_PROTO_GetShiftData done [13:33:16]requested_item shift.sale.total_cash is exist - process it [13:33:16]requested_item shift.sale_refund.total is exist - process it [13:33:16]requested_item shift.sale_refund.total_cash is exist - process it [13:33:16]produce_requested_data done [13:33:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43018,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10765.00,"shift.sale.total_cash":9087.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:33:16]process_action_free close_receipt [13:33:16]json_value_free [13:33:16]json_value_free done [13:33:16]process_json_proto returns [13:33:16]Send response to host [13:33:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43018,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10765.00,"shift.sale.total_cash":9087.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:33:16]free response buf [13:33:16]execute_script done [13:33:16]execute_script returns [13:33:16]free content buf [13:33:16]Sock 7.Close socket [13:33:16]Sock 7.Thread stoped [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:27]accept exits with 9 [13:36:27]New connection [13:36:27]New thread 3067387236 created [13:36:27]Thread 3067530596 joined [13:36:27]Waiting for new connection... [13:36:27] Sock 9.Parse request [13:36:27]Sock 9.Check first char [13:36:27]Sock 9.First char is OK [13:36:27]request: POST /json_proto HTTP/1.0 [13:36:27]Method: POST [13:36:27]URL: /json_proto [13:36:27]Method is POST - this is cgi request [13:36:27]url: /json_proto [13:36:27]query_string will be loaded in cgi processing [13:36:27]execute_cgi json_proto POST (null) [13:36:27]execute_cgi path=json_proto method=POST [13:36:27]POST find Content-Length [13:36:27]Host: 172.17.38.197:8080 [13:36:27]Content-Length: 758 [13:36:27]Content-Type: application/json [13:36:27] [13:36:27]POST finish read [13:36:27]Found Content-Length = 758 [13:36:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300147", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:36:27]execute_script... [13:36:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300147", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:36:27]POST & json_proto [13:36:27]process_json_proto [13:36:27]json parsed OK: [13:36:27]protocol is kg_v1.0 [13:36:27]action value=close_receipt [13:36:27]process_action close_receipt [13:36:27]cmd_close_receipt [13:36:27]MH_GetDate [13:36:27]Write to MH i2c: F0 00 00 4A 15 4E [13:36:27]Write i2c OK [13:36:27]MH_I2C_Read... [13:36:27]Read from MH i2c: F0 [13:36:27]MH_I2C_Read... [13:36:27]Read from MH i2c: F0 09 00 [13:36:27]MH_I2C_Read... [13:36:27]Read from MH i2c: F0 09 00 4A 15 00 DF 82 92 66 1E 0D 88 66 C9 [13:36:27]GetLastDocTimeStamp 1720877593 [13:36:27]current date 1720877791 [13:36:27]FM_GetShiftState [13:36:27]SAM_PROTO_GetShiftState [13:36:27]wFMCommunicate request_size=4 [13:36:27]MH_SAM_APDU [13:36:27]CAPDU: 80 13 01 00 [13:36:27]Write to MH i2c: E2 08 00 4B 15 80 13 01 00 00 00 00 00 DD [13:36:27]Write i2c OK [13:36:27]MH_I2C_Read... [13:36:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:27]Read from MH i2c: E2 [13:36:27]MH_I2C_Read... [13:36:27]Read from MH i2c: E2 0E 00 [13:36:27]MH_I2C_Read... [13:36:27]Read from MH i2c: E2 0E 00 4B 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 74 [13:36:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:36:27]wFMCommunicate OK [13:36:27]SAM_PROTO_GetShiftState done [13:36:27]FM_GetShiftState done [13:36:27]opened in 1720829646 [13:36:27]opened+sec_in_day 1720916046 [13:36:27]quantity*price = 9500 [13:36:27]sum+1 = 9501 [13:36:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 64 13.07.2024 13:36 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43019 ФПД: 8284494616109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T133631&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43019&fm=8284494616109&tin=02508201610067®Number=0000000000091176&sum=9500 0 [13:36:28]StoreToDocumentArchive [13:36:28]shift 445 fd 43019 [13:36:28]save to /storage/0445/doc_00043019 [13:36:28]save last doc name /storage/0445/doc_00043019 to /storage/kkm_last_doc_name [13:36:28]save OK [13:36:28]Clear old archive folders... [13:36:28]ProcessDocumentItem done err = 0, tmpTLVsize=293 [13:36:28]tlvbuf is B6F35D30 [13:36:28]SAM_PROTO_ClearQueue [13:36:28]wFMCommunicate request_size=4 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 09 00 00 [13:36:28]Write to MH i2c: E2 08 00 58 15 80 09 00 00 00 00 00 00 DF [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:36:28]Read from MH i2c: E2 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 58 15 00 90 00 E1 [13:36:28]RAPDU: 90 00 [13:36:28]wFMCommunicate OK [13:36:28]SAM_PROTO_ClearQueue done [13:36:28]KKMCreateOFDPacket [13:36:28]OFDProtocolAddRootSTLVToBuf [13:36:28]FM_MakeSignedData [13:36:28]FM_MakeSignedData [13:36:28]SAM_PROTO_SignData [13:36:28]wFMCommunicate request_size=4 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 0D 01 02 [13:36:28]Write to MH i2c: E2 08 00 59 15 80 0D 01 02 00 00 00 00 E7 [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:36:28]OFD Sender: No OFD packet to send [13:36:28]Read from MH i2c: E2 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 59 15 00 90 00 E2 [13:36:28]RAPDU: 90 00 [13:36:28]wFMCommunicate OK [13:36:28]wFMCommunicate request_size=255 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 DF 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:36:28]Write to MH i2c: E2 02 01 5A 15 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 DF 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 DE [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:28]Read from MH i2c: E2 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 5A 15 00 90 00 E3 [13:36:28]RAPDU: 90 00 [13:36:28]wFMCommunicate OK [13:36:28]wFMCommunicate request_size=52 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0B A8 00 00 35 04 06 00 07 88 E2 5B D6 2D [13:36:28]Write to MH i2c: E2 37 00 5B 15 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0B A8 00 00 35 04 06 00 07 88 E2 5B D6 2D 00 00 32 [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:28]Read from MH i2c: E2 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 03 00 5B 15 00 90 00 E4 [13:36:28]RAPDU: 90 00 [13:36:28]wFMCommunicate OK [13:36:28]wFMCommunicate request_size=4 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 0D 03 02 [13:36:28]Write to MH i2c: E2 08 00 5C 15 80 0D 03 02 00 00 00 00 EC [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:36:28]Read from MH i2c: E2 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 0B 00 [13:36:28]MH_I2C_Read... [13:36:28]Read from MH i2c: E2 0B 00 5C 15 00 1F 74 62 20 71 4C 6C 07 90 00 32 [13:36:28]RAPDU: 1F 74 62 20 71 4C 6C 07 90 00 [13:36:28]wFMCommunicate OK [13:36:28]SAM_PROTO_SignData done [13:36:28]FM_MakeSignedData done [13:36:28]CreateOFDProtocolMessage [13:36:28]wFMCommunicate request_size=4 [13:36:28]MH_SAM_APDU [13:36:28]CAPDU: 80 11 00 00 [13:36:28]Write to MH i2c: E2 08 00 5D 15 80 11 00 00 00 00 00 00 EC [13:36:28]Write i2c OK [13:36:28]MH_I2C_Read... [13:36:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:29]Read from MH i2c: E2 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: E2 17 00 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: E2 17 00 5D 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 43 [13:36:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:36:29]wFMCommunicate OK [13:36:29]CreateOFDProtocolMessage done [13:36:29]OFDSenderStorePacket 43019 [13:36:29]StoreOFDPacket docnum=43019 [13:36:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 4C 0A 31 01 1D C8 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 DF 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0B A8 00 00 35 04 06 00 07 88 E2 5B D6 2D 1F 74 62 20 71 4C 6C 07 [13:36:29]CheckFolder [13:36:29]dirname=/storage/ofd_packets [13:36:29]CheckFolder done [13:36:29]ProducePacketName [13:36:29]name=ofd_packets/00043019 [13:36:29]NVStorageSaveData ofd_packets/00043019 [13:36:29]File name is /storage/ofd_packets/00043019 [13:36:29]Write 343 bytes [13:36:29]NVStorageSaveData done [13:36:29]OFDSenderStorePacket done [13:36:29]KKMCreateOFDPacket done [13:36:29]NVStorageSaveData kkm_last_timestamp [13:36:29]File name is /storage/kkm_last_timestamp [13:36:29]Write 4 bytes [13:36:29]NVStorageSaveData done [13:36:29]ExternCall_PrintAddStr [13:36:29]wPrintStart [13:36:29]Write to MH i2c: 01 00 00 5E 15 73 [13:36:29]Write i2c OK [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 07 00 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 07 00 5E 15 00 00 00 00 00 FF 0F 88 [13:36:29]RasterBufferAndPrint [13:36:29]line Счет N : (3)300147 [13:36:29]line ИНН: 02508201610067 [13:36:29]line Контрольно-Кассовый Чек [13:36:29]line ПРОДАЖА [13:36:29]line Товар: 4700000480050 [13:36:29]line Напиток Nitro Energy эн green ж/б 0,45л [13:36:29]line 1.000 * 95.00 [13:36:29]line = 95.00 [13:36:29]line НДС 12% НСП 1% [13:36:29]line > о реализуемом товаре [13:36:29]line ИТОГО: 95.00 [13:36:29]line НСП 1% : 0.84 [13:36:29]line НДС 12% : 10.09 [13:36:29]line Наличными: 95.00 [13:36:29]line Безнал.: 0.00 [13:36:29]line Место: АЗС № 71 "Партнер Нефть" [13:36:29]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:36:29]line СНО: Общий режим [13:36:29]line Чек 64 13.07.2024 13:36 [13:36:29]line Смена: 445 ФФД: 1.0 [13:36:29]line ЗНМ: 0300000153 [13:36:29]line РНМ: 0000000000091176 [13:36:29]line Версия ККМ: 001 [13:36:29]line ФМ: 0000000000874935 [13:36:29]line ФД: 43019 [13:36:29]line ФПД: 8284494616109 [13:36:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T133631&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43019&fm=8284494616109&tin=02508201610067®Number=0000000000091176&sum=9500 [13:36:29]line 0 [13:36:29]OFD Sender: Processing packet 43019 [packets to send 31, broken 30] [13:36:29]ProducePacketName [13:36:29]name=ofd_packets/00043019 [13:36:29]OFD Sender: To server: pG, [13:36:29]CommunicateWithHost lk.salyk.kg:30040 [13:36:29]ConnectInit lk.salyk.kg [13:36:29]written 0, free lines is 4095 [13:36:29]Connected sock=11 [13:36:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 4C 0A 31 01 1D C8 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 DF 82 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0B A8 00 00 35 04 06 00 07 88 E2 5B D6 2D 1F 74 62 20 71 4C 6C 07 [13:36:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DA 18 47 00 DB A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0B A8 00 00 F4 03 04 00 D9 2E 92 66 B6 04 01 00 00 20 4A 6E F4 3A 3F DE CE [13:36:29]CommunicateWithHost err = 0 [13:36:29]CheckOFDResponse [13:36:29]1017 (14) - 77093643461234 [13:36:29]1041 (16) - 0000000000874935 [13:36:29]1040 (4) - 43019 [13:36:29]1012 (4) - 13.07.2024 07:38 [13:36:29]1206 (1) - 0 [13:36:29]OFD Sender: Remove packet 43019 [13:36:29]ProducePacketName [13:36:29]name=ofd_packets/00043019 [13:36:29]NVStorageDeleteData [13:36:29]Write to MH i2c: 01 00 00 87 15 9C [13:36:29]Write i2c OK [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 07 00 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: 01 07 00 87 15 00 00 00 00 00 E7 0C 96 [13:36:29]RasterBufferAndPrint [13:36:29]line [13:36:29]line [13:36:29]line [13:36:29]line [13:36:29]line [13:36:29]written 0, free lines is 3310 [13:36:29]MH_Cut [13:36:29]Write to MH i2c: D1 01 00 8E 15 01 75 [13:36:29]Write i2c OK [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: D1 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: D1 01 00 [13:36:29]MH_I2C_Read... [13:36:29]Read from MH i2c: D1 01 00 8E 15 00 74 [13:36:29]Write to MH i2c: 01 00 00 8F 15 A4 [13:36:29]Write i2c OK [13:36:29]MH_I2C_Read... [13:36:30]OFD Sender: No OFD packet to send [13:36:30]*** Cut start [13:36:30]*** Partial cut [13:36:30]*** CUTSNS_PIN = 1 [13:36:30]*** CUTSNS_PIN = 0 [13:36:30]*** Brake cut motor [13:36:31]Read from MH i2c: 01 [13:36:31]MH_I2C_Read... [13:36:31]*** Stop cut motor [13:36:31]*** Cut end [13:36:31]Read from MH i2c: 01 07 00 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: 01 07 00 8F 15 00 00 00 00 00 FF 0F B9 [13:36:31]process_action close_receipt done [13:36:31]requested_data is exist [13:36:31]produce_requested_data [13:36:31]requested_item fm.sn is exist - process it [13:36:31]wFMCommunicate request_size=4 [13:36:31]MH_SAM_APDU [13:36:31]CAPDU: 80 11 00 00 [13:36:31]Write to MH i2c: E2 08 00 90 15 80 11 00 00 00 00 00 00 1F [13:36:31]Write i2c OK [13:36:31]MH_I2C_Read... [13:36:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:31]Read from MH i2c: E2 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 17 00 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 17 00 90 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 76 [13:36:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:36:31]wFMCommunicate OK [13:36:31]requested_item fd.num is exist - process it [13:36:31]SAM_PROTO_GetFieldsCounters [13:36:31]wFMCommunicate request_size=4 [13:36:31]MH_SAM_APDU [13:36:31]CAPDU: 80 13 00 00 [13:36:31]Write to MH i2c: E2 08 00 91 15 80 13 00 00 00 00 00 00 22 [13:36:31]Write i2c OK [13:36:31]MH_I2C_Read... [13:36:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:36:31]Read from MH i2c: E2 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 62 00 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 62 00 91 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0B A8 00 00 0E 04 04 00 BD 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 77 [13:36:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0B A8 00 00 0E 04 04 00 BD 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 [13:36:31]wFMCommunicate OK [13:36:31]SAM_PROTO_GetFieldsCounters done [13:36:31]requested_item shift.num is exist - process it [13:36:31]requested_item shift.opened is exist - process it [13:36:31]req_shift_opened [13:36:31]FM_GetShiftState [13:36:31]SAM_PROTO_GetShiftState [13:36:31]wFMCommunicate request_size=4 [13:36:31]MH_SAM_APDU [13:36:31]CAPDU: 80 13 01 00 [13:36:31]Write to MH i2c: E2 08 00 92 15 80 13 01 00 00 00 00 00 24 [13:36:31]Write i2c OK [13:36:31]MH_I2C_Read... [13:36:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:31]Read from MH i2c: E2 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 0E 00 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 0E 00 92 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BB [13:36:31]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:36:31]wFMCommunicate OK [13:36:31]SAM_PROTO_GetShiftState done [13:36:31]FM_GetShiftState done [13:36:31]req_shift_opened done [13:36:31]requested_item shift.open_date is exist - process it [13:36:31]req_shift_open_date [13:36:31]req_shift_open_date done [13:36:31]requested_item shift.sale.total is exist - process it [13:36:31]SAM_PROTO_GetShiftData [13:36:31]wFMCommunicate request_size=4 [13:36:31]MH_SAM_APDU [13:36:31]CAPDU: 80 13 02 00 [13:36:31]Write to MH i2c: E2 08 00 93 15 80 13 02 00 00 00 00 00 26 [13:36:31]Write i2c OK [13:36:31]MH_I2C_Read... [13:36:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:36:31]Read from MH i2c: E2 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 FD 00 [13:36:31]MH_I2C_Read... [13:36:31]Read from MH i2c: E2 FD 00 93 15 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 30 92 10 70 04 03 00 B8 02 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 EF [13:36:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 30 92 10 70 04 03 00 B8 02 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:36:31]wFMCommunicate OK [13:36:31]wFMCommunicate request_size=4 [13:36:31]MH_SAM_APDU [13:36:31]CAPDU: 80 17 00 00 [13:36:31]Write to MH i2c: E2 08 00 94 15 80 17 00 00 00 00 00 00 29 [13:36:31]Write i2c OK [13:36:31]MH_I2C_Read... [13:36:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:36:32]Read from MH i2c: E2 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 94 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4B [13:36:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:36:32]wFMCommunicate OK [13:36:32]wFMCommunicate request_size=4 [13:36:32]MH_SAM_APDU [13:36:32]CAPDU: 80 17 00 00 [13:36:32]Write to MH i2c: E2 08 00 95 15 80 17 00 00 00 00 00 00 2A [13:36:32]Write i2c OK [13:36:32]MH_I2C_Read... [13:36:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:36:32]Read from MH i2c: E2 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 95 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E1 [13:36:32]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:36:32]wFMCommunicate OK [13:36:32]wFMCommunicate request_size=4 [13:36:32]MH_SAM_APDU [13:36:32]CAPDU: 80 17 00 00 [13:36:32]Write to MH i2c: E2 08 00 96 15 80 17 00 00 00 00 00 00 2B [13:36:32]Write i2c OK [13:36:32]MH_I2C_Read... [13:36:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:36:32]Read from MH i2c: E2 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 [13:36:32]MH_I2C_Read... [13:36:32]Read from MH i2c: E2 FD 00 96 15 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9D [13:36:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:36:32]wFMCommunicate OK [13:36:32]wFMCommunicate request_size=4 [13:36:32]MH_SAM_APDU [13:36:32]CAPDU: 80 17 00 00 [13:36:32]Write to MH i2c: E2 08 00 97 15 80 17 00 00 00 00 00 00 2C [13:36:32]Write i2c OK [13:36:32]MH_I2C_Read... [13:36:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:36:33]Read from MH i2c: E2 [13:36:33]MH_I2C_Read... [13:36:33]Read from MH i2c: E2 CB 00 [13:36:33]MH_I2C_Read... [13:36:33]Read from MH i2c: E2 CB 00 97 15 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 15 [13:36:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:36:33]wFMCommunicate OK [13:36:33]SAM_PROTO_GetShiftData done [13:36:33]requested_item shift.sale.total_cash is exist - process it [13:36:33]requested_item shift.sale_refund.total is exist - process it [13:36:33]requested_item shift.sale_refund.total_cash is exist - process it [13:36:33]produce_requested_data done [13:36:33]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43019,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10860.00,"shift.sale.total_cash":9182.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:36:33]process_action_free close_receipt [13:36:33]json_value_free [13:36:33]json_value_free done [13:36:33]process_json_proto returns [13:36:33]Send response to host [13:36:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43019,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10860.00,"shift.sale.total_cash":9182.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:36:33]free response buf [13:36:33]execute_script done [13:36:33]execute_script returns [13:36:33]free content buf [13:36:33]Sock 9.Close socket [13:36:33]Sock 9.Thread stoped [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:42:57]accept exits with 7 [13:42:57]New connection [13:42:57]New thread 3067530596 created [13:42:57]Thread 3067387236 joined [13:42:57]Waiting for new connection... [13:42:57] Sock 7.Parse request [13:42:57]Sock 7.Check first char [13:42:57]Sock 7.First char is OK [13:42:57]request: POST /json_proto HTTP/1.0 [13:42:57]Method: POST [13:42:57]URL: /json_proto [13:42:57]Method is POST - this is cgi request [13:42:57]url: /json_proto [13:42:57]query_string will be loaded in cgi processing [13:42:57]execute_cgi json_proto POST (null) [13:42:57]execute_cgi path=json_proto method=POST [13:42:57]POST find Content-Length [13:42:57]Host: 172.17.38.197:8080 [13:42:57]Content-Length: 758 [13:42:57]Content-Type: application/json [13:42:57] [13:42:57]POST finish read [13:42:57]Found Content-Length = 758 [13:42:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300148", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:42:57]execute_script... [13:42:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300148", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:42:57]POST & json_proto [13:42:57]process_json_proto [13:42:57]json parsed OK: [13:42:57]protocol is kg_v1.0 [13:42:57]action value=close_receipt [13:42:57]process_action close_receipt [13:42:57]cmd_close_receipt [13:42:57]MH_GetDate [13:42:57]Write to MH i2c: F0 00 00 98 15 9C [13:42:57]Write i2c OK [13:42:57]MH_I2C_Read... [13:42:57]Read from MH i2c: F0 [13:42:57]MH_I2C_Read... [13:42:57]Read from MH i2c: F0 09 00 [13:42:57]MH_I2C_Read... [13:42:57]Read from MH i2c: F0 09 00 98 15 00 64 84 92 66 1E 0D 88 66 9E [13:42:57]GetLastDocTimeStamp 1720877791 [13:42:57]current date 1720878180 [13:42:57]FM_GetShiftState [13:42:57]SAM_PROTO_GetShiftState [13:42:57]wFMCommunicate request_size=4 [13:42:57]MH_SAM_APDU [13:42:57]CAPDU: 80 13 01 00 [13:42:57]Write to MH i2c: E2 08 00 99 15 80 13 01 00 00 00 00 00 2B [13:42:57]Write i2c OK [13:42:57]MH_I2C_Read... [13:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:42:57]Read from MH i2c: E2 [13:42:57]MH_I2C_Read... [13:42:57]Read from MH i2c: E2 0E 00 [13:42:57]MH_I2C_Read... [13:42:57]Read from MH i2c: E2 0E 00 99 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C2 [13:42:57]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:42:57]wFMCommunicate OK [13:42:57]SAM_PROTO_GetShiftState done [13:42:57]FM_GetShiftState done [13:42:57]opened in 1720829646 [13:42:57]opened+sec_in_day 1720916046 [13:42:57]quantity*price = 9500 [13:42:57]sum+1 = 9501 [13:42:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 65 13.07.2024 13:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43020 ФПД: 75338798797843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134300&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43020&fm=75338798797843&tin=02508201610067®Number=0000000000091176&sum=9500 0 [13:42:58]StoreToDocumentArchive [13:42:58]shift 445 fd 43020 [13:42:58]save to /storage/0445/doc_00043020 [13:42:58]save last doc name /storage/0445/doc_00043020 to /storage/kkm_last_doc_name [13:42:58]save OK [13:42:58]Clear old archive folders... [13:42:58]ProcessDocumentItem done err = 0, tmpTLVsize=293 [13:42:58]tlvbuf is 015FAB60 [13:42:58]SAM_PROTO_ClearQueue [13:42:58]wFMCommunicate request_size=4 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 09 00 00 [13:42:58]Write to MH i2c: E2 08 00 A6 15 80 09 00 00 00 00 00 00 2D [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 A6 15 00 90 00 2F [13:42:58]RAPDU: 90 00 [13:42:58]wFMCommunicate OK [13:42:58]SAM_PROTO_ClearQueue done [13:42:58]KKMCreateOFDPacket [13:42:58]OFDProtocolAddRootSTLVToBuf [13:42:58]FM_MakeSignedData [13:42:58]FM_MakeSignedData [13:42:58]SAM_PROTO_SignData [13:42:58]wFMCommunicate request_size=4 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 0D 01 02 [13:42:58]Write to MH i2c: E2 08 00 A7 15 80 0D 01 02 00 00 00 00 35 [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 A7 15 00 90 00 30 [13:42:58]RAPDU: 90 00 [13:42:58]wFMCommunicate OK [13:42:58]wFMCommunicate request_size=255 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 64 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:42:58]Write to MH i2c: E2 02 01 A8 15 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 64 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 B4 [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 A8 15 00 90 00 31 [13:42:58]RAPDU: 90 00 [13:42:58]wFMCommunicate OK [13:42:58]wFMCommunicate request_size=52 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0C A8 00 00 35 04 06 00 44 85 2E 57 14 13 [13:42:58]Write to MH i2c: E2 37 00 A9 15 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0C A8 00 00 35 04 06 00 44 85 2E 57 14 13 00 00 27 [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 03 00 A9 15 00 90 00 32 [13:42:58]RAPDU: 90 00 [13:42:58]wFMCommunicate OK [13:42:58]wFMCommunicate request_size=4 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 0D 03 02 [13:42:58]Write to MH i2c: E2 08 00 AA 15 80 0D 03 02 00 00 00 00 3A [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 0B 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 0B 00 AA 15 00 32 A6 F7 F8 C8 A8 36 69 90 00 11 [13:42:58]RAPDU: 32 A6 F7 F8 C8 A8 36 69 90 00 [13:42:58]wFMCommunicate OK [13:42:58]SAM_PROTO_SignData done [13:42:58]FM_MakeSignedData done [13:42:58]CreateOFDProtocolMessage [13:42:58]wFMCommunicate request_size=4 [13:42:58]MH_SAM_APDU [13:42:58]CAPDU: 80 11 00 00 [13:42:58]Write to MH i2c: E2 08 00 AB 15 80 11 00 00 00 00 00 00 3A [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:42:58]Read from MH i2c: E2 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 17 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: E2 17 00 AB 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 91 [13:42:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:42:58]wFMCommunicate OK [13:42:58]CreateOFDProtocolMessage done [13:42:58]OFDSenderStorePacket 43020 [13:42:58]StoreOFDPacket docnum=43020 [13:42:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 F2 C5 31 01 47 62 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 64 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0C A8 00 00 35 04 06 00 44 85 2E 57 14 13 32 A6 F7 F8 C8 A8 36 69 [13:42:58]CheckFolder [13:42:58]dirname=/storage/ofd_packets [13:42:58]CheckFolder done [13:42:58]ProducePacketName [13:42:58]name=ofd_packets/00043020 [13:42:58]NVStorageSaveData ofd_packets/00043020 [13:42:58]File name is /storage/ofd_packets/00043020 [13:42:58]Write 343 bytes [13:42:58]NVStorageSaveData done [13:42:58]OFDSenderStorePacket done [13:42:58]KKMCreateOFDPacket done [13:42:58]NVStorageSaveData kkm_last_timestamp [13:42:58]File name is /storage/kkm_last_timestamp [13:42:58]Write 4 bytes [13:42:58]NVStorageSaveData done [13:42:58]ExternCall_PrintAddStr [13:42:58]wPrintStart [13:42:58]Write to MH i2c: 01 00 00 AC 15 C1 [13:42:58]Write i2c OK [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: 01 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: 01 07 00 [13:42:58]MH_I2C_Read... [13:42:58]Read from MH i2c: 01 07 00 AC 15 00 00 00 00 00 FF 0F D6 [13:42:58]RasterBufferAndPrint [13:42:58]line Счет N : (3)300148 [13:42:58]line ИНН: 02508201610067 [13:42:58]line Контрольно-Кассовый Чек [13:42:58]line ПРОДАЖА [13:42:58]line Товар: 4700000480050 [13:42:58]line Напиток Nitro Energy эн green ж/б 0,45л [13:42:58]line 1.000 * 95.00 [13:42:58]line = 95.00 [13:42:58]line НДС 12% НСП 1% [13:42:58]line > о реализуемом товаре [13:42:58]line ИТОГО: 95.00 [13:42:58]line НСП 1% : 0.84 [13:42:58]line НДС 12% : 10.09 [13:42:58]line Наличными: 95.00 [13:42:58]line Безнал.: 0.00 [13:42:58]line Место: АЗС № 71 "Партнер Нефть" [13:42:58]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:42:58]line СНО: Общий режим [13:42:58]line Чек 65 13.07.2024 13:43 [13:42:58]line Смена: 445 ФФД: 1.0 [13:42:58]line ЗНМ: 0300000153 [13:42:58]line РНМ: 0000000000091176 [13:42:58]line Версия ККМ: 001 [13:42:58]line ФМ: 0000000000874935 [13:42:58]line ФД: 43020 [13:42:58]line ФПД: 75338798797843 [13:42:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134300&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43020&fm=75338798797843&tin=02508201610067®Number=0000000000091176&sum=9500 [13:42:59]OFD Sender: Processing packet 43020 [packets to send 31, broken 30] [13:42:59]ProducePacketName [13:42:59]name=ofd_packets/00043020 [13:42:59]OFD Sender: To server: pG, [13:42:59]CommunicateWithHost lk.salyk.kg:30040 [13:42:59]ConnectInit lk.salyk.kg [13:42:59]line 0 [13:42:59]written 0, free lines is 4095 [13:42:59]Connected sock=10 [13:42:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 F2 C5 31 01 47 62 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 64 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0C A8 00 00 35 04 06 00 44 85 2E 57 14 13 32 A6 F7 F8 C8 A8 36 69 [13:42:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 2B 34 47 00 AB 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 38 37 34 39 33 35 10 04 04 00 0C A8 00 00 F4 03 04 00 5F 30 92 66 B6 04 01 00 00 2B 0C D6 7A 5E FD 9B 9B [13:42:59]CommunicateWithHost err = 0 [13:42:59]CheckOFDResponse [13:42:59]1017 (14) - 77093643461234 [13:42:59]1041 (16) - 0000000000874935 [13:42:59]1040 (4) - 43020 [13:42:59]1012 (4) - 13.07.2024 07:44 [13:42:59]1206 (1) - 0 [13:42:59]OFD Sender: Remove packet 43020 [13:42:59]ProducePacketName [13:42:59]name=ofd_packets/00043020 [13:42:59]NVStorageDeleteData [13:42:59]Write to MH i2c: 01 00 00 D5 15 EA [13:42:59]Write i2c OK [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: 01 [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: 01 07 00 [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: 01 07 00 D5 15 00 00 00 00 00 FC 0C F9 [13:42:59]RasterBufferAndPrint [13:42:59]line [13:42:59]line [13:42:59]line [13:42:59]line [13:42:59]line [13:42:59]written 0, free lines is 3330 [13:42:59]MH_Cut [13:42:59]Write to MH i2c: D1 01 00 DC 15 01 C3 [13:42:59]Write i2c OK [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: D1 [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: D1 01 00 [13:42:59]MH_I2C_Read... [13:42:59]Read from MH i2c: D1 01 00 DC 15 00 C2 [13:42:59]Write to MH i2c: 01 00 00 DD 15 F2 [13:42:59]Write i2c OK [13:42:59]MH_I2C_Read... [13:42:59]OFD Sender: No OFD packet to send [13:43:00]*** Cut start [13:43:00]*** Partial cut [13:43:00]*** CUTSNS_PIN = 1 [13:43:00]*** CUTSNS_PIN = 0 [13:43:00]*** Brake cut motor [13:43:00]Read from MH i2c: 01 [13:43:00]MH_I2C_Read... [13:43:00]*** Stop cut motor [13:43:00]*** Cut end [13:43:00]Read from MH i2c: 01 07 00 [13:43:00]MH_I2C_Read... [13:43:00]Read from MH i2c: 01 07 00 DD 15 00 00 00 00 00 FF 0F 07 [13:43:00]process_action close_receipt done [13:43:00]requested_data is exist [13:43:00]produce_requested_data [13:43:00]requested_item fm.sn is exist - process it [13:43:00]wFMCommunicate request_size=4 [13:43:00]MH_SAM_APDU [13:43:00]CAPDU: 80 11 00 00 [13:43:00]Write to MH i2c: E2 08 00 DE 15 80 11 00 00 00 00 00 00 6D [13:43:00]Write i2c OK [13:43:00]MH_I2C_Read... [13:43:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:43:01]Read from MH i2c: E2 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 17 00 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 17 00 DE 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C4 [13:43:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:43:01]wFMCommunicate OK [13:43:01]requested_item fd.num is exist - process it [13:43:01]SAM_PROTO_GetFieldsCounters [13:43:01]wFMCommunicate request_size=4 [13:43:01]MH_SAM_APDU [13:43:01]CAPDU: 80 13 00 00 [13:43:01]Write to MH i2c: E2 08 00 DF 15 80 13 00 00 00 00 00 00 70 [13:43:01]Write i2c OK [13:43:01]MH_I2C_Read... [13:43:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:43:01]Read from MH i2c: E2 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 62 00 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 62 00 DF 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0C A8 00 00 0E 04 04 00 BD 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 C9 [13:43:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0C A8 00 00 0E 04 04 00 BD 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 [13:43:01]wFMCommunicate OK [13:43:01]SAM_PROTO_GetFieldsCounters done [13:43:01]requested_item shift.num is exist - process it [13:43:01]requested_item shift.opened is exist - process it [13:43:01]req_shift_opened [13:43:01]FM_GetShiftState [13:43:01]SAM_PROTO_GetShiftState [13:43:01]wFMCommunicate request_size=4 [13:43:01]MH_SAM_APDU [13:43:01]CAPDU: 80 13 01 00 [13:43:01]Write to MH i2c: E2 08 00 E0 15 80 13 01 00 00 00 00 00 72 [13:43:01]Write i2c OK [13:43:01]MH_I2C_Read... [13:43:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:43:01]Read from MH i2c: E2 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 0E 00 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 0E 00 E0 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 09 [13:43:01]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:43:01]wFMCommunicate OK [13:43:01]SAM_PROTO_GetShiftState done [13:43:01]FM_GetShiftState done [13:43:01]req_shift_opened done [13:43:01]requested_item shift.open_date is exist - process it [13:43:01]req_shift_open_date [13:43:01]req_shift_open_date done [13:43:01]requested_item shift.sale.total is exist - process it [13:43:01]SAM_PROTO_GetShiftData [13:43:01]wFMCommunicate request_size=4 [13:43:01]MH_SAM_APDU [13:43:01]CAPDU: 80 13 02 00 [13:43:01]Write to MH i2c: E2 08 00 E1 15 80 13 02 00 00 00 00 00 74 [13:43:01]Write i2c OK [13:43:01]MH_I2C_Read... [13:43:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:43:01]Read from MH i2c: E2 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 FD 00 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 FD 00 E1 15 00 AE 04 AA 04 AA 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 4C B7 10 70 04 03 00 D4 27 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B C6 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 0A [13:43:01]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 4C B7 10 70 04 03 00 D4 27 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B C6 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:43:01]wFMCommunicate OK [13:43:01]wFMCommunicate request_size=4 [13:43:01]MH_SAM_APDU [13:43:01]CAPDU: 80 17 00 00 [13:43:01]Write to MH i2c: E2 08 00 E2 15 80 17 00 00 00 00 00 00 77 [13:43:01]Write i2c OK [13:43:01]MH_I2C_Read... [13:43:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:43:01]Read from MH i2c: E2 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 FD 00 [13:43:01]MH_I2C_Read... [13:43:01]Read from MH i2c: E2 FD 00 E2 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 99 [13:43:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:43:01]wFMCommunicate OK [13:43:01]wFMCommunicate request_size=4 [13:43:01]MH_SAM_APDU [13:43:01]CAPDU: 80 17 00 00 [13:43:01]Write to MH i2c: E2 08 00 E3 15 80 17 00 00 00 00 00 00 78 [13:43:01]Write i2c OK [13:43:01]MH_I2C_Read... [13:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:43:02]Read from MH i2c: E2 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 FD 00 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 FD 00 E3 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2F [13:43:02]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:43:02]wFMCommunicate OK [13:43:02]wFMCommunicate request_size=4 [13:43:02]MH_SAM_APDU [13:43:02]CAPDU: 80 17 00 00 [13:43:02]Write to MH i2c: E2 08 00 E4 15 80 17 00 00 00 00 00 00 79 [13:43:02]Write i2c OK [13:43:02]MH_I2C_Read... [13:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:43:02]Read from MH i2c: E2 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 FD 00 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 FD 00 E4 15 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 EB [13:43:02]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:43:02]wFMCommunicate OK [13:43:02]wFMCommunicate request_size=4 [13:43:02]MH_SAM_APDU [13:43:02]CAPDU: 80 17 00 00 [13:43:02]Write to MH i2c: E2 08 00 E5 15 80 17 00 00 00 00 00 00 7A [13:43:02]Write i2c OK [13:43:02]MH_I2C_Read... [13:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:43:02]Read from MH i2c: E2 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 CB 00 [13:43:02]MH_I2C_Read... [13:43:02]Read from MH i2c: E2 CB 00 E5 15 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 63 [13:43:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:43:02]wFMCommunicate OK [13:43:02]SAM_PROTO_GetShiftData done [13:43:02]requested_item shift.sale.total_cash is exist - process it [13:43:02]requested_item shift.sale_refund.total is exist - process it [13:43:02]requested_item shift.sale_refund.total_cash is exist - process it [13:43:02]produce_requested_data done [13:43:02]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43020,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10955.00,"shift.sale.total_cash":9277.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:43:02]process_action_free close_receipt [13:43:02]json_value_free [13:43:02]json_value_free done [13:43:02]process_json_proto returns [13:43:02]Send response to host [13:43:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43020,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":10955.00,"shift.sale.total_cash":9277.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:43:02]free response buf [13:43:02]execute_script done [13:43:02]execute_script returns [13:43:02]free content buf [13:43:02]Sock 7.Close socket [13:43:02]Sock 7.Thread stoped [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:14]accept exits with 9 [13:45:14]New connection [13:45:14]New thread 3067387236 created [13:45:14]Thread 3067530596 joined [13:45:14]Waiting for new connection... [13:45:14] Sock 9.Parse request [13:45:14]Sock 9.Check first char [13:45:14]Sock 9.First char is OK [13:45:14]request: POST /json_proto HTTP/1.0 [13:45:14]Method: POST [13:45:14]URL: /json_proto [13:45:14]Method is POST - this is cgi request [13:45:14]url: /json_proto [13:45:14]query_string will be loaded in cgi processing [13:45:14]execute_cgi json_proto POST (null) [13:45:14]execute_cgi path=json_proto method=POST [13:45:14]POST find Content-Length [13:45:14]Host: 172.17.38.197:8080 [13:45:14]Content-Length: 1009 [13:45:14]Content-Type: application/json [13:45:14] [13:45:14]POST finish read [13:45:14]Found Content-Length = 1009 [13:45:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300149", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:45:14]execute_script... [13:45:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300149", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:45:14]POST & json_proto [13:45:14]process_json_proto [13:45:14]json parsed OK: [13:45:14]protocol is kg_v1.0 [13:45:14]action value=close_receipt [13:45:14]process_action close_receipt [13:45:14]cmd_close_receipt [13:45:14]MH_GetDate [13:45:14]Write to MH i2c: F0 00 00 E6 15 EA [13:45:14]Write i2c OK [13:45:14]MH_I2C_Read... [13:45:14]Read from MH i2c: F0 [13:45:14]MH_I2C_Read... [13:45:14]Read from MH i2c: F0 09 00 [13:45:14]MH_I2C_Read... [13:45:14]Read from MH i2c: F0 09 00 E6 15 00 EE 84 92 66 1E 0D 88 66 76 [13:45:14]GetLastDocTimeStamp 1720878180 [13:45:14]current date 1720878318 [13:45:14]FM_GetShiftState [13:45:14]SAM_PROTO_GetShiftState [13:45:14]wFMCommunicate request_size=4 [13:45:14]MH_SAM_APDU [13:45:14]CAPDU: 80 13 01 00 [13:45:14]Write to MH i2c: E2 08 00 E7 15 80 13 01 00 00 00 00 00 79 [13:45:14]Write i2c OK [13:45:14]MH_I2C_Read... [13:45:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:14]Read from MH i2c: E2 [13:45:14]MH_I2C_Read... [13:45:14]Read from MH i2c: E2 0E 00 [13:45:14]MH_I2C_Read... [13:45:14]Read from MH i2c: E2 0E 00 E7 15 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 10 [13:45:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:45:14]wFMCommunicate OK [13:45:14]SAM_PROTO_GetShiftState done [13:45:14]FM_GetShiftState done [13:45:14]opened in 1720829646 [13:45:14]opened+sec_in_day 1720916046 [13:45:14]quantity*price = 5000 [13:45:14]sum+1 = 5001 [13:45:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 2.000 * 125.00 = 250.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 66 13.07.2024 13:45 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43021 ФПД: 129033544295787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134518&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43021&fm=129033544295787&tin=02508201610067®Number=0000000000091176&sum=30000 0 [13:45:15]StoreToDocumentArchive [13:45:15]shift 445 fd 43021 [13:45:15]save to /storage/0445/doc_00043021 [13:45:15]save last doc name /storage/0445/doc_00043021 to /storage/kkm_last_doc_name [13:45:15]save OK [13:45:15]Clear old archive folders... [13:45:15]ProcessDocumentItem done err = 0, tmpTLVsize=377 [13:45:15]tlvbuf is B6F354B0 [13:45:15]SAM_PROTO_ClearQueue [13:45:15]wFMCommunicate request_size=4 [13:45:15]MH_SAM_APDU [13:45:15]CAPDU: 80 09 00 00 [13:45:15]Write to MH i2c: E2 08 00 F4 15 80 09 00 00 00 00 00 00 7B [13:45:15]Write i2c OK [13:45:15]MH_I2C_Read... [13:45:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:45:15]Read from MH i2c: E2 [13:45:15]MH_I2C_Read... [13:45:15]Read from MH i2c: E2 03 00 [13:45:15]MH_I2C_Read... [13:45:15]Read from MH i2c: E2 03 00 F4 15 00 90 00 7D [13:45:15]RAPDU: 90 00 [13:45:15]wFMCommunicate OK [13:45:15]SAM_PROTO_ClearQueue done [13:45:15]KKMCreateOFDPacket [13:45:15]OFDProtocolAddRootSTLVToBuf [13:45:15]FM_MakeSignedData [13:45:15]FM_MakeSignedData [13:45:15]SAM_PROTO_SignData [13:45:15]wFMCommunicate request_size=4 [13:45:15]MH_SAM_APDU [13:45:15]CAPDU: 80 0D 01 02 [13:45:15]Write to MH i2c: E2 08 00 F5 15 80 0D 01 02 00 00 00 00 83 [13:45:15]Write i2c OK [13:45:15]MH_I2C_Read... [13:45:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:45:15]Read from MH i2c: E2 [13:45:15]MH_I2C_Read... [13:45:15]Read from MH i2c: E2 03 00 [13:45:15]MH_I2C_Read... [13:45:15]Read from MH i2c: E2 03 00 F5 15 00 90 00 7E [13:45:15]RAPDU: 90 00 [13:45:15]wFMCommunicate OK [13:45:15]wFMCommunicate request_size=255 [13:45:15]MH_SAM_APDU [13:45:15]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE [13:45:15]Write to MH i2c: E2 02 01 F6 15 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 00 00 F0 [13:45:15]Write i2c OK [13:45:15]MH_I2C_Read... [13:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:16]Read from MH i2c: E2 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 03 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 03 00 F6 15 00 90 00 7F [13:45:16]RAPDU: 90 00 [13:45:16]wFMCommunicate OK [13:45:16]wFMCommunicate request_size=136 [13:45:16]MH_SAM_APDU [13:45:16]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EE 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0D A8 00 00 35 04 06 00 75 5A F6 92 65 6B [13:45:16]Write to MH i2c: E2 8B 00 F7 15 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EE 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0D A8 00 00 35 04 06 00 75 5A F6 92 65 6B 00 00 37 [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:16]Read from MH i2c: E2 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 03 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 03 00 F7 15 00 90 00 80 [13:45:16]RAPDU: 90 00 [13:45:16]wFMCommunicate OK [13:45:16]wFMCommunicate request_size=4 [13:45:16]MH_SAM_APDU [13:45:16]CAPDU: 80 0D 03 02 [13:45:16]Write to MH i2c: E2 08 00 F8 15 80 0D 03 02 00 00 00 00 88 [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:45:16]Read from MH i2c: E2 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 0B 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 0B 00 F8 15 00 95 1C 3E 61 AE D3 F3 E6 90 00 33 [13:45:16]RAPDU: 95 1C 3E 61 AE D3 F3 E6 90 00 [13:45:16]wFMCommunicate OK [13:45:16]SAM_PROTO_SignData done [13:45:16]FM_MakeSignedData done [13:45:16]CreateOFDProtocolMessage [13:45:16]wFMCommunicate request_size=4 [13:45:16]MH_SAM_APDU [13:45:16]CAPDU: 80 11 00 00 [13:45:16]Write to MH i2c: E2 08 00 F9 15 80 11 00 00 00 00 00 00 88 [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 [13:45:16]MH_I2C_Read... [13:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:16]Read from MH i2c: E2 17 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: E2 17 00 F9 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 DF [13:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:45:16]wFMCommunicate OK [13:45:16]CreateOFDProtocolMessage done [13:45:16]OFDSenderStorePacket 43021 [13:45:16]StoreOFDPacket docnum=43021 [13:45:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8D 01 00 00 7C 18 85 01 CD 9F 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EE 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0D A8 00 00 35 04 06 00 75 5A F6 92 65 6B 95 1C 3E 61 AE D3 F3 E6 [13:45:16]CheckFolder [13:45:16]dirname=/storage/ofd_packets [13:45:16]CheckFolder done [13:45:16]ProducePacketName [13:45:16]name=ofd_packets/00043021 [13:45:16]NVStorageSaveData ofd_packets/00043021 [13:45:16]File name is /storage/ofd_packets/00043021 [13:45:16]Write 427 bytes [13:45:16]NVStorageSaveData done [13:45:16]OFDSenderStorePacket done [13:45:16]KKMCreateOFDPacket done [13:45:16]NVStorageSaveData kkm_last_timestamp [13:45:16]File name is /storage/kkm_last_timestamp [13:45:16]Write 4 bytes [13:45:16]NVStorageSaveData done [13:45:16]ExternCall_PrintAddStr [13:45:16]wPrintStart [13:45:16]Write to MH i2c: 01 00 00 FA 15 0F [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 07 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 07 00 FA 15 00 00 00 00 00 FF 0F 24 [13:45:16]RasterBufferAndPrint [13:45:16]line Счет N : (3)300149 [13:45:16]line ИНН: 02508201610067 [13:45:16]line Контрольно-Кассовый Чек [13:45:16]line ПРОДАЖА [13:45:16]line Товар: 4700000160358 [13:45:16]line Вода Легенда 1л [13:45:16]line 1.000 * 50.00 [13:45:16]line = 50.00 [13:45:16]line НДС 12% НСП 1% [13:45:16]line > о реализуемом товаре [13:45:16]line Товар: 5449000054227 [13:45:16]line Напиток Кока-Кола 1л [13:45:16]line 2.000 * 125.00 [13:45:16]line = 250.00 [13:45:16]line НДС 12% НСП 1% [13:45:16]line > о реализуемом товаре [13:45:16]line ИТОГО: 300.00 [13:45:16]line НСП 1% : 2.65 [13:45:16]line НДС 12% : 31.86 [13:45:16]line Наличными: 300.00 [13:45:16]line Безнал.: 0.00 [13:45:16]line Место: АЗС № 71 "Партнер Нефть" [13:45:16]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:45:16]line СНО: Общий режим [13:45:16]line Чек 66 13.07.2024 13:45 [13:45:16]line Смена: 445 ФФД: 1.0 [13:45:16]line ЗНМ: 0300000153 [13:45:16]line РНМ: 0000000000091176 [13:45:16]line Версия ККМ: 001 [13:45:16]line ФМ: 0000000000874935 [13:45:16]line ФД: 43021 [13:45:16]line ФПД: 129033544295787 [13:45:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134518&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43021&fm=129033544295787&tin=02508201610067®Number=0000000000091176&sum=30000 [13:45:16]line 0 [13:45:16]written 0, free lines is 4095 [13:45:16]OFD Sender: Processing packet 43021 [packets to send 31, broken 30] [13:45:16]ProducePacketName [13:45:16]name=ofd_packets/00043021 [13:45:16]OFD Sender: To server: pG, [13:45:16]CommunicateWithHost lk.salyk.kg:30040 [13:45:16]ConnectInit lk.salyk.kg [13:45:16]Connected sock=10 [13:45:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8D 01 00 00 7C 18 85 01 CD 9F 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EE 84 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0D A8 00 00 35 04 06 00 75 5A F6 92 65 6B 95 1C 3E 61 AE D3 F3 E6 [13:45:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1E A2 47 00 D6 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0D A8 00 00 F4 03 04 00 E8 30 92 66 B6 04 01 00 00 49 56 4A A8 9F B3 8F D9 [13:45:16]CommunicateWithHost err = 0 [13:45:16]CheckOFDResponse [13:45:16]1017 (14) - 77093643461234 [13:45:16]1041 (16) - 0000000000874935 [13:45:16]1040 (4) - 43021 [13:45:16]1012 (4) - 13.07.2024 07:46 [13:45:16]1206 (1) - 0 [13:45:16]OFD Sender: Remove packet 43021 [13:45:16]ProducePacketName [13:45:16]name=ofd_packets/00043021 [13:45:16]NVStorageDeleteData [13:45:16]Write to MH i2c: 01 00 00 28 16 3E [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 07 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: 01 07 00 28 16 00 00 00 00 00 B6 0C 07 [13:45:16]RasterBufferAndPrint [13:45:16]line [13:45:16]line [13:45:16]line [13:45:16]line [13:45:16]line [13:45:16]written 0, free lines is 3262 [13:45:16]MH_Cut [13:45:16]Write to MH i2c: D1 01 00 2F 16 01 17 [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: D1 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: D1 01 00 [13:45:16]MH_I2C_Read... [13:45:16]Read from MH i2c: D1 01 00 2F 16 00 16 [13:45:16]Write to MH i2c: 01 00 00 30 16 46 [13:45:16]Write i2c OK [13:45:16]MH_I2C_Read... [13:45:17]OFD Sender: No OFD packet to send [13:45:17]*** Cut start [13:45:17]*** Partial cut [13:45:17]*** CUTSNS_PIN = 1 [13:45:17]*** CUTSNS_PIN = 0 [13:45:17]*** Brake cut motor [13:45:18]Read from MH i2c: 01 [13:45:18]MH_I2C_Read... [13:45:18]*** Stop cut motor [13:45:18]*** Cut end [13:45:18]Read from MH i2c: 01 07 00 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: 01 07 00 30 16 00 00 00 00 00 FF 0F 5B [13:45:18]process_action close_receipt done [13:45:18]requested_data is exist [13:45:18]produce_requested_data [13:45:18]requested_item fm.sn is exist - process it [13:45:18]wFMCommunicate request_size=4 [13:45:18]MH_SAM_APDU [13:45:18]CAPDU: 80 11 00 00 [13:45:18]Write to MH i2c: E2 08 00 31 16 80 11 00 00 00 00 00 00 C1 [13:45:18]Write i2c OK [13:45:18]MH_I2C_Read... [13:45:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:18]Read from MH i2c: E2 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 17 00 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 17 00 31 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 18 [13:45:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:45:18]wFMCommunicate OK [13:45:18]requested_item fd.num is exist - process it [13:45:18]SAM_PROTO_GetFieldsCounters [13:45:18]wFMCommunicate request_size=4 [13:45:18]MH_SAM_APDU [13:45:18]CAPDU: 80 13 00 00 [13:45:18]Write to MH i2c: E2 08 00 32 16 80 13 00 00 00 00 00 00 C4 [13:45:18]Write i2c OK [13:45:18]MH_I2C_Read... [13:45:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:45:18]Read from MH i2c: E2 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 62 00 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 62 00 32 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0D A8 00 00 0E 04 04 00 BD 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 21 [13:45:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0D A8 00 00 0E 04 04 00 BD 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 [13:45:18]wFMCommunicate OK [13:45:18]SAM_PROTO_GetFieldsCounters done [13:45:18]requested_item shift.num is exist - process it [13:45:18]requested_item shift.opened is exist - process it [13:45:18]req_shift_opened [13:45:18]FM_GetShiftState [13:45:18]SAM_PROTO_GetShiftState [13:45:18]wFMCommunicate request_size=4 [13:45:18]MH_SAM_APDU [13:45:18]CAPDU: 80 13 01 00 [13:45:18]Write to MH i2c: E2 08 00 33 16 80 13 01 00 00 00 00 00 C6 [13:45:18]Write i2c OK [13:45:18]MH_I2C_Read... [13:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:18]Read from MH i2c: E2 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 0E 00 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 0E 00 33 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5D [13:45:18]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:45:18]wFMCommunicate OK [13:45:18]SAM_PROTO_GetShiftState done [13:45:18]FM_GetShiftState done [13:45:18]req_shift_opened done [13:45:18]requested_item shift.open_date is exist - process it [13:45:18]req_shift_open_date [13:45:18]req_shift_open_date done [13:45:18]requested_item shift.sale.total is exist - process it [13:45:18]SAM_PROTO_GetShiftData [13:45:18]wFMCommunicate request_size=4 [13:45:18]MH_SAM_APDU [13:45:18]CAPDU: 80 13 02 00 [13:45:18]Write to MH i2c: E2 08 00 34 16 80 13 02 00 00 00 00 00 C8 [13:45:18]Write i2c OK [13:45:18]MH_I2C_Read... [13:45:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:45:18]Read from MH i2c: E2 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 FD 00 [13:45:18]MH_I2C_Read... [13:45:18]Read from MH i2c: E2 FD 00 34 16 00 AE 04 AA 04 AA 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 7C 2C 11 70 04 03 00 04 9D 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD D2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E0 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 34 [13:45:18]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 7C 2C 11 70 04 03 00 04 9D 0E 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD D2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E0 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:45:18]wFMCommunicate OK [13:45:18]wFMCommunicate request_size=4 [13:45:18]MH_SAM_APDU [13:45:18]CAPDU: 80 17 00 00 [13:45:18]Write to MH i2c: E2 08 00 35 16 80 17 00 00 00 00 00 00 CB [13:45:18]Write i2c OK [13:45:18]MH_I2C_Read... [13:45:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:45:19]Read from MH i2c: E2 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 35 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 ED [13:45:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:45:19]wFMCommunicate OK [13:45:19]wFMCommunicate request_size=4 [13:45:19]MH_SAM_APDU [13:45:19]CAPDU: 80 17 00 00 [13:45:19]Write to MH i2c: E2 08 00 36 16 80 17 00 00 00 00 00 00 CC [13:45:19]Write i2c OK [13:45:19]MH_I2C_Read... [13:45:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:45:19]Read from MH i2c: E2 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 36 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 83 [13:45:19]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:45:19]wFMCommunicate OK [13:45:19]wFMCommunicate request_size=4 [13:45:19]MH_SAM_APDU [13:45:19]CAPDU: 80 17 00 00 [13:45:19]Write to MH i2c: E2 08 00 37 16 80 17 00 00 00 00 00 00 CD [13:45:19]Write i2c OK [13:45:19]MH_I2C_Read... [13:45:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:45:19]Read from MH i2c: E2 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 [13:45:19]MH_I2C_Read... [13:45:19]Read from MH i2c: E2 FD 00 37 16 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3F [13:45:19]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:45:19]wFMCommunicate OK [13:45:19]wFMCommunicate request_size=4 [13:45:19]MH_SAM_APDU [13:45:19]CAPDU: 80 17 00 00 [13:45:19]Write to MH i2c: E2 08 00 38 16 80 17 00 00 00 00 00 00 CE [13:45:19]Write i2c OK [13:45:19]MH_I2C_Read... [13:45:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:45:20]Read from MH i2c: E2 [13:45:20]MH_I2C_Read... [13:45:20]Read from MH i2c: E2 CB 00 [13:45:20]MH_I2C_Read... [13:45:20]Read from MH i2c: E2 CB 00 38 16 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [13:45:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:45:20]wFMCommunicate OK [13:45:20]SAM_PROTO_GetShiftData done [13:45:20]requested_item shift.sale.total_cash is exist - process it [13:45:20]requested_item shift.sale_refund.total is exist - process it [13:45:20]requested_item shift.sale_refund.total_cash is exist - process it [13:45:20]produce_requested_data done [13:45:20]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43021,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11255.00,"shift.sale.total_cash":9577.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:45:20]process_action_free close_receipt [13:45:20]json_value_free [13:45:20]json_value_free done [13:45:20]process_json_proto returns [13:45:20]Send response to host [13:45:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43021,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11255.00,"shift.sale.total_cash":9577.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:45:20]free response buf [13:45:20]execute_script done [13:45:20]execute_script returns [13:45:20]free content buf [13:45:20]Sock 9.Close socket [13:45:20]Sock 9.Thread stoped [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:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]accept exits with 7 [13:47:47]New connection [13:47:47]New thread 3067530596 created [13:47:47]Thread 3067387236 joined [13:47:47]Waiting for new connection... [13:47:47] Sock 7.Parse request [13:47:47]Sock 7.Check first char [13:47:47]Sock 7.First char is OK [13:47:47]request: POST /json_proto HTTP/1.0 [13:47:47]Method: POST [13:47:47]URL: /json_proto [13:47:47]Method is POST - this is cgi request [13:47:47]url: /json_proto [13:47:47]query_string will be loaded in cgi processing [13:47:47]execute_cgi json_proto POST (null) [13:47:47]execute_cgi path=json_proto method=POST [13:47:47]POST find Content-Length [13:47:47]Host: 172.17.38.197:8080 [13:47:47]Content-Length: 1086 [13:47:47]Content-Type: application/json [13:47:47] [13:47:47]POST finish read [13:47:47]Found Content-Length = 1086 [13:47:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300150", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 301.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:47:47]execute_script... [13:47:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300150", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 301.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:47:47]POST & json_proto [13:47:47]process_json_proto [13:47:47]json parsed OK: [13:47:47]protocol is kg_v1.0 [13:47:47]action value=close_receipt [13:47:47]process_action close_receipt [13:47:47]cmd_close_receipt [13:47:47]MH_GetDate [13:47:47]Write to MH i2c: F0 00 00 39 16 3E [13:47:47]Write i2c OK [13:47:47]MH_I2C_Read... [13:47:47]Read from MH i2c: F0 [13:47:47]MH_I2C_Read... [13:47:47]Read from MH i2c: F0 09 00 [13:47:47]MH_I2C_Read... [13:47:47]Read from MH i2c: F0 09 00 39 16 00 87 85 92 66 1E 0D 88 66 64 [13:47:47]GetLastDocTimeStamp 1720878318 [13:47:47]current date 1720878471 [13:47:47]FM_GetShiftState [13:47:47]SAM_PROTO_GetShiftState [13:47:47]wFMCommunicate request_size=4 [13:47:47]MH_SAM_APDU [13:47:47]CAPDU: 80 13 01 00 [13:47:47]Write to MH i2c: E2 08 00 3A 16 80 13 01 00 00 00 00 00 CD [13:47:47]Write i2c OK [13:47:47]MH_I2C_Read... [13:47:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:47]Read from MH i2c: E2 [13:47:47]MH_I2C_Read... [13:47:47]Read from MH i2c: E2 0E 00 [13:47:47]MH_I2C_Read... [13:47:47]Read from MH i2c: E2 0E 00 3A 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 64 [13:47:47]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:47:47]wFMCommunicate OK [13:47:47]SAM_PROTO_GetShiftState done [13:47:47]FM_GetShiftState done [13:47:47]opened in 1720829646 [13:47:47]opened+sec_in_day 1720916046 [13:47:47]quantity*price = 19000 [13:47:47]sum+1 = 19001 [13:47:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 301.00 НСП 1% : 2.66 НДС 12% : 31.97 Наличными: 301.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 67 13.07.2024 13:47 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43022 ФПД: 141292310437295 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134751&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43022&fm=141292310437295&tin=02508201610067®Number=0000000000091176&sum=30100 0 [13:47:48]StoreToDocumentArchive [13:47:48]shift 445 fd 43022 [13:47:48]save to /storage/0445/doc_00043022 [13:47:48]save last doc name /storage/0445/doc_00043022 to /storage/kkm_last_doc_name [13:47:48]save OK [13:47:48]Clear old archive folders... [13:47:48]ProcessDocumentItem done err = 0, tmpTLVsize=409 [13:47:48]tlvbuf is 01572FF0 [13:47:48]SAM_PROTO_ClearQueue [13:47:48]wFMCommunicate request_size=4 [13:47:48]MH_SAM_APDU [13:47:48]CAPDU: 80 09 00 00 [13:47:48]Write to MH i2c: E2 08 00 47 16 80 09 00 00 00 00 00 00 CF [13:47:48]Write i2c OK [13:47:48]MH_I2C_Read... [13:47:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:47:48]Read from MH i2c: E2 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 47 16 00 90 00 D1 [13:47:48]RAPDU: 90 00 [13:47:48]wFMCommunicate OK [13:47:48]SAM_PROTO_ClearQueue done [13:47:48]KKMCreateOFDPacket [13:47:48]OFDProtocolAddRootSTLVToBuf [13:47:48]FM_MakeSignedData [13:47:48]FM_MakeSignedData [13:47:48]SAM_PROTO_SignData [13:47:48]wFMCommunicate request_size=4 [13:47:48]MH_SAM_APDU [13:47:48]CAPDU: 80 0D 01 02 [13:47:48]Write to MH i2c: E2 08 00 48 16 80 0D 01 02 00 00 00 00 D7 [13:47:48]Write i2c OK [13:47:48]MH_I2C_Read... [13:47:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:47:48]Read from MH i2c: E2 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 48 16 00 90 00 D2 [13:47:48]RAPDU: 90 00 [13:47:48]wFMCommunicate OK [13:47:48]wFMCommunicate request_size=255 [13:47:48]MH_SAM_APDU [13:47:48]CAPDU: 80 0D 02 02 FA 03 00 99 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 [13:47:48]Write to MH i2c: E2 02 01 49 16 80 0D 02 02 FA 00 03 00 99 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 00 00 37 [13:47:48]Write i2c OK [13:47:48]MH_I2C_Read... [13:47:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:48]Read from MH i2c: E2 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 [13:47:48]MH_I2C_Read... [13:47:48]Read from MH i2c: E2 03 00 49 16 00 90 00 D3 [13:47:48]RAPDU: 90 00 [13:47:48]wFMCommunicate OK [13:47:48]wFMCommunicate request_size=168 [13:47:48]MH_SAM_APDU [13:47:48]CAPDU: 80 0D 02 02 A3 06 00 94 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 7D 0C 00 00 00 00 07 04 06 00 94 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 43 00 00 00 F4 03 04 00 87 85 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0E A8 00 00 35 04 06 00 80 81 2D F9 1D AF [13:47:48]Write to MH i2c: E2 AB 00 4A 16 80 0D 02 02 A3 00 06 00 94 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 7D 0C 00 00 00 00 07 04 06 00 94 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 43 00 00 00 F4 03 04 00 87 85 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0E A8 00 00 35 04 06 00 80 81 2D F9 1D AF 00 00 BA [13:47:48]Write i2c OK [13:47:48]MH_I2C_Read... [13:47:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:49]Read from MH i2c: E2 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 03 00 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 03 00 4A 16 00 90 00 D4 [13:47:49]RAPDU: 90 00 [13:47:49]wFMCommunicate OK [13:47:49]wFMCommunicate request_size=4 [13:47:49]MH_SAM_APDU [13:47:49]CAPDU: 80 0D 03 02 [13:47:49]Write to MH i2c: E2 08 00 4B 16 80 0D 03 02 00 00 00 00 DC [13:47:49]Write i2c OK [13:47:49]MH_I2C_Read... [13:47:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:47:49]Read from MH i2c: E2 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 0B 00 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 0B 00 4B 16 00 94 16 D9 3F F9 59 48 37 90 00 70 [13:47:49]RAPDU: 94 16 D9 3F F9 59 48 37 90 00 [13:47:49]wFMCommunicate OK [13:47:49]SAM_PROTO_SignData done [13:47:49]FM_MakeSignedData done [13:47:49]CreateOFDProtocolMessage [13:47:49]wFMCommunicate request_size=4 [13:47:49]MH_SAM_APDU [13:47:49]CAPDU: 80 11 00 00 [13:47:49]Write to MH i2c: E2 08 00 4C 16 80 11 00 00 00 00 00 00 DC [13:47:49]Write i2c OK [13:47:49]MH_I2C_Read... [13:47:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:49]Read from MH i2c: E2 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 17 00 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: E2 17 00 4C 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 33 [13:47:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:47:49]wFMCommunicate OK [13:47:49]CreateOFDProtocolMessage done [13:47:49]OFDSenderStorePacket 43022 [13:47:49]StoreOFDPacket docnum=43022 [13:47:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 AD 01 00 00 EA A1 A5 01 B0 DD 5A 03 01 00 03 00 99 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 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 7D 0C 00 00 00 00 07 04 06 00 94 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 43 00 00 00 F4 03 04 00 87 85 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0E A8 00 00 35 04 06 00 80 81 2D F9 1D AF 94 16 D9 3F F9 59 48 37 [13:47:49]CheckFolder [13:47:49]dirname=/storage/ofd_packets [13:47:49]CheckFolder done [13:47:49]ProducePacketName [13:47:49]name=ofd_packets/00043022 [13:47:49]NVStorageSaveData ofd_packets/00043022 [13:47:49]File name is /storage/ofd_packets/00043022 [13:47:49]Write 459 bytes [13:47:49]NVStorageSaveData done [13:47:49]OFDSenderStorePacket done [13:47:49]KKMCreateOFDPacket done [13:47:49]NVStorageSaveData kkm_last_timestamp [13:47:49]File name is /storage/kkm_last_timestamp [13:47:49]Write 4 bytes [13:47:49]NVStorageSaveData done [13:47:49]ExternCall_PrintAddStr [13:47:49]wPrintStart [13:47:49]Write to MH i2c: 01 00 00 4D 16 63 [13:47:49]OFD Sender: Processing packet 43022 [packets to send 31, broken 30] [13:47:49]ProducePacketName [13:47:49]name=ofd_packets/00043022 [13:47:49]OFD Sender: To server: pG, [13:47:49]CommunicateWithHost lk.salyk.kg:30040 [13:47:49]ConnectInit lk.salyk.kg [13:47:49]Write i2c OK [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: 01 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: 01 07 00 [13:47:49]MH_I2C_Read... [13:47:49]Read from MH i2c: 01 07 00 4D 16 00 00 00 00 00 FF 0F 78 [13:47:49]RasterBufferAndPrint [13:47:49]line Счет N : (3)300150 [13:47:49]line ИНН: 02508201610067 [13:47:49]line Контрольно-Кассовый Чек [13:47:49]line ПРОДАЖА [13:47:49]line Товар: 4700000483297 [13:47:49]line Энергетический напиток Nitro Ананас-гуав [13:47:49]line 2.000 * 95.00 [13:47:49]line = 190.00 [13:47:49]line НДС 12% НСП 1% [13:47:49]line > о реализуемом товаре [13:47:49]line Товар: 4870001570071 [13:47:49]line Напиток Pepsi 1л [13:47:49]line 1.000 * 111.00 [13:47:49]line = 111.00 [13:47:49]line НДС 12% НСП 1% [13:47:49]line > о реализуемом товаре [13:47:49]line ИТОГО: 301.00 [13:47:49]line НСП 1% : 2.66 [13:47:49]line НДС 12% : 31.97 [13:47:49]line Наличными: 301.00 [13:47:49]line Безнал.: 0.00 [13:47:49]line Место: АЗС № 71 "Партнер Нефть" [13:47:49]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:47:49]line СНО: Общий режим [13:47:49]line Чек 67 13.07.2024 13:47 [13:47:49]line Смена: 445 ФФД: 1.0 [13:47:49]line ЗНМ: 0300000153 [13:47:49]line РНМ: 0000000000091176 [13:47:49]line Версия ККМ: 001 [13:47:49]line ФМ: 0000000000874935 [13:47:49]line ФД: 43022 [13:47:49]line ФПД: 141292310437295 [13:47:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T134751&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43022&fm=141292310437295&tin=02508201610067®Number=0000000000091176&sum=30100 [13:47:49]line 0 [13:47:49]written 0, free lines is 4095 [13:47:49]Connected sock=10 [13:47:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 AD 01 00 00 EA A1 A5 01 B0 DD 5A 03 01 00 03 00 99 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 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 7D 0C 00 00 00 00 07 04 06 00 94 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 43 00 00 00 F4 03 04 00 87 85 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0E A8 00 00 35 04 06 00 80 81 2D F9 1D AF 94 16 D9 3F F9 59 48 37 [13:47:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 15 A3 47 00 3F B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0E A8 00 00 F4 03 04 00 81 31 92 66 B6 04 01 00 00 58 FE 7E 60 9D 7E 11 24 [13:47:49]CommunicateWithHost err = 0 [13:47:49]CheckOFDResponse [13:47:49]1017 (14) - 77093643461234 [13:47:49]1041 (16) - 0000000000874935 [13:47:49]1040 (4) - 43022 [13:47:49]1012 (4) - 13.07.2024 07:49 [13:47:49]1206 (1) - 0 [13:47:49]OFD Sender: Remove packet 43022 [13:47:49]ProducePacketName [13:47:49]name=ofd_packets/00043022 [13:47:49]NVStorageDeleteData [13:47:50]Write to MH i2c: 01 00 00 7C 16 92 [13:47:50]Write i2c OK [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: 01 [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: 01 07 00 [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: 01 07 00 7C 16 00 00 00 00 00 A6 0C 4B [13:47:50]RasterBufferAndPrint [13:47:50]line [13:47:50]line [13:47:50]line [13:47:50]line [13:47:50]line [13:47:50]written 0, free lines is 3245 [13:47:50]MH_Cut [13:47:50]Write to MH i2c: D1 01 00 83 16 01 6B [13:47:50]Write i2c OK [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: D1 [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: D1 01 00 [13:47:50]MH_I2C_Read... [13:47:50]Read from MH i2c: D1 01 00 83 16 00 6A [13:47:50]Write to MH i2c: 01 00 00 84 16 9A [13:47:50]Write i2c OK [13:47:50]MH_I2C_Read... [13:47:50]OFD Sender: No OFD packet to send [13:47:50]*** Cut start [13:47:50]*** Partial cut [13:47:50]*** CUTSNS_PIN = 1 [13:47:50]*** CUTSNS_PIN = 0 [13:47:51]*** Brake cut motor [13:47:51]Read from MH i2c: 01 [13:47:51]MH_I2C_Read... [13:47:51]*** Stop cut motor [13:47:51]*** Cut end [13:47:51]Read from MH i2c: 01 07 00 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: 01 07 00 84 16 00 00 00 00 00 FF 0F AF [13:47:51]process_action close_receipt done [13:47:51]requested_data is exist [13:47:51]produce_requested_data [13:47:51]requested_item fm.sn is exist - process it [13:47:51]wFMCommunicate request_size=4 [13:47:51]MH_SAM_APDU [13:47:51]CAPDU: 80 11 00 00 [13:47:51]Write to MH i2c: E2 08 00 85 16 80 11 00 00 00 00 00 00 15 [13:47:51]Write i2c OK [13:47:51]MH_I2C_Read... [13:47:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:51]Read from MH i2c: E2 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 17 00 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 17 00 85 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6C [13:47:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:47:51]wFMCommunicate OK [13:47:51]requested_item fd.num is exist - process it [13:47:51]SAM_PROTO_GetFieldsCounters [13:47:51]wFMCommunicate request_size=4 [13:47:51]MH_SAM_APDU [13:47:51]CAPDU: 80 13 00 00 [13:47:51]Write to MH i2c: E2 08 00 86 16 80 13 00 00 00 00 00 00 18 [13:47:51]Write i2c OK [13:47:51]MH_I2C_Read... [13:47:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:47:51]Read from MH i2c: E2 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 62 00 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 62 00 86 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0E A8 00 00 0E 04 04 00 BD 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 79 [13:47:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0E A8 00 00 0E 04 04 00 BD 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 [13:47:51]wFMCommunicate OK [13:47:51]SAM_PROTO_GetFieldsCounters done [13:47:51]requested_item shift.num is exist - process it [13:47:51]requested_item shift.opened is exist - process it [13:47:51]req_shift_opened [13:47:51]FM_GetShiftState [13:47:51]SAM_PROTO_GetShiftState [13:47:51]wFMCommunicate request_size=4 [13:47:51]MH_SAM_APDU [13:47:51]CAPDU: 80 13 01 00 [13:47:51]Write to MH i2c: E2 08 00 87 16 80 13 01 00 00 00 00 00 1A [13:47:51]Write i2c OK [13:47:51]MH_I2C_Read... [13:47:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:51]Read from MH i2c: E2 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 0E 00 [13:47:51]MH_I2C_Read... [13:47:51]Read from MH i2c: E2 0E 00 87 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B1 [13:47:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:47:51]wFMCommunicate OK [13:47:51]SAM_PROTO_GetShiftState done [13:47:51]FM_GetShiftState done [13:47:51]req_shift_opened done [13:47:51]requested_item shift.open_date is exist - process it [13:47:51]req_shift_open_date [13:47:51]req_shift_open_date done [13:47:51]requested_item shift.sale.total is exist - process it [13:47:51]SAM_PROTO_GetShiftData [13:47:51]wFMCommunicate request_size=4 [13:47:51]MH_SAM_APDU [13:47:51]CAPDU: 80 13 02 00 [13:47:51]Write to MH i2c: E2 08 00 88 16 80 13 02 00 00 00 00 00 1C [13:47:51]Write i2c OK [13:47:51]MH_I2C_Read... [13:47:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:47:52]Read from MH i2c: E2 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 88 16 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 10 A2 11 70 04 03 00 98 12 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5A DF 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EA 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 33 [13:47:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 10 A2 11 70 04 03 00 98 12 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5A DF 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EA 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:47:52]wFMCommunicate OK [13:47:52]wFMCommunicate request_size=4 [13:47:52]MH_SAM_APDU [13:47:52]CAPDU: 80 17 00 00 [13:47:52]Write to MH i2c: E2 08 00 89 16 80 17 00 00 00 00 00 00 1F [13:47:52]Write i2c OK [13:47:52]MH_I2C_Read... [13:47:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:47:52]Read from MH i2c: E2 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 89 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 41 [13:47:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:47:52]wFMCommunicate OK [13:47:52]wFMCommunicate request_size=4 [13:47:52]MH_SAM_APDU [13:47:52]CAPDU: 80 17 00 00 [13:47:52]Write to MH i2c: E2 08 00 8A 16 80 17 00 00 00 00 00 00 20 [13:47:52]Write i2c OK [13:47:52]MH_I2C_Read... [13:47:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:47:52]Read from MH i2c: E2 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 [13:47:52]MH_I2C_Read... [13:47:52]Read from MH i2c: E2 FD 00 8A 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D7 [13:47:52]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:47:52]wFMCommunicate OK [13:47:52]wFMCommunicate request_size=4 [13:47:52]MH_SAM_APDU [13:47:52]CAPDU: 80 17 00 00 [13:47:52]Write to MH i2c: E2 08 00 8B 16 80 17 00 00 00 00 00 00 21 [13:47:52]Write i2c OK [13:47:52]MH_I2C_Read... [13:47:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:47:53]Read from MH i2c: E2 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 FD 00 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 FD 00 8B 16 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 93 [13:47:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:47:53]wFMCommunicate OK [13:47:53]wFMCommunicate request_size=4 [13:47:53]MH_SAM_APDU [13:47:53]CAPDU: 80 17 00 00 [13:47:53]Write to MH i2c: E2 08 00 8C 16 80 17 00 00 00 00 00 00 22 [13:47:53]Write i2c OK [13:47:53]MH_I2C_Read... [13:47:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:47:53]Read from MH i2c: E2 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 CB 00 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 CB 00 8C 16 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [13:47:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:47:53]wFMCommunicate OK [13:47:53]SAM_PROTO_GetShiftData done [13:47:53]requested_item shift.sale.total_cash is exist - process it [13:47:53]requested_item shift.sale_refund.total is exist - process it [13:47:53]requested_item shift.sale_refund.total_cash is exist - process it [13:47:53]produce_requested_data done [13:47:53]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43022,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11556.00,"shift.sale.total_cash":9878.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:47:53]process_action_free close_receipt [13:47:53]json_value_free [13:47:53]json_value_free done [13:47:53]process_json_proto returns [13:47:53]Send response to host [13:47:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43022,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11556.00,"shift.sale.total_cash":9878.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:47:53]free response buf [13:47:53]execute_script done [13:47:53]execute_script returns [13:47:53]free content buf [13:47:53]Sock 7.Close socket [13:47:53]Sock 7.Thread stoped [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:49]accept exits with 9 [13:53:49]New connection [13:53:49]New thread 3067387236 created [13:53:49]Thread 3067530596 joined [13:53:49]Waiting for new connection... [13:53:49] Sock 9.Parse request [13:53:49]Sock 9.Check first char [13:53:49]Sock 9.First char is OK [13:53:49]request: POST /json_proto HTTP/1.0 [13:53:49]Method: POST [13:53:49]URL: /json_proto [13:53:49]Method is POST - this is cgi request [13:53:49]url: /json_proto [13:53:49]query_string will be loaded in cgi processing [13:53:49]execute_cgi json_proto POST (null) [13:53:49]execute_cgi path=json_proto method=POST [13:53:49]POST find Content-Length [13:53:49]Host: 172.17.38.197:8080 [13:53:49]Content-Length: 1079 [13:53:49]Content-Type: application/json [13:53:49] [13:53:49]POST finish read [13:53:49]Found Content-Length = 1079 [13:53:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300151", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:53:49]execute_script... [13:53:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300151", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:53:49]POST & json_proto [13:53:49]process_json_proto [13:53:49]json parsed OK: [13:53:49]protocol is kg_v1.0 [13:53:49]action value=close_receipt [13:53:49]process_action close_receipt [13:53:49]cmd_close_receipt [13:53:49]MH_GetDate [13:53:49]Write to MH i2c: F0 00 00 8D 16 92 [13:53:49]Write i2c OK [13:53:49]MH_I2C_Read... [13:53:49]Read from MH i2c: F0 [13:53:49]MH_I2C_Read... [13:53:49]Read from MH i2c: F0 09 00 [13:53:49]MH_I2C_Read... [13:53:49]Read from MH i2c: F0 09 00 8D 16 00 F1 86 92 66 1E 0D 88 66 23 [13:53:49]GetLastDocTimeStamp 1720878471 [13:53:49]current date 1720878833 [13:53:49]FM_GetShiftState [13:53:49]SAM_PROTO_GetShiftState [13:53:49]wFMCommunicate request_size=4 [13:53:49]MH_SAM_APDU [13:53:49]CAPDU: 80 13 01 00 [13:53:49]Write to MH i2c: E2 08 00 8E 16 80 13 01 00 00 00 00 00 21 [13:53:49]Write i2c OK [13:53:49]MH_I2C_Read... [13:53:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:49]Read from MH i2c: E2 [13:53:49]MH_I2C_Read... [13:53:49]Read from MH i2c: E2 0E 00 [13:53:49]MH_I2C_Read... [13:53:49]Read from MH i2c: E2 0E 00 8E 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B8 [13:53:49]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:53:49]wFMCommunicate OK [13:53:49]SAM_PROTO_GetShiftState done [13:53:49]FM_GetShiftState done [13:53:49]opened in 1720829646 [13:53:49]opened+sec_in_day 1720916046 [13:53:49]quantity*price = 10000 [13:53:49]sum+1 = 10001 [13:53:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010018 Чай хол Let`s Go! зел лим ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 68 13.07.2024 13:53 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43023 ФПД: 131227512653439 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T135353&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43023&fm=131227512653439&tin=02508201610067®Number=0000000000091176&sum=15000 0 [13:53:50]StoreToDocumentArchive [13:53:50]shift 445 fd 43023 [13:53:50]save to /storage/0445/doc_00043023 [13:53:50]save last doc name /storage/0445/doc_00043023 to /storage/kkm_last_doc_name [13:53:50]save OK [13:53:50]Clear old archive folders... [13:53:50]ProcessDocumentItem done err = 0, tmpTLVsize=420 [13:53:50]tlvbuf is 015E4720 [13:53:50]SAM_PROTO_ClearQueue [13:53:50]wFMCommunicate request_size=4 [13:53:50]MH_SAM_APDU [13:53:50]CAPDU: 80 09 00 00 [13:53:50]Write to MH i2c: E2 08 00 9B 16 80 09 00 00 00 00 00 00 23 [13:53:50]Write i2c OK [13:53:50]MH_I2C_Read... [13:53:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:53:50]Read from MH i2c: E2 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 9B 16 00 90 00 25 [13:53:50]RAPDU: 90 00 [13:53:50]wFMCommunicate OK [13:53:50]SAM_PROTO_ClearQueue done [13:53:50]KKMCreateOFDPacket [13:53:50]OFDProtocolAddRootSTLVToBuf [13:53:50]FM_MakeSignedData [13:53:50]FM_MakeSignedData [13:53:50]SAM_PROTO_SignData [13:53:50]wFMCommunicate request_size=4 [13:53:50]MH_SAM_APDU [13:53:50]CAPDU: 80 0D 01 02 [13:53:50]Write to MH i2c: E2 08 00 9C 16 80 0D 01 02 00 00 00 00 2B [13:53:50]Write i2c OK [13:53:50]MH_I2C_Read... [13:53:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:53:50]Read from MH i2c: E2 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 9C 16 00 90 00 26 [13:53:50]RAPDU: 90 00 [13:53:50]wFMCommunicate OK [13:53:50]wFMCommunicate request_size=255 [13:53:50]MH_SAM_APDU [13:53:50]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 [13:53:50]Write to MH i2c: E2 02 01 9D 16 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 00 00 8C [13:53:50]Write i2c OK [13:53:50]MH_I2C_Read... [13:53:50]OFD Sender: No OFD packet to send [13:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:50]Read from MH i2c: E2 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 [13:53:50]MH_I2C_Read... [13:53:50]Read from MH i2c: E2 03 00 9D 16 00 90 00 27 [13:53:50]RAPDU: 90 00 [13:53:50]wFMCommunicate OK [13:53:50]wFMCommunicate request_size=179 [13:53:50]MH_SAM_APDU [13:53:50]CAPDU: 80 0D 02 02 AE 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 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F1 86 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0F A8 00 00 35 04 06 00 77 59 C9 46 C6 7F [13:53:50]Write to MH i2c: E2 B6 00 9E 16 80 0D 02 02 AE 00 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 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F1 86 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0F A8 00 00 35 04 06 00 77 59 C9 46 C6 7F 00 00 49 [13:53:50]Write i2c OK [13:53:50]MH_I2C_Read... [13:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:51]Read from MH i2c: E2 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 03 00 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 03 00 9E 16 00 90 00 28 [13:53:51]RAPDU: 90 00 [13:53:51]wFMCommunicate OK [13:53:51]wFMCommunicate request_size=4 [13:53:51]MH_SAM_APDU [13:53:51]CAPDU: 80 0D 03 02 [13:53:51]Write to MH i2c: E2 08 00 9F 16 80 0D 03 02 00 00 00 00 30 [13:53:51]Write i2c OK [13:53:51]MH_I2C_Read... [13:53:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:53:51]Read from MH i2c: E2 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 0B 00 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 0B 00 9F 16 00 07 D1 06 A8 AF AA C5 0C 90 00 E1 [13:53:51]RAPDU: 07 D1 06 A8 AF AA C5 0C 90 00 [13:53:51]wFMCommunicate OK [13:53:51]SAM_PROTO_SignData done [13:53:51]FM_MakeSignedData done [13:53:51]CreateOFDProtocolMessage [13:53:51]wFMCommunicate request_size=4 [13:53:51]MH_SAM_APDU [13:53:51]CAPDU: 80 11 00 00 [13:53:51]Write to MH i2c: E2 08 00 A0 16 80 11 00 00 00 00 00 00 30 [13:53:51]Write i2c OK [13:53:51]MH_I2C_Read... [13:53:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:51]Read from MH i2c: E2 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 17 00 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: E2 17 00 A0 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 87 [13:53:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:53:51]wFMCommunicate OK [13:53:51]CreateOFDProtocolMessage done [13:53:51]OFDSenderStorePacket 43023 [13:53:51]StoreOFDPacket docnum=43023 [13:53:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 67 C6 B0 01 74 93 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F1 86 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0F A8 00 00 35 04 06 00 77 59 C9 46 C6 7F 07 D1 06 A8 AF AA C5 0C [13:53:51]CheckFolder [13:53:51]dirname=/storage/ofd_packets [13:53:51]CheckFolder done [13:53:51]ProducePacketName [13:53:51]name=ofd_packets/00043023 [13:53:51]NVStorageSaveData ofd_packets/00043023 [13:53:51]File name is /storage/ofd_packets/00043023 [13:53:51]Write 470 bytes [13:53:51]NVStorageSaveData done [13:53:51]OFDSenderStorePacket done [13:53:51]KKMCreateOFDPacket done [13:53:51]NVStorageSaveData kkm_last_timestamp [13:53:51]File name is /storage/kkm_last_timestamp [13:53:51]Write 4 bytes [13:53:51]NVStorageSaveData done [13:53:51]ExternCall_PrintAddStr [13:53:51]wPrintStart [13:53:51]Write to MH i2c: 01 00 00 A1 16 B7 [13:53:51]OFD Sender: Processing packet 43023 [packets to send 31, broken 30] [13:53:51]ProducePacketName [13:53:51]name=ofd_packets/00043023 [13:53:51]OFD Sender: To server: pG, [13:53:51]CommunicateWithHost lk.salyk.kg:30040 [13:53:51]ConnectInit lk.salyk.kg [13:53:51]Write i2c OK [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: 01 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: 01 07 00 [13:53:51]MH_I2C_Read... [13:53:51]Read from MH i2c: 01 07 00 A1 16 00 00 00 00 00 FF 0F CC [13:53:51]RasterBufferAndPrint [13:53:51]line Счет N : (3)300151 [13:53:51]line ИНН: 02508201610067 [13:53:51]line Контрольно-Кассовый Чек [13:53:51]line ПРОДАЖА [13:53:51]line Товар: 4700003010032 [13:53:51]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [13:53:51]line 2.000 * 50.00 [13:53:51]line = 100.00 [13:53:51]line НДС 12% НСП 1% [13:53:51]line > о реализуемом товаре [13:53:51]line Товар: 4700003010018 [13:53:51]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [13:53:51]line 1.000 * 50.00 [13:53:51]line = 50.00 [13:53:51]line НДС 12% НСП 1% [13:53:51]line > о реализуемом товаре [13:53:51]line ИТОГО: 150.00 [13:53:51]line НСП 1% : 1.32 [13:53:51]line НДС 12% : 15.93 [13:53:51]line Наличными: 150.00 [13:53:51]line Безнал.: 0.00 [13:53:51]line Место: АЗС № 71 "Партнер Нефть" [13:53:51]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:53:51]line СНО: Общий режим [13:53:51]line Чек 68 13.07.2024 13:53 [13:53:51]line Смена: 445 ФФД: 1.0 [13:53:51]line ЗНМ: 0300000153 [13:53:51]line РНМ: 0000000000091176 [13:53:51]line Версия ККМ: 001 [13:53:51]line ФМ: 0000000000874935 [13:53:51]line ФД: 43023 [13:53:51]line ФПД: 131227512653439 [13:53:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T135353&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43023&fm=131227512653439&tin=02508201610067®Number=0000000000091176&sum=15000 [13:53:51]line 0 [13:53:51]written 0, free lines is 4095 [13:53:51]Connected sock=10 [13:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 67 C6 B0 01 74 93 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F1 86 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0F A8 00 00 35 04 06 00 77 59 C9 46 C6 7F 07 D1 06 A8 AF AA C5 0C [13:53:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 7E BC 47 00 B5 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 0F A8 00 00 F4 03 04 00 EB 32 92 66 B6 04 01 00 00 34 8F 75 74 E6 5E 87 BC [13:53:51]CommunicateWithHost err = 0 [13:53:51]CheckOFDResponse [13:53:51]1017 (14) - 77093643461234 [13:53:51]1041 (16) - 0000000000874935 [13:53:51]1040 (4) - 43023 [13:53:51]1012 (4) - 13.07.2024 07:55 [13:53:51]1206 (1) - 0 [13:53:51]OFD Sender: Remove packet 43023 [13:53:51]ProducePacketName [13:53:51]name=ofd_packets/00043023 [13:53:51]NVStorageDeleteData [13:53:52]Write to MH i2c: 01 00 00 D1 16 E7 [13:53:52]Write i2c OK [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: 01 [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: 01 07 00 [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: 01 07 00 D1 16 00 00 00 00 00 97 0C 91 [13:53:52]RasterBufferAndPrint [13:53:52]line [13:53:52]line [13:53:52]line [13:53:52]line [13:53:52]line [13:53:52]written 0, free lines is 3229 [13:53:52]MH_Cut [13:53:52]Write to MH i2c: D1 01 00 D8 16 01 C0 [13:53:52]Write i2c OK [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: D1 [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: D1 01 00 [13:53:52]MH_I2C_Read... [13:53:52]Read from MH i2c: D1 01 00 D8 16 00 BF [13:53:52]Write to MH i2c: 01 00 00 D9 16 EF [13:53:52]Write i2c OK [13:53:52]MH_I2C_Read... [13:53:52]OFD Sender: No OFD packet to send [13:53:52]*** Cut start [13:53:52]*** Partial cut [13:53:52]*** CUTSNS_PIN = 1 [13:53:52]*** CUTSNS_PIN = 0 [13:53:53]*** Brake cut motor [13:53:53]Read from MH i2c: 01 [13:53:53]MH_I2C_Read... [13:53:53]*** Stop cut motor [13:53:53]*** Cut end [13:53:53]Read from MH i2c: 01 07 00 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: 01 07 00 D9 16 00 00 00 00 00 FF 0F 04 [13:53:53]process_action close_receipt done [13:53:53]requested_data is exist [13:53:53]produce_requested_data [13:53:53]requested_item fm.sn is exist - process it [13:53:53]wFMCommunicate request_size=4 [13:53:53]MH_SAM_APDU [13:53:53]CAPDU: 80 11 00 00 [13:53:53]Write to MH i2c: E2 08 00 DA 16 80 11 00 00 00 00 00 00 6A [13:53:53]Write i2c OK [13:53:53]MH_I2C_Read... [13:53:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:53]Read from MH i2c: E2 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 17 00 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 17 00 DA 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C1 [13:53:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:53:53]wFMCommunicate OK [13:53:53]requested_item fd.num is exist - process it [13:53:53]SAM_PROTO_GetFieldsCounters [13:53:53]wFMCommunicate request_size=4 [13:53:53]MH_SAM_APDU [13:53:53]CAPDU: 80 13 00 00 [13:53:53]Write to MH i2c: E2 08 00 DB 16 80 13 00 00 00 00 00 00 6D [13:53:53]Write i2c OK [13:53:53]MH_I2C_Read... [13:53:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:53:53]Read from MH i2c: E2 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 62 00 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 62 00 DB 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0F A8 00 00 0E 04 04 00 BD 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 D2 [13:53:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 0F A8 00 00 0E 04 04 00 BD 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 [13:53:53]wFMCommunicate OK [13:53:53]SAM_PROTO_GetFieldsCounters done [13:53:53]requested_item shift.num is exist - process it [13:53:53]requested_item shift.opened is exist - process it [13:53:53]req_shift_opened [13:53:53]FM_GetShiftState [13:53:53]SAM_PROTO_GetShiftState [13:53:53]wFMCommunicate request_size=4 [13:53:53]MH_SAM_APDU [13:53:53]CAPDU: 80 13 01 00 [13:53:53]Write to MH i2c: E2 08 00 DC 16 80 13 01 00 00 00 00 00 6F [13:53:53]Write i2c OK [13:53:53]MH_I2C_Read... [13:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:53]Read from MH i2c: E2 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 0E 00 [13:53:53]MH_I2C_Read... [13:53:53]Read from MH i2c: E2 0E 00 DC 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 06 [13:53:53]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:53:53]wFMCommunicate OK [13:53:53]SAM_PROTO_GetShiftState done [13:53:53]FM_GetShiftState done [13:53:53]req_shift_opened done [13:53:53]requested_item shift.open_date is exist - process it [13:53:53]req_shift_open_date [13:53:53]req_shift_open_date done [13:53:53]requested_item shift.sale.total is exist - process it [13:53:53]SAM_PROTO_GetShiftData [13:53:53]wFMCommunicate request_size=4 [13:53:53]MH_SAM_APDU [13:53:53]CAPDU: 80 13 02 00 [13:53:53]Write to MH i2c: E2 08 00 DD 16 80 13 02 00 00 00 00 00 71 [13:53:53]Write i2c OK [13:53:53]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 DD 16 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 A8 DC 11 70 04 03 00 30 4D 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 93 E5 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6E 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F3 [13:53:54]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 A8 DC 11 70 04 03 00 30 4D 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 93 E5 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6E 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:53:54]wFMCommunicate OK [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 17 00 00 [13:53:54]Write to MH i2c: E2 08 00 DE 16 80 17 00 00 00 00 00 00 74 [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 DE 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 96 [13:53:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:53:54]wFMCommunicate OK [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 17 00 00 [13:53:54]Write to MH i2c: E2 08 00 DF 16 80 17 00 00 00 00 00 00 75 [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:54]Read from MH i2c: E2 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 [13:53:54]MH_I2C_Read... [13:53:54]Read from MH i2c: E2 FD 00 DF 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2C [13:53:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:53:54]wFMCommunicate OK [13:53:54]wFMCommunicate request_size=4 [13:53:54]MH_SAM_APDU [13:53:54]CAPDU: 80 17 00 00 [13:53:54]Write to MH i2c: E2 08 00 E0 16 80 17 00 00 00 00 00 00 76 [13:53:54]Write i2c OK [13:53:54]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 FD 00 E0 16 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E8 [13:53:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:53:55]wFMCommunicate OK [13:53:55]wFMCommunicate request_size=4 [13:53:55]MH_SAM_APDU [13:53:55]CAPDU: 80 17 00 00 [13:53:55]Write to MH i2c: E2 08 00 E1 16 80 17 00 00 00 00 00 00 77 [13:53:55]Write i2c OK [13:53:55]MH_I2C_Read... [13:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:53:55]Read from MH i2c: E2 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 CB 00 [13:53:55]MH_I2C_Read... [13:53:55]Read from MH i2c: E2 CB 00 E1 16 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 60 [13:53:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:53:55]wFMCommunicate OK [13:53:55]SAM_PROTO_GetShiftData done [13:53:55]requested_item shift.sale.total_cash is exist - process it [13:53:55]requested_item shift.sale_refund.total is exist - process it [13:53:55]requested_item shift.sale_refund.total_cash is exist - process it [13:53:55]produce_requested_data done [13:53:55]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43023,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11706.00,"shift.sale.total_cash":10028.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:53:55]process_action_free close_receipt [13:53:55]json_value_free [13:53:55]json_value_free done [13:53:55]process_json_proto returns [13:53:55]Send response to host [13:53:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43023,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11706.00,"shift.sale.total_cash":10028.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:53:55]free response buf [13:53:55]execute_script done [13:53:55]execute_script returns [13:53:55]free content buf [13:53:55]Sock 9.Close socket [13:53:55]Sock 9.Thread stoped [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:11]accept exits with 7 [13:57:11]New connection [13:57:11]New thread 3067530596 created [13:57:11]Thread 3067387236 joined [13:57:11]Waiting for new connection... [13:57:11] Sock 7.Parse request [13:57:11]Sock 7.Check first char [13:57:11]Sock 7.First char is OK [13:57:11]request: POST /json_proto HTTP/1.0 [13:57:11]Method: POST [13:57:11]URL: /json_proto [13:57:11]Method is POST - this is cgi request [13:57:11]url: /json_proto [13:57:11]query_string will be loaded in cgi processing [13:57:11]execute_cgi json_proto POST (null) [13:57:11]execute_cgi path=json_proto method=POST [13:57:11]POST find Content-Length [13:57:11]Host: 172.17.38.197:8080 [13:57:11]Content-Length: 1016 [13:57:11]Content-Type: application/json [13:57:11] [13:57:11]POST finish read [13:57:11]Found Content-Length = 1016 [13:57:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300152", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:57:11]execute_script... [13:57:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300152", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:57:11]POST & json_proto [13:57:11]process_json_proto [13:57:11]json parsed OK: [13:57:11]protocol is kg_v1.0 [13:57:11]action value=close_receipt [13:57:11]process_action close_receipt [13:57:11]cmd_close_receipt [13:57:11]MH_GetDate [13:57:11]Write to MH i2c: F0 00 00 E2 16 E7 [13:57:11]Write i2c OK [13:57:11]MH_I2C_Read... [13:57:11]Read from MH i2c: F0 [13:57:11]MH_I2C_Read... [13:57:11]Read from MH i2c: F0 09 00 [13:57:11]MH_I2C_Read... [13:57:11]Read from MH i2c: F0 09 00 E2 16 00 BB 87 92 66 1E 0D 88 66 43 [13:57:11]GetLastDocTimeStamp 1720878833 [13:57:11]current date 1720879035 [13:57:11]FM_GetShiftState [13:57:11]SAM_PROTO_GetShiftState [13:57:11]wFMCommunicate request_size=4 [13:57:11]MH_SAM_APDU [13:57:11]CAPDU: 80 13 01 00 [13:57:11]Write to MH i2c: E2 08 00 E3 16 80 13 01 00 00 00 00 00 76 [13:57:11]Write i2c OK [13:57:11]MH_I2C_Read... [13:57:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:11]Read from MH i2c: E2 [13:57:11]MH_I2C_Read... [13:57:11]Read from MH i2c: E2 0E 00 [13:57:11]MH_I2C_Read... [13:57:11]Read from MH i2c: E2 0E 00 E3 16 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0D [13:57:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:57:11]wFMCommunicate OK [13:57:11]SAM_PROTO_GetShiftState done [13:57:11]FM_GetShiftState done [13:57:11]opened in 1720829646 [13:57:11]opened+sec_in_day 1720916046 [13:57:11]quantity*price = 12500 [13:57:11]sum+1 = 12501 [13:57:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400358 Семечки ДЖИНН 70г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.70 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 69 13.07.2024 13:57 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43024 ФПД: 166933162522093 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T135715&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43024&fm=166933162522093&tin=02508201610067®Number=0000000000091176&sum=19500 0 [13:57:12]StoreToDocumentArchive [13:57:12]shift 445 fd 43024 [13:57:12]save to /storage/0445/doc_00043024 [13:57:12]save last doc name /storage/0445/doc_00043024 to /storage/kkm_last_doc_name [13:57:12]save OK [13:57:12]Clear old archive folders... [13:57:12]ProcessDocumentItem done err = 0, tmpTLVsize=380 [13:57:12]tlvbuf is B6F35A90 [13:57:12]SAM_PROTO_ClearQueue [13:57:12]wFMCommunicate request_size=4 [13:57:12]MH_SAM_APDU [13:57:12]CAPDU: 80 09 00 00 [13:57:12]Write to MH i2c: E2 08 00 F0 16 80 09 00 00 00 00 00 00 78 [13:57:12]Write i2c OK [13:57:12]MH_I2C_Read... [13:57:12]OFD Sender: No OFD packet to send [13:57:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:57:12]Read from MH i2c: E2 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 F0 16 00 90 00 7A [13:57:12]RAPDU: 90 00 [13:57:12]wFMCommunicate OK [13:57:12]SAM_PROTO_ClearQueue done [13:57:12]KKMCreateOFDPacket [13:57:12]OFDProtocolAddRootSTLVToBuf [13:57:12]FM_MakeSignedData [13:57:12]FM_MakeSignedData [13:57:12]SAM_PROTO_SignData [13:57:12]wFMCommunicate request_size=4 [13:57:12]MH_SAM_APDU [13:57:12]CAPDU: 80 0D 01 02 [13:57:12]Write to MH i2c: E2 08 00 F1 16 80 0D 01 02 00 00 00 00 80 [13:57:12]Write i2c OK [13:57:12]MH_I2C_Read... [13:57:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:57:12]Read from MH i2c: E2 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 F1 16 00 90 00 7B [13:57:12]RAPDU: 90 00 [13:57:12]wFMCommunicate OK [13:57:12]wFMCommunicate request_size=255 [13:57:12]MH_SAM_APDU [13:57:12]CAPDU: 80 0D 02 02 FA 03 00 7C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 [13:57:12]Write to MH i2c: E2 02 01 F2 16 80 0D 02 02 FA 00 03 00 7C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 71 [13:57:12]Write i2c OK [13:57:12]MH_I2C_Read... [13:57:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:12]Read from MH i2c: E2 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 [13:57:12]MH_I2C_Read... [13:57:12]Read from MH i2c: E2 03 00 F2 16 00 90 00 7C [13:57:12]RAPDU: 90 00 [13:57:12]wFMCommunicate OK [13:57:12]wFMCommunicate request_size=139 [13:57:12]MH_SAM_APDU [13:57:12]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 BB 87 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 10 A8 00 00 35 04 06 00 97 D3 27 DA 75 ED [13:57:12]Write to MH i2c: E2 8E 00 F3 16 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 BB 87 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 10 A8 00 00 35 04 06 00 97 D3 27 DA 75 ED 00 00 17 [13:57:12]Write i2c OK [13:57:12]MH_I2C_Read... [13:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:13]Read from MH i2c: E2 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 03 00 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 03 00 F3 16 00 90 00 7D [13:57:13]RAPDU: 90 00 [13:57:13]wFMCommunicate OK [13:57:13]wFMCommunicate request_size=4 [13:57:13]MH_SAM_APDU [13:57:13]CAPDU: 80 0D 03 02 [13:57:13]Write to MH i2c: E2 08 00 F4 16 80 0D 03 02 00 00 00 00 85 [13:57:13]Write i2c OK [13:57:13]MH_I2C_Read... [13:57:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:57:13]Read from MH i2c: E2 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 0B 00 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 0B 00 F4 16 00 56 60 22 DA 03 1C A7 2E 90 00 2C [13:57:13]RAPDU: 56 60 22 DA 03 1C A7 2E 90 00 [13:57:13]wFMCommunicate OK [13:57:13]SAM_PROTO_SignData done [13:57:13]FM_MakeSignedData done [13:57:13]CreateOFDProtocolMessage [13:57:13]wFMCommunicate request_size=4 [13:57:13]MH_SAM_APDU [13:57:13]CAPDU: 80 11 00 00 [13:57:13]Write to MH i2c: E2 08 00 F5 16 80 11 00 00 00 00 00 00 85 [13:57:13]Write i2c OK [13:57:13]MH_I2C_Read... [13:57:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:13]Read from MH i2c: E2 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 17 00 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: E2 17 00 F5 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 DC [13:57:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:57:13]wFMCommunicate OK [13:57:13]CreateOFDProtocolMessage done [13:57:13]OFDSenderStorePacket 43024 [13:57:13]StoreOFDPacket docnum=43024 [13:57:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 01 00 00 78 CE 88 01 44 D0 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 BB 87 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 10 A8 00 00 35 04 06 00 97 D3 27 DA 75 ED 56 60 22 DA 03 1C A7 2E [13:57:13]CheckFolder [13:57:13]dirname=/storage/ofd_packets [13:57:13]CheckFolder done [13:57:13]ProducePacketName [13:57:13]name=ofd_packets/00043024 [13:57:13]NVStorageSaveData ofd_packets/00043024 [13:57:13]File name is /storage/ofd_packets/00043024 [13:57:13]Write 430 bytes [13:57:13]NVStorageSaveData done [13:57:13]OFDSenderStorePacket done [13:57:13]KKMCreateOFDPacket done [13:57:13]NVStorageSaveData kkm_last_timestamp [13:57:13]File name is /storage/kkm_last_timestamp [13:57:13]Write 4 bytes [13:57:13]NVStorageSaveData done [13:57:13]ExternCall_PrintAddStr [13:57:13]wPrintStart [13:57:13]Write to MH i2c: 01 00 00 F6 16 0C [13:57:13]Write i2c OK [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: 01 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: 01 07 00 [13:57:13]MH_I2C_Read... [13:57:13]Read from MH i2c: 01 07 00 F6 16 00 00 00 00 00 FF 0F 21 [13:57:13]RasterBufferAndPrint [13:57:13]line Счет N : (3)300152 [13:57:13]line ИНН: 02508201610067 [13:57:13]line Контрольно-Кассовый Чек [13:57:13]line ПРОДАЖА [13:57:13]line Товар: 5449000054227 [13:57:13]line Напиток Кока-Кола 1л [13:57:13]line 1.000 * 125.00 [13:57:13]line = 125.00 [13:57:13]line НДС 12% НСП 1% [13:57:13]line > о реализуемом товаре [13:57:13]line Товар: 4630007400358 [13:57:13]line Семечки ДЖИНН 70г [13:57:13]line 1.000 * 70.00 [13:57:13]line = 70.00 [13:57:13]line НДС 12% НСП 1% [13:57:13]line > о реализуемом товаре [13:57:13]line ИТОГО: 195.00 [13:57:13]line НСП 1% : 1.73 [13:57:13]line НДС 12% : 20.70 [13:57:13]line Наличными: 195.00 [13:57:13]line Безнал.: 0.00 [13:57:13]line Место: АЗС № 71 "Партнер Нефть" [13:57:13]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [13:57:13]line СНО: Общий режим [13:57:13]line Чек 69 13.07.2024 13:57 [13:57:13]line Смена: 445 ФФД: 1.0 [13:57:13]line ЗНМ: 0300000153 [13:57:13]line РНМ: 0000000000091176 [13:57:13]line Версия ККМ: 001 [13:57:13]line ФМ: 0000000000874935 [13:57:13]line ФД: 43024 [13:57:13]line ФПД: 166933162522093 [13:57:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T135715&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43024&fm=166933162522093&tin=02508201610067®Number=0000000000091176&sum=19500 [13:57:13]line 0 [13:57:13]OFD Sender: Processing packet 43024 [packets to send 31, broken 30] [13:57:13]ProducePacketName [13:57:13]name=ofd_packets/00043024 [13:57:13]OFD Sender: To server: pG, [13:57:13]CommunicateWithHost lk.salyk.kg:30040 [13:57:13]ConnectInit lk.salyk.kg [13:57:13]written 0, free lines is 4095 [13:57:13]Connected sock=10 [13:57:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 01 00 00 78 CE 88 01 44 D0 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 BB 87 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 10 A8 00 00 35 04 06 00 97 D3 27 DA 75 ED 56 60 22 DA 03 1C A7 2E [13:57:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 B9 B7 47 00 66 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 38 37 34 39 33 35 10 04 04 00 10 A8 00 00 F4 03 04 00 B5 33 92 66 B6 04 01 00 00 AC B7 77 55 20 36 CA 1E [13:57:13]CommunicateWithHost err = 0 [13:57:13]CheckOFDResponse [13:57:13]1017 (14) - 77093643461234 [13:57:13]1041 (16) - 0000000000874935 [13:57:13]1040 (4) - 43024 [13:57:13]1012 (4) - 13.07.2024 07:58 [13:57:13]1206 (1) - 0 [13:57:13]OFD Sender: Remove packet 43024 [13:57:13]ProducePacketName [13:57:13]name=ofd_packets/00043024 [13:57:13]NVStorageDeleteData [13:57:14]Write to MH i2c: 01 00 00 24 17 3B [13:57:14]Write i2c OK [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: 01 [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: 01 07 00 [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: 01 07 00 24 17 00 00 00 00 00 B6 0C 04 [13:57:14]RasterBufferAndPrint [13:57:14]line [13:57:14]line [13:57:14]line [13:57:14]line [13:57:14]line [13:57:14]written 0, free lines is 3259 [13:57:14]MH_Cut [13:57:14]Write to MH i2c: D1 01 00 2B 17 01 14 [13:57:14]Write i2c OK [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: D1 [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: D1 01 00 [13:57:14]MH_I2C_Read... [13:57:14]Read from MH i2c: D1 01 00 2B 17 00 13 [13:57:14]Write to MH i2c: 01 00 00 2C 17 43 [13:57:14]Write i2c OK [13:57:14]MH_I2C_Read... [13:57:14]OFD Sender: No OFD packet to send [13:57:14]*** Cut start [13:57:14]*** Partial cut [13:57:14]*** CUTSNS_PIN = 1 [13:57:14]*** CUTSNS_PIN = 0 [13:57:15]*** Brake cut motor [13:57:15]Read from MH i2c: 01 [13:57:15]MH_I2C_Read... [13:57:15]*** Stop cut motor [13:57:15]*** Cut end [13:57:15]Read from MH i2c: 01 07 00 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: 01 07 00 2C 17 00 00 00 00 00 FF 0F 58 [13:57:15]process_action close_receipt done [13:57:15]requested_data is exist [13:57:15]produce_requested_data [13:57:15]requested_item fm.sn is exist - process it [13:57:15]wFMCommunicate request_size=4 [13:57:15]MH_SAM_APDU [13:57:15]CAPDU: 80 11 00 00 [13:57:15]Write to MH i2c: E2 08 00 2D 17 80 11 00 00 00 00 00 00 BE [13:57:15]Write i2c OK [13:57:15]MH_I2C_Read... [13:57:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:15]Read from MH i2c: E2 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 17 00 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 17 00 2D 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 15 [13:57:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [13:57:15]wFMCommunicate OK [13:57:15]requested_item fd.num is exist - process it [13:57:15]SAM_PROTO_GetFieldsCounters [13:57:15]wFMCommunicate request_size=4 [13:57:15]MH_SAM_APDU [13:57:15]CAPDU: 80 13 00 00 [13:57:15]Write to MH i2c: E2 08 00 2E 17 80 13 00 00 00 00 00 00 C1 [13:57:15]Write i2c OK [13:57:15]MH_I2C_Read... [13:57:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:57:15]Read from MH i2c: E2 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 62 00 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 62 00 2E 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 10 A8 00 00 0E 04 04 00 BD 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 2A [13:57:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 10 A8 00 00 0E 04 04 00 BD 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 [13:57:15]wFMCommunicate OK [13:57:15]SAM_PROTO_GetFieldsCounters done [13:57:15]requested_item shift.num is exist - process it [13:57:15]requested_item shift.opened is exist - process it [13:57:15]req_shift_opened [13:57:15]FM_GetShiftState [13:57:15]SAM_PROTO_GetShiftState [13:57:15]wFMCommunicate request_size=4 [13:57:15]MH_SAM_APDU [13:57:15]CAPDU: 80 13 01 00 [13:57:15]Write to MH i2c: E2 08 00 2F 17 80 13 01 00 00 00 00 00 C3 [13:57:15]Write i2c OK [13:57:15]MH_I2C_Read... [13:57:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:15]Read from MH i2c: E2 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 0E 00 [13:57:15]MH_I2C_Read... [13:57:15]Read from MH i2c: E2 0E 00 2F 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5A [13:57:15]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [13:57:15]wFMCommunicate OK [13:57:15]SAM_PROTO_GetShiftState done [13:57:15]FM_GetShiftState done [13:57:15]req_shift_opened done [13:57:15]requested_item shift.open_date is exist - process it [13:57:15]req_shift_open_date [13:57:15]req_shift_open_date done [13:57:15]requested_item shift.sale.total is exist - process it [13:57:15]SAM_PROTO_GetShiftData [13:57:15]wFMCommunicate request_size=4 [13:57:15]MH_SAM_APDU [13:57:15]CAPDU: 80 13 02 00 [13:57:15]Write to MH i2c: E2 08 00 30 17 80 13 02 00 00 00 00 00 C5 [13:57:15]Write i2c OK [13:57:15]MH_I2C_Read... [13:57:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:57:16]Read from MH i2c: E2 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 30 17 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 D4 28 12 70 04 03 00 5C 99 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A9 ED 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1B 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 06 [13:57:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 D4 28 12 70 04 03 00 5C 99 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A9 ED 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1B 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:57:16]wFMCommunicate OK [13:57:16]wFMCommunicate request_size=4 [13:57:16]MH_SAM_APDU [13:57:16]CAPDU: 80 17 00 00 [13:57:16]Write to MH i2c: E2 08 00 31 17 80 17 00 00 00 00 00 00 C8 [13:57:16]Write i2c OK [13:57:16]MH_I2C_Read... [13:57:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:57:16]Read from MH i2c: E2 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 31 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 EA [13:57:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:57:16]wFMCommunicate OK [13:57:16]wFMCommunicate request_size=4 [13:57:16]MH_SAM_APDU [13:57:16]CAPDU: 80 17 00 00 [13:57:16]Write to MH i2c: E2 08 00 32 17 80 17 00 00 00 00 00 00 C9 [13:57:16]Write i2c OK [13:57:16]MH_I2C_Read... [13:57:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:57:16]Read from MH i2c: E2 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 [13:57:16]MH_I2C_Read... [13:57:16]Read from MH i2c: E2 FD 00 32 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 80 [13:57:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:57:16]wFMCommunicate OK [13:57:16]wFMCommunicate request_size=4 [13:57:16]MH_SAM_APDU [13:57:16]CAPDU: 80 17 00 00 [13:57:16]Write to MH i2c: E2 08 00 33 17 80 17 00 00 00 00 00 00 CA [13:57:16]Write i2c OK [13:57:16]MH_I2C_Read... [13:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:57:17]Read from MH i2c: E2 [13:57:17]MH_I2C_Read... [13:57:17]Read from MH i2c: E2 FD 00 [13:57:17]MH_I2C_Read... [13:57:17]Read from MH i2c: E2 FD 00 33 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3C [13:57:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:57:17]wFMCommunicate OK [13:57:17]wFMCommunicate request_size=4 [13:57:17]MH_SAM_APDU [13:57:17]CAPDU: 80 17 00 00 [13:57:17]Write to MH i2c: E2 08 00 34 17 80 17 00 00 00 00 00 00 CB [13:57:17]Write i2c OK [13:57:17]MH_I2C_Read... [13:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:57:17]Read from MH i2c: E2 [13:57:17]MH_I2C_Read... [13:57:17]Read from MH i2c: E2 CB 00 [13:57:17]MH_I2C_Read... [13:57:17]Read from MH i2c: E2 CB 00 34 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B4 [13:57:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:57:17]wFMCommunicate OK [13:57:17]SAM_PROTO_GetShiftData done [13:57:17]requested_item shift.sale.total_cash is exist - process it [13:57:17]requested_item shift.sale_refund.total is exist - process it [13:57:17]requested_item shift.sale_refund.total_cash is exist - process it [13:57:17]produce_requested_data done [13:57:17]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43024,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11901.00,"shift.sale.total_cash":10223.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [13:57:17]process_action_free close_receipt [13:57:17]json_value_free [13:57:17]json_value_free done [13:57:17]process_json_proto returns [13:57:17]Send response to host [13:57:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43024,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":11901.00,"shift.sale.total_cash":10223.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [13:57:17]free response buf [13:57:17]execute_script done [13:57:17]execute_script returns [13:57:17]free content buf [13:57:17]Sock 7.Close socket [13:57:17]Sock 7.Thread stoped [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:14]OFD Sender: No OFD packet to send [14:03:19]OFD Sender: No OFD packet to send [14:03:24]OFD Sender: No OFD packet to send [14:03:29]OFD Sender: No OFD packet to send [14:03:34]OFD Sender: No OFD packet to send [14:03:39]OFD Sender: No OFD packet to send [14:03:44]OFD Sender: No OFD packet to send [14:03:49]OFD Sender: No OFD packet to send [14:03:54]OFD Sender: No OFD packet to send [14:03:59]OFD Sender: No OFD packet to send [14:04:04]OFD Sender: No OFD packet to send [14:04:09]OFD Sender: No OFD packet to send [14:04:14]OFD Sender: No OFD packet to send [14:04:19]OFD Sender: No OFD packet to send [14:04:24]OFD Sender: No OFD packet to send [14:04:29]OFD Sender: No OFD packet to send [14:04:34]OFD Sender: No OFD packet to send [14:04:39]OFD Sender: No OFD packet to send [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:52]accept exits with 9 [14:04:52]New connection [14:04:52]New thread 3067387236 created [14:04:52]Thread 3067530596 joined [14:04:52]Waiting for new connection... [14:04:52] Sock 9.Parse request [14:04:52]Sock 9.Check first char [14:04:52]Sock 9.First char is OK [14:04:52]request: POST /json_proto HTTP/1.0 [14:04:52]Method: POST [14:04:52]URL: /json_proto [14:04:52]Method is POST - this is cgi request [14:04:52]url: /json_proto [14:04:52]query_string will be loaded in cgi processing [14:04:52]execute_cgi json_proto POST (null) [14:04:52]execute_cgi path=json_proto method=POST [14:04:52]POST find Content-Length [14:04:52]Host: 172.17.38.197:8080 [14:04:52]Content-Length: 728 [14:04:52]Content-Type: application/json [14:04:52] [14:04:52]POST finish read [14:04:52]Found Content-Length = 728 [14:04:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300153", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:04:52]execute_script... [14:04:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300153", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:04:52]POST & json_proto [14:04:52]process_json_proto [14:04:52]json parsed OK: [14:04:52]protocol is kg_v1.0 [14:04:52]action value=close_receipt [14:04:52]process_action close_receipt [14:04:52]cmd_close_receipt [14:04:52]MH_GetDate [14:04:52]Write to MH i2c: F0 00 00 35 17 3B [14:04:52]Write i2c OK [14:04:52]MH_I2C_Read... [14:04:52]Read from MH i2c: F0 [14:04:52]MH_I2C_Read... [14:04:52]Read from MH i2c: F0 09 00 [14:04:52]MH_I2C_Read... [14:04:52]Read from MH i2c: F0 09 00 35 17 00 88 89 92 66 1E 0D 88 66 66 [14:04:52]GetLastDocTimeStamp 1720879035 [14:04:52]current date 1720879496 [14:04:52]FM_GetShiftState [14:04:52]SAM_PROTO_GetShiftState [14:04:52]wFMCommunicate request_size=4 [14:04:52]MH_SAM_APDU [14:04:52]CAPDU: 80 13 01 00 [14:04:52]Write to MH i2c: E2 08 00 36 17 80 13 01 00 00 00 00 00 CA [14:04:52]Write i2c OK [14:04:52]MH_I2C_Read... [14:04:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:52]Read from MH i2c: E2 [14:04:52]MH_I2C_Read... [14:04:52]Read from MH i2c: E2 0E 00 [14:04:52]MH_I2C_Read... [14:04:52]Read from MH i2c: E2 0E 00 36 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 61 [14:04:52]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:04:52]wFMCommunicate OK [14:04:52]SAM_PROTO_GetShiftState done [14:04:52]FM_GetShiftState done [14:04:52]opened in 1720829646 [14:04:52]opened+sec_in_day 1720916046 [14:04:52]quantity*price = 15100 [14:04:52]sum+1 = 15101 [14:04:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 70 13.07.2024 14:04 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43025 ФПД: 194726344832703 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T140456&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43025&fm=194726344832703&tin=02508201610067®Number=0000000000091176&sum=15100 0 [14:04:53]StoreToDocumentArchive [14:04:53]shift 445 fd 43025 [14:04:53]save to /storage/0445/doc_00043025 [14:04:53]save last doc name /storage/0445/doc_00043025 to /storage/kkm_last_doc_name [14:04:53]save OK [14:04:53]Clear old archive folders... [14:04:53]ProcessDocumentItem done err = 0, tmpTLVsize=276 [14:04:53]tlvbuf is 0158E930 [14:04:53]SAM_PROTO_ClearQueue [14:04:53]wFMCommunicate request_size=4 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 09 00 00 [14:04:53]Write to MH i2c: E2 08 00 43 17 80 09 00 00 00 00 00 00 CC [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 43 17 00 90 00 CE [14:04:53]RAPDU: 90 00 [14:04:53]wFMCommunicate OK [14:04:53]SAM_PROTO_ClearQueue done [14:04:53]KKMCreateOFDPacket [14:04:53]OFDProtocolAddRootSTLVToBuf [14:04:53]FM_MakeSignedData [14:04:53]FM_MakeSignedData [14:04:53]SAM_PROTO_SignData [14:04:53]wFMCommunicate request_size=4 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 0D 01 02 [14:04:53]Write to MH i2c: E2 08 00 44 17 80 0D 01 02 00 00 00 00 D4 [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 44 17 00 90 00 CF [14:04:53]RAPDU: 90 00 [14:04:53]wFMCommunicate OK [14:04:53]wFMCommunicate request_size=255 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 88 89 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 [14:04:53]Write to MH i2c: E2 02 01 45 17 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 88 89 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 00 00 32 [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 45 17 00 90 00 D0 [14:04:53]RAPDU: 90 00 [14:04:53]wFMCommunicate OK [14:04:53]wFMCommunicate request_size=35 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 11 A8 00 00 35 04 06 00 B1 1A 42 9C B6 BF [14:04:53]Write to MH i2c: E2 26 00 46 17 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 11 A8 00 00 35 04 06 00 B1 1A 42 9C B6 BF 00 00 A5 [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 03 00 46 17 00 90 00 D1 [14:04:53]RAPDU: 90 00 [14:04:53]wFMCommunicate OK [14:04:53]wFMCommunicate request_size=4 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 0D 03 02 [14:04:53]Write to MH i2c: E2 08 00 47 17 80 0D 03 02 00 00 00 00 D9 [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 0B 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 0B 00 47 17 00 AF 7D 65 DC 4A 06 E5 4E 90 00 CA [14:04:53]RAPDU: AF 7D 65 DC 4A 06 E5 4E 90 00 [14:04:53]wFMCommunicate OK [14:04:53]SAM_PROTO_SignData done [14:04:53]FM_MakeSignedData done [14:04:53]CreateOFDProtocolMessage [14:04:53]wFMCommunicate request_size=4 [14:04:53]MH_SAM_APDU [14:04:53]CAPDU: 80 11 00 00 [14:04:53]Write to MH i2c: E2 08 00 48 17 80 11 00 00 00 00 00 00 D9 [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:53]Read from MH i2c: E2 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 17 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: E2 17 00 48 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 30 [14:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:04:53]wFMCommunicate OK [14:04:53]CreateOFDProtocolMessage done [14:04:53]OFDSenderStorePacket 43025 [14:04:53]StoreOFDPacket docnum=43025 [14:04:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 49 4E 20 01 1C DD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 88 89 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 11 A8 00 00 35 04 06 00 B1 1A 42 9C B6 BF AF 7D 65 DC 4A 06 E5 4E [14:04:53]CheckFolder [14:04:53]dirname=/storage/ofd_packets [14:04:53]CheckFolder done [14:04:53]ProducePacketName [14:04:53]name=ofd_packets/00043025 [14:04:53]NVStorageSaveData ofd_packets/00043025 [14:04:53]File name is /storage/ofd_packets/00043025 [14:04:53]Write 326 bytes [14:04:53]NVStorageSaveData done [14:04:53]OFDSenderStorePacket done [14:04:53]KKMCreateOFDPacket done [14:04:53]NVStorageSaveData kkm_last_timestamp [14:04:53]File name is /storage/kkm_last_timestamp [14:04:53]Write 4 bytes [14:04:53]NVStorageSaveData done [14:04:53]ExternCall_PrintAddStr [14:04:53]wPrintStart [14:04:53]Write to MH i2c: 01 00 00 49 17 60 [14:04:53]OFD Sender: Processing packet 43025 [packets to send 31, broken 30] [14:04:53]ProducePacketName [14:04:53]name=ofd_packets/00043025 [14:04:53]OFD Sender: To server: pG, [14:04:53]CommunicateWithHost lk.salyk.kg:30040 [14:04:53]ConnectInit lk.salyk.kg [14:04:53]Write i2c OK [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: 01 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: 01 07 00 [14:04:53]MH_I2C_Read... [14:04:53]Read from MH i2c: 01 07 00 49 17 00 00 00 00 00 FF 0F 75 [14:04:53]RasterBufferAndPrint [14:04:53]line Счет N : (3)300153 [14:04:53]line ИНН: 02508201610067 [14:04:53]line Контрольно-Кассовый Чек [14:04:53]line ПРОДАЖА [14:04:53]line Товар: 48742245 [14:04:53]line Сигареты Parliament Silver Blue [14:04:53]line 1.000 * 151.00 [14:04:53]line = 151.00 [14:04:53]line НДС 12% НСП 1% [14:04:53]line > о реализуемом товаре [14:04:53]line ИТОГО: 151.00 [14:04:53]line НСП 1% : 1.34 [14:04:53]line НДС 12% : 16.03 [14:04:53]line Наличными: 151.00 [14:04:53]line Безнал.: 0.00 [14:04:53]line Место: АЗС № 71 "Партнер Нефть" [14:04:53]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:04:53]line СНО: Общий режим [14:04:53]line Чек 70 13.07.2024 14:04 [14:04:53]line Смена: 445 ФФД: 1.0 [14:04:53]line ЗНМ: 0300000153 [14:04:53]line РНМ: 0000000000091176 [14:04:53]line Версия ККМ: 001 [14:04:53]line ФМ: 0000000000874935 [14:04:53]line ФД: 43025 [14:04:53]line ФПД: 194726344832703 [14:04:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T140456&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43025&fm=194726344832703&tin=02508201610067®Number=0000000000091176&sum=15100 [14:04:54]line 0 [14:04:54]Connected sock=11 [14:04:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 49 4E 20 01 1C DD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 88 89 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 11 A8 00 00 35 04 06 00 B1 1A 42 9C B6 BF AF 7D 65 DC 4A 06 E5 4E [14:04:54]written 0, free lines is 4095 [14:04:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 6C 52 47 00 E2 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 11 A8 00 00 F4 03 04 00 82 35 92 66 B6 04 01 00 00 E9 21 2B 5C 20 D5 5C DA [14:04:54]CommunicateWithHost err = 0 [14:04:54]CheckOFDResponse [14:04:54]1017 (14) - 77093643461234 [14:04:54]1041 (16) - 0000000000874935 [14:04:54]1040 (4) - 43025 [14:04:54]1012 (4) - 13.07.2024 08:06 [14:04:54]1206 (1) - 0 [14:04:54]OFD Sender: Remove packet 43025 [14:04:54]ProducePacketName [14:04:54]name=ofd_packets/00043025 [14:04:54]NVStorageDeleteData [14:04:54]Write to MH i2c: 01 00 00 72 17 89 [14:04:54]Write i2c OK [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: 01 [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: 01 07 00 [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: 01 07 00 72 17 00 00 00 00 00 D5 0C 71 [14:04:54]RasterBufferAndPrint [14:04:54]line [14:04:54]line [14:04:54]line [14:04:54]line [14:04:54]line [14:04:54]written 0, free lines is 3290 [14:04:54]MH_Cut [14:04:54]Write to MH i2c: D1 01 00 79 17 01 62 [14:04:54]Write i2c OK [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: D1 [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: D1 01 00 [14:04:54]MH_I2C_Read... [14:04:54]Read from MH i2c: D1 01 00 79 17 00 61 [14:04:54]Write to MH i2c: 01 00 00 7A 17 91 [14:04:54]Write i2c OK [14:04:54]MH_I2C_Read... [14:04:54]OFD Sender: No OFD packet to send [14:04:55]*** Cut start [14:04:55]*** Partial cut [14:04:55]*** CUTSNS_PIN = 1 [14:04:55]*** CUTSNS_PIN = 0 [14:04:55]*** Brake cut motor [14:04:56]Read from MH i2c: 01 [14:04:56]MH_I2C_Read... [14:04:56]*** Stop cut motor [14:04:56]*** Cut end [14:04:56]Read from MH i2c: 01 07 00 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: 01 07 00 7A 17 00 00 00 00 00 FF 0F A6 [14:04:56]process_action close_receipt done [14:04:56]requested_data is exist [14:04:56]produce_requested_data [14:04:56]requested_item fm.sn is exist - process it [14:04:56]wFMCommunicate request_size=4 [14:04:56]MH_SAM_APDU [14:04:56]CAPDU: 80 11 00 00 [14:04:56]Write to MH i2c: E2 08 00 7B 17 80 11 00 00 00 00 00 00 0C [14:04:56]Write i2c OK [14:04:56]MH_I2C_Read... [14:04:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:56]Read from MH i2c: E2 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 17 00 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 17 00 7B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 63 [14:04:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:04:56]wFMCommunicate OK [14:04:56]requested_item fd.num is exist - process it [14:04:56]SAM_PROTO_GetFieldsCounters [14:04:56]wFMCommunicate request_size=4 [14:04:56]MH_SAM_APDU [14:04:56]CAPDU: 80 13 00 00 [14:04:56]Write to MH i2c: E2 08 00 7C 17 80 13 00 00 00 00 00 00 0F [14:04:56]Write i2c OK [14:04:56]MH_I2C_Read... [14:04:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:56]Read from MH i2c: E2 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 62 00 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 62 00 7C 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 11 A8 00 00 0E 04 04 00 BD 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 7C [14:04:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 11 A8 00 00 0E 04 04 00 BD 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 [14:04:56]wFMCommunicate OK [14:04:56]SAM_PROTO_GetFieldsCounters done [14:04:56]requested_item shift.num is exist - process it [14:04:56]requested_item shift.opened is exist - process it [14:04:56]req_shift_opened [14:04:56]FM_GetShiftState [14:04:56]SAM_PROTO_GetShiftState [14:04:56]wFMCommunicate request_size=4 [14:04:56]MH_SAM_APDU [14:04:56]CAPDU: 80 13 01 00 [14:04:56]Write to MH i2c: E2 08 00 7D 17 80 13 01 00 00 00 00 00 11 [14:04:56]Write i2c OK [14:04:56]MH_I2C_Read... [14:04:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:56]Read from MH i2c: E2 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 0E 00 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 0E 00 7D 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 A8 [14:04:56]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:04:56]wFMCommunicate OK [14:04:56]SAM_PROTO_GetShiftState done [14:04:56]FM_GetShiftState done [14:04:56]req_shift_opened done [14:04:56]requested_item shift.open_date is exist - process it [14:04:56]req_shift_open_date [14:04:56]req_shift_open_date done [14:04:56]requested_item shift.sale.total is exist - process it [14:04:56]SAM_PROTO_GetShiftData [14:04:56]wFMCommunicate request_size=4 [14:04:56]MH_SAM_APDU [14:04:56]CAPDU: 80 13 02 00 [14:04:56]Write to MH i2c: E2 08 00 7E 17 80 13 02 00 00 00 00 00 13 [14:04:56]Write i2c OK [14:04:56]MH_I2C_Read... [14:04:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:04:56]Read from MH i2c: E2 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 FD 00 [14:04:56]MH_I2C_Read... [14:04:56]Read from MH i2c: E2 FD 00 7E 17 00 AE 04 AA 04 AA 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 D0 63 12 70 04 03 00 58 D4 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EC F3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 93 [14:04:56]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 D0 63 12 70 04 03 00 58 D4 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EC F3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:04:56]wFMCommunicate OK [14:04:56]wFMCommunicate request_size=4 [14:04:56]MH_SAM_APDU [14:04:56]CAPDU: 80 17 00 00 [14:04:56]Write to MH i2c: E2 08 00 7F 17 80 17 00 00 00 00 00 00 16 [14:04:56]Write i2c OK [14:04:56]MH_I2C_Read... [14:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:04:57]Read from MH i2c: E2 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 7F 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 38 [14:04:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:04:57]wFMCommunicate OK [14:04:57]wFMCommunicate request_size=4 [14:04:57]MH_SAM_APDU [14:04:57]CAPDU: 80 17 00 00 [14:04:57]Write to MH i2c: E2 08 00 80 17 80 17 00 00 00 00 00 00 17 [14:04:57]Write i2c OK [14:04:57]MH_I2C_Read... [14:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:04:57]Read from MH i2c: E2 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 80 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 CE [14:04:57]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:04:57]wFMCommunicate OK [14:04:57]wFMCommunicate request_size=4 [14:04:57]MH_SAM_APDU [14:04:57]CAPDU: 80 17 00 00 [14:04:57]Write to MH i2c: E2 08 00 81 17 80 17 00 00 00 00 00 00 18 [14:04:57]Write i2c OK [14:04:57]MH_I2C_Read... [14:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:04:57]Read from MH i2c: E2 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 FD 00 81 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 8A [14:04:57]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:04:57]wFMCommunicate OK [14:04:57]wFMCommunicate request_size=4 [14:04:57]MH_SAM_APDU [14:04:57]CAPDU: 80 17 00 00 [14:04:57]Write to MH i2c: E2 08 00 82 17 80 17 00 00 00 00 00 00 19 [14:04:57]Write i2c OK [14:04:57]MH_I2C_Read... [14:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:04:57]Read from MH i2c: E2 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 CB 00 [14:04:57]MH_I2C_Read... [14:04:57]Read from MH i2c: E2 CB 00 82 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [14:04:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:04:57]wFMCommunicate OK [14:04:57]SAM_PROTO_GetShiftData done [14:04:57]requested_item shift.sale.total_cash is exist - process it [14:04:57]requested_item shift.sale_refund.total is exist - process it [14:04:57]requested_item shift.sale_refund.total_cash is exist - process it [14:04:57]produce_requested_data done [14:04:57]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43025,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12052.00,"shift.sale.total_cash":10374.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:04:57]process_action_free close_receipt [14:04:57]json_value_free [14:04:57]json_value_free done [14:04:57]process_json_proto returns [14:04:57]Send response to host [14:04:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43025,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12052.00,"shift.sale.total_cash":10374.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:04:57]free response buf [14:04:57]execute_script done [14:04:57]execute_script returns [14:04:57]free content buf [14:04:57]Sock 9.Close socket [14:04:57]Sock 9.Thread stoped [14:04:59]OFD Sender: No OFD packet to send [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:54]OFD Sender: No OFD packet to send [14:05:59]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:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:26]accept exits with 7 [14:14:26]New connection [14:14:26]New thread 3067530596 created [14:14:26]Thread 3067387236 joined [14:14:26]Waiting for new connection... [14:14:26] Sock 7.Parse request [14:14:26]Sock 7.Check first char [14:14:26]Sock 7.First char is OK [14:14:26]request: POST /json_proto HTTP/1.0 [14:14:26]Method: POST [14:14:26]URL: /json_proto [14:14:26]Method is POST - this is cgi request [14:14:26]url: /json_proto [14:14:26]query_string will be loaded in cgi processing [14:14:26]execute_cgi json_proto POST (null) [14:14:26]execute_cgi path=json_proto method=POST [14:14:26]POST find Content-Length [14:14:26]Host: 172.17.38.197:8080 [14:14:26]Content-Length: 734 [14:14:26]Content-Type: application/json [14:14:26] [14:14:26]POST finish read [14:14:26]Found Content-Length = 734 [14:14:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300154", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:14:26]execute_script... [14:14:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300154", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:14:26]POST & json_proto [14:14:26]process_json_proto [14:14:26]json parsed OK: [14:14:26]protocol is kg_v1.0 [14:14:26]action value=close_receipt [14:14:26]process_action close_receipt [14:14:26]cmd_close_receipt [14:14:26]MH_GetDate [14:14:26]Write to MH i2c: F0 00 00 83 17 89 [14:14:26]Write i2c OK [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: F0 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: F0 09 00 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: F0 09 00 83 17 00 C5 8B 92 66 1E 0D 88 66 F3 [14:14:26]GetLastDocTimeStamp 1720879496 [14:14:26]current date 1720880069 [14:14:26]FM_GetShiftState [14:14:26]SAM_PROTO_GetShiftState [14:14:26]wFMCommunicate request_size=4 [14:14:26]MH_SAM_APDU [14:14:26]CAPDU: 80 13 01 00 [14:14:26]Write to MH i2c: E2 08 00 84 17 80 13 01 00 00 00 00 00 18 [14:14:26]Write i2c OK [14:14:26]MH_I2C_Read... [14:14:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:26]Read from MH i2c: E2 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 0E 00 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 0E 00 84 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 AF [14:14:26]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:14:26]wFMCommunicate OK [14:14:26]SAM_PROTO_GetShiftState done [14:14:26]FM_GetShiftState done [14:14:26]opened in 1720829646 [14:14:26]opened+sec_in_day 1720916046 [14:14:26]quantity*price = 5000 [14:14:26]sum+1 = 5001 [14:14:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 71 13.07.2024 14:14 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43026 ФПД: 66914413222861 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T141429&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43026&fm=66914413222861&tin=02508201610067®Number=0000000000091176&sum=5000 0 [14:14:27]StoreToDocumentArchive [14:14:27]shift 445 fd 43026 [14:14:27]save to /storage/0445/doc_00043026 [14:14:27]save last doc name /storage/0445/doc_00043026 to /storage/kkm_last_doc_name [14:14:27]save OK [14:14:27]Clear old archive folders... [14:14:27]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:14:27]tlvbuf is 01599480 [14:14:27]SAM_PROTO_ClearQueue [14:14:27]wFMCommunicate request_size=4 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 09 00 00 [14:14:27]Write to MH i2c: E2 08 00 91 17 80 09 00 00 00 00 00 00 1A [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 91 17 00 90 00 1C [14:14:27]RAPDU: 90 00 [14:14:27]wFMCommunicate OK [14:14:27]SAM_PROTO_ClearQueue done [14:14:27]KKMCreateOFDPacket [14:14:27]OFDProtocolAddRootSTLVToBuf [14:14:27]FM_MakeSignedData [14:14:27]FM_MakeSignedData [14:14:27]SAM_PROTO_SignData [14:14:27]wFMCommunicate request_size=4 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 0D 01 02 [14:14:27]Write to MH i2c: E2 08 00 92 17 80 0D 01 02 00 00 00 00 22 [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 92 17 00 90 00 1D [14:14:27]RAPDU: 90 00 [14:14:27]wFMCommunicate OK [14:14:27]wFMCommunicate request_size=255 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C5 8B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [14:14:27]Write to MH i2c: E2 02 01 93 17 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C5 8B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 85 [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 93 17 00 90 00 1E [14:14:27]RAPDU: 90 00 [14:14:27]wFMCommunicate OK [14:14:27]wFMCommunicate request_size=28 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 12 A8 00 00 35 04 06 00 3C DB B9 D4 9B CD [14:14:27]Write to MH i2c: E2 1F 00 94 17 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 12 A8 00 00 35 04 06 00 3C DB B9 D4 9B CD 00 00 7C [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 03 00 94 17 00 90 00 1F [14:14:27]RAPDU: 90 00 [14:14:27]wFMCommunicate OK [14:14:27]wFMCommunicate request_size=4 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 0D 03 02 [14:14:27]Write to MH i2c: E2 08 00 95 17 80 0D 03 02 00 00 00 00 27 [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 0B 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 0B 00 95 17 00 26 42 06 44 B1 F4 09 7C 90 00 04 [14:14:27]RAPDU: 26 42 06 44 B1 F4 09 7C 90 00 [14:14:27]wFMCommunicate OK [14:14:27]SAM_PROTO_SignData done [14:14:27]FM_MakeSignedData done [14:14:27]CreateOFDProtocolMessage [14:14:27]wFMCommunicate request_size=4 [14:14:27]MH_SAM_APDU [14:14:27]CAPDU: 80 11 00 00 [14:14:27]Write to MH i2c: E2 08 00 96 17 80 11 00 00 00 00 00 00 27 [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:27]Read from MH i2c: E2 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 17 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: E2 17 00 96 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 7E [14:14:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:14:27]wFMCommunicate OK [14:14:27]CreateOFDProtocolMessage done [14:14:27]OFDSenderStorePacket 43026 [14:14:27]StoreOFDPacket docnum=43026 [14:14:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 90 61 19 01 6C A4 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C5 8B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 12 A8 00 00 35 04 06 00 3C DB B9 D4 9B CD 26 42 06 44 B1 F4 09 7C [14:14:27]CheckFolder [14:14:27]dirname=/storage/ofd_packets [14:14:27]CheckFolder done [14:14:27]ProducePacketName [14:14:27]name=ofd_packets/00043026 [14:14:27]NVStorageSaveData ofd_packets/00043026 [14:14:27]File name is /storage/ofd_packets/00043026 [14:14:27]Write 319 bytes [14:14:27]NVStorageSaveData done [14:14:27]OFDSenderStorePacket done [14:14:27]KKMCreateOFDPacket done [14:14:27]NVStorageSaveData kkm_last_timestamp [14:14:27]File name is /storage/kkm_last_timestamp [14:14:27]Write 4 bytes [14:14:27]NVStorageSaveData done [14:14:27]ExternCall_PrintAddStr [14:14:27]wPrintStart [14:14:27]Write to MH i2c: 01 00 00 97 17 AE [14:14:27]OFD Sender: Processing packet 43026 [packets to send 31, broken 30] [14:14:27]ProducePacketName [14:14:27]name=ofd_packets/00043026 [14:14:27]OFD Sender: To server: pG, [14:14:27]CommunicateWithHost lk.salyk.kg:30040 [14:14:27]ConnectInit lk.salyk.kg [14:14:27]Write i2c OK [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: 01 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: 01 07 00 [14:14:27]MH_I2C_Read... [14:14:27]Read from MH i2c: 01 07 00 97 17 00 00 00 00 00 FF 0F C3 [14:14:27]RasterBufferAndPrint [14:14:27]line Счет N : (3)300154 [14:14:27]line ИНН: 02508201610067 [14:14:27]line Контрольно-Кассовый Чек [14:14:27]line ПРОДАЖА [14:14:27]line Товар: 4700000160358 [14:14:27]line Вода Легенда 1л [14:14:27]line 1.000 * 50.00 [14:14:27]line = 50.00 [14:14:27]line НДС 12% НСП 1% [14:14:27]line > о реализуемом товаре [14:14:27]line ИТОГО: 50.00 [14:14:27]line НСП 1% : 0.44 [14:14:27]line НДС 12% : 5.31 [14:14:27]line Наличными: 50.00 [14:14:27]line Безнал.: 0.00 [14:14:27]line Место: АЗС № 71 "Партнер Нефть" [14:14:27]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:14:27]line СНО: Общий режим [14:14:27]line Чек 71 13.07.2024 14:14 [14:14:27]line Смена: 445 ФФД: 1.0 [14:14:27]line ЗНМ: 0300000153 [14:14:27]line РНМ: 0000000000091176 [14:14:27]line Версия ККМ: 001 [14:14:27]line ФМ: 0000000000874935 [14:14:27]line ФД: 43026 [14:14:27]line ФПД: 66914413222861 [14:14:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T141429&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43026&fm=66914413222861&tin=02508201610067®Number=0000000000091176&sum=5000 [14:14:27]line 0 [14:14:27]written 0, free lines is 4095 [14:14:27]Connected sock=10 [14:14:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 90 61 19 01 6C A4 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C5 8B 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 12 A8 00 00 35 04 06 00 3C DB B9 D4 9B CD 26 42 06 44 B1 F4 09 7C [14:14:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 50 25 47 00 49 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 12 A8 00 00 F4 03 04 00 BF 37 92 66 B6 04 01 00 00 35 1A A0 5E 64 19 AA 94 [14:14:28]CommunicateWithHost err = 0 [14:14:28]CheckOFDResponse [14:14:28]1017 (14) - 77093643461234 [14:14:28]1041 (16) - 0000000000874935 [14:14:28]1040 (4) - 43026 [14:14:28]1012 (4) - 13.07.2024 08:15 [14:14:28]1206 (1) - 0 [14:14:28]OFD Sender: Remove packet 43026 [14:14:28]ProducePacketName [14:14:28]name=ofd_packets/00043026 [14:14:28]NVStorageDeleteData [14:14:28]Write to MH i2c: 01 00 00 BF 17 D6 [14:14:28]Write i2c OK [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: 01 [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: 01 07 00 [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: 01 07 00 BF 17 00 00 00 00 00 05 0D EF [14:14:28]RasterBufferAndPrint [14:14:28]line [14:14:28]line [14:14:28]line [14:14:28]line [14:14:28]line [14:14:28]written 0, free lines is 3340 [14:14:28]MH_Cut [14:14:28]Write to MH i2c: D1 01 00 C6 17 01 AF [14:14:28]Write i2c OK [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: D1 [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: D1 01 00 [14:14:28]MH_I2C_Read... [14:14:28]Read from MH i2c: D1 01 00 C6 17 00 AE [14:14:28]Write to MH i2c: 01 00 00 C7 17 DE [14:14:28]Write i2c OK [14:14:28]MH_I2C_Read... [14:14:28]OFD Sender: No OFD packet to send [14:14:28]*** Cut start [14:14:28]*** Partial cut [14:14:28]*** CUTSNS_PIN = 1 [14:14:28]*** CUTSNS_PIN = 0 [14:14:29]*** Brake cut motor [14:14:29]Read from MH i2c: 01 [14:14:29]MH_I2C_Read... [14:14:29]*** Stop cut motor [14:14:29]*** Cut end [14:14:29]Read from MH i2c: 01 07 00 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: 01 07 00 C7 17 00 00 00 00 00 FF 0F F3 [14:14:29]process_action close_receipt done [14:14:29]requested_data is exist [14:14:29]produce_requested_data [14:14:29]requested_item fm.sn is exist - process it [14:14:29]wFMCommunicate request_size=4 [14:14:29]MH_SAM_APDU [14:14:29]CAPDU: 80 11 00 00 [14:14:29]Write to MH i2c: E2 08 00 C8 17 80 11 00 00 00 00 00 00 59 [14:14:29]Write i2c OK [14:14:29]MH_I2C_Read... [14:14:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:29]Read from MH i2c: E2 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 17 00 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 17 00 C8 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B0 [14:14:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:14:29]wFMCommunicate OK [14:14:29]requested_item fd.num is exist - process it [14:14:29]SAM_PROTO_GetFieldsCounters [14:14:29]wFMCommunicate request_size=4 [14:14:29]MH_SAM_APDU [14:14:29]CAPDU: 80 13 00 00 [14:14:29]Write to MH i2c: E2 08 00 C9 17 80 13 00 00 00 00 00 00 5C [14:14:29]Write i2c OK [14:14:29]MH_I2C_Read... [14:14:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:29]Read from MH i2c: E2 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 62 00 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 62 00 C9 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 12 A8 00 00 0E 04 04 00 BD 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 CD [14:14:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 12 A8 00 00 0E 04 04 00 BD 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 [14:14:29]wFMCommunicate OK [14:14:29]SAM_PROTO_GetFieldsCounters done [14:14:29]requested_item shift.num is exist - process it [14:14:29]requested_item shift.opened is exist - process it [14:14:29]req_shift_opened [14:14:29]FM_GetShiftState [14:14:29]SAM_PROTO_GetShiftState [14:14:29]wFMCommunicate request_size=4 [14:14:29]MH_SAM_APDU [14:14:29]CAPDU: 80 13 01 00 [14:14:29]Write to MH i2c: E2 08 00 CA 17 80 13 01 00 00 00 00 00 5E [14:14:29]Write i2c OK [14:14:29]MH_I2C_Read... [14:14:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:29]Read from MH i2c: E2 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 0E 00 [14:14:29]MH_I2C_Read... [14:14:29]Read from MH i2c: E2 0E 00 CA 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F5 [14:14:29]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:14:29]wFMCommunicate OK [14:14:29]SAM_PROTO_GetShiftState done [14:14:29]FM_GetShiftState done [14:14:29]req_shift_opened done [14:14:29]requested_item shift.open_date is exist - process it [14:14:29]req_shift_open_date [14:14:29]req_shift_open_date done [14:14:29]requested_item shift.sale.total is exist - process it [14:14:29]SAM_PROTO_GetShiftData [14:14:29]wFMCommunicate request_size=4 [14:14:29]MH_SAM_APDU [14:14:29]CAPDU: 80 13 02 00 [14:14:29]Write to MH i2c: E2 08 00 CB 17 80 13 02 00 00 00 00 00 60 [14:14:29]Write i2c OK [14:14:29]MH_I2C_Read... [14:14:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:14:30]Read from MH i2c: E2 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 CB 17 00 AE 04 AA 04 AA 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 58 77 12 70 04 03 00 E0 E7 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF F5 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CD 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 5A [14:14:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 58 77 12 70 04 03 00 E0 E7 0F 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF F5 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CD 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:14:30]wFMCommunicate OK [14:14:30]wFMCommunicate request_size=4 [14:14:30]MH_SAM_APDU [14:14:30]CAPDU: 80 17 00 00 [14:14:30]Write to MH i2c: E2 08 00 CC 17 80 17 00 00 00 00 00 00 63 [14:14:30]Write i2c OK [14:14:30]MH_I2C_Read... [14:14:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:14:30]Read from MH i2c: E2 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 CC 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 85 [14:14:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:14:30]wFMCommunicate OK [14:14:30]wFMCommunicate request_size=4 [14:14:30]MH_SAM_APDU [14:14:30]CAPDU: 80 17 00 00 [14:14:30]Write to MH i2c: E2 08 00 CD 17 80 17 00 00 00 00 00 00 64 [14:14:30]Write i2c OK [14:14:30]MH_I2C_Read... [14:14:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:14:30]Read from MH i2c: E2 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 [14:14:30]MH_I2C_Read... [14:14:30]Read from MH i2c: E2 FD 00 CD 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1B [14:14:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:14:30]wFMCommunicate OK [14:14:30]wFMCommunicate request_size=4 [14:14:30]MH_SAM_APDU [14:14:30]CAPDU: 80 17 00 00 [14:14:30]Write to MH i2c: E2 08 00 CE 17 80 17 00 00 00 00 00 00 65 [14:14:30]Write i2c OK [14:14:30]MH_I2C_Read... [14:14:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:14:31]Read from MH i2c: E2 [14:14:31]MH_I2C_Read... [14:14:31]Read from MH i2c: E2 FD 00 [14:14:31]MH_I2C_Read... [14:14:31]Read from MH i2c: E2 FD 00 CE 17 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D7 [14:14:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:14:31]wFMCommunicate OK [14:14:31]wFMCommunicate request_size=4 [14:14:31]MH_SAM_APDU [14:14:31]CAPDU: 80 17 00 00 [14:14:31]Write to MH i2c: E2 08 00 CF 17 80 17 00 00 00 00 00 00 66 [14:14:31]Write i2c OK [14:14:31]MH_I2C_Read... [14:14:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:14:31]Read from MH i2c: E2 [14:14:31]MH_I2C_Read... [14:14:31]Read from MH i2c: E2 CB 00 [14:14:31]MH_I2C_Read... [14:14:31]Read from MH i2c: E2 CB 00 CF 17 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [14:14:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:14:31]wFMCommunicate OK [14:14:31]SAM_PROTO_GetShiftData done [14:14:31]requested_item shift.sale.total_cash is exist - process it [14:14:31]requested_item shift.sale_refund.total is exist - process it [14:14:31]requested_item shift.sale_refund.total_cash is exist - process it [14:14:31]produce_requested_data done [14:14:31]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43026,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12102.00,"shift.sale.total_cash":10424.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:14:31]process_action_free close_receipt [14:14:31]json_value_free [14:14:31]json_value_free done [14:14:31]process_json_proto returns [14:14:31]Send response to host [14:14:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43026,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12102.00,"shift.sale.total_cash":10424.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:14:31]free response buf [14:14:31]execute_script done [14:14:31]execute_script returns [14:14:31]free content buf [14:14:31]Sock 7.Close socket [14:14:31]Sock 7.Thread stoped [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [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:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:24]accept exits with 9 [14:32:24]New connection [14:32:24]New thread 3067387236 created [14:32:24]Thread 3067530596 joined [14:32:24]Waiting for new connection... [14:32:24] Sock 9.Parse request [14:32:24]Sock 9.Check first char [14:32:24]Sock 9.First char is OK [14:32:24]request: POST /json_proto HTTP/1.0 [14:32:24]Method: POST [14:32:24]URL: /json_proto [14:32:24]Method is POST - this is cgi request [14:32:24]url: /json_proto [14:32:24]query_string will be loaded in cgi processing [14:32:24]execute_cgi json_proto POST (null) [14:32:24]execute_cgi path=json_proto method=POST [14:32:24]POST find Content-Length [14:32:24]Host: 172.17.38.197:8080 [14:32:24]Content-Length: 758 [14:32:24]Content-Type: application/json [14:32:24] [14:32:24]POST finish read [14:32:24]Found Content-Length = 758 [14:32:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300155", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:32:24]execute_script... [14:32:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300155", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:32:24]POST & json_proto [14:32:24]process_json_proto [14:32:24]json parsed OK: [14:32:24]protocol is kg_v1.0 [14:32:24]action value=close_receipt [14:32:24]process_action close_receipt [14:32:24]cmd_close_receipt [14:32:24]MH_GetDate [14:32:24]Write to MH i2c: F0 00 00 D0 17 D6 [14:32:24]Write i2c OK [14:32:24]MH_I2C_Read... [14:32:24]Read from MH i2c: F0 [14:32:24]MH_I2C_Read... [14:32:24]Read from MH i2c: F0 09 00 [14:32:24]MH_I2C_Read... [14:32:24]Read from MH i2c: F0 09 00 D0 17 00 FC 8F 92 66 1E 0D 88 66 7B [14:32:24]GetLastDocTimeStamp 1720880069 [14:32:24]current date 1720881148 [14:32:24]FM_GetShiftState [14:32:24]SAM_PROTO_GetShiftState [14:32:24]wFMCommunicate request_size=4 [14:32:24]MH_SAM_APDU [14:32:24]CAPDU: 80 13 01 00 [14:32:24]Write to MH i2c: E2 08 00 D1 17 80 13 01 00 00 00 00 00 65 [14:32:24]Write i2c OK [14:32:24]MH_I2C_Read... [14:32:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:25]Read from MH i2c: E2 [14:32:25]MH_I2C_Read... [14:32:25]Read from MH i2c: E2 0E 00 [14:32:25]MH_I2C_Read... [14:32:25]Read from MH i2c: E2 0E 00 D1 17 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 FC [14:32:25]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:32:25]wFMCommunicate OK [14:32:25]SAM_PROTO_GetShiftState done [14:32:25]FM_GetShiftState done [14:32:25]opened in 1720829646 [14:32:25]opened+sec_in_day 1720916046 [14:32:25]quantity*price = 9500 [14:32:25]sum+1 = 9501 [14:32:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 72 13.07.2024 14:32 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43027 ФПД: 191176623656813 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143228&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43027&fm=191176623656813&tin=02508201610067®Number=0000000000091176&sum=9500 0 [14:32:26]StoreToDocumentArchive [14:32:26]shift 445 fd 43027 [14:32:26]save to /storage/0445/doc_00043027 [14:32:26]save last doc name /storage/0445/doc_00043027 to /storage/kkm_last_doc_name [14:32:26]save OK [14:32:26]Clear old archive folders... [14:32:26]ProcessDocumentItem done err = 0, tmpTLVsize=293 [14:32:26]tlvbuf is 015E68A0 [14:32:26]SAM_PROTO_ClearQueue [14:32:26]wFMCommunicate request_size=4 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 09 00 00 [14:32:26]Write to MH i2c: E2 08 00 DE 17 80 09 00 00 00 00 00 00 67 [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 DE 17 00 90 00 69 [14:32:26]RAPDU: 90 00 [14:32:26]wFMCommunicate OK [14:32:26]SAM_PROTO_ClearQueue done [14:32:26]KKMCreateOFDPacket [14:32:26]OFDProtocolAddRootSTLVToBuf [14:32:26]FM_MakeSignedData [14:32:26]FM_MakeSignedData [14:32:26]SAM_PROTO_SignData [14:32:26]wFMCommunicate request_size=4 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 0D 01 02 [14:32:26]Write to MH i2c: E2 08 00 DF 17 80 0D 01 02 00 00 00 00 6F [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 DF 17 00 90 00 6A [14:32:26]RAPDU: 90 00 [14:32:26]wFMCommunicate OK [14:32:26]wFMCommunicate request_size=255 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FC 8F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [14:32:26]Write to MH i2c: E2 02 01 E0 17 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FC 8F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 98 [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 E0 17 00 90 00 6B [14:32:26]RAPDU: 90 00 [14:32:26]wFMCommunicate OK [14:32:26]wFMCommunicate request_size=52 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 13 A8 00 00 35 04 06 00 AD DF C6 BE 0F 6D [14:32:26]Write to MH i2c: E2 37 00 E1 17 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 13 A8 00 00 35 04 06 00 AD DF C6 BE 0F 6D 00 00 7F [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 03 00 E1 17 00 90 00 6C [14:32:26]RAPDU: 90 00 [14:32:26]wFMCommunicate OK [14:32:26]wFMCommunicate request_size=4 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 0D 03 02 [14:32:26]Write to MH i2c: E2 08 00 E2 17 80 0D 03 02 00 00 00 00 74 [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 0B 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 0B 00 E2 17 00 5C CC 0B 82 2A 5F B8 50 90 00 BB [14:32:26]RAPDU: 5C CC 0B 82 2A 5F B8 50 90 00 [14:32:26]wFMCommunicate OK [14:32:26]SAM_PROTO_SignData done [14:32:26]FM_MakeSignedData done [14:32:26]CreateOFDProtocolMessage [14:32:26]wFMCommunicate request_size=4 [14:32:26]MH_SAM_APDU [14:32:26]CAPDU: 80 11 00 00 [14:32:26]Write to MH i2c: E2 08 00 E3 17 80 11 00 00 00 00 00 00 74 [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:26]Read from MH i2c: E2 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 17 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: E2 17 00 E3 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CB [14:32:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:32:26]wFMCommunicate OK [14:32:26]CreateOFDProtocolMessage done [14:32:26]OFDSenderStorePacket 43027 [14:32:26]StoreOFDPacket docnum=43027 [14:32:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 35 0E 31 01 DA 90 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FC 8F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 13 A8 00 00 35 04 06 00 AD DF C6 BE 0F 6D 5C CC 0B 82 2A 5F B8 50 [14:32:26]CheckFolder [14:32:26]dirname=/storage/ofd_packets [14:32:26]CheckFolder done [14:32:26]ProducePacketName [14:32:26]name=ofd_packets/00043027 [14:32:26]NVStorageSaveData ofd_packets/00043027 [14:32:26]File name is /storage/ofd_packets/00043027 [14:32:26]Write 343 bytes [14:32:26]NVStorageSaveData done [14:32:26]OFDSenderStorePacket done [14:32:26]KKMCreateOFDPacket done [14:32:26]NVStorageSaveData kkm_last_timestamp [14:32:26]File name is /storage/kkm_last_timestamp [14:32:26]Write 4 bytes [14:32:26]NVStorageSaveData done [14:32:26]ExternCall_PrintAddStr [14:32:26]wPrintStart [14:32:26]Write to MH i2c: 01 00 00 E4 17 FB [14:32:26]Write i2c OK [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: 01 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: 01 07 00 [14:32:26]MH_I2C_Read... [14:32:26]Read from MH i2c: 01 07 00 E4 17 00 00 00 00 00 FF 0F 10 [14:32:26]RasterBufferAndPrint [14:32:26]line Счет N : (3)300155 [14:32:26]line ИНН: 02508201610067 [14:32:26]line Контрольно-Кассовый Чек [14:32:26]line ПРОДАЖА [14:32:26]line Товар: 4700000480050 [14:32:26]line Напиток Nitro Energy эн green ж/б 0,45л [14:32:26]line 1.000 * 95.00 [14:32:26]line = 95.00 [14:32:26]line НДС 12% НСП 1% [14:32:26]line > о реализуемом товаре [14:32:26]line ИТОГО: 95.00 [14:32:26]line НСП 1% : 0.84 [14:32:26]line НДС 12% : 10.09 [14:32:26]line Наличными: 95.00 [14:32:26]line Безнал.: 0.00 [14:32:26]line Место: АЗС № 71 "Партнер Нефть" [14:32:26]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:32:26]line СНО: Общий режим [14:32:26]line Чек 72 13.07.2024 14:32 [14:32:26]line Смена: 445 ФФД: 1.0 [14:32:26]line ЗНМ: 0300000153 [14:32:26]line РНМ: 0000000000091176 [14:32:26]line Версия ККМ: 001 [14:32:26]line ФМ: 0000000000874935 [14:32:26]line ФД: 43027 [14:32:26]line ФПД: 191176623656813 [14:32:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143228&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43027&fm=191176623656813&tin=02508201610067®Number=0000000000091176&sum=9500 [14:32:27]OFD Sender: Processing packet 43027 [packets to send 31, broken 30] [14:32:27]ProducePacketName [14:32:27]name=ofd_packets/00043027 [14:32:27]OFD Sender: To server: pG, [14:32:27]CommunicateWithHost lk.salyk.kg:30040 [14:32:27]ConnectInit lk.salyk.kg [14:32:27]line 0 [14:32:27]written 0, free lines is 4095 [14:32:27]Connected sock=10 [14:32:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 35 0E 31 01 DA 90 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FC 8F 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 13 A8 00 00 35 04 06 00 AD DF C6 BE 0F 6D 5C CC 0B 82 2A 5F B8 50 [14:32:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 BE 80 47 00 9A 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 38 37 34 39 33 35 10 04 04 00 13 A8 00 00 F4 03 04 00 F7 3B 92 66 B6 04 01 00 00 9D 65 1C D8 4C 83 CC 67 [14:32:27]CommunicateWithHost err = 0 [14:32:27]CheckOFDResponse [14:32:27]1017 (14) - 77093643461234 [14:32:27]1041 (16) - 0000000000874935 [14:32:27]1040 (4) - 43027 [14:32:27]1012 (4) - 13.07.2024 08:33 [14:32:27]1206 (1) - 0 [14:32:27]OFD Sender: Remove packet 43027 [14:32:27]ProducePacketName [14:32:27]name=ofd_packets/00043027 [14:32:27]NVStorageDeleteData [14:32:27]Write to MH i2c: 01 00 00 0D 18 25 [14:32:27]Write i2c OK [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: 01 [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: 01 07 00 [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: 01 07 00 0D 18 00 00 00 00 00 EB 0C 23 [14:32:27]RasterBufferAndPrint [14:32:27]line [14:32:27]line [14:32:27]line [14:32:27]line [14:32:27]line [14:32:27]written 0, free lines is 3313 [14:32:27]MH_Cut [14:32:27]Write to MH i2c: D1 01 00 14 18 01 FE [14:32:27]Write i2c OK [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: D1 [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: D1 01 00 [14:32:27]MH_I2C_Read... [14:32:27]Read from MH i2c: D1 01 00 14 18 00 FD [14:32:27]Write to MH i2c: 01 00 00 15 18 2D [14:32:27]Write i2c OK [14:32:27]MH_I2C_Read... [14:32:27]OFD Sender: No OFD packet to send [14:32:28]*** Cut start [14:32:28]*** Partial cut [14:32:28]*** CUTSNS_PIN = 1 [14:32:28]*** CUTSNS_PIN = 0 [14:32:28]*** Brake cut motor [14:32:28]Read from MH i2c: 01 [14:32:28]MH_I2C_Read... [14:32:28]*** Stop cut motor [14:32:28]*** Cut end [14:32:28]Read from MH i2c: 01 07 00 [14:32:28]MH_I2C_Read... [14:32:28]Read from MH i2c: 01 07 00 15 18 00 00 00 00 00 FF 0F 42 [14:32:28]process_action close_receipt done [14:32:28]requested_data is exist [14:32:28]produce_requested_data [14:32:28]requested_item fm.sn is exist - process it [14:32:28]wFMCommunicate request_size=4 [14:32:28]MH_SAM_APDU [14:32:28]CAPDU: 80 11 00 00 [14:32:28]Write to MH i2c: E2 08 00 16 18 80 11 00 00 00 00 00 00 A8 [14:32:28]Write i2c OK [14:32:28]MH_I2C_Read... [14:32:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:28]Read from MH i2c: E2 [14:32:28]MH_I2C_Read... [14:32:28]Read from MH i2c: E2 17 00 [14:32:28]MH_I2C_Read... [14:32:28]Read from MH i2c: E2 17 00 16 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 FF [14:32:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:32:28]wFMCommunicate OK [14:32:28]requested_item fd.num is exist - process it [14:32:28]SAM_PROTO_GetFieldsCounters [14:32:28]wFMCommunicate request_size=4 [14:32:28]MH_SAM_APDU [14:32:28]CAPDU: 80 13 00 00 [14:32:28]Write to MH i2c: E2 08 00 17 18 80 13 00 00 00 00 00 00 AB [14:32:28]Write i2c OK [14:32:28]MH_I2C_Read... [14:32:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:32:29]Read from MH i2c: E2 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 62 00 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 62 00 17 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 13 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [14:32:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 13 A8 00 00 0E 04 04 00 BD 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 [14:32:29]wFMCommunicate OK [14:32:29]SAM_PROTO_GetFieldsCounters done [14:32:29]requested_item shift.num is exist - process it [14:32:29]requested_item shift.opened is exist - process it [14:32:29]req_shift_opened [14:32:29]FM_GetShiftState [14:32:29]SAM_PROTO_GetShiftState [14:32:29]wFMCommunicate request_size=4 [14:32:29]MH_SAM_APDU [14:32:29]CAPDU: 80 13 01 00 [14:32:29]Write to MH i2c: E2 08 00 18 18 80 13 01 00 00 00 00 00 AD [14:32:29]Write i2c OK [14:32:29]MH_I2C_Read... [14:32:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:29]Read from MH i2c: E2 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 0E 00 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 0E 00 18 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 44 [14:32:29]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:32:29]wFMCommunicate OK [14:32:29]SAM_PROTO_GetShiftState done [14:32:29]FM_GetShiftState done [14:32:29]req_shift_opened done [14:32:29]requested_item shift.open_date is exist - process it [14:32:29]req_shift_open_date [14:32:29]req_shift_open_date done [14:32:29]requested_item shift.sale.total is exist - process it [14:32:29]SAM_PROTO_GetShiftData [14:32:29]wFMCommunicate request_size=4 [14:32:29]MH_SAM_APDU [14:32:29]CAPDU: 80 13 02 00 [14:32:29]Write to MH i2c: E2 08 00 19 18 80 13 02 00 00 00 00 00 AF [14:32:29]Write i2c OK [14:32:29]MH_I2C_Read... [14:32:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:32:29]Read from MH i2c: E2 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 FD 00 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 FD 00 19 18 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 74 9C 12 70 04 03 00 FC 0C 10 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F0 F9 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 21 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 78 [14:32:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 74 9C 12 70 04 03 00 FC 0C 10 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F0 F9 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 21 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:32:29]wFMCommunicate OK [14:32:29]wFMCommunicate request_size=4 [14:32:29]MH_SAM_APDU [14:32:29]CAPDU: 80 17 00 00 [14:32:29]Write to MH i2c: E2 08 00 1A 18 80 17 00 00 00 00 00 00 B2 [14:32:29]Write i2c OK [14:32:29]MH_I2C_Read... [14:32:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:32:29]Read from MH i2c: E2 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 FD 00 [14:32:29]MH_I2C_Read... [14:32:29]Read from MH i2c: E2 FD 00 1A 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D4 [14:32:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:32:29]wFMCommunicate OK [14:32:29]wFMCommunicate request_size=4 [14:32:29]MH_SAM_APDU [14:32:29]CAPDU: 80 17 00 00 [14:32:29]Write to MH i2c: E2 08 00 1B 18 80 17 00 00 00 00 00 00 B3 [14:32:29]Write i2c OK [14:32:29]MH_I2C_Read... [14:32:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:32:30]Read from MH i2c: E2 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 FD 00 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 FD 00 1B 18 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6A [14:32:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:32:30]wFMCommunicate OK [14:32:30]wFMCommunicate request_size=4 [14:32:30]MH_SAM_APDU [14:32:30]CAPDU: 80 17 00 00 [14:32:30]Write to MH i2c: E2 08 00 1C 18 80 17 00 00 00 00 00 00 B4 [14:32:30]Write i2c OK [14:32:30]MH_I2C_Read... [14:32:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:32:30]Read from MH i2c: E2 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 FD 00 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 FD 00 1C 18 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 26 [14:32:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:32:30]wFMCommunicate OK [14:32:30]wFMCommunicate request_size=4 [14:32:30]MH_SAM_APDU [14:32:30]CAPDU: 80 17 00 00 [14:32:30]Write to MH i2c: E2 08 00 1D 18 80 17 00 00 00 00 00 00 B5 [14:32:30]Write i2c OK [14:32:30]MH_I2C_Read... [14:32:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:32:30]Read from MH i2c: E2 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 CB 00 [14:32:30]MH_I2C_Read... [14:32:30]Read from MH i2c: E2 CB 00 1D 18 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9E [14:32:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:32:30]wFMCommunicate OK [14:32:30]SAM_PROTO_GetShiftData done [14:32:30]requested_item shift.sale.total_cash is exist - process it [14:32:30]requested_item shift.sale_refund.total is exist - process it [14:32:30]requested_item shift.sale_refund.total_cash is exist - process it [14:32:30]produce_requested_data done [14:32:30]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43027,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12197.00,"shift.sale.total_cash":10519.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:32:30]process_action_free close_receipt [14:32:30]json_value_free [14:32:30]json_value_free done [14:32:30]process_json_proto returns [14:32:30]Send response to host [14:32:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43027,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12197.00,"shift.sale.total_cash":10519.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:32:30]free response buf [14:32:30]execute_script done [14:32:30]execute_script returns [14:32:30]free content buf [14:32:30]Sock 9.Close socket [14:32:30]Sock 9.Thread stoped [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:23]accept exits with 7 [14:33:23]New connection [14:33:23]New thread 3067530596 created [14:33:23]Thread 3067387236 joined [14:33:23]Waiting for new connection... [14:33:23] Sock 7.Parse request [14:33:23]Sock 7.Check first char [14:33:23]Sock 7.First char is OK [14:33:23]request: POST /json_proto HTTP/1.0 [14:33:23]Method: POST [14:33:23]URL: /json_proto [14:33:23]Method is POST - this is cgi request [14:33:23]url: /json_proto [14:33:23]query_string will be loaded in cgi processing [14:33:23]execute_cgi json_proto POST (null) [14:33:23]execute_cgi path=json_proto method=POST [14:33:23]POST find Content-Length [14:33:23]Host: 172.17.38.197:8080 [14:33:23]Content-Length: 741 [14:33:23]Content-Type: application/json [14:33:23] [14:33:23]POST finish read [14:33:23]Found Content-Length = 741 [14:33:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300156", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:33:23]execute_script... [14:33:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300156", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:33:23]POST & json_proto [14:33:23]process_json_proto [14:33:23]json parsed OK: [14:33:23]protocol is kg_v1.0 [14:33:23]action value=close_receipt [14:33:23]process_action close_receipt [14:33:23]cmd_close_receipt [14:33:23]MH_GetDate [14:33:23]Write to MH i2c: F0 00 00 1E 18 25 [14:33:23]Write i2c OK [14:33:23]MH_I2C_Read... [14:33:23]Read from MH i2c: F0 [14:33:23]MH_I2C_Read... [14:33:23]Read from MH i2c: F0 09 00 [14:33:23]MH_I2C_Read... [14:33:23]Read from MH i2c: F0 09 00 1E 18 00 37 90 92 66 1E 0D 88 66 06 [14:33:23]GetLastDocTimeStamp 1720881148 [14:33:23]current date 1720881207 [14:33:23]FM_GetShiftState [14:33:23]SAM_PROTO_GetShiftState [14:33:23]wFMCommunicate request_size=4 [14:33:23]MH_SAM_APDU [14:33:23]CAPDU: 80 13 01 00 [14:33:23]Write to MH i2c: E2 08 00 1F 18 80 13 01 00 00 00 00 00 B4 [14:33:23]Write i2c OK [14:33:23]MH_I2C_Read... [14:33:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:33:24]Read from MH i2c: E2 [14:33:24]MH_I2C_Read... [14:33:24]Read from MH i2c: E2 0E 00 [14:33:24]MH_I2C_Read... [14:33:24]Read from MH i2c: E2 0E 00 1F 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4B [14:33:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:33:24]wFMCommunicate OK [14:33:24]SAM_PROTO_GetShiftState done [14:33:24]FM_GetShiftState done [14:33:24]opened in 1720829646 [14:33:24]opened+sec_in_day 1720916046 [14:33:24]quantity*price = 7000 [14:33:24]sum+1 = 7001 [14:33:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 73 13.07.2024 14:33 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43028 ФПД: 200733513039709 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143327&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43028&fm=200733513039709&tin=02508201610067®Number=0000000000091176&sum=7000 0 [14:33:25]StoreToDocumentArchive [14:33:25]shift 445 fd 43028 [14:33:25]save to /storage/0445/doc_00043028 [14:33:25]save last doc name /storage/0445/doc_00043028 to /storage/kkm_last_doc_name [14:33:25]save OK [14:33:25]Clear old archive folders... [14:33:25]ProcessDocumentItem done err = 0, tmpTLVsize=272 [14:33:25]tlvbuf is 0158E980 [14:33:25]SAM_PROTO_ClearQueue [14:33:25]wFMCommunicate request_size=4 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 09 00 00 [14:33:25]Write to MH i2c: E2 08 00 2C 18 80 09 00 00 00 00 00 00 B6 [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 2C 18 00 90 00 B8 [14:33:25]RAPDU: 90 00 [14:33:25]wFMCommunicate OK [14:33:25]SAM_PROTO_ClearQueue done [14:33:25]KKMCreateOFDPacket [14:33:25]OFDProtocolAddRootSTLVToBuf [14:33:25]FM_MakeSignedData [14:33:25]FM_MakeSignedData [14:33:25]SAM_PROTO_SignData [14:33:25]wFMCommunicate request_size=4 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 0D 01 02 [14:33:25]Write to MH i2c: E2 08 00 2D 18 80 0D 01 02 00 00 00 00 BE [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 2D 18 00 90 00 B9 [14:33:25]RAPDU: 90 00 [14:33:25]wFMCommunicate OK [14:33:25]wFMCommunicate request_size=255 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 37 90 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 [14:33:25]Write to MH i2c: E2 02 01 2E 18 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 37 90 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 85 [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 2E 18 00 90 00 BA [14:33:25]RAPDU: 90 00 [14:33:25]wFMCommunicate OK [14:33:25]wFMCommunicate request_size=31 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 35 10 04 04 00 14 A8 00 00 35 04 06 00 B6 90 E9 BD 3F 5D [14:33:25]Write to MH i2c: E2 22 00 2F 18 80 0D 02 02 1A 00 30 30 38 37 34 39 33 35 10 04 04 00 14 A8 00 00 35 04 06 00 B6 90 E9 BD 3F 5D 00 00 34 [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 03 00 2F 18 00 90 00 BB [14:33:25]RAPDU: 90 00 [14:33:25]wFMCommunicate OK [14:33:25]wFMCommunicate request_size=4 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 0D 03 02 [14:33:25]Write to MH i2c: E2 08 00 30 18 80 0D 03 02 00 00 00 00 C3 [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 0B 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 0B 00 30 18 00 99 52 50 AB 05 DA 8D 8A 90 00 A0 [14:33:25]RAPDU: 99 52 50 AB 05 DA 8D 8A 90 00 [14:33:25]wFMCommunicate OK [14:33:25]SAM_PROTO_SignData done [14:33:25]FM_MakeSignedData done [14:33:25]CreateOFDProtocolMessage [14:33:25]wFMCommunicate request_size=4 [14:33:25]MH_SAM_APDU [14:33:25]CAPDU: 80 11 00 00 [14:33:25]Write to MH i2c: E2 08 00 31 18 80 11 00 00 00 00 00 00 C3 [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:33:25]Read from MH i2c: E2 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 17 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: E2 17 00 31 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1A [14:33:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:33:25]wFMCommunicate OK [14:33:25]CreateOFDProtocolMessage done [14:33:25]OFDSenderStorePacket 43028 [14:33:25]StoreOFDPacket docnum=43028 [14:33:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 14 D9 1C 01 E3 82 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 37 90 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 14 A8 00 00 35 04 06 00 B6 90 E9 BD 3F 5D 99 52 50 AB 05 DA 8D 8A [14:33:25]CheckFolder [14:33:25]dirname=/storage/ofd_packets [14:33:25]CheckFolder done [14:33:25]ProducePacketName [14:33:25]name=ofd_packets/00043028 [14:33:25]NVStorageSaveData ofd_packets/00043028 [14:33:25]File name is /storage/ofd_packets/00043028 [14:33:25]Write 322 bytes [14:33:25]NVStorageSaveData done [14:33:25]OFDSenderStorePacket done [14:33:25]KKMCreateOFDPacket done [14:33:25]NVStorageSaveData kkm_last_timestamp [14:33:25]File name is /storage/kkm_last_timestamp [14:33:25]Write 4 bytes [14:33:25]NVStorageSaveData done [14:33:25]ExternCall_PrintAddStr [14:33:25]wPrintStart [14:33:25]Write to MH i2c: 01 00 00 32 18 4A [14:33:25]OFD Sender: Processing packet 43028 [packets to send 31, broken 30] [14:33:25]ProducePacketName [14:33:25]name=ofd_packets/00043028 [14:33:25]OFD Sender: To server: pG, [14:33:25]CommunicateWithHost lk.salyk.kg:30040 [14:33:25]ConnectInit lk.salyk.kg [14:33:25]Write i2c OK [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: 01 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: 01 07 00 [14:33:25]MH_I2C_Read... [14:33:25]Read from MH i2c: 01 07 00 32 18 00 00 00 00 00 FF 0F 5F [14:33:25]RasterBufferAndPrint [14:33:25]line Счет N : (3)300156 [14:33:25]line ИНН: 02508201610067 [14:33:25]line Контрольно-Кассовый Чек [14:33:25]line ПРОДАЖА [14:33:25]line Товар: 4630007400358 [14:33:25]line Семечки ДЖИНН 70г [14:33:25]line 1.000 * 70.00 [14:33:25]line = 70.00 [14:33:25]line НДС 12% НСП 1% [14:33:25]line > о реализуемом товаре [14:33:25]line ИТОГО: 70.00 [14:33:25]line НСП 1% : 0.62 [14:33:25]line НДС 12% : 7.43 [14:33:25]line Наличными: 70.00 [14:33:25]line Безнал.: 0.00 [14:33:25]line Место: АЗС № 71 "Партнер Нефть" [14:33:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:33:25]line СНО: Общий режим [14:33:25]line Чек 73 13.07.2024 14:33 [14:33:25]line Смена: 445 ФФД: 1.0 [14:33:25]line ЗНМ: 0300000153 [14:33:25]line РНМ: 0000000000091176 [14:33:25]line Версия ККМ: 001 [14:33:25]line ФМ: 0000000000874935 [14:33:25]line ФД: 43028 [14:33:25]line ФПД: 200733513039709 [14:33:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143327&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43028&fm=200733513039709&tin=02508201610067®Number=0000000000091176&sum=7000 [14:33:25]line 0 [14:33:25]written 0, free lines is 4095 [14:33:25]Connected sock=11 [14:33:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 24 01 00 00 14 D9 1C 01 E3 82 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 37 90 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 14 A8 00 00 35 04 06 00 B6 90 E9 BD 3F 5D 99 52 50 AB 05 DA 8D 8A [14:33:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1A 6C 47 00 55 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 38 37 34 39 33 35 10 04 04 00 14 A8 00 00 F4 03 04 00 31 3C 92 66 B6 04 01 00 00 D2 1E E9 3C AE 06 3A D5 [14:33:26]CommunicateWithHost err = 0 [14:33:26]CheckOFDResponse [14:33:26]1017 (14) - 77093643461234 [14:33:26]1041 (16) - 0000000000874935 [14:33:26]1040 (4) - 43028 [14:33:26]1012 (4) - 13.07.2024 08:34 [14:33:26]1206 (1) - 0 [14:33:26]OFD Sender: Remove packet 43028 [14:33:26]ProducePacketName [14:33:26]name=ofd_packets/00043028 [14:33:26]NVStorageDeleteData [14:33:26]Write to MH i2c: 01 00 00 5A 18 72 [14:33:26]Write i2c OK [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: 01 [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: 01 07 00 [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: 01 07 00 5A 18 00 00 00 00 00 06 0D 8C [14:33:26]RasterBufferAndPrint [14:33:26]line [14:33:26]line [14:33:26]line [14:33:26]line [14:33:26]line [14:33:26]written 0, free lines is 3340 [14:33:26]MH_Cut [14:33:26]Write to MH i2c: D1 01 00 61 18 01 4B [14:33:26]Write i2c OK [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: D1 [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: D1 01 00 [14:33:26]MH_I2C_Read... [14:33:26]Read from MH i2c: D1 01 00 61 18 00 4A [14:33:26]Write to MH i2c: 01 00 00 62 18 7A [14:33:26]Write i2c OK [14:33:26]MH_I2C_Read... [14:33:26]OFD Sender: No OFD packet to send [14:33:26]*** Cut start [14:33:26]*** Partial cut [14:33:26]*** CUTSNS_PIN = 1 [14:33:26]*** CUTSNS_PIN = 0 [14:33:27]*** Brake cut motor [14:33:27]Read from MH i2c: 01 [14:33:27]MH_I2C_Read... [14:33:27]*** Stop cut motor [14:33:27]*** Cut end [14:33:27]Read from MH i2c: 01 07 00 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: 01 07 00 62 18 00 00 00 00 00 FF 0F 8F [14:33:27]process_action close_receipt done [14:33:27]requested_data is exist [14:33:27]produce_requested_data [14:33:27]requested_item fm.sn is exist - process it [14:33:27]wFMCommunicate request_size=4 [14:33:27]MH_SAM_APDU [14:33:27]CAPDU: 80 11 00 00 [14:33:27]Write to MH i2c: E2 08 00 63 18 80 11 00 00 00 00 00 00 F5 [14:33:27]Write i2c OK [14:33:27]MH_I2C_Read... [14:33:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:33:27]Read from MH i2c: E2 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 17 00 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 17 00 63 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4C [14:33:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:33:27]wFMCommunicate OK [14:33:27]requested_item fd.num is exist - process it [14:33:27]SAM_PROTO_GetFieldsCounters [14:33:27]wFMCommunicate request_size=4 [14:33:27]MH_SAM_APDU [14:33:27]CAPDU: 80 13 00 00 [14:33:27]Write to MH i2c: E2 08 00 64 18 80 13 00 00 00 00 00 00 F8 [14:33:27]Write i2c OK [14:33:27]MH_I2C_Read... [14:33:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:33:27]Read from MH i2c: E2 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 62 00 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 62 00 64 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 14 A8 00 00 0E 04 04 00 BD 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 71 [14:33:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 14 A8 00 00 0E 04 04 00 BD 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 [14:33:27]wFMCommunicate OK [14:33:27]SAM_PROTO_GetFieldsCounters done [14:33:27]requested_item shift.num is exist - process it [14:33:27]requested_item shift.opened is exist - process it [14:33:27]req_shift_opened [14:33:27]FM_GetShiftState [14:33:27]SAM_PROTO_GetShiftState [14:33:27]wFMCommunicate request_size=4 [14:33:27]MH_SAM_APDU [14:33:27]CAPDU: 80 13 01 00 [14:33:27]Write to MH i2c: E2 08 00 65 18 80 13 01 00 00 00 00 00 FA [14:33:27]Write i2c OK [14:33:27]MH_I2C_Read... [14:33:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:33:27]Read from MH i2c: E2 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 0E 00 [14:33:27]MH_I2C_Read... [14:33:27]Read from MH i2c: E2 0E 00 65 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 91 [14:33:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:33:27]wFMCommunicate OK [14:33:27]SAM_PROTO_GetShiftState done [14:33:27]FM_GetShiftState done [14:33:27]req_shift_opened done [14:33:27]requested_item shift.open_date is exist - process it [14:33:27]req_shift_open_date [14:33:27]req_shift_open_date done [14:33:27]requested_item shift.sale.total is exist - process it [14:33:27]SAM_PROTO_GetShiftData [14:33:27]wFMCommunicate request_size=4 [14:33:27]MH_SAM_APDU [14:33:27]CAPDU: 80 13 02 00 [14:33:27]Write to MH i2c: E2 08 00 66 18 80 13 02 00 00 00 00 00 FC [14:33:27]Write i2c OK [14:33:27]MH_I2C_Read... [14:33:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:33:28]Read from MH i2c: E2 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 66 18 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 CC B7 12 70 04 03 00 54 28 10 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D7 FC 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D6 [14:33:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 CC B7 12 70 04 03 00 54 28 10 72 04 03 00 78 8F 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D7 FC 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:33:28]wFMCommunicate OK [14:33:28]wFMCommunicate request_size=4 [14:33:28]MH_SAM_APDU [14:33:28]CAPDU: 80 17 00 00 [14:33:28]Write to MH i2c: E2 08 00 67 18 80 17 00 00 00 00 00 00 FF [14:33:28]Write i2c OK [14:33:28]MH_I2C_Read... [14:33:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:28]Read from MH i2c: E2 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 67 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 21 [14:33:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:33:28]wFMCommunicate OK [14:33:28]wFMCommunicate request_size=4 [14:33:28]MH_SAM_APDU [14:33:28]CAPDU: 80 17 00 00 [14:33:28]Write to MH i2c: E2 08 00 68 18 80 17 00 00 00 00 00 00 00 [14:33:28]Write i2c OK [14:33:28]MH_I2C_Read... [14:33:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:28]Read from MH i2c: E2 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 [14:33:28]MH_I2C_Read... [14:33:28]Read from MH i2c: E2 FD 00 68 18 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B7 [14:33:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:33:28]wFMCommunicate OK [14:33:28]wFMCommunicate request_size=4 [14:33:28]MH_SAM_APDU [14:33:28]CAPDU: 80 17 00 00 [14:33:28]Write to MH i2c: E2 08 00 69 18 80 17 00 00 00 00 00 00 01 [14:33:28]Write i2c OK [14:33:28]MH_I2C_Read... [14:33:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:33:29]Read from MH i2c: E2 [14:33:29]MH_I2C_Read... [14:33:29]Read from MH i2c: E2 FD 00 [14:33:29]MH_I2C_Read... [14:33:29]Read from MH i2c: E2 FD 00 69 18 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 73 [14:33:29]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:33:29]wFMCommunicate OK [14:33:29]wFMCommunicate request_size=4 [14:33:29]MH_SAM_APDU [14:33:29]CAPDU: 80 17 00 00 [14:33:29]Write to MH i2c: E2 08 00 6A 18 80 17 00 00 00 00 00 00 02 [14:33:29]Write i2c OK [14:33:29]MH_I2C_Read... [14:33:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:33:29]Read from MH i2c: E2 [14:33:29]MH_I2C_Read... [14:33:29]Read from MH i2c: E2 CB 00 [14:33:29]MH_I2C_Read... [14:33:29]Read from MH i2c: E2 CB 00 6A 18 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EB [14:33:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:33:29]wFMCommunicate OK [14:33:29]SAM_PROTO_GetShiftData done [14:33:29]requested_item shift.sale.total_cash is exist - process it [14:33:29]requested_item shift.sale_refund.total is exist - process it [14:33:29]requested_item shift.sale_refund.total_cash is exist - process it [14:33:29]produce_requested_data done [14:33:29]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43028,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12267.00,"shift.sale.total_cash":10589.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:33:29]process_action_free close_receipt [14:33:29]json_value_free [14:33:29]json_value_free done [14:33:29]process_json_proto returns [14:33:29]Send response to host [14:33:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43028,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12267.00,"shift.sale.total_cash":10589.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:33:29]free response buf [14:33:29]execute_script done [14:33:29]execute_script returns [14:33:29]free content buf [14:33:29]Sock 7.Close socket [14:33:29]Sock 7.Thread stoped [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:55]accept exits with 9 [14:37:55]New connection [14:37:55]New thread 3067387236 created [14:37:55]Thread 3067530596 joined [14:37:55]Waiting for new connection... [14:37:55] Sock 9.Parse request [14:37:55]Sock 9.Check first char [14:37:55]Sock 9.First char is OK [14:37:55]request: POST /json_proto HTTP/1.0 [14:37:55]Method: POST [14:37:55]URL: /json_proto [14:37:55]Method is POST - this is cgi request [14:37:55]url: /json_proto [14:37:55]query_string will be loaded in cgi processing [14:37:55]execute_cgi json_proto POST (null) [14:37:55]execute_cgi path=json_proto method=POST [14:37:55]POST find Content-Length [14:37:55]Host: 172.17.38.197:8080 [14:37:55]Content-Length: 961 [14:37:55]Content-Type: application/json [14:37:55] [14:37:55]POST finish read [14:37:55]Found Content-Length = 961 [14:37:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300157", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:37:55]execute_script... [14:37:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300157", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:37:55]POST & json_proto [14:37:55]process_json_proto [14:37:55]json parsed OK: [14:37:55]protocol is kg_v1.0 [14:37:55]action value=close_receipt [14:37:55]process_action close_receipt [14:37:55]cmd_close_receipt [14:37:55]MH_GetDate [14:37:55]Write to MH i2c: F0 00 00 6B 18 72 [14:37:55]Write i2c OK [14:37:55]MH_I2C_Read... [14:37:55]Read from MH i2c: F0 [14:37:55]MH_I2C_Read... [14:37:55]Read from MH i2c: F0 09 00 [14:37:55]MH_I2C_Read... [14:37:55]Read from MH i2c: F0 09 00 6B 18 00 47 91 92 66 1E 0D 88 66 64 [14:37:55]GetLastDocTimeStamp 1720881207 [14:37:55]current date 1720881479 [14:37:55]FM_GetShiftState [14:37:55]SAM_PROTO_GetShiftState [14:37:55]wFMCommunicate request_size=4 [14:37:55]MH_SAM_APDU [14:37:55]CAPDU: 80 13 01 00 [14:37:55]Write to MH i2c: E2 08 00 6C 18 80 13 01 00 00 00 00 00 01 [14:37:55]Write i2c OK [14:37:55]MH_I2C_Read... [14:37:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:55]Read from MH i2c: E2 [14:37:55]MH_I2C_Read... [14:37:55]Read from MH i2c: E2 0E 00 [14:37:55]MH_I2C_Read... [14:37:55]Read from MH i2c: E2 0E 00 6C 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 98 [14:37:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:37:55]wFMCommunicate OK [14:37:55]SAM_PROTO_GetShiftState done [14:37:55]FM_GetShiftState done [14:37:55]opened in 1720829646 [14:37:55]opened+sec_in_day 1720916046 [14:37:55]quantity*price = 19000 [14:37:55]sum+1 = 19001 [14:37:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 74 13.07.2024 14:37 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43029 ФПД: 74873109560548 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143759&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43029&fm=74873109560548&tin=02508201610067®Number=0000000000091176&sum=19000 0 [14:37:56]StoreToDocumentArchive [14:37:56]shift 445 fd 43029 [14:37:56]save to /storage/0445/doc_00043029 [14:37:56]save last doc name /storage/0445/doc_00043029 to /storage/kkm_last_doc_name [14:37:56]save OK [14:37:56]Clear old archive folders... [14:37:56]ProcessDocumentItem done err = 0, tmpTLVsize=293 [14:37:56]tlvbuf is 015C8470 [14:37:56]SAM_PROTO_ClearQueue [14:37:56]wFMCommunicate request_size=4 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 09 00 00 [14:37:56]Write to MH i2c: E2 08 00 79 18 80 09 00 00 00 00 00 00 03 [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 79 18 00 90 00 05 [14:37:56]RAPDU: 90 00 [14:37:56]wFMCommunicate OK [14:37:56]SAM_PROTO_ClearQueue done [14:37:56]KKMCreateOFDPacket [14:37:56]OFDProtocolAddRootSTLVToBuf [14:37:56]FM_MakeSignedData [14:37:56]FM_MakeSignedData [14:37:56]SAM_PROTO_SignData [14:37:56]wFMCommunicate request_size=4 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 0D 01 02 [14:37:56]Write to MH i2c: E2 08 00 7A 18 80 0D 01 02 00 00 00 00 0B [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 7A 18 00 90 00 06 [14:37:56]RAPDU: 90 00 [14:37:56]wFMCommunicate OK [14:37:56]wFMCommunicate request_size=255 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 47 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [14:37:56]Write to MH i2c: E2 02 01 7B 18 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 47 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 7B [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:56]Read from MH i2c: E2 03 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 7B 18 00 90 00 07 [14:37:56]RAPDU: 90 00 [14:37:56]wFMCommunicate OK [14:37:56]wFMCommunicate request_size=52 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 15 A8 00 00 35 04 06 00 44 18 C1 19 3C E4 [14:37:56]Write to MH i2c: E2 37 00 7C 18 80 0D 02 02 2F 00 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 15 A8 00 00 35 04 06 00 44 18 C1 19 3C E4 00 00 E7 [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 03 00 7C 18 00 90 00 08 [14:37:56]RAPDU: 90 00 [14:37:56]wFMCommunicate OK [14:37:56]wFMCommunicate request_size=4 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 0D 03 02 [14:37:56]Write to MH i2c: E2 08 00 7D 18 80 0D 03 02 00 00 00 00 10 [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 0B 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 0B 00 7D 18 00 8C B9 B6 8C 93 E0 6D 9A 90 00 12 [14:37:56]RAPDU: 8C B9 B6 8C 93 E0 6D 9A 90 00 [14:37:56]wFMCommunicate OK [14:37:56]SAM_PROTO_SignData done [14:37:56]FM_MakeSignedData done [14:37:56]CreateOFDProtocolMessage [14:37:56]wFMCommunicate request_size=4 [14:37:56]MH_SAM_APDU [14:37:56]CAPDU: 80 11 00 00 [14:37:56]Write to MH i2c: E2 08 00 7E 18 80 11 00 00 00 00 00 00 10 [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]OFD Sender: No OFD packet to send [14:37:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:56]Read from MH i2c: E2 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 17 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: E2 17 00 7E 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 67 [14:37:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:37:56]wFMCommunicate OK [14:37:56]CreateOFDProtocolMessage done [14:37:56]OFDSenderStorePacket 43029 [14:37:56]StoreOFDPacket docnum=43029 [14:37:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 73 DD 31 01 75 3F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 47 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 15 A8 00 00 35 04 06 00 44 18 C1 19 3C E4 8C B9 B6 8C 93 E0 6D 9A [14:37:56]CheckFolder [14:37:56]dirname=/storage/ofd_packets [14:37:56]CheckFolder done [14:37:56]ProducePacketName [14:37:56]name=ofd_packets/00043029 [14:37:56]NVStorageSaveData ofd_packets/00043029 [14:37:56]File name is /storage/ofd_packets/00043029 [14:37:56]Write 343 bytes [14:37:56]NVStorageSaveData done [14:37:56]OFDSenderStorePacket done [14:37:56]KKMCreateOFDPacket done [14:37:56]NVStorageSaveData kkm_last_timestamp [14:37:56]File name is /storage/kkm_last_timestamp [14:37:56]Write 4 bytes [14:37:56]NVStorageSaveData done [14:37:56]ExternCall_PrintAddStr [14:37:56]wPrintStart [14:37:56]Write to MH i2c: 01 00 00 7F 18 97 [14:37:56]Write i2c OK [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: 01 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: 01 07 00 [14:37:56]MH_I2C_Read... [14:37:56]Read from MH i2c: 01 07 00 7F 18 00 00 00 00 00 FF 0F AC [14:37:56]RasterBufferAndPrint [14:37:56]line Счет N : (3)300157 [14:37:56]line ИНН: 02508201610067 [14:37:56]line Контрольно-Кассовый Чек [14:37:56]line ПРОДАЖА [14:37:56]line Товар: 4700000480050 [14:37:56]line Напиток Nitro Energy эн green ж/б 0,45л [14:37:56]line 2.000 * 95.00 [14:37:56]line = 190.00 [14:37:56]line НДС 12% НСП 1% [14:37:56]line > о реализуемом товаре [14:37:56]line ИТОГО: 190.00 [14:37:56]line НСП 1% : 1.68 [14:37:56]line НДС 12% : 20.18 [14:37:56]line Наличными: 0.00 [14:37:56]line Безнал.: 190.00 [14:37:56]line Место: АЗС № 71 "Партнер Нефть" [14:37:56]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:37:56]line СНО: Общий режим [14:37:56]line Чек 74 13.07.2024 14:37 [14:37:56]line Смена: 445 ФФД: 1.0 [14:37:56]line ЗНМ: 0300000153 [14:37:56]line РНМ: 0000000000091176 [14:37:56]line Версия ККМ: 001 [14:37:56]line Платежная система: АКБ Кыргызстан [14:37:56]line ФМ: 0000000000874935 [14:37:56]line ФД: 43029 [14:37:56]line ФПД: 74873109560548 [14:37:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T143759&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43029&fm=74873109560548&tin=02508201610067®Number=0000000000091176&sum=19000 [14:37:57]OFD Sender: Processing packet 43029 [packets to send 31, broken 30] [14:37:57]ProducePacketName [14:37:57]name=ofd_packets/00043029 [14:37:57]OFD Sender: To server: pG, [14:37:57]CommunicateWithHost lk.salyk.kg:30040 [14:37:57]ConnectInit lk.salyk.kg [14:37:57]line 0 [14:37:57]written 0, free lines is 4095 [14:37:57]Connected sock=10 [14:37:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 39 01 00 00 73 DD 31 01 75 3F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 47 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 15 A8 00 00 35 04 06 00 44 18 C1 19 3C E4 8C B9 B6 8C 93 E0 6D 9A [14:37:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 44 43 47 00 01 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 15 A8 00 00 F4 03 04 00 41 3D 92 66 B6 04 01 00 00 DA EF 79 E8 E6 29 6B 97 [14:37:57]CommunicateWithHost err = 0 [14:37:57]CheckOFDResponse [14:37:57]1017 (14) - 77093643461234 [14:37:57]1041 (16) - 0000000000874935 [14:37:57]1040 (4) - 43029 [14:37:57]1012 (4) - 13.07.2024 08:39 [14:37:57]1206 (1) - 0 [14:37:57]OFD Sender: Remove packet 43029 [14:37:57]ProducePacketName [14:37:57]name=ofd_packets/00043029 [14:37:57]NVStorageDeleteData [14:37:57]Write to MH i2c: 01 00 00 AA 18 C2 [14:37:57]Write i2c OK [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: 01 [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: 01 07 00 [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: 01 07 00 AA 18 00 00 00 00 00 E0 0C B5 [14:37:57]RasterBufferAndPrint [14:37:57]line [14:37:57]line [14:37:57]line [14:37:57]line [14:37:57]line [14:37:57]written 0, free lines is 3302 [14:37:57]MH_Cut [14:37:57]Write to MH i2c: D1 01 00 B1 18 01 9B [14:37:57]Write i2c OK [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: D1 [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: D1 01 00 [14:37:57]MH_I2C_Read... [14:37:57]Read from MH i2c: D1 01 00 B1 18 00 9A [14:37:57]Write to MH i2c: 01 00 00 B2 18 CA [14:37:57]Write i2c OK [14:37:57]MH_I2C_Read... [14:37:58]OFD Sender: No OFD packet to send [14:37:58]*** Cut start [14:37:58]*** Partial cut [14:37:58]*** CUTSNS_PIN = 1 [14:37:58]*** CUTSNS_PIN = 0 [14:37:58]*** Brake cut motor [14:37:59]Read from MH i2c: 01 [14:37:59]MH_I2C_Read... [14:37:59]*** Stop cut motor [14:37:59]*** Cut end [14:37:59]Read from MH i2c: 01 07 00 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: 01 07 00 B2 18 00 00 00 00 00 FF 0F DF [14:37:59]process_action close_receipt done [14:37:59]requested_data is exist [14:37:59]produce_requested_data [14:37:59]requested_item fm.sn is exist - process it [14:37:59]wFMCommunicate request_size=4 [14:37:59]MH_SAM_APDU [14:37:59]CAPDU: 80 11 00 00 [14:37:59]Write to MH i2c: E2 08 00 B3 18 80 11 00 00 00 00 00 00 45 [14:37:59]Write i2c OK [14:37:59]MH_I2C_Read... [14:37:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:59]Read from MH i2c: E2 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 17 00 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 17 00 B3 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 9C [14:37:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:37:59]wFMCommunicate OK [14:37:59]requested_item fd.num is exist - process it [14:37:59]SAM_PROTO_GetFieldsCounters [14:37:59]wFMCommunicate request_size=4 [14:37:59]MH_SAM_APDU [14:37:59]CAPDU: 80 13 00 00 [14:37:59]Write to MH i2c: E2 08 00 B4 18 80 13 00 00 00 00 00 00 48 [14:37:59]Write i2c OK [14:37:59]MH_I2C_Read... [14:37:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:37:59]Read from MH i2c: E2 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 62 00 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 62 00 B4 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 15 A8 00 00 0E 04 04 00 BD 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 C5 [14:37:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 15 A8 00 00 0E 04 04 00 BD 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 [14:37:59]wFMCommunicate OK [14:37:59]SAM_PROTO_GetFieldsCounters done [14:37:59]requested_item shift.num is exist - process it [14:37:59]requested_item shift.opened is exist - process it [14:37:59]req_shift_opened [14:37:59]FM_GetShiftState [14:37:59]SAM_PROTO_GetShiftState [14:37:59]wFMCommunicate request_size=4 [14:37:59]MH_SAM_APDU [14:37:59]CAPDU: 80 13 01 00 [14:37:59]Write to MH i2c: E2 08 00 B5 18 80 13 01 00 00 00 00 00 4A [14:37:59]Write i2c OK [14:37:59]MH_I2C_Read... [14:37:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:59]Read from MH i2c: E2 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 0E 00 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 0E 00 B5 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E1 [14:37:59]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:37:59]wFMCommunicate OK [14:37:59]SAM_PROTO_GetShiftState done [14:37:59]FM_GetShiftState done [14:37:59]req_shift_opened done [14:37:59]requested_item shift.open_date is exist - process it [14:37:59]req_shift_open_date [14:37:59]req_shift_open_date done [14:37:59]requested_item shift.sale.total is exist - process it [14:37:59]SAM_PROTO_GetShiftData [14:37:59]wFMCommunicate request_size=4 [14:37:59]MH_SAM_APDU [14:37:59]CAPDU: 80 13 02 00 [14:37:59]Write to MH i2c: E2 08 00 B6 18 80 13 02 00 00 00 00 00 4C [14:37:59]Write i2c OK [14:37:59]MH_I2C_Read... [14:37:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:37:59]Read from MH i2c: E2 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 FD 00 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 FD 00 B6 18 00 AE 04 AA 04 AA 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 04 02 13 70 04 03 00 54 28 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B9 04 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 07 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C2 [14:37:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 04 02 13 70 04 03 00 54 28 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B9 04 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 07 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:37:59]wFMCommunicate OK [14:37:59]wFMCommunicate request_size=4 [14:37:59]MH_SAM_APDU [14:37:59]CAPDU: 80 17 00 00 [14:37:59]Write to MH i2c: E2 08 00 B7 18 80 17 00 00 00 00 00 00 4F [14:37:59]Write i2c OK [14:37:59]MH_I2C_Read... [14:37:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:37:59]Read from MH i2c: E2 [14:37:59]MH_I2C_Read... [14:37:59]Read from MH i2c: E2 FD 00 [14:37:59]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 FD 00 B7 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 71 [14:38:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:38:00]wFMCommunicate OK [14:38:00]wFMCommunicate request_size=4 [14:38:00]MH_SAM_APDU [14:38:00]CAPDU: 80 17 00 00 [14:38:00]Write to MH i2c: E2 08 00 B8 18 80 17 00 00 00 00 00 00 50 [14:38:00]Write i2c OK [14:38:00]MH_I2C_Read... [14:38:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:38:00]Read from MH i2c: E2 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 FD 00 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 FD 00 B8 18 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 07 [14:38:00]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:38:00]wFMCommunicate OK [14:38:00]wFMCommunicate request_size=4 [14:38:00]MH_SAM_APDU [14:38:00]CAPDU: 80 17 00 00 [14:38:00]Write to MH i2c: E2 08 00 B9 18 80 17 00 00 00 00 00 00 51 [14:38:00]Write i2c OK [14:38:00]MH_I2C_Read... [14:38:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:38:00]Read from MH i2c: E2 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 FD 00 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 FD 00 B9 18 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C3 [14:38:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:38:00]wFMCommunicate OK [14:38:00]wFMCommunicate request_size=4 [14:38:00]MH_SAM_APDU [14:38:00]CAPDU: 80 17 00 00 [14:38:00]Write to MH i2c: E2 08 00 BA 18 80 17 00 00 00 00 00 00 52 [14:38:00]Write i2c OK [14:38:00]MH_I2C_Read... [14:38:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:38:00]Read from MH i2c: E2 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 CB 00 [14:38:00]MH_I2C_Read... [14:38:00]Read from MH i2c: E2 CB 00 BA 18 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3B [14:38:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:38:00]wFMCommunicate OK [14:38:00]SAM_PROTO_GetShiftData done [14:38:00]requested_item shift.sale.total_cash is exist - process it [14:38:00]requested_item shift.sale_refund.total is exist - process it [14:38:00]requested_item shift.sale_refund.total_cash is exist - process it [14:38:00]produce_requested_data done [14:38:00]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43029,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12457.00,"shift.sale.total_cash":10589.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:38:00]process_action_free close_receipt [14:38:00]json_value_free [14:38:00]json_value_free done [14:38:00]process_json_proto returns [14:38:00]Send response to host [14:38:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43029,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12457.00,"shift.sale.total_cash":10589.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:38:00]free response buf [14:38:00]execute_script done [14:38:00]execute_script returns [14:38:00]free content buf [14:38:00]Sock 9.Close socket [14:38:00]Sock 9.Thread stoped [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:10]accept exits with 7 [14:40:10]New connection [14:40:10]New thread 3067530596 created [14:40:10]Thread 3067387236 joined [14:40:10]Waiting for new connection... [14:40:10] Sock 7.Parse request [14:40:10]Sock 7.Check first char [14:40:10]Sock 7.First char is OK [14:40:10]request: POST /json_proto HTTP/1.0 [14:40:10]Method: POST [14:40:10]URL: /json_proto [14:40:10]Method is POST - this is cgi request [14:40:10]url: /json_proto [14:40:10]query_string will be loaded in cgi processing [14:40:10]execute_cgi json_proto POST (null) [14:40:10]execute_cgi path=json_proto method=POST [14:40:10]POST find Content-Length [14:40:10]Host: 172.17.38.197:8080 [14:40:10]Content-Length: 709 [14:40:10]Content-Type: application/json [14:40:10] [14:40:10]POST finish read [14:40:10]Found Content-Length = 709 [14:40:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300158", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:40:10]execute_script... [14:40:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300158", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:40:10]POST & json_proto [14:40:10]process_json_proto [14:40:10]json parsed OK: [14:40:10]protocol is kg_v1.0 [14:40:10]action value=close_receipt [14:40:10]process_action close_receipt [14:40:10]cmd_close_receipt [14:40:10]MH_GetDate [14:40:10]Write to MH i2c: F0 00 00 BB 18 C2 [14:40:10]Write i2c OK [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: F0 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: F0 09 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: F0 09 00 BB 18 00 CE 91 92 66 1E 0D 88 66 3B [14:40:10]GetLastDocTimeStamp 1720881479 [14:40:10]current date 1720881614 [14:40:10]FM_GetShiftState [14:40:10]SAM_PROTO_GetShiftState [14:40:10]wFMCommunicate request_size=4 [14:40:10]MH_SAM_APDU [14:40:10]CAPDU: 80 13 01 00 [14:40:10]Write to MH i2c: E2 08 00 BC 18 80 13 01 00 00 00 00 00 51 [14:40:10]Write i2c OK [14:40:10]MH_I2C_Read... [14:40:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:10]Read from MH i2c: E2 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 0E 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 0E 00 BC 18 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E8 [14:40:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:40:10]wFMCommunicate OK [14:40:10]SAM_PROTO_GetShiftState done [14:40:10]FM_GetShiftState done [14:40:10]opened in 1720829646 [14:40:10]opened+sec_in_day 1720916046 [14:40:10]quantity*price = 4500 [14:40:10]sum+1 = 4501 [14:40:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 75 13.07.2024 14:40 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43030 ФПД: 117962870984616 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144014&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43030&fm=117962870984616&tin=02508201610067®Number=0000000000091176&sum=4500 0 [14:40:12]StoreToDocumentArchive [14:40:12]shift 445 fd 43030 [14:40:12]save to /storage/0445/doc_00043030 [14:40:12]save last doc name /storage/0445/doc_00043030 to /storage/kkm_last_doc_name [14:40:12]save OK [14:40:12]Clear old archive folders... [14:40:12]ProcessDocumentItem done err = 0, tmpTLVsize=260 [14:40:12]tlvbuf is 01573A40 [14:40:12]SAM_PROTO_ClearQueue [14:40:12]wFMCommunicate request_size=4 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 09 00 00 [14:40:12]Write to MH i2c: E2 08 00 C9 18 80 09 00 00 00 00 00 00 53 [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 C9 18 00 90 00 55 [14:40:12]RAPDU: 90 00 [14:40:12]wFMCommunicate OK [14:40:12]SAM_PROTO_ClearQueue done [14:40:12]KKMCreateOFDPacket [14:40:12]OFDProtocolAddRootSTLVToBuf [14:40:12]FM_MakeSignedData [14:40:12]FM_MakeSignedData [14:40:12]SAM_PROTO_SignData [14:40:12]wFMCommunicate request_size=4 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 0D 01 02 [14:40:12]Write to MH i2c: E2 08 00 CA 18 80 0D 01 02 00 00 00 00 5B [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 CA 18 00 90 00 56 [14:40:12]RAPDU: 90 00 [14:40:12]wFMCommunicate OK [14:40:12]wFMCommunicate request_size=255 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 CE 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 [14:40:12]Write to MH i2c: E2 02 01 CB 18 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 CE 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 00 00 2B [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 CB 18 00 90 00 57 [14:40:12]RAPDU: 90 00 [14:40:12]wFMCommunicate OK [14:40:12]wFMCommunicate request_size=19 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 0D 02 02 0E 16 A8 00 00 35 04 06 00 6B 49 5F 05 8F A8 [14:40:12]Write to MH i2c: E2 16 00 CC 18 80 0D 02 02 0E 00 16 A8 00 00 35 04 06 00 6B 49 5F 05 8F A8 00 00 C6 [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 03 00 CC 18 00 90 00 58 [14:40:12]RAPDU: 90 00 [14:40:12]wFMCommunicate OK [14:40:12]wFMCommunicate request_size=4 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 0D 03 02 [14:40:12]Write to MH i2c: E2 08 00 CD 18 80 0D 03 02 00 00 00 00 60 [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 0B 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 0B 00 CD 18 00 1E FF FC DA EE 02 91 28 90 00 FD [14:40:12]RAPDU: 1E FF FC DA EE 02 91 28 90 00 [14:40:12]wFMCommunicate OK [14:40:12]SAM_PROTO_SignData done [14:40:12]FM_MakeSignedData done [14:40:12]CreateOFDProtocolMessage [14:40:12]wFMCommunicate request_size=4 [14:40:12]MH_SAM_APDU [14:40:12]CAPDU: 80 11 00 00 [14:40:12]Write to MH i2c: E2 08 00 CE 18 80 11 00 00 00 00 00 00 60 [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:12]Read from MH i2c: E2 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 17 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: E2 17 00 CE 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B7 [14:40:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:40:12]wFMCommunicate OK [14:40:12]CreateOFDProtocolMessage done [14:40:12]OFDSenderStorePacket 43030 [14:40:12]StoreOFDPacket docnum=43030 [14:40:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 18 01 00 00 47 F7 10 01 52 90 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 CE 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 16 A8 00 00 35 04 06 00 6B 49 5F 05 8F A8 1E FF FC DA EE 02 91 28 [14:40:12]CheckFolder [14:40:12]dirname=/storage/ofd_packets [14:40:12]CheckFolder done [14:40:12]ProducePacketName [14:40:12]name=ofd_packets/00043030 [14:40:12]NVStorageSaveData ofd_packets/00043030 [14:40:12]File name is /storage/ofd_packets/00043030 [14:40:12]Write 310 bytes [14:40:12]NVStorageSaveData done [14:40:12]OFDSenderStorePacket done [14:40:12]KKMCreateOFDPacket done [14:40:12]NVStorageSaveData kkm_last_timestamp [14:40:12]File name is /storage/kkm_last_timestamp [14:40:12]Write 4 bytes [14:40:12]NVStorageSaveData done [14:40:12]ExternCall_PrintAddStr [14:40:12]wPrintStart [14:40:12]Write to MH i2c: 01 00 00 CF 18 E7 [14:40:12]Write i2c OK [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: 01 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: 01 07 00 [14:40:12]MH_I2C_Read... [14:40:12]Read from MH i2c: 01 07 00 CF 18 00 00 00 00 00 FF 0F FC [14:40:12]RasterBufferAndPrint [14:40:12]line Счет N : (3)300158 [14:40:12]line ИНН: 02508201610067 [14:40:12]line Контрольно-Кассовый Чек [14:40:12]line ПРОДАЖА [14:40:12]line Товар: 42113270 [14:40:12]line Жев Orbit арбуз [14:40:12]line 1.000 * 45.00 [14:40:12]line = 45.00 [14:40:12]line НДС 12% НСП 1% [14:40:12]line > о реализуемом товаре [14:40:12]line ИТОГО: 45.00 [14:40:12]line НСП 1% : 0.40 [14:40:12]line НДС 12% : 4.78 [14:40:12]line Наличными: 45.00 [14:40:12]line Безнал.: 0.00 [14:40:12]line Место: АЗС № 71 "Партнер Нефть" [14:40:12]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:40:12]line СНО: Общий режим [14:40:12]line Чек 75 13.07.2024 14:40 [14:40:12]line Смена: 445 ФФД: 1.0 [14:40:12]line ЗНМ: 0300000153 [14:40:12]line РНМ: 0000000000091176 [14:40:12]line Версия ККМ: 001 [14:40:12]line ФМ: 0000000000874935 [14:40:12]line ФД: 43030 [14:40:12]line ФПД: 117962870984616 [14:40:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144014&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43030&fm=117962870984616&tin=02508201610067®Number=0000000000091176&sum=4500 [14:40:12]line 0 [14:40:12]written 0, free lines is 4095 [14:40:12]OFD Sender: Processing packet 43030 [packets to send 31, broken 30] [14:40:12]ProducePacketName [14:40:12]name=ofd_packets/00043030 [14:40:12]OFD Sender: To server: pG, [14:40:12]CommunicateWithHost lk.salyk.kg:30040 [14:40:12]ConnectInit lk.salyk.kg [14:40:13]Write to MH i2c: 01 00 00 F7 18 0F [14:40:13]Write i2c OK [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: 01 [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: 01 07 00 [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: 01 07 00 F7 18 00 00 00 00 00 06 0D 29 [14:40:13]RasterBufferAndPrint [14:40:13]line [14:40:13]line [14:40:13]line [14:40:13]line [14:40:13]line [14:40:13]written 0, free lines is 3340 [14:40:13]MH_Cut [14:40:13]Write to MH i2c: D1 01 00 FE 18 01 E8 [14:40:13]Write i2c OK [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: D1 [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: D1 01 00 [14:40:13]MH_I2C_Read... [14:40:13]Read from MH i2c: D1 01 00 FE 18 00 E7 [14:40:13]Write to MH i2c: 01 00 00 FF 18 17 [14:40:13]Write i2c OK [14:40:13]MH_I2C_Read... [14:40:14]*** Cut start [14:40:14]*** Partial cut [14:40:14]*** CUTSNS_PIN = 1 [14:40:14]*** CUTSNS_PIN = 0 [14:40:14]*** Brake cut motor [14:40:14]Read from MH i2c: 01 [14:40:14]MH_I2C_Read... [14:40:14]*** Stop cut motor [14:40:14]*** Cut end [14:40:14]Read from MH i2c: 01 07 00 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: 01 07 00 FF 18 00 00 00 00 00 FF 0F 2C [14:40:14]process_action close_receipt done [14:40:14]requested_data is exist [14:40:14]produce_requested_data [14:40:14]requested_item fm.sn is exist - process it [14:40:14]wFMCommunicate request_size=4 [14:40:14]MH_SAM_APDU [14:40:14]CAPDU: 80 11 00 00 [14:40:14]Write to MH i2c: E2 08 00 00 19 80 11 00 00 00 00 00 00 93 [14:40:14]Write i2c OK [14:40:14]MH_I2C_Read... [14:40:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:14]Read from MH i2c: E2 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 17 00 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 17 00 00 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 EA [14:40:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:40:14]wFMCommunicate OK [14:40:14]requested_item fd.num is exist - process it [14:40:14]SAM_PROTO_GetFieldsCounters [14:40:14]wFMCommunicate request_size=4 [14:40:14]MH_SAM_APDU [14:40:14]CAPDU: 80 13 00 00 [14:40:14]Write to MH i2c: E2 08 00 01 19 80 13 00 00 00 00 00 00 96 [14:40:14]Write i2c OK [14:40:14]MH_I2C_Read... [14:40:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:14]Read from MH i2c: E2 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 62 00 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 62 00 01 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 16 A8 00 00 0E 04 04 00 BD 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 17 [14:40:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 16 A8 00 00 0E 04 04 00 BD 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 [14:40:14]wFMCommunicate OK [14:40:14]SAM_PROTO_GetFieldsCounters done [14:40:14]requested_item shift.num is exist - process it [14:40:14]requested_item shift.opened is exist - process it [14:40:14]req_shift_opened [14:40:14]FM_GetShiftState [14:40:14]SAM_PROTO_GetShiftState [14:40:14]wFMCommunicate request_size=4 [14:40:14]MH_SAM_APDU [14:40:14]CAPDU: 80 13 01 00 [14:40:14]Write to MH i2c: E2 08 00 02 19 80 13 01 00 00 00 00 00 98 [14:40:14]Write i2c OK [14:40:14]MH_I2C_Read... [14:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:14]Read from MH i2c: E2 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 0E 00 [14:40:14]MH_I2C_Read... [14:40:14]Read from MH i2c: E2 0E 00 02 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2F [14:40:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:40:14]wFMCommunicate OK [14:40:14]SAM_PROTO_GetShiftState done [14:40:14]FM_GetShiftState done [14:40:14]req_shift_opened done [14:40:14]requested_item shift.open_date is exist - process it [14:40:14]req_shift_open_date [14:40:14]req_shift_open_date done [14:40:14]requested_item shift.sale.total is exist - process it [14:40:14]SAM_PROTO_GetShiftData [14:40:14]wFMCommunicate request_size=4 [14:40:14]MH_SAM_APDU [14:40:14]CAPDU: 80 13 02 00 [14:40:14]Write to MH i2c: E2 08 00 03 19 80 13 02 00 00 00 00 00 9A [14:40:14]Write i2c OK [14:40:14]MH_I2C_Read... [14:40:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:40:15]Read from MH i2c: E2 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 03 19 00 AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 98 13 13 70 04 03 00 E8 39 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 97 06 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2F 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 64 [14:40:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 98 13 13 70 04 03 00 E8 39 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 97 06 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2F 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:40:15]wFMCommunicate OK [14:40:15]wFMCommunicate request_size=4 [14:40:15]MH_SAM_APDU [14:40:15]CAPDU: 80 17 00 00 [14:40:15]Write to MH i2c: E2 08 00 04 19 80 17 00 00 00 00 00 00 9D [14:40:15]Write i2c OK [14:40:15]MH_I2C_Read... [14:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:40:15]Read from MH i2c: E2 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 04 19 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BF [14:40:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:40:15]wFMCommunicate OK [14:40:15]wFMCommunicate request_size=4 [14:40:15]MH_SAM_APDU [14:40:15]CAPDU: 80 17 00 00 [14:40:15]Write to MH i2c: E2 08 00 05 19 80 17 00 00 00 00 00 00 9E [14:40:15]Write i2c OK [14:40:15]MH_I2C_Read... [14:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:40:15]Read from MH i2c: E2 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 [14:40:15]MH_I2C_Read... [14:40:15]Read from MH i2c: E2 FD 00 05 19 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 55 [14:40:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:40:16]wFMCommunicate OK [14:40:16]wFMCommunicate request_size=4 [14:40:16]MH_SAM_APDU [14:40:16]CAPDU: 80 17 00 00 [14:40:16]Write to MH i2c: E2 08 00 06 19 80 17 00 00 00 00 00 00 9F [14:40:16]Write i2c OK [14:40:16]MH_I2C_Read... [14:40:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:40:16]Read from MH i2c: E2 [14:40:16]MH_I2C_Read... [14:40:16]Read from MH i2c: E2 FD 00 [14:40:16]MH_I2C_Read... [14:40:16]Read from MH i2c: E2 FD 00 06 19 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 11 [14:40:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:40:16]wFMCommunicate OK [14:40:16]wFMCommunicate request_size=4 [14:40:16]MH_SAM_APDU [14:40:16]CAPDU: 80 17 00 00 [14:40:16]Write to MH i2c: E2 08 00 07 19 80 17 00 00 00 00 00 00 A0 [14:40:16]Write i2c OK [14:40:16]MH_I2C_Read... [14:40:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:40:16]Read from MH i2c: E2 [14:40:16]MH_I2C_Read... [14:40:16]Read from MH i2c: E2 CB 00 [14:40:16]MH_I2C_Read... [14:40:16]Read from MH i2c: E2 CB 00 07 19 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 89 [14:40:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:40:16]wFMCommunicate OK [14:40:16]SAM_PROTO_GetShiftData done [14:40:16]requested_item shift.sale.total_cash is exist - process it [14:40:16]requested_item shift.sale_refund.total is exist - process it [14:40:16]requested_item shift.sale_refund.total_cash is exist - process it [14:40:16]produce_requested_data done [14:40:16]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43030,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12502.00,"shift.sale.total_cash":10634.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:40:16]process_action_free close_receipt [14:40:16]json_value_free [14:40:16]json_value_free done [14:40:16]process_json_proto returns [14:40:16]Send response to host [14:40:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43030,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12502.00,"shift.sale.total_cash":10634.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:40:16]free response buf [14:40:16]execute_script done [14:40:16]execute_script returns [14:40:16]free content buf [14:40:16]Sock 7.Close socket [14:40:16]Sock 7.Thread stoped [14:42:25]ConnectInit Can't connect to host [14:42:25]CommunicateWithHost connect error [14:42:25]CommunicateWithHost err = -1 [14:42:25]OFD Sender: Server communicate error [14:42:30]OFD Sender: Processing packet 43030 [packets to send 31, broken 30] [14:42:30]ProducePacketName [14:42:30]name=ofd_packets/00043030 [14:42:30]OFD Sender: To server: pG, [14:42:30]CommunicateWithHost lk.salyk.kg:30040 [14:42:30]ConnectInit lk.salyk.kg [14:42:30]Connected sock=7 [14:42:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 18 01 00 00 47 F7 10 01 52 90 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 CE 91 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 16 A8 00 00 35 04 06 00 6B 49 5F 05 8F A8 1E FF FC DA EE 02 91 28 [14:42:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D7 6B 47 00 21 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 16 A8 00 00 F4 03 04 00 52 3E 92 66 B6 04 01 00 00 E8 98 D2 2C AD 38 04 8F [14:42:30]CommunicateWithHost err = 0 [14:42:30]CheckOFDResponse [14:42:30]1017 (14) - 77093643461234 [14:42:30]1041 (16) - 0000000000874935 [14:42:30]1040 (4) - 43030 [14:42:30]1012 (4) - 13.07.2024 08:44 [14:42:30]1206 (1) - 0 [14:42:30]OFD Sender: Remove packet 43030 [14:42:30]ProducePacketName [14:42:30]name=ofd_packets/00043030 [14:42:30]NVStorageDeleteData [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:41]accept exits with 9 [14:42:41]New connection [14:42:41]New thread 3067387236 created [14:42:41]Thread 3067530596 joined [14:42:41]Waiting for new connection... [14:42:41] Sock 9.Parse request [14:42:41]Sock 9.Check first char [14:42:41]Sock 9.First char is OK [14:42:41]request: POST /json_proto HTTP/1.0 [14:42:41]Method: POST [14:42:41]URL: /json_proto [14:42:41]Method is POST - this is cgi request [14:42:41]url: /json_proto [14:42:41]query_string will be loaded in cgi processing [14:42:41]execute_cgi json_proto POST (null) [14:42:41]execute_cgi path=json_proto method=POST [14:42:41]POST find Content-Length [14:42:41]Host: 172.17.38.197:8080 [14:42:41]Content-Length: 1516 [14:42:41]Content-Type: application/json [14:42:41] [14:42:41]POST finish read [14:42:41]Found Content-Length = 1516 [14:42:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300159", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:42:41]execute_script... [14:42:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300159", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:42:41]POST & json_proto [14:42:41]process_json_proto [14:42:41]json parsed OK: [14:42:41]protocol is kg_v1.0 [14:42:41]action value=close_receipt [14:42:41]process_action close_receipt [14:42:41]cmd_close_receipt [14:42:41]MH_GetDate [14:42:41]Write to MH i2c: F0 00 00 08 19 10 [14:42:41]Write i2c OK [14:42:41]MH_I2C_Read... [14:42:41]Read from MH i2c: F0 [14:42:41]MH_I2C_Read... [14:42:41]Read from MH i2c: F0 09 00 [14:42:41]MH_I2C_Read... [14:42:41]Read from MH i2c: F0 09 00 08 19 00 65 92 92 66 1E 0D 88 66 21 [14:42:42]GetLastDocTimeStamp 1720881614 [14:42:42]current date 1720881765 [14:42:42]FM_GetShiftState [14:42:42]SAM_PROTO_GetShiftState [14:42:42]wFMCommunicate request_size=4 [14:42:42]MH_SAM_APDU [14:42:42]CAPDU: 80 13 01 00 [14:42:42]Write to MH i2c: E2 08 00 09 19 80 13 01 00 00 00 00 00 9F [14:42:42]Write i2c OK [14:42:42]MH_I2C_Read... [14:42:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:42:42]Read from MH i2c: E2 [14:42:42]MH_I2C_Read... [14:42:42]Read from MH i2c: E2 0E 00 [14:42:42]MH_I2C_Read... [14:42:42]Read from MH i2c: E2 0E 00 09 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 36 [14:42:42]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:42:42]wFMCommunicate OK [14:42:42]SAM_PROTO_GetShiftState done [14:42:42]FM_GetShiftState done [14:42:42]opened in 1720829646 [14:42:42]opened+sec_in_day 1720916046 [14:42:42]quantity*price = 11500 [14:42:42]sum+1 = 11501 [14:42:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001159955 Вода ASU пит н.газ ПЭТ 1л 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.57 НДС 12% : 30.80 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 76 13.07.2024 14:42 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43031 ФПД: 946113542219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144246&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43031&fm=946113542219&tin=02508201610067®Number=0000000000091176&sum=29000 0 [14:42:43]StoreToDocumentArchive [14:42:43]shift 445 fd 43031 [14:42:43]save to /storage/0445/doc_00043031 [14:42:43]save last doc name /storage/0445/doc_00043031 to /storage/kkm_last_doc_name [14:42:43]save OK [14:42:43]Clear old archive folders... [14:42:43]ProcessDocumentItem done err = 0, tmpTLVsize=592 [14:42:43]tlvbuf is 015ED3F0 [14:42:43]SAM_PROTO_ClearQueue [14:42:43]wFMCommunicate request_size=4 [14:42:43]MH_SAM_APDU [14:42:43]CAPDU: 80 09 00 00 [14:42:43]Write to MH i2c: E2 08 00 16 19 80 09 00 00 00 00 00 00 A1 [14:42:43]Write i2c OK [14:42:43]MH_I2C_Read... [14:42:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:42:43]Read from MH i2c: E2 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 16 19 00 90 00 A3 [14:42:43]RAPDU: 90 00 [14:42:43]wFMCommunicate OK [14:42:43]SAM_PROTO_ClearQueue done [14:42:43]KKMCreateOFDPacket [14:42:43]OFDProtocolAddRootSTLVToBuf [14:42:43]FM_MakeSignedData [14:42:43]FM_MakeSignedData [14:42:43]SAM_PROTO_SignData [14:42:43]wFMCommunicate request_size=4 [14:42:43]MH_SAM_APDU [14:42:43]CAPDU: 80 0D 01 02 [14:42:43]Write to MH i2c: E2 08 00 17 19 80 0D 01 02 00 00 00 00 A9 [14:42:43]Write i2c OK [14:42:43]MH_I2C_Read... [14:42:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:42:43]Read from MH i2c: E2 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 17 19 00 90 00 A4 [14:42:43]RAPDU: 90 00 [14:42:43]wFMCommunicate OK [14:42:43]wFMCommunicate request_size=255 [14:42:43]MH_SAM_APDU [14:42:43]CAPDU: 80 0D 02 02 FA 03 00 50 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 [14:42:43]Write to MH i2c: E2 02 01 18 19 80 0D 02 02 FA 00 03 00 50 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 00 00 3D [14:42:43]Write i2c OK [14:42:43]MH_I2C_Read... [14:42:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:42:43]Read from MH i2c: E2 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 18 19 00 90 00 A5 [14:42:43]RAPDU: 90 00 [14:42:43]wFMCommunicate OK [14:42:43]wFMCommunicate request_size=255 [14:42:43]MH_SAM_APDU [14:42:43]CAPDU: 80 0D 02 02 FA B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 [14:42:43]Write to MH i2c: E2 02 01 19 19 80 0D 02 02 FA 00 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 1E [14:42:43]Write i2c OK [14:42:43]MH_I2C_Read... [14:42:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:42:43]Read from MH i2c: E2 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 [14:42:43]MH_I2C_Read... [14:42:43]Read from MH i2c: E2 03 00 19 19 00 90 00 A6 [14:42:43]RAPDU: 90 00 [14:42:43]wFMCommunicate OK [14:42:43]wFMCommunicate request_size=101 [14:42:43]MH_SAM_APDU [14:42:43]CAPDU: 80 0D 02 02 60 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 66 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 17 A8 00 00 35 04 06 00 00 DC 48 C2 F8 4B [14:42:43]Write to MH i2c: E2 68 00 1A 19 80 0D 02 02 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 66 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 17 A8 00 00 35 04 06 00 00 DC 48 C2 F8 4B 00 00 38 [14:42:43]Write i2c OK [14:42:43]MH_I2C_Read... [14:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:42:44]Read from MH i2c: E2 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 03 00 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 03 00 1A 19 00 90 00 A7 [14:42:44]RAPDU: 90 00 [14:42:44]wFMCommunicate OK [14:42:44]wFMCommunicate request_size=4 [14:42:44]MH_SAM_APDU [14:42:44]CAPDU: 80 0D 03 02 [14:42:44]Write to MH i2c: E2 08 00 1B 19 80 0D 03 02 00 00 00 00 AF [14:42:44]Write i2c OK [14:42:44]MH_I2C_Read... [14:42:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:42:44]Read from MH i2c: E2 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 0B 00 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 0B 00 1B 19 00 14 99 B7 65 6A F4 04 D4 90 00 AF [14:42:44]RAPDU: 14 99 B7 65 6A F4 04 D4 90 00 [14:42:44]wFMCommunicate OK [14:42:44]SAM_PROTO_SignData done [14:42:44]FM_MakeSignedData done [14:42:44]CreateOFDProtocolMessage [14:42:44]wFMCommunicate request_size=4 [14:42:44]MH_SAM_APDU [14:42:44]CAPDU: 80 11 00 00 [14:42:44]Write to MH i2c: E2 08 00 1C 19 80 11 00 00 00 00 00 00 AF [14:42:44]Write i2c OK [14:42:44]MH_I2C_Read... [14:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:42:44]Read from MH i2c: E2 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 17 00 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: E2 17 00 1C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 06 [14:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:42:44]wFMCommunicate OK [14:42:44]CreateOFDProtocolMessage done [14:42:44]OFDSenderStorePacket 43031 [14:42:44]StoreOFDPacket docnum=43031 [14:42:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 64 02 00 00 EE 90 5C 02 C1 46 5A 03 01 00 03 00 50 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 66 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 17 A8 00 00 35 04 06 00 00 DC 48 C2 F8 4B 14 99 B7 65 6A F4 04 D4 [14:42:44]CheckFolder [14:42:44]dirname=/storage/ofd_packets [14:42:44]CheckFolder done [14:42:44]ProducePacketName [14:42:44]name=ofd_packets/00043031 [14:42:44]NVStorageSaveData ofd_packets/00043031 [14:42:44]File name is /storage/ofd_packets/00043031 [14:42:44]Write 642 bytes [14:42:44]NVStorageSaveData done [14:42:44]OFDSenderStorePacket done [14:42:44]KKMCreateOFDPacket done [14:42:44]NVStorageSaveData kkm_last_timestamp [14:42:44]File name is /storage/kkm_last_timestamp [14:42:44]Write 4 bytes [14:42:44]NVStorageSaveData done [14:42:44]ExternCall_PrintAddStr [14:42:44]wPrintStart [14:42:44]Write to MH i2c: 01 00 00 1D 19 36 [14:42:44]Write i2c OK [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: 01 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: 01 07 00 [14:42:44]MH_I2C_Read... [14:42:44]Read from MH i2c: 01 07 00 1D 19 00 00 00 00 00 FF 0F 4B [14:42:44]RasterBufferAndPrint [14:42:44]line Счет N : (3)300159 [14:42:44]line ИНН: 02508201610067 [14:42:44]line Контрольно-Кассовый Чек [14:42:44]line ПРОДАЖА [14:42:44]line Товар: 2000036210013 [14:42:44]line Кофе Капучино (GABB TRADE) [14:42:44]line 1.000 * 115.00 [14:42:44]line = 115.00 [14:42:44]line НДС 12% НСП 1% [14:42:44]line > о реализуемом товаре [14:42:44]line Товар: 4700000160211 [14:42:44]line Вода Легенда 0,5л [14:42:44]line 2.000 * 40.00 [14:42:44]line = 80.00 [14:42:44]line НДС 12% НСП 1% [14:42:44]line > о реализуемом товаре [14:42:44]line Товар: 4700000160358 [14:42:44]line Вода Легенда 1л [14:42:44]line 1.000 * 50.00 [14:42:44]line = 50.00 [14:42:44]line НДС 12% НСП 1% [14:42:44]line > о реализуемом товаре [14:42:44]line Товар: 4870001159955 [14:42:44]line Вода ASU пит н.газ ПЭТ 1л [14:42:44]line 1.000 * 45.00 [14:42:44]line = 45.00 [14:42:44]line НДС 12% НСП 1% [14:42:44]line > о реализуемом товаре [14:42:44]line ИТОГО: 290.00 [14:42:44]line НСП 1% : 2.57 [14:42:44]line НДС 12% : 30.80 [14:42:44]line Наличными: 290.00 [14:42:44]line Безнал.: 0.00 [14:42:44]line Место: АЗС № 71 "Партнер Нефть" [14:42:44]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:42:44]line СНО: Общий режим [14:42:44]line Чек 76 13.07.2024 14:42 [14:42:44]line Смена: 445 ФФД: 1.0 [14:42:44]line ЗНМ: 0300000153 [14:42:44]line РНМ: 0000000000091176 [14:42:44]line Версия ККМ: 001 [14:42:44]line ФМ: 0000000000874935 [14:42:44]line ФД: 43031 [14:42:44]line ФПД: 946113542219 [14:42:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144246&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43031&fm=946113542219&tin=02508201610067®Number=0000000000091176&sum=29000 [14:42:44]line 0 [14:42:44]OFD Sender: Processing packet 43031 [packets to send 31, broken 30] [14:42:44]ProducePacketName [14:42:44]name=ofd_packets/00043031 [14:42:44]OFD Sender: To server: pG, [14:42:44]CommunicateWithHost lk.salyk.kg:30040 [14:42:44]ConnectInit lk.salyk.kg [14:42:44]written 0, free lines is 4095 [14:42:44]Connected sock=10 [14:42:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 64 02 00 00 EE 90 5C 02 C1 46 5A 03 01 00 03 00 50 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 66 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 17 A8 00 00 35 04 06 00 00 DC 48 C2 F8 4B 14 99 B7 65 6A F4 04 D4 [14:42:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A4 81 47 00 E7 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 17 A8 00 00 F4 03 04 00 60 3E 92 66 B6 04 01 00 00 80 4A 32 37 C7 3A DA BA [14:42:44]CommunicateWithHost err = 0 [14:42:44]CheckOFDResponse [14:42:44]1017 (14) - 77093643461234 [14:42:44]1041 (16) - 0000000000874935 [14:42:44]1040 (4) - 43031 [14:42:44]1012 (4) - 13.07.2024 08:44 [14:42:44]1206 (1) - 0 [14:42:44]OFD Sender: Remove packet 43031 [14:42:44]ProducePacketName [14:42:44]name=ofd_packets/00043031 [14:42:44]NVStorageDeleteData [14:42:45]Write to MH i2c: 01 00 00 57 19 70 [14:42:45]Write i2c OK [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: 01 [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: 01 07 00 [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: 01 07 00 57 19 00 00 00 00 00 12 0C 95 [14:42:45]RasterBufferAndPrint [14:42:45]line [14:42:45]line [14:42:45]line [14:42:45]line [14:42:45]line [14:42:45]written 0, free lines is 3097 [14:42:45]MH_Cut [14:42:45]Write to MH i2c: D1 01 00 5E 19 01 49 [14:42:45]Write i2c OK [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: D1 [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: D1 01 00 [14:42:45]MH_I2C_Read... [14:42:45]Read from MH i2c: D1 01 00 5E 19 00 48 [14:42:45]Write to MH i2c: 01 00 00 5F 19 78 [14:42:45]Write i2c OK [14:42:45]MH_I2C_Read... [14:42:45]OFD Sender: No OFD packet to send [14:42:45]*** Cut start [14:42:45]*** Partial cut [14:42:45]*** CUTSNS_PIN = 1 [14:42:46]*** CUTSNS_PIN = 0 [14:42:46]*** Brake cut motor [14:42:46]Read from MH i2c: 01 [14:42:46]MH_I2C_Read... [14:42:46]*** Stop cut motor [14:42:46]*** Cut end [14:42:46]Read from MH i2c: 01 07 00 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: 01 07 00 5F 19 00 00 00 00 00 FF 0F 8D [14:42:46]process_action close_receipt done [14:42:46]requested_data is exist [14:42:46]produce_requested_data [14:42:46]requested_item fm.sn is exist - process it [14:42:46]wFMCommunicate request_size=4 [14:42:46]MH_SAM_APDU [14:42:46]CAPDU: 80 11 00 00 [14:42:46]Write to MH i2c: E2 08 00 60 19 80 11 00 00 00 00 00 00 F3 [14:42:46]Write i2c OK [14:42:46]MH_I2C_Read... [14:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:42:46]Read from MH i2c: E2 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 17 00 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 17 00 60 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4A [14:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:42:46]wFMCommunicate OK [14:42:46]requested_item fd.num is exist - process it [14:42:46]SAM_PROTO_GetFieldsCounters [14:42:46]wFMCommunicate request_size=4 [14:42:46]MH_SAM_APDU [14:42:46]CAPDU: 80 13 00 00 [14:42:46]Write to MH i2c: E2 08 00 61 19 80 13 00 00 00 00 00 00 F6 [14:42:46]Write i2c OK [14:42:46]MH_I2C_Read... [14:42:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:42:46]Read from MH i2c: E2 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 62 00 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 62 00 61 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 17 A8 00 00 0E 04 04 00 BD 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 7B [14:42:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 17 A8 00 00 0E 04 04 00 BD 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 [14:42:46]wFMCommunicate OK [14:42:46]SAM_PROTO_GetFieldsCounters done [14:42:46]requested_item shift.num is exist - process it [14:42:46]requested_item shift.opened is exist - process it [14:42:46]req_shift_opened [14:42:46]FM_GetShiftState [14:42:46]SAM_PROTO_GetShiftState [14:42:46]wFMCommunicate request_size=4 [14:42:46]MH_SAM_APDU [14:42:46]CAPDU: 80 13 01 00 [14:42:46]Write to MH i2c: E2 08 00 62 19 80 13 01 00 00 00 00 00 F8 [14:42:46]Write i2c OK [14:42:46]MH_I2C_Read... [14:42:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:42:46]Read from MH i2c: E2 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 0E 00 [14:42:46]MH_I2C_Read... [14:42:46]Read from MH i2c: E2 0E 00 62 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8F [14:42:46]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:42:46]wFMCommunicate OK [14:42:46]SAM_PROTO_GetShiftState done [14:42:46]FM_GetShiftState done [14:42:46]req_shift_opened done [14:42:46]requested_item shift.open_date is exist - process it [14:42:46]req_shift_open_date [14:42:46]req_shift_open_date done [14:42:46]requested_item shift.sale.total is exist - process it [14:42:46]SAM_PROTO_GetShiftData [14:42:46]wFMCommunicate request_size=4 [14:42:46]MH_SAM_APDU [14:42:46]CAPDU: 80 13 02 00 [14:42:46]Write to MH i2c: E2 08 00 63 19 80 13 02 00 00 00 00 00 FA [14:42:46]Write i2c OK [14:42:46]MH_I2C_Read... [14:42:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:42:47]Read from MH i2c: E2 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 63 19 00 AE 04 AA 04 AA 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 E0 84 13 70 04 03 00 30 AB 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F 12 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4F [14:42:47]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 E0 84 13 70 04 03 00 30 AB 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F 12 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:42:47]wFMCommunicate OK [14:42:47]wFMCommunicate request_size=4 [14:42:47]MH_SAM_APDU [14:42:47]CAPDU: 80 17 00 00 [14:42:47]Write to MH i2c: E2 08 00 64 19 80 17 00 00 00 00 00 00 FD [14:42:47]Write i2c OK [14:42:47]MH_I2C_Read... [14:42:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:42:47]Read from MH i2c: E2 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 64 19 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1F [14:42:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:42:47]wFMCommunicate OK [14:42:47]wFMCommunicate request_size=4 [14:42:47]MH_SAM_APDU [14:42:47]CAPDU: 80 17 00 00 [14:42:47]Write to MH i2c: E2 08 00 65 19 80 17 00 00 00 00 00 00 FE [14:42:47]Write i2c OK [14:42:47]MH_I2C_Read... [14:42:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:42:47]Read from MH i2c: E2 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 [14:42:47]MH_I2C_Read... [14:42:47]Read from MH i2c: E2 FD 00 65 19 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B5 [14:42:48]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:42:48]wFMCommunicate OK [14:42:48]wFMCommunicate request_size=4 [14:42:48]MH_SAM_APDU [14:42:48]CAPDU: 80 17 00 00 [14:42:48]Write to MH i2c: E2 08 00 66 19 80 17 00 00 00 00 00 00 FF [14:42:48]Write i2c OK [14:42:48]MH_I2C_Read... [14:42:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:42:48]Read from MH i2c: E2 [14:42:48]MH_I2C_Read... [14:42:48]Read from MH i2c: E2 FD 00 [14:42:48]MH_I2C_Read... [14:42:48]Read from MH i2c: E2 FD 00 66 19 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 71 [14:42:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:42:48]wFMCommunicate OK [14:42:48]wFMCommunicate request_size=4 [14:42:48]MH_SAM_APDU [14:42:48]CAPDU: 80 17 00 00 [14:42:48]Write to MH i2c: E2 08 00 67 19 80 17 00 00 00 00 00 00 00 [14:42:48]Write i2c OK [14:42:48]MH_I2C_Read... [14:42:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:42:48]Read from MH i2c: E2 [14:42:48]MH_I2C_Read... [14:42:48]Read from MH i2c: E2 CB 00 [14:42:48]MH_I2C_Read... [14:42:48]Read from MH i2c: E2 CB 00 67 19 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E9 [14:42:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:42:48]wFMCommunicate OK [14:42:48]SAM_PROTO_GetShiftData done [14:42:48]requested_item shift.sale.total_cash is exist - process it [14:42:48]requested_item shift.sale_refund.total is exist - process it [14:42:48]requested_item shift.sale_refund.total_cash is exist - process it [14:42:48]produce_requested_data done [14:42:48]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43031,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12792.00,"shift.sale.total_cash":10924.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:42:48]process_action_free close_receipt [14:42:48]json_value_free [14:42:48]json_value_free done [14:42:48]process_json_proto returns [14:42:48]Send response to host [14:42:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43031,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12792.00,"shift.sale.total_cash":10924.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:42:48]free response buf [14:42:48]execute_script done [14:42:48]execute_script returns [14:42:48]free content buf [14:42:48]Sock 9.Close socket [14:42:48]Sock 9.Thread stoped [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:14]accept exits with 7 [14:43:14]New connection [14:43:14]New thread 3067530596 created [14:43:14]Thread 3067387236 joined [14:43:14]Waiting for new connection... [14:43:14] Sock 7.Parse request [14:43:14]Sock 7.Check first char [14:43:14]Sock 7.First char is OK [14:43:14]request: POST /json_proto HTTP/1.0 [14:43:14]Method: POST [14:43:14]URL: /json_proto [14:43:14]Method is POST - this is cgi request [14:43:14]url: /json_proto [14:43:14]query_string will be loaded in cgi processing [14:43:14]execute_cgi json_proto POST (null) [14:43:14]execute_cgi path=json_proto method=POST [14:43:14]POST find Content-Length [14:43:14]Host: 172.17.38.197:8080 [14:43:14]Content-Length: 832 [14:43:14]Content-Type: application/json [14:43:14] [14:43:14]POST finish read [14:43:14]Found Content-Length = 832 [14:43:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300160", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:43:14]execute_script... [14:43:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300160", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:43:14]POST & json_proto [14:43:14]process_json_proto [14:43:14]json parsed OK: [14:43:14]protocol is kg_v1.0 [14:43:14]action value=close_receipt [14:43:14]process_action close_receipt [14:43:14]cmd_close_receipt [14:43:14]MH_GetDate [14:43:14]Write to MH i2c: F0 00 00 68 19 70 [14:43:14]Write i2c OK [14:43:14]MH_I2C_Read... [14:43:14]Read from MH i2c: F0 [14:43:14]MH_I2C_Read... [14:43:14]Read from MH i2c: F0 09 00 [14:43:14]MH_I2C_Read... [14:43:14]Read from MH i2c: F0 09 00 68 19 00 86 92 92 66 1E 0D 88 66 A2 [14:43:14]GetLastDocTimeStamp 1720881766 [14:43:14]current date 1720881798 [14:43:14]FM_GetShiftState [14:43:14]SAM_PROTO_GetShiftState [14:43:14]wFMCommunicate request_size=4 [14:43:14]MH_SAM_APDU [14:43:14]CAPDU: 80 13 01 00 [14:43:14]Write to MH i2c: E2 08 00 69 19 80 13 01 00 00 00 00 00 FF [14:43:14]Write i2c OK [14:43:14]MH_I2C_Read... [14:43:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:14]Read from MH i2c: E2 [14:43:14]MH_I2C_Read... [14:43:14]Read from MH i2c: E2 0E 00 [14:43:14]MH_I2C_Read... [14:43:14]Read from MH i2c: E2 0E 00 69 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 96 [14:43:14]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:43:14]wFMCommunicate OK [14:43:14]SAM_PROTO_GetShiftState done [14:43:14]FM_GetShiftState done [14:43:14]opened in 1720829646 [14:43:14]opened+sec_in_day 1720916046 [14:43:14]quantity*price = 6000 [14:43:14]sum+1 = 6001 [14:43:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 77 13.07.2024 14:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43032 ФПД: 51720703379444 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144318&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43032&fm=51720703379444&tin=02508201610067®Number=0000000000091176&sum=6000 0 [14:43:15]StoreToDocumentArchive [14:43:15]shift 445 fd 43032 [14:43:15]save to /storage/0445/doc_00043032 [14:43:15]save last doc name /storage/0445/doc_00043032 to /storage/kkm_last_doc_name [14:43:15]save OK [14:43:15]Clear old archive folders... [14:43:15]ProcessDocumentItem done err = 0, tmpTLVsize=303 [14:43:15]tlvbuf is B6F67E30 [14:43:15]SAM_PROTO_ClearQueue [14:43:15]wFMCommunicate request_size=4 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 09 00 00 [14:43:15]Write to MH i2c: E2 08 00 76 19 80 09 00 00 00 00 00 00 01 [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 76 19 00 90 00 03 [14:43:15]RAPDU: 90 00 [14:43:15]wFMCommunicate OK [14:43:15]SAM_PROTO_ClearQueue done [14:43:15]KKMCreateOFDPacket [14:43:15]OFDProtocolAddRootSTLVToBuf [14:43:15]FM_MakeSignedData [14:43:15]FM_MakeSignedData [14:43:15]SAM_PROTO_SignData [14:43:15]wFMCommunicate request_size=4 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 0D 01 02 [14:43:15]Write to MH i2c: E2 08 00 77 19 80 0D 01 02 00 00 00 00 09 [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 77 19 00 90 00 04 [14:43:15]RAPDU: 90 00 [14:43:15]wFMCommunicate OK [14:43:15]wFMCommunicate request_size=255 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 86 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D [14:43:15]Write to MH i2c: E2 02 01 78 19 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 86 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 00 00 04 [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]OFD Sender: No OFD packet to send [14:43:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 78 19 00 90 00 05 [14:43:15]RAPDU: 90 00 [14:43:15]wFMCommunicate OK [14:43:15]wFMCommunicate request_size=62 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 18 A8 00 00 35 04 06 00 2F 0A 2A 27 07 F4 [14:43:15]Write to MH i2c: E2 41 00 79 19 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 18 A8 00 00 35 04 06 00 2F 0A 2A 27 07 F4 00 00 8F [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 03 00 79 19 00 90 00 06 [14:43:15]RAPDU: 90 00 [14:43:15]wFMCommunicate OK [14:43:15]wFMCommunicate request_size=4 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 0D 03 02 [14:43:15]Write to MH i2c: E2 08 00 7A 19 80 0D 03 02 00 00 00 00 0E [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 0B 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 0B 00 7A 19 00 84 9C 26 89 C2 01 32 98 90 00 6B [14:43:15]RAPDU: 84 9C 26 89 C2 01 32 98 90 00 [14:43:15]wFMCommunicate OK [14:43:15]SAM_PROTO_SignData done [14:43:15]FM_MakeSignedData done [14:43:15]CreateOFDProtocolMessage [14:43:15]wFMCommunicate request_size=4 [14:43:15]MH_SAM_APDU [14:43:15]CAPDU: 80 11 00 00 [14:43:15]Write to MH i2c: E2 08 00 7B 19 80 11 00 00 00 00 00 00 0E [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:15]Read from MH i2c: E2 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 17 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: E2 17 00 7B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 65 [14:43:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:43:15]wFMCommunicate OK [14:43:15]CreateOFDProtocolMessage done [14:43:15]OFDSenderStorePacket 43032 [14:43:15]StoreOFDPacket docnum=43032 [14:43:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 A0 9A 3B 01 E9 EF 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 86 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 18 A8 00 00 35 04 06 00 2F 0A 2A 27 07 F4 84 9C 26 89 C2 01 32 98 [14:43:15]CheckFolder [14:43:15]dirname=/storage/ofd_packets [14:43:15]CheckFolder done [14:43:15]ProducePacketName [14:43:15]name=ofd_packets/00043032 [14:43:15]NVStorageSaveData ofd_packets/00043032 [14:43:15]File name is /storage/ofd_packets/00043032 [14:43:15]Write 353 bytes [14:43:15]NVStorageSaveData done [14:43:15]OFDSenderStorePacket done [14:43:15]KKMCreateOFDPacket done [14:43:15]NVStorageSaveData kkm_last_timestamp [14:43:15]File name is /storage/kkm_last_timestamp [14:43:15]Write 4 bytes [14:43:15]NVStorageSaveData done [14:43:15]ExternCall_PrintAddStr [14:43:15]wPrintStart [14:43:15]Write to MH i2c: 01 00 00 7C 19 95 [14:43:15]Write i2c OK [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: 01 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: 01 07 00 [14:43:15]MH_I2C_Read... [14:43:15]Read from MH i2c: 01 07 00 7C 19 00 00 00 00 00 FF 0F AA [14:43:15]RasterBufferAndPrint [14:43:15]line Счет N : (3)300160 [14:43:15]line ИНН: 02508201610067 [14:43:15]line Контрольно-Кассовый Чек [14:43:15]line ПРОДАЖА [14:43:15]line Товар: 4700000160792 [14:43:15]line Снек Курут классический (круглый) [14:43:15]line 1.000 * 60.00 [14:43:15]line = 60.00 [14:43:15]line НДС 12% НСП 1% [14:43:15]line > о реализуемом товаре [14:43:15]line ИТОГО: 60.00 [14:43:15]line НСП 1% : 0.53 [14:43:15]line НДС 12% : 6.37 [14:43:15]line Наличными: 60.00 [14:43:15]line Безнал.: 0.00 [14:43:15]line Место: АЗС № 71 "Партнер Нефть" [14:43:15]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:43:15]line СНО: Общий режим [14:43:15]line Чек 77 13.07.2024 14:43 [14:43:15]line Смена: 445 ФФД: 1.0 [14:43:15]line ЗНМ: 0300000153 [14:43:15]line РНМ: 0000000000091176 [14:43:15]line Версия ККМ: 001 [14:43:15]line ФМ: 0000000000874935 [14:43:15]line ФД: 43032 [14:43:15]line ФПД: 51720703379444 [14:43:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T144318&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43032&fm=51720703379444&tin=02508201610067®Number=0000000000091176&sum=6000 [14:43:16]line 0 [14:43:16]OFD Sender: Processing packet 43032 [packets to send 31, broken 30] [14:43:16]ProducePacketName [14:43:16]name=ofd_packets/00043032 [14:43:16]OFD Sender: To server: pG, [14:43:16]CommunicateWithHost lk.salyk.kg:30040 [14:43:16]ConnectInit lk.salyk.kg [14:43:16]written 0, free lines is 4095 [14:43:16]Connected sock=10 [14:43:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 A0 9A 3B 01 E9 EF 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 86 92 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 18 A8 00 00 35 04 06 00 2F 0A 2A 27 07 F4 84 9C 26 89 C2 01 32 98 [14:43:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 0D 88 47 00 5B 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 38 37 34 39 33 35 10 04 04 00 18 A8 00 00 F4 03 04 00 80 3E 92 66 B6 04 01 00 00 81 8C 76 A5 09 F6 55 5C [14:43:16]CommunicateWithHost err = 0 [14:43:16]CheckOFDResponse [14:43:16]1017 (14) - 77093643461234 [14:43:16]1041 (16) - 0000000000874935 [14:43:16]1040 (4) - 43032 [14:43:16]1012 (4) - 13.07.2024 08:44 [14:43:16]1206 (1) - 0 [14:43:16]OFD Sender: Remove packet 43032 [14:43:16]ProducePacketName [14:43:16]name=ofd_packets/00043032 [14:43:16]NVStorageDeleteData [14:43:16]Write to MH i2c: 01 00 00 A5 19 BE [14:43:16]Write i2c OK [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: 01 [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: 01 07 00 [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: 01 07 00 A5 19 00 00 00 00 00 F2 0C C3 [14:43:16]RasterBufferAndPrint [14:43:16]line [14:43:16]line [14:43:16]line [14:43:16]line [14:43:16]line [14:43:16]written 0, free lines is 3320 [14:43:16]MH_Cut [14:43:16]Write to MH i2c: D1 01 00 AC 19 01 97 [14:43:16]Write i2c OK [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: D1 [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: D1 01 00 [14:43:16]MH_I2C_Read... [14:43:16]Read from MH i2c: D1 01 00 AC 19 00 96 [14:43:16]Write to MH i2c: 01 00 00 AD 19 C6 [14:43:16]Write i2c OK [14:43:16]MH_I2C_Read... [14:43:16]OFD Sender: No OFD packet to send [14:43:17]*** Cut start [14:43:17]*** Partial cut [14:43:17]*** CUTSNS_PIN = 1 [14:43:17]*** CUTSNS_PIN = 0 [14:43:17]*** Brake cut motor [14:43:17]Read from MH i2c: 01 [14:43:17]MH_I2C_Read... [14:43:17]*** Stop cut motor [14:43:17]*** Cut end [14:43:17]Read from MH i2c: 01 07 00 [14:43:17]MH_I2C_Read... [14:43:17]Read from MH i2c: 01 07 00 AD 19 00 00 00 00 00 FF 0F DB [14:43:17]process_action close_receipt done [14:43:17]requested_data is exist [14:43:17]produce_requested_data [14:43:17]requested_item fm.sn is exist - process it [14:43:17]wFMCommunicate request_size=4 [14:43:17]MH_SAM_APDU [14:43:17]CAPDU: 80 11 00 00 [14:43:17]Write to MH i2c: E2 08 00 AE 19 80 11 00 00 00 00 00 00 41 [14:43:17]Write i2c OK [14:43:17]MH_I2C_Read... [14:43:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:17]Read from MH i2c: E2 [14:43:17]MH_I2C_Read... [14:43:17]Read from MH i2c: E2 17 00 [14:43:17]MH_I2C_Read... [14:43:17]Read from MH i2c: E2 17 00 AE 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 98 [14:43:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:43:17]wFMCommunicate OK [14:43:17]requested_item fd.num is exist - process it [14:43:17]SAM_PROTO_GetFieldsCounters [14:43:17]wFMCommunicate request_size=4 [14:43:17]MH_SAM_APDU [14:43:17]CAPDU: 80 13 00 00 [14:43:17]Write to MH i2c: E2 08 00 AF 19 80 13 00 00 00 00 00 00 44 [14:43:17]Write i2c OK [14:43:17]MH_I2C_Read... [14:43:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:43:18]Read from MH i2c: E2 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 62 00 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 62 00 AF 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 18 A8 00 00 0E 04 04 00 BD 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 CD [14:43:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 18 A8 00 00 0E 04 04 00 BD 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 [14:43:18]wFMCommunicate OK [14:43:18]SAM_PROTO_GetFieldsCounters done [14:43:18]requested_item shift.num is exist - process it [14:43:18]requested_item shift.opened is exist - process it [14:43:18]req_shift_opened [14:43:18]FM_GetShiftState [14:43:18]SAM_PROTO_GetShiftState [14:43:18]wFMCommunicate request_size=4 [14:43:18]MH_SAM_APDU [14:43:18]CAPDU: 80 13 01 00 [14:43:18]Write to MH i2c: E2 08 00 B0 19 80 13 01 00 00 00 00 00 46 [14:43:18]Write i2c OK [14:43:18]MH_I2C_Read... [14:43:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:18]Read from MH i2c: E2 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 0E 00 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 0E 00 B0 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 DD [14:43:18]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:43:18]wFMCommunicate OK [14:43:18]SAM_PROTO_GetShiftState done [14:43:18]FM_GetShiftState done [14:43:18]req_shift_opened done [14:43:18]requested_item shift.open_date is exist - process it [14:43:18]req_shift_open_date [14:43:18]req_shift_open_date done [14:43:18]requested_item shift.sale.total is exist - process it [14:43:18]SAM_PROTO_GetShiftData [14:43:18]wFMCommunicate request_size=4 [14:43:18]MH_SAM_APDU [14:43:18]CAPDU: 80 13 02 00 [14:43:18]Write to MH i2c: E2 08 00 B1 19 80 13 02 00 00 00 00 00 48 [14:43:18]Write i2c OK [14:43:18]MH_I2C_Read... [14:43:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:43:18]Read from MH i2c: E2 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 FD 00 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 FD 00 B1 19 00 AE 04 AA 04 AA 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 50 9C 13 70 04 03 00 A0 C2 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 15 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 63 [14:43:18]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 50 9C 13 70 04 03 00 A0 C2 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 15 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:43:18]wFMCommunicate OK [14:43:18]wFMCommunicate request_size=4 [14:43:18]MH_SAM_APDU [14:43:18]CAPDU: 80 17 00 00 [14:43:18]Write to MH i2c: E2 08 00 B2 19 80 17 00 00 00 00 00 00 4B [14:43:18]Write i2c OK [14:43:18]MH_I2C_Read... [14:43:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:18]Read from MH i2c: E2 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 FD 00 [14:43:18]MH_I2C_Read... [14:43:18]Read from MH i2c: E2 FD 00 B2 19 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6D [14:43:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:43:18]wFMCommunicate OK [14:43:18]wFMCommunicate request_size=4 [14:43:18]MH_SAM_APDU [14:43:18]CAPDU: 80 17 00 00 [14:43:18]Write to MH i2c: E2 08 00 B3 19 80 17 00 00 00 00 00 00 4C [14:43:18]Write i2c OK [14:43:18]MH_I2C_Read... [14:43:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:19]Read from MH i2c: E2 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 FD 00 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 FD 00 B3 19 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 03 [14:43:19]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:43:19]wFMCommunicate OK [14:43:19]wFMCommunicate request_size=4 [14:43:19]MH_SAM_APDU [14:43:19]CAPDU: 80 17 00 00 [14:43:19]Write to MH i2c: E2 08 00 B4 19 80 17 00 00 00 00 00 00 4D [14:43:19]Write i2c OK [14:43:19]MH_I2C_Read... [14:43:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:19]Read from MH i2c: E2 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 FD 00 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 FD 00 B4 19 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BF [14:43:19]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:43:19]wFMCommunicate OK [14:43:19]wFMCommunicate request_size=4 [14:43:19]MH_SAM_APDU [14:43:19]CAPDU: 80 17 00 00 [14:43:19]Write to MH i2c: E2 08 00 B5 19 80 17 00 00 00 00 00 00 4E [14:43:19]Write i2c OK [14:43:19]MH_I2C_Read... [14:43:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:43:19]Read from MH i2c: E2 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 CB 00 [14:43:19]MH_I2C_Read... [14:43:19]Read from MH i2c: E2 CB 00 B5 19 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 37 [14:43:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:43:19]wFMCommunicate OK [14:43:19]SAM_PROTO_GetShiftData done [14:43:19]requested_item shift.sale.total_cash is exist - process it [14:43:19]requested_item shift.sale_refund.total is exist - process it [14:43:19]requested_item shift.sale_refund.total_cash is exist - process it [14:43:19]produce_requested_data done [14:43:19]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43032,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12852.00,"shift.sale.total_cash":10984.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:43:19]process_action_free close_receipt [14:43:19]json_value_free [14:43:19]json_value_free done [14:43:19]process_json_proto returns [14:43:19]Send response to host [14:43:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43032,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12852.00,"shift.sale.total_cash":10984.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:43:19]free response buf [14:43:19]execute_script done [14:43:19]execute_script returns [14:43:19]free content buf [14:43:19]Sock 7.Close socket [14:43:19]Sock 7.Thread stoped [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:02]OFD Sender: No OFD packet to send [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:22]OFD Sender: No OFD packet to send [14:48:27]OFD Sender: No OFD packet to send [14:48:32]OFD Sender: No OFD packet to send [14:48:37]OFD Sender: No OFD packet to send [14:48:42]OFD Sender: No OFD packet to send [14:48:47]OFD Sender: No OFD packet to send [14:48:52]OFD Sender: No OFD packet to send [14:48:57]OFD Sender: No OFD packet to send [14:49:02]OFD Sender: No OFD packet to send [14:49:07]OFD Sender: No OFD packet to send [14:49:12]OFD Sender: No OFD packet to send [14:49:17]OFD Sender: No OFD packet to send [14:49:22]OFD Sender: No OFD packet to send [14:49:27]OFD Sender: No OFD packet to send [14:49:32]OFD Sender: No OFD packet to send [14:49:37]OFD Sender: No OFD packet to send [14:49:42]OFD Sender: No OFD packet to send [14:49:47]OFD Sender: No OFD packet to send [14:49:52]OFD Sender: No OFD packet to send [14:49:57]OFD Sender: No OFD packet to send [14:50:02]OFD Sender: No OFD packet to send [14:50:07]OFD Sender: No OFD packet to send [14:50:12]OFD Sender: No OFD packet to send [14:50:17]OFD Sender: No OFD packet to send [14:50:22]OFD Sender: No OFD packet to send [14:50:27]OFD Sender: No OFD packet to send [14:50:32]OFD Sender: No OFD packet to send [14:50:37]OFD Sender: No OFD packet to send [14:50:42]OFD Sender: No OFD packet to send [14:50:47]OFD Sender: No OFD packet to send [14:50:52]OFD Sender: No OFD packet to send [14:50:57]OFD Sender: No OFD packet to send [14:51:02]OFD Sender: No OFD packet to send [14:51:07]OFD Sender: No OFD packet to send [14:51:12]OFD Sender: No OFD packet to send [14:51:17]OFD Sender: No OFD packet to send [14:51:22]OFD Sender: No OFD packet to send [14:51:27]OFD Sender: No OFD packet to send [14:51:32]OFD Sender: No OFD packet to send [14:51:37]OFD Sender: No OFD packet to send [14:51:42]OFD Sender: No OFD packet to send [14:51:47]OFD Sender: No OFD packet to send [14:51:52]OFD Sender: No OFD packet to send [14:51:57]OFD Sender: No OFD packet to send [14:52:02]OFD Sender: No OFD packet to send [14:52:07]OFD Sender: No OFD packet to send [14:52:12]OFD Sender: No OFD packet to send [14:52:17]OFD Sender: No OFD packet to send [14:52:22]OFD Sender: No OFD packet to send [14:52:27]OFD Sender: No OFD packet to send [14:52:32]OFD Sender: No OFD packet to send [14:52:37]OFD Sender: No OFD packet to send [14:52:42]OFD Sender: No OFD packet to send [14:52:47]OFD Sender: No OFD packet to send [14:52:52]OFD Sender: No OFD packet to send [14:52:57]OFD Sender: No OFD packet to send [14:53:02]OFD Sender: No OFD packet to send [14:53:07]OFD Sender: No OFD packet to send [14:53:12]OFD Sender: No OFD packet to send [14:53:17]OFD Sender: No OFD packet to send [14:53:22]OFD Sender: No OFD packet to send [14:53:27]OFD Sender: No OFD packet to send [14:53:32]OFD Sender: No OFD packet to send [14:53:37]OFD Sender: No OFD packet to send [14:53:42]OFD Sender: No OFD packet to send [14:53:47]OFD Sender: No OFD packet to send [14:53:52]OFD Sender: No OFD packet to send [14:53:57]OFD Sender: No OFD packet to send [14:54:02]OFD Sender: No OFD packet to send [14:54:07]OFD Sender: No OFD packet to send [14:54:12]OFD Sender: No OFD packet to send [14:54:17]OFD Sender: No OFD packet to send [14:54:22]OFD Sender: No OFD packet to send [14:54:27]OFD Sender: No OFD packet to send [14:54:32]OFD Sender: No OFD packet to send [14:54:37]OFD Sender: No OFD packet to send [14:54:42]OFD Sender: No OFD packet to send [14:54:47]OFD Sender: No OFD packet to send [14:54:52]OFD Sender: No OFD packet to send [14:54:57]OFD Sender: No OFD packet to send [14:55:02]OFD Sender: No OFD packet to send [14:55:07]OFD Sender: No OFD packet to send [14:55:12]OFD Sender: No OFD packet to send [14:55:17]OFD Sender: No OFD packet to send [14:55:22]OFD Sender: No OFD packet to send [14:55:27]OFD Sender: No OFD packet to send [14:55:32]OFD Sender: No OFD packet to send [14:55:37]OFD Sender: No OFD packet to send [14:55:42]OFD Sender: No OFD packet to send [14:55:47]OFD Sender: No OFD packet to send [14:55:52]OFD Sender: No OFD packet to send [14:55:57]OFD Sender: No OFD packet to send [14:56:02]OFD Sender: No OFD packet to send [14:56:07]OFD Sender: No OFD packet to send [14:56:12]OFD Sender: No OFD packet to send [14:56:17]OFD Sender: No OFD packet to send [14:56:22]OFD Sender: No OFD packet to send [14:56:27]OFD Sender: No OFD packet to send [14:56:32]OFD Sender: No OFD packet to send [14:56:37]OFD Sender: No OFD packet to send [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:25]accept exits with 9 [14:57:25]New connection [14:57:25]New thread 3067387236 created [14:57:25]Thread 3067530596 joined [14:57:25]Waiting for new connection... [14:57:25] Sock 9.Parse request [14:57:25]Sock 9.Check first char [14:57:25]Sock 9.First char is OK [14:57:25]request: POST /json_proto HTTP/1.0 [14:57:25]Method: POST [14:57:25]URL: /json_proto [14:57:25]Method is POST - this is cgi request [14:57:25]url: /json_proto [14:57:25]query_string will be loaded in cgi processing [14:57:25]execute_cgi json_proto POST (null) [14:57:25]execute_cgi path=json_proto method=POST [14:57:25]POST find Content-Length [14:57:25]Host: 172.17.38.197:8080 [14:57:25]Content-Length: 732 [14:57:25]Content-Type: application/json [14:57:25] [14:57:25]POST finish read [14:57:25]Found Content-Length = 732 [14:57:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300161", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:57:25]execute_script... [14:57:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300161", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:57:25]POST & json_proto [14:57:25]process_json_proto [14:57:25]json parsed OK: [14:57:25]protocol is kg_v1.0 [14:57:25]action value=close_receipt [14:57:25]process_action close_receipt [14:57:25]cmd_close_receipt [14:57:25]MH_GetDate [14:57:25]Write to MH i2c: F0 00 00 B6 19 BE [14:57:25]Write i2c OK [14:57:25]MH_I2C_Read... [14:57:25]Read from MH i2c: F0 [14:57:25]MH_I2C_Read... [14:57:25]Read from MH i2c: F0 09 00 [14:57:25]MH_I2C_Read... [14:57:25]Read from MH i2c: F0 09 00 B6 19 00 D9 95 92 66 1E 0D 88 66 46 [14:57:25]GetLastDocTimeStamp 1720881798 [14:57:25]current date 1720882649 [14:57:25]FM_GetShiftState [14:57:25]SAM_PROTO_GetShiftState [14:57:25]wFMCommunicate request_size=4 [14:57:25]MH_SAM_APDU [14:57:25]CAPDU: 80 13 01 00 [14:57:25]Write to MH i2c: E2 08 00 B7 19 80 13 01 00 00 00 00 00 4D [14:57:25]Write i2c OK [14:57:25]MH_I2C_Read... [14:57:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:25]Read from MH i2c: E2 [14:57:25]MH_I2C_Read... [14:57:25]Read from MH i2c: E2 0E 00 [14:57:25]MH_I2C_Read... [14:57:25]Read from MH i2c: E2 0E 00 B7 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E4 [14:57:25]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:57:25]wFMCommunicate OK [14:57:25]SAM_PROTO_GetShiftState done [14:57:25]FM_GetShiftState done [14:57:25]opened in 1720829646 [14:57:25]opened+sec_in_day 1720916046 [14:57:25]quantity*price = 13000 [14:57:25]sum+1 = 13001 [14:57:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 78 13.07.2024 14:57 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43033 ФПД: 203082349961554 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T145730&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43033&fm=203082349961554&tin=02508201610067®Number=0000000000091176&sum=13000 0 [14:57:27]StoreToDocumentArchive [14:57:27]shift 445 fd 43033 [14:57:27]save to /storage/0445/doc_00043033 [14:57:27]save last doc name /storage/0445/doc_00043033 to /storage/kkm_last_doc_name [14:57:27]save OK [14:57:27]Clear old archive folders... [14:57:27]ProcessDocumentItem done err = 0, tmpTLVsize=276 [14:57:27]tlvbuf is B6FE5B90 [14:57:27]SAM_PROTO_ClearQueue [14:57:27]wFMCommunicate request_size=4 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 09 00 00 [14:57:27]Write to MH i2c: E2 08 00 C4 19 80 09 00 00 00 00 00 00 4F [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 C4 19 00 90 00 51 [14:57:27]RAPDU: 90 00 [14:57:27]wFMCommunicate OK [14:57:27]SAM_PROTO_ClearQueue done [14:57:27]KKMCreateOFDPacket [14:57:27]OFDProtocolAddRootSTLVToBuf [14:57:27]FM_MakeSignedData [14:57:27]FM_MakeSignedData [14:57:27]SAM_PROTO_SignData [14:57:27]wFMCommunicate request_size=4 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 0D 01 02 [14:57:27]Write to MH i2c: E2 08 00 C5 19 80 0D 01 02 00 00 00 00 57 [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 C5 19 00 90 00 52 [14:57:27]RAPDU: 90 00 [14:57:27]wFMCommunicate OK [14:57:27]wFMCommunicate request_size=255 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 DA 95 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 [14:57:27]Write to MH i2c: E2 02 01 C6 19 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 DA 95 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 00 00 E4 [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 C6 19 00 90 00 53 [14:57:27]RAPDU: 90 00 [14:57:27]wFMCommunicate OK [14:57:27]wFMCommunicate request_size=35 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 19 A8 00 00 35 04 06 00 B8 B3 CB 54 61 52 [14:57:27]Write to MH i2c: E2 26 00 C7 19 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 19 A8 00 00 35 04 06 00 B8 B3 CB 54 61 52 00 00 4F [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 03 00 C7 19 00 90 00 54 [14:57:27]RAPDU: 90 00 [14:57:27]wFMCommunicate OK [14:57:27]wFMCommunicate request_size=4 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 0D 03 02 [14:57:27]Write to MH i2c: E2 08 00 C8 19 80 0D 03 02 00 00 00 00 5C [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 0B 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 0B 00 C8 19 00 3F 48 F7 6E 32 F8 BF 97 90 00 C9 [14:57:27]RAPDU: 3F 48 F7 6E 32 F8 BF 97 90 00 [14:57:27]wFMCommunicate OK [14:57:27]SAM_PROTO_SignData done [14:57:27]FM_MakeSignedData done [14:57:27]CreateOFDProtocolMessage [14:57:27]wFMCommunicate request_size=4 [14:57:27]MH_SAM_APDU [14:57:27]CAPDU: 80 11 00 00 [14:57:27]Write to MH i2c: E2 08 00 C9 19 80 11 00 00 00 00 00 00 5C [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:27]Read from MH i2c: E2 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 17 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: E2 17 00 C9 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B3 [14:57:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:57:27]wFMCommunicate OK [14:57:27]CreateOFDProtocolMessage done [14:57:27]OFDSenderStorePacket 43033 [14:57:27]StoreOFDPacket docnum=43033 [14:57:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 47 F8 20 01 D0 4B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 DA 95 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 19 A8 00 00 35 04 06 00 B8 B3 CB 54 61 52 3F 48 F7 6E 32 F8 BF 97 [14:57:27]CheckFolder [14:57:27]dirname=/storage/ofd_packets [14:57:27]CheckFolder done [14:57:27]ProducePacketName [14:57:27]name=ofd_packets/00043033 [14:57:27]NVStorageSaveData ofd_packets/00043033 [14:57:27]File name is /storage/ofd_packets/00043033 [14:57:27]Write 326 bytes [14:57:27]NVStorageSaveData done [14:57:27]OFDSenderStorePacket done [14:57:27]KKMCreateOFDPacket done [14:57:27]NVStorageSaveData kkm_last_timestamp [14:57:27]File name is /storage/kkm_last_timestamp [14:57:27]Write 4 bytes [14:57:27]NVStorageSaveData done [14:57:27]OFD Sender: Processing packet 43033 [packets to send 31, broken 30] [14:57:27]ProducePacketName [14:57:27]name=ofd_packets/00043033 [14:57:27]OFD Sender: To server: pG, [14:57:27]CommunicateWithHost lk.salyk.kg:30040 [14:57:27]ConnectInit lk.salyk.kg [14:57:27]ExternCall_PrintAddStr [14:57:27]wPrintStart [14:57:27]Write to MH i2c: 01 00 00 CA 19 E3 [14:57:27]Write i2c OK [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: 01 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: 01 07 00 [14:57:27]MH_I2C_Read... [14:57:27]Read from MH i2c: 01 07 00 CA 19 00 00 00 00 00 FF 0F F8 [14:57:27]RasterBufferAndPrint [14:57:27]line Счет N : (3)300161 [14:57:27]line ИНН: 02508201610067 [14:57:27]line Контрольно-Кассовый Чек [14:57:27]line ПРОДАЖА [14:57:27]line Товар: 2000036230011 [14:57:27]line Кофе Латте XL(GABB TRADE) [14:57:27]line 1.000 * 130.00 [14:57:27]line = 130.00 [14:57:27]line НДС 12% НСП 1% [14:57:27]line > о реализуемом товаре [14:57:27]line ИТОГО: 130.00 [14:57:27]line НСП 1% : 1.15 [14:57:27]line НДС 12% : 13.80 [14:57:27]line Наличными: 130.00 [14:57:27]line Безнал.: 0.00 [14:57:27]line Место: АЗС № 71 "Партнер Нефть" [14:57:27]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [14:57:27]line СНО: Общий режим [14:57:27]line Чек 78 13.07.2024 14:57 [14:57:27]line Смена: 445 ФФД: 1.0 [14:57:27]line ЗНМ: 0300000153 [14:57:27]line РНМ: 0000000000091176 [14:57:27]line Версия ККМ: 001 [14:57:27]line ФМ: 0000000000874935 [14:57:27]line ФД: 43033 [14:57:27]line ФПД: 203082349961554 [14:57:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T145730&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43033&fm=203082349961554&tin=02508201610067®Number=0000000000091176&sum=13000 [14:57:27]line 0 [14:57:27]Connected sock=11 [14:57:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 47 F8 20 01 D0 4B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 DA 95 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 19 A8 00 00 35 04 06 00 B8 B3 CB 54 61 52 3F 48 F7 6E 32 F8 BF 97 [14:57:28]written 0, free lines is 4095 [14:57:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 C5 4F 47 00 50 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 19 A8 00 00 F4 03 04 00 D3 41 92 66 B6 04 01 00 00 F5 26 6B E9 85 15 79 2F [14:57:28]CommunicateWithHost err = 0 [14:57:28]CheckOFDResponse [14:57:28]1017 (14) - 77093643461234 [14:57:28]1041 (16) - 0000000000874935 [14:57:28]1040 (4) - 43033 [14:57:28]1012 (4) - 13.07.2024 08:58 [14:57:28]1206 (1) - 0 [14:57:28]OFD Sender: Remove packet 43033 [14:57:28]ProducePacketName [14:57:28]name=ofd_packets/00043033 [14:57:28]NVStorageDeleteData [14:57:28]Write to MH i2c: 01 00 00 F2 19 0B [14:57:28]Write i2c OK [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: 01 [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: 01 07 00 [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: 01 07 00 F2 19 00 00 00 00 00 13 0D 32 [14:57:28]RasterBufferAndPrint [14:57:28]line [14:57:28]line [14:57:28]line [14:57:28]line [14:57:28]line [14:57:28]written 0, free lines is 3354 [14:57:28]MH_Cut [14:57:28]Write to MH i2c: D1 01 00 F9 19 01 E4 [14:57:28]Write i2c OK [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: D1 [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: D1 01 00 [14:57:28]MH_I2C_Read... [14:57:28]Read from MH i2c: D1 01 00 F9 19 00 E3 [14:57:28]Write to MH i2c: 01 00 00 FA 19 13 [14:57:28]Write i2c OK [14:57:28]MH_I2C_Read... [14:57:28]OFD Sender: No OFD packet to send [14:57:29]*** Cut start [14:57:29]*** Partial cut [14:57:29]*** CUTSNS_PIN = 1 [14:57:29]*** CUTSNS_PIN = 0 [14:57:29]*** Brake cut motor [14:57:29]Read from MH i2c: 01 [14:57:29]MH_I2C_Read... [14:57:29]*** Stop cut motor [14:57:29]*** Cut end [14:57:29]Read from MH i2c: 01 07 00 [14:57:29]MH_I2C_Read... [14:57:29]Read from MH i2c: 01 07 00 FA 19 00 00 00 00 00 FF 0F 28 [14:57:29]process_action close_receipt done [14:57:29]requested_data is exist [14:57:29]produce_requested_data [14:57:29]requested_item fm.sn is exist - process it [14:57:29]wFMCommunicate request_size=4 [14:57:29]MH_SAM_APDU [14:57:29]CAPDU: 80 11 00 00 [14:57:29]Write to MH i2c: E2 08 00 FB 19 80 11 00 00 00 00 00 00 8E [14:57:29]Write i2c OK [14:57:29]MH_I2C_Read... [14:57:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:29]Read from MH i2c: E2 [14:57:29]MH_I2C_Read... [14:57:29]Read from MH i2c: E2 17 00 [14:57:29]MH_I2C_Read... [14:57:29]Read from MH i2c: E2 17 00 FB 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E5 [14:57:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [14:57:29]wFMCommunicate OK [14:57:29]requested_item fd.num is exist - process it [14:57:29]SAM_PROTO_GetFieldsCounters [14:57:29]wFMCommunicate request_size=4 [14:57:29]MH_SAM_APDU [14:57:29]CAPDU: 80 13 00 00 [14:57:29]Write to MH i2c: E2 08 00 FC 19 80 13 00 00 00 00 00 00 91 [14:57:29]Write i2c OK [14:57:29]MH_I2C_Read... [14:57:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:29]Read from MH i2c: E2 [14:57:29]MH_I2C_Read... [14:57:29]Read from MH i2c: E2 62 00 [14:57:29]MH_I2C_Read... [14:57:29]Read from MH i2c: E2 62 00 FC 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 19 A8 00 00 0E 04 04 00 BD 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 1E [14:57:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 19 A8 00 00 0E 04 04 00 BD 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 [14:57:29]wFMCommunicate OK [14:57:29]SAM_PROTO_GetFieldsCounters done [14:57:29]requested_item shift.num is exist - process it [14:57:29]requested_item shift.opened is exist - process it [14:57:29]req_shift_opened [14:57:29]FM_GetShiftState [14:57:29]SAM_PROTO_GetShiftState [14:57:29]wFMCommunicate request_size=4 [14:57:29]MH_SAM_APDU [14:57:29]CAPDU: 80 13 01 00 [14:57:29]Write to MH i2c: E2 08 00 FD 19 80 13 01 00 00 00 00 00 93 [14:57:29]Write i2c OK [14:57:29]MH_I2C_Read... [14:57:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:30]Read from MH i2c: E2 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 0E 00 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 0E 00 FD 19 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2A [14:57:30]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [14:57:30]wFMCommunicate OK [14:57:30]SAM_PROTO_GetShiftState done [14:57:30]FM_GetShiftState done [14:57:30]req_shift_opened done [14:57:30]requested_item shift.open_date is exist - process it [14:57:30]req_shift_open_date [14:57:30]req_shift_open_date done [14:57:30]requested_item shift.sale.total is exist - process it [14:57:30]SAM_PROTO_GetShiftData [14:57:30]wFMCommunicate request_size=4 [14:57:30]MH_SAM_APDU [14:57:30]CAPDU: 80 13 02 00 [14:57:30]Write to MH i2c: E2 08 00 FE 19 80 13 02 00 00 00 00 00 95 [14:57:30]Write i2c OK [14:57:30]MH_I2C_Read... [14:57:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:57:30]Read from MH i2c: E2 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 FD 00 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 FD 00 FE 19 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 18 CF 13 70 04 03 00 68 F5 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 1A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 84 [14:57:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 18 CF 13 70 04 03 00 68 F5 10 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 1A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:57:30]wFMCommunicate OK [14:57:30]wFMCommunicate request_size=4 [14:57:30]MH_SAM_APDU [14:57:30]CAPDU: 80 17 00 00 [14:57:30]Write to MH i2c: E2 08 00 FF 19 80 17 00 00 00 00 00 00 98 [14:57:30]Write i2c OK [14:57:30]MH_I2C_Read... [14:57:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:57:30]Read from MH i2c: E2 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 FD 00 [14:57:30]MH_I2C_Read... [14:57:30]Read from MH i2c: E2 FD 00 FF 19 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BA [14:57:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:57:30]wFMCommunicate OK [14:57:30]wFMCommunicate request_size=4 [14:57:30]MH_SAM_APDU [14:57:30]CAPDU: 80 17 00 00 [14:57:30]Write to MH i2c: E2 08 00 00 1A 80 17 00 00 00 00 00 00 9A [14:57:30]Write i2c OK [14:57:30]MH_I2C_Read... [14:57:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:57:31]Read from MH i2c: E2 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 FD 00 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 FD 00 00 1A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [14:57:31]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:57:31]wFMCommunicate OK [14:57:31]wFMCommunicate request_size=4 [14:57:31]MH_SAM_APDU [14:57:31]CAPDU: 80 17 00 00 [14:57:31]Write to MH i2c: E2 08 00 01 1A 80 17 00 00 00 00 00 00 9B [14:57:31]Write i2c OK [14:57:31]MH_I2C_Read... [14:57:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:57:31]Read from MH i2c: E2 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 FD 00 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 FD 00 01 1A 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [14:57:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:57:31]wFMCommunicate OK [14:57:31]wFMCommunicate request_size=4 [14:57:31]MH_SAM_APDU [14:57:31]CAPDU: 80 17 00 00 [14:57:31]Write to MH i2c: E2 08 00 02 1A 80 17 00 00 00 00 00 00 9C [14:57:31]Write i2c OK [14:57:31]MH_I2C_Read... [14:57:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:57:31]Read from MH i2c: E2 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 CB 00 [14:57:31]MH_I2C_Read... [14:57:31]Read from MH i2c: E2 CB 00 02 1A 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [14:57:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:57:31]wFMCommunicate OK [14:57:31]SAM_PROTO_GetShiftData done [14:57:31]requested_item shift.sale.total_cash is exist - process it [14:57:31]requested_item shift.sale_refund.total is exist - process it [14:57:31]requested_item shift.sale_refund.total_cash is exist - process it [14:57:31]produce_requested_data done [14:57:31]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43033,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12982.00,"shift.sale.total_cash":11114.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [14:57:31]process_action_free close_receipt [14:57:31]json_value_free [14:57:31]json_value_free done [14:57:31]process_json_proto returns [14:57:31]Send response to host [14:57:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43033,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":12982.00,"shift.sale.total_cash":11114.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [14:57:31]free response buf [14:57:31]execute_script done [14:57:31]execute_script returns [14:57:31]free content buf [14:57:31]Sock 9.Close socket [14:57:31]Sock 9.Thread stoped [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:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:45]accept exits with 7 [15:03:45]New connection [15:03:45]New thread 3067530596 created [15:03:45]Thread 3067387236 joined [15:03:45]Waiting for new connection... [15:03:45] Sock 7.Parse request [15:03:45]Sock 7.Check first char [15:03:45]Sock 7.First char is OK [15:03:45]request: POST /json_proto HTTP/1.0 [15:03:45]Method: POST [15:03:45]URL: /json_proto [15:03:45]Method is POST - this is cgi request [15:03:45]url: /json_proto [15:03:45]query_string will be loaded in cgi processing [15:03:45]execute_cgi json_proto POST (null) [15:03:45]execute_cgi path=json_proto method=POST [15:03:45]POST find Content-Length [15:03:45]Host: 172.17.38.197:8080 [15:03:45]Content-Length: 1126 [15:03:45]Content-Type: application/json [15:03:45] [15:03:45]POST finish read [15:03:45]Found Content-Length = 1126 [15:03:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300162", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:03:45]execute_script... [15:03:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300162", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:03:45]POST & json_proto [15:03:45]process_json_proto [15:03:45]json parsed OK: [15:03:45]protocol is kg_v1.0 [15:03:45]action value=close_receipt [15:03:45]process_action close_receipt [15:03:45]cmd_close_receipt [15:03:45]MH_GetDate [15:03:45]Write to MH i2c: F0 00 00 03 1A 0C [15:03:45]Write i2c OK [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: F0 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: F0 09 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: F0 09 00 03 1A 00 55 97 92 66 1E 0D 88 66 12 [15:03:45]GetLastDocTimeStamp 1720882650 [15:03:45]current date 1720883029 [15:03:45]FM_GetShiftState [15:03:45]SAM_PROTO_GetShiftState [15:03:45]wFMCommunicate request_size=4 [15:03:45]MH_SAM_APDU [15:03:45]CAPDU: 80 13 01 00 [15:03:45]Write to MH i2c: E2 08 00 04 1A 80 13 01 00 00 00 00 00 9B [15:03:45]Write i2c OK [15:03:45]MH_I2C_Read... [15:03:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:45]Read from MH i2c: E2 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 0E 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 0E 00 04 1A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 32 [15:03:45]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:03:45]wFMCommunicate OK [15:03:45]SAM_PROTO_GetShiftState done [15:03:45]FM_GetShiftState done [15:03:45]opened in 1720829646 [15:03:45]opened+sec_in_day 1720916046 [15:03:45]quantity*price = 11000 [15:03:45]sum+1 = 11001 [15:03:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.95 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 79 13.07.2024 15:03 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43034 ФПД: 74546720507930 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150349&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43034&fm=74546720507930&tin=02508201610067®Number=0000000000091176&sum=23500 0 [15:03:46]StoreToDocumentArchive [15:03:46]shift 445 fd 43034 [15:03:46]save to /storage/0445/doc_00043034 [15:03:46]save last doc name /storage/0445/doc_00043034 to /storage/kkm_last_doc_name [15:03:46]save OK [15:03:46]Clear old archive folders... [15:03:46]ProcessDocumentItem done err = 0, tmpTLVsize=420 [15:03:46]tlvbuf is 01580930 [15:03:46]SAM_PROTO_ClearQueue [15:03:46]wFMCommunicate request_size=4 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 09 00 00 [15:03:46]Write to MH i2c: E2 08 00 11 1A 80 09 00 00 00 00 00 00 9D [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 11 1A 00 90 00 9F [15:03:46]RAPDU: 90 00 [15:03:46]wFMCommunicate OK [15:03:46]SAM_PROTO_ClearQueue done [15:03:46]KKMCreateOFDPacket [15:03:46]OFDProtocolAddRootSTLVToBuf [15:03:46]FM_MakeSignedData [15:03:46]FM_MakeSignedData [15:03:46]SAM_PROTO_SignData [15:03:46]wFMCommunicate request_size=4 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 0D 01 02 [15:03:46]Write to MH i2c: E2 08 00 12 1A 80 0D 01 02 00 00 00 00 A5 [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 12 1A 00 90 00 A0 [15:03:46]RAPDU: 90 00 [15:03:46]wFMCommunicate OK [15:03:46]wFMCommunicate request_size=255 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 [15:03:46]Write to MH i2c: E2 02 01 13 1A 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 00 00 EB [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 13 1A 00 90 00 A1 [15:03:46]RAPDU: 90 00 [15:03:46]wFMCommunicate OK [15:03:46]wFMCommunicate request_size=179 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 55 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1A A8 00 00 35 04 06 00 43 CC C2 CB 88 1A [15:03:46]Write to MH i2c: E2 B6 00 14 1A 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 55 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1A A8 00 00 35 04 06 00 43 CC C2 CB 88 1A 00 00 E7 [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 03 00 14 1A 00 90 00 A2 [15:03:46]RAPDU: 90 00 [15:03:46]wFMCommunicate OK [15:03:46]wFMCommunicate request_size=4 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 0D 03 02 [15:03:46]Write to MH i2c: E2 08 00 15 1A 80 0D 03 02 00 00 00 00 AA [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 0B 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 0B 00 15 1A 00 3A F1 A0 63 B0 B7 87 51 90 00 18 [15:03:46]RAPDU: 3A F1 A0 63 B0 B7 87 51 90 00 [15:03:46]wFMCommunicate OK [15:03:46]SAM_PROTO_SignData done [15:03:46]FM_MakeSignedData done [15:03:46]CreateOFDProtocolMessage [15:03:46]wFMCommunicate request_size=4 [15:03:46]MH_SAM_APDU [15:03:46]CAPDU: 80 11 00 00 [15:03:46]Write to MH i2c: E2 08 00 16 1A 80 11 00 00 00 00 00 00 AA [15:03:46]Write i2c OK [15:03:46]MH_I2C_Read... [15:03:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:46]Read from MH i2c: E2 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 17 00 [15:03:46]MH_I2C_Read... [15:03:46]Read from MH i2c: E2 17 00 16 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 01 [15:03:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:03:46]wFMCommunicate OK [15:03:46]CreateOFDProtocolMessage done [15:03:46]OFDSenderStorePacket 43034 [15:03:46]StoreOFDPacket docnum=43034 [15:03:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 DE 89 B0 01 97 93 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 55 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1A A8 00 00 35 04 06 00 43 CC C2 CB 88 1A 3A F1 A0 63 B0 B7 87 51 [15:03:46]CheckFolder [15:03:46]dirname=/storage/ofd_packets [15:03:46]CheckFolder done [15:03:46]ProducePacketName [15:03:46]name=ofd_packets/00043034 [15:03:46]NVStorageSaveData ofd_packets/00043034 [15:03:47]File name is /storage/ofd_packets/00043034 [15:03:47]Write 470 bytes [15:03:47]NVStorageSaveData done [15:03:47]OFDSenderStorePacket done [15:03:47]KKMCreateOFDPacket done [15:03:47]NVStorageSaveData kkm_last_timestamp [15:03:47]File name is /storage/kkm_last_timestamp [15:03:47]Write 4 bytes [15:03:47]NVStorageSaveData done [15:03:47]ExternCall_PrintAddStr [15:03:47]wPrintStart [15:03:47]Write to MH i2c: 01 00 00 17 1A 31 [15:03:47]Write i2c OK [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 07 00 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 07 00 17 1A 00 00 00 00 00 FF 0F 46 [15:03:47]RasterBufferAndPrint [15:03:47]line Счет N : (3)300162 [15:03:47]line ИНН: 02508201610067 [15:03:47]line Контрольно-Кассовый Чек [15:03:47]line ПРОДАЖА [15:03:47]line Товар: 4870202521254 [15:03:47]line Чай холодный MAXI черный со вкусом клубн [15:03:47]line 1.000 * 110.00 [15:03:47]line = 110.00 [15:03:47]line НДС 12% НСП 1% [15:03:47]line > о реализуемом товаре [15:03:47]line Товар: 5449000054227 [15:03:47]line Напиток Кока-Кола 1л [15:03:47]line 1.000 * 125.00 [15:03:47]line = 125.00 [15:03:47]line НДС 12% НСП 1% [15:03:47]line > о реализуемом товаре [15:03:47]line ИТОГО: 235.00 [15:03:47]line НСП 1% : 2.08 [15:03:47]line НДС 12% : 24.95 [15:03:47]line Наличными: 235.00 [15:03:47]line Безнал.: 0.00 [15:03:47]line Место: АЗС № 71 "Партнер Нефть" [15:03:47]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [15:03:47]line СНО: Общий режим [15:03:47]line Чек 79 13.07.2024 15:03 [15:03:47]line Смена: 445 ФФД: 1.0 [15:03:47]line ЗНМ: 0300000153 [15:03:47]line РНМ: 0000000000091176 [15:03:47]line Версия ККМ: 001 [15:03:47]line ФМ: 0000000000874935 [15:03:47]line ФД: 43034 [15:03:47]line ФПД: 74546720507930 [15:03:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150349&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43034&fm=74546720507930&tin=02508201610067®Number=0000000000091176&sum=23500 [15:03:47]line 0 [15:03:47]written 0, free lines is 4095 [15:03:47]OFD Sender: Processing packet 43034 [packets to send 31, broken 30] [15:03:47]ProducePacketName [15:03:47]name=ofd_packets/00043034 [15:03:47]OFD Sender: To server: pG, [15:03:47]CommunicateWithHost lk.salyk.kg:30040 [15:03:47]ConnectInit lk.salyk.kg [15:03:47]Connected sock=10 [15:03:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 DE 89 B0 01 97 93 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 55 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1A A8 00 00 35 04 06 00 43 CC C2 CB 88 1A 3A F1 A0 63 B0 B7 87 51 [15:03:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A5 62 47 00 AB F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1A A8 00 00 F4 03 04 00 4F 43 92 66 B6 04 01 00 00 BB F3 77 3E 57 3A 4D 06 [15:03:47]CommunicateWithHost err = 0 [15:03:47]CheckOFDResponse [15:03:47]1017 (14) - 77093643461234 [15:03:47]1041 (16) - 0000000000874935 [15:03:47]1040 (4) - 43034 [15:03:47]1012 (4) - 13.07.2024 09:05 [15:03:47]1206 (1) - 0 [15:03:47]OFD Sender: Remove packet 43034 [15:03:47]ProducePacketName [15:03:47]name=ofd_packets/00043034 [15:03:47]NVStorageDeleteData [15:03:47]Write to MH i2c: 01 00 00 46 1A 60 [15:03:47]Write i2c OK [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 07 00 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: 01 07 00 46 1A 00 00 00 00 00 AB 0C 1E [15:03:47]RasterBufferAndPrint [15:03:47]line [15:03:47]line [15:03:47]line [15:03:47]line [15:03:47]line [15:03:47]written 0, free lines is 3248 [15:03:47]MH_Cut [15:03:47]Write to MH i2c: D1 01 00 4D 1A 01 39 [15:03:47]Write i2c OK [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: D1 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: D1 01 00 [15:03:47]MH_I2C_Read... [15:03:47]Read from MH i2c: D1 01 00 4D 1A 00 38 [15:03:47]Write to MH i2c: 01 00 00 4E 1A 68 [15:03:47]Write i2c OK [15:03:47]MH_I2C_Read... [15:03:48]OFD Sender: No OFD packet to send [15:03:48]*** Cut start [15:03:48]*** Partial cut [15:03:48]*** CUTSNS_PIN = 1 [15:03:48]*** CUTSNS_PIN = 0 [15:03:48]*** Brake cut motor [15:03:49]Read from MH i2c: 01 [15:03:49]MH_I2C_Read... [15:03:49]*** Stop cut motor [15:03:49]*** Cut end [15:03:49]Read from MH i2c: 01 07 00 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: 01 07 00 4E 1A 00 00 00 00 00 FF 0F 7D [15:03:49]process_action close_receipt done [15:03:49]requested_data is exist [15:03:49]produce_requested_data [15:03:49]requested_item fm.sn is exist - process it [15:03:49]wFMCommunicate request_size=4 [15:03:49]MH_SAM_APDU [15:03:49]CAPDU: 80 11 00 00 [15:03:49]Write to MH i2c: E2 08 00 4F 1A 80 11 00 00 00 00 00 00 E3 [15:03:49]Write i2c OK [15:03:49]MH_I2C_Read... [15:03:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:49]Read from MH i2c: E2 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 17 00 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 17 00 4F 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3A [15:03:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:03:49]wFMCommunicate OK [15:03:49]requested_item fd.num is exist - process it [15:03:49]SAM_PROTO_GetFieldsCounters [15:03:49]wFMCommunicate request_size=4 [15:03:49]MH_SAM_APDU [15:03:49]CAPDU: 80 13 00 00 [15:03:49]Write to MH i2c: E2 08 00 50 1A 80 13 00 00 00 00 00 00 E6 [15:03:49]Write i2c OK [15:03:49]MH_I2C_Read... [15:03:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:03:49]Read from MH i2c: E2 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 62 00 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 62 00 50 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1A A8 00 00 0E 04 04 00 BD 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 77 [15:03:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1A A8 00 00 0E 04 04 00 BD 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 [15:03:49]wFMCommunicate OK [15:03:49]SAM_PROTO_GetFieldsCounters done [15:03:49]requested_item shift.num is exist - process it [15:03:49]requested_item shift.opened is exist - process it [15:03:49]req_shift_opened [15:03:49]FM_GetShiftState [15:03:49]SAM_PROTO_GetShiftState [15:03:49]wFMCommunicate request_size=4 [15:03:49]MH_SAM_APDU [15:03:49]CAPDU: 80 13 01 00 [15:03:49]Write to MH i2c: E2 08 00 51 1A 80 13 01 00 00 00 00 00 E8 [15:03:49]Write i2c OK [15:03:49]MH_I2C_Read... [15:03:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:49]Read from MH i2c: E2 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 0E 00 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 0E 00 51 1A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 7F [15:03:49]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:03:49]wFMCommunicate OK [15:03:49]SAM_PROTO_GetShiftState done [15:03:49]FM_GetShiftState done [15:03:49]req_shift_opened done [15:03:49]requested_item shift.open_date is exist - process it [15:03:49]req_shift_open_date [15:03:49]req_shift_open_date done [15:03:49]requested_item shift.sale.total is exist - process it [15:03:49]SAM_PROTO_GetShiftData [15:03:49]wFMCommunicate request_size=4 [15:03:49]MH_SAM_APDU [15:03:49]CAPDU: 80 13 02 00 [15:03:49]Write to MH i2c: E2 08 00 52 1A 80 13 02 00 00 00 00 00 EA [15:03:49]Write i2c OK [15:03:49]MH_I2C_Read... [15:03:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:03:49]Read from MH i2c: E2 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 FD 00 [15:03:49]MH_I2C_Read... [15:03:49]Read from MH i2c: E2 FD 00 52 1A 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 E4 2A 14 70 04 03 00 34 51 11 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3F 24 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C6 [15:03:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 E4 2A 14 70 04 03 00 34 51 11 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3F 24 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:03:50]wFMCommunicate OK [15:03:50]wFMCommunicate request_size=4 [15:03:50]MH_SAM_APDU [15:03:50]CAPDU: 80 17 00 00 [15:03:50]Write to MH i2c: E2 08 00 53 1A 80 17 00 00 00 00 00 00 ED [15:03:50]Write i2c OK [15:03:50]MH_I2C_Read... [15:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:03:50]Read from MH i2c: E2 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 53 1A 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 0F [15:03:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:03:50]wFMCommunicate OK [15:03:50]wFMCommunicate request_size=4 [15:03:50]MH_SAM_APDU [15:03:50]CAPDU: 80 17 00 00 [15:03:50]Write to MH i2c: E2 08 00 54 1A 80 17 00 00 00 00 00 00 EE [15:03:50]Write i2c OK [15:03:50]MH_I2C_Read... [15:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:03:50]Read from MH i2c: E2 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 54 1A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 A5 [15:03:50]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:03:50]wFMCommunicate OK [15:03:50]wFMCommunicate request_size=4 [15:03:50]MH_SAM_APDU [15:03:50]CAPDU: 80 17 00 00 [15:03:50]Write to MH i2c: E2 08 00 55 1A 80 17 00 00 00 00 00 00 EF [15:03:50]Write i2c OK [15:03:50]MH_I2C_Read... [15:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:03:50]Read from MH i2c: E2 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 [15:03:50]MH_I2C_Read... [15:03:50]Read from MH i2c: E2 FD 00 55 1A 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 61 [15:03:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:03:50]wFMCommunicate OK [15:03:50]wFMCommunicate request_size=4 [15:03:50]MH_SAM_APDU [15:03:50]CAPDU: 80 17 00 00 [15:03:50]Write to MH i2c: E2 08 00 56 1A 80 17 00 00 00 00 00 00 F0 [15:03:50]Write i2c OK [15:03:50]MH_I2C_Read... [15:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:03:51]Read from MH i2c: E2 [15:03:51]MH_I2C_Read... [15:03:51]Read from MH i2c: E2 CB 00 [15:03:51]MH_I2C_Read... [15:03:51]Read from MH i2c: E2 CB 00 56 1A 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D9 [15:03:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:03:51]wFMCommunicate OK [15:03:51]SAM_PROTO_GetShiftData done [15:03:51]requested_item shift.sale.total_cash is exist - process it [15:03:51]requested_item shift.sale_refund.total is exist - process it [15:03:51]requested_item shift.sale_refund.total_cash is exist - process it [15:03:51]produce_requested_data done [15:03:51]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43034,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13217.00,"shift.sale.total_cash":11349.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [15:03:51]process_action_free close_receipt [15:03:51]json_value_free [15:03:51]json_value_free done [15:03:51]process_json_proto returns [15:03:51]Send response to host [15:03:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43034,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13217.00,"shift.sale.total_cash":11349.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [15:03:51]free response buf [15:03:51]execute_script done [15:03:51]execute_script returns [15:03:51]free content buf [15:03:51]Sock 7.Close socket [15:03:51]Sock 7.Thread stoped [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:23]accept exits with 9 [15:04:23]New connection [15:04:23]New thread 3067387236 created [15:04:23]Thread 3067530596 joined [15:04:23]Waiting for new connection... [15:04:23] Sock 9.Parse request [15:04:23]Sock 9.Check first char [15:04:23]Sock 9.First char is OK [15:04:23]request: POST /json_proto HTTP/1.0 [15:04:23]Method: POST [15:04:23]URL: /json_proto [15:04:23]Method is POST - this is cgi request [15:04:23]url: /json_proto [15:04:23]query_string will be loaded in cgi processing [15:04:23]execute_cgi json_proto POST (null) [15:04:23]execute_cgi path=json_proto method=POST [15:04:23]POST find Content-Length [15:04:23]Host: 172.17.38.197:8080 [15:04:23]Content-Length: 821 [15:04:23]Content-Type: application/json [15:04:23] [15:04:23]POST finish read [15:04:23]Found Content-Length = 821 [15:04:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300163", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:04:23]execute_script... [15:04:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300163", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:04:23]POST & json_proto [15:04:23]process_json_proto [15:04:23]json parsed OK: [15:04:23]protocol is kg_v1.0 [15:04:23]action value=close_receipt [15:04:23]process_action close_receipt [15:04:23]cmd_close_receipt [15:04:23]MH_GetDate [15:04:23]Write to MH i2c: F0 00 00 57 1A 60 [15:04:23]Write i2c OK [15:04:23]MH_I2C_Read... [15:04:23]Read from MH i2c: F0 [15:04:23]MH_I2C_Read... [15:04:23]Read from MH i2c: F0 09 00 [15:04:23]MH_I2C_Read... [15:04:23]Read from MH i2c: F0 09 00 57 1A 00 7C 97 92 66 1E 0D 88 66 8D [15:04:23]GetLastDocTimeStamp 1720883029 [15:04:23]current date 1720883068 [15:04:23]FM_GetShiftState [15:04:23]SAM_PROTO_GetShiftState [15:04:23]wFMCommunicate request_size=4 [15:04:23]MH_SAM_APDU [15:04:23]CAPDU: 80 13 01 00 [15:04:23]Write to MH i2c: E2 08 00 58 1A 80 13 01 00 00 00 00 00 EF [15:04:23]Write i2c OK [15:04:23]MH_I2C_Read... [15:04:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:24]Read from MH i2c: E2 [15:04:24]MH_I2C_Read... [15:04:24]Read from MH i2c: E2 0E 00 [15:04:24]MH_I2C_Read... [15:04:24]Read from MH i2c: E2 0E 00 58 1A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 86 [15:04:24]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:04:24]wFMCommunicate OK [15:04:24]SAM_PROTO_GetShiftState done [15:04:24]FM_GetShiftState done [15:04:24]opened in 1720829646 [15:04:24]opened+sec_in_day 1720916046 [15:04:24]quantity*price = 19000 [15:04:24]sum+1 = 19001 [15:04:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 80 13.07.2024 15:04 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43035 ФПД: 192322899434301 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150428&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43035&fm=192322899434301&tin=02508201610067®Number=0000000000091176&sum=19000 0 [15:04:25]StoreToDocumentArchive [15:04:25]shift 445 fd 43035 [15:04:25]save to /storage/0445/doc_00043035 [15:04:25]save last doc name /storage/0445/doc_00043035 to /storage/kkm_last_doc_name [15:04:25]save OK [15:04:25]Clear old archive folders... [15:04:25]ProcessDocumentItem done err = 0, tmpTLVsize=306 [15:04:25]tlvbuf is B6FE5A50 [15:04:25]SAM_PROTO_ClearQueue [15:04:25]wFMCommunicate request_size=4 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 09 00 00 [15:04:25]Write to MH i2c: E2 08 00 65 1A 80 09 00 00 00 00 00 00 F1 [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 65 1A 00 90 00 F3 [15:04:25]RAPDU: 90 00 [15:04:25]wFMCommunicate OK [15:04:25]SAM_PROTO_ClearQueue done [15:04:25]KKMCreateOFDPacket [15:04:25]OFDProtocolAddRootSTLVToBuf [15:04:25]FM_MakeSignedData [15:04:25]FM_MakeSignedData [15:04:25]SAM_PROTO_SignData [15:04:25]wFMCommunicate request_size=4 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 0D 01 02 [15:04:25]Write to MH i2c: E2 08 00 66 1A 80 0D 01 02 00 00 00 00 F9 [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 66 1A 00 90 00 F4 [15:04:25]RAPDU: 90 00 [15:04:25]wFMCommunicate OK [15:04:25]wFMCommunicate request_size=255 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 7C 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 [15:04:25]Write to MH i2c: E2 02 01 67 1A 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 7C 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 00 B6 [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 67 1A 00 90 00 F5 [15:04:25]RAPDU: 90 00 [15:04:25]wFMCommunicate OK [15:04:25]wFMCommunicate request_size=65 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1B A8 00 00 35 04 06 00 AE EA AA 1A 5B 3D [15:04:25]Write to MH i2c: E2 44 00 68 1A 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1B A8 00 00 35 04 06 00 AE EA AA 1A 5B 3D 00 00 05 [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 03 00 68 1A 00 90 00 F6 [15:04:25]RAPDU: 90 00 [15:04:25]wFMCommunicate OK [15:04:25]wFMCommunicate request_size=4 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 0D 03 02 [15:04:25]Write to MH i2c: E2 08 00 69 1A 80 0D 03 02 00 00 00 00 FE [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 0B 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 0B 00 69 1A 00 8D C2 4A EC B5 82 FF 13 90 00 CD [15:04:25]RAPDU: 8D C2 4A EC B5 82 FF 13 90 00 [15:04:25]wFMCommunicate OK [15:04:25]SAM_PROTO_SignData done [15:04:25]FM_MakeSignedData done [15:04:25]CreateOFDProtocolMessage [15:04:25]wFMCommunicate request_size=4 [15:04:25]MH_SAM_APDU [15:04:25]CAPDU: 80 11 00 00 [15:04:25]Write to MH i2c: E2 08 00 6A 1A 80 11 00 00 00 00 00 00 FE [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:25]Read from MH i2c: E2 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 17 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: E2 17 00 6A 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 55 [15:04:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:04:25]wFMCommunicate OK [15:04:25]CreateOFDProtocolMessage done [15:04:25]OFDSenderStorePacket 43035 [15:04:25]StoreOFDPacket docnum=43035 [15:04:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 46 01 00 00 22 4B 3E 01 E1 4D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 7C 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1B A8 00 00 35 04 06 00 AE EA AA 1A 5B 3D 8D C2 4A EC B5 82 FF 13 [15:04:25]CheckFolder [15:04:25]dirname=/storage/ofd_packets [15:04:25]CheckFolder done [15:04:25]ProducePacketName [15:04:25]name=ofd_packets/00043035 [15:04:25]NVStorageSaveData ofd_packets/00043035 [15:04:25]File name is /storage/ofd_packets/00043035 [15:04:25]Write 356 bytes [15:04:25]NVStorageSaveData done [15:04:25]OFDSenderStorePacket done [15:04:25]KKMCreateOFDPacket done [15:04:25]NVStorageSaveData kkm_last_timestamp [15:04:25]File name is /storage/kkm_last_timestamp [15:04:25]Write 4 bytes [15:04:25]NVStorageSaveData done [15:04:25]ExternCall_PrintAddStr [15:04:25]wPrintStart [15:04:25]Write to MH i2c: 01 00 00 6B 1A 85 [15:04:25]Write i2c OK [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: 01 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: 01 07 00 [15:04:25]MH_I2C_Read... [15:04:25]Read from MH i2c: 01 07 00 6B 1A 00 00 00 00 00 FF 0F 9A [15:04:25]RasterBufferAndPrint [15:04:25]line Счет N : (3)300163 [15:04:25]line ИНН: 02508201610067 [15:04:25]line Контрольно-Кассовый Чек [15:04:25]line ПРОДАЖА [15:04:25]line Товар: 4700000481965 [15:04:25]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [15:04:25]line 2.000 * 95.00 [15:04:25]line = 190.00 [15:04:25]line НДС 12% НСП 1% [15:04:25]line > о реализуемом товаре [15:04:25]line ИТОГО: 190.00 [15:04:25]line НСП 1% : 1.68 [15:04:25]line НДС 12% : 20.18 [15:04:25]line Наличными: 190.00 [15:04:25]line Безнал.: 0.00 [15:04:25]line Место: АЗС № 71 "Партнер Нефть" [15:04:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [15:04:25]line СНО: Общий режим [15:04:25]line Чек 80 13.07.2024 15:04 [15:04:25]line Смена: 445 ФФД: 1.0 [15:04:25]line ЗНМ: 0300000153 [15:04:25]line РНМ: 0000000000091176 [15:04:25]line Версия ККМ: 001 [15:04:25]line ФМ: 0000000000874935 [15:04:25]line ФД: 43035 [15:04:25]line ФПД: 192322899434301 [15:04:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150428&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43035&fm=192322899434301&tin=02508201610067®Number=0000000000091176&sum=19000 [15:04:26]line 0 [15:04:26]OFD Sender: Processing packet 43035 [packets to send 31, broken 30] [15:04:26]ProducePacketName [15:04:26]name=ofd_packets/00043035 [15:04:26]OFD Sender: To server: pG, [15:04:26]CommunicateWithHost lk.salyk.kg:30040 [15:04:26]ConnectInit lk.salyk.kg [15:04:26]written 0, free lines is 4095 [15:04:26]Connected sock=10 [15:04:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 46 01 00 00 22 4B 3E 01 E1 4D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 7C 97 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1B A8 00 00 35 04 06 00 AE EA AA 1A 5B 3D 8D C2 4A EC B5 82 FF 13 [15:04:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 2D D0 47 00 77 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 38 37 34 39 33 35 10 04 04 00 1B A8 00 00 F4 03 04 00 76 43 92 66 B6 04 01 00 00 12 B6 09 4E C1 F6 B0 44 [15:04:26]CommunicateWithHost err = 0 [15:04:26]CheckOFDResponse [15:04:26]1017 (14) - 77093643461234 [15:04:26]1041 (16) - 0000000000874935 [15:04:26]1040 (4) - 43035 [15:04:26]1012 (4) - 13.07.2024 09:05 [15:04:26]1206 (1) - 0 [15:04:26]OFD Sender: Remove packet 43035 [15:04:26]ProducePacketName [15:04:26]name=ofd_packets/00043035 [15:04:26]NVStorageDeleteData [15:04:26]Write to MH i2c: 01 00 00 94 1A AE [15:04:26]Write i2c OK [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: 01 [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: 01 07 00 [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: 01 07 00 94 1A 00 00 00 00 00 FC 0C BD [15:04:26]RasterBufferAndPrint [15:04:26]line [15:04:26]line [15:04:26]line [15:04:26]line [15:04:26]line [15:04:26]written 0, free lines is 3333 [15:04:26]MH_Cut [15:04:26]Write to MH i2c: D1 01 00 9B 1A 01 87 [15:04:26]Write i2c OK [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: D1 [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: D1 01 00 [15:04:26]MH_I2C_Read... [15:04:26]Read from MH i2c: D1 01 00 9B 1A 00 86 [15:04:26]Write to MH i2c: 01 00 00 9C 1A B6 [15:04:26]Write i2c OK [15:04:26]MH_I2C_Read... [15:04:26]OFD Sender: No OFD packet to send [15:04:27]*** Cut start [15:04:27]*** Partial cut [15:04:27]*** CUTSNS_PIN = 1 [15:04:27]*** CUTSNS_PIN = 0 [15:04:27]*** Brake cut motor [15:04:27]Read from MH i2c: 01 [15:04:27]MH_I2C_Read... [15:04:27]*** Stop cut motor [15:04:27]*** Cut end [15:04:27]Read from MH i2c: 01 07 00 [15:04:27]MH_I2C_Read... [15:04:27]Read from MH i2c: 01 07 00 9C 1A 00 00 00 00 00 FF 0F CB [15:04:27]process_action close_receipt done [15:04:27]requested_data is exist [15:04:27]produce_requested_data [15:04:27]requested_item fm.sn is exist - process it [15:04:27]wFMCommunicate request_size=4 [15:04:27]MH_SAM_APDU [15:04:27]CAPDU: 80 11 00 00 [15:04:27]Write to MH i2c: E2 08 00 9D 1A 80 11 00 00 00 00 00 00 31 [15:04:27]Write i2c OK [15:04:27]MH_I2C_Read... [15:04:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:27]Read from MH i2c: E2 [15:04:27]MH_I2C_Read... [15:04:27]Read from MH i2c: E2 17 00 [15:04:27]MH_I2C_Read... [15:04:27]Read from MH i2c: E2 17 00 9D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 88 [15:04:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:04:27]wFMCommunicate OK [15:04:27]requested_item fd.num is exist - process it [15:04:27]SAM_PROTO_GetFieldsCounters [15:04:27]wFMCommunicate request_size=4 [15:04:27]MH_SAM_APDU [15:04:27]CAPDU: 80 13 00 00 [15:04:27]Write to MH i2c: E2 08 00 9E 1A 80 13 00 00 00 00 00 00 34 [15:04:27]Write i2c OK [15:04:27]MH_I2C_Read... [15:04:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:04:28]Read from MH i2c: E2 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 62 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 62 00 9E 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1B A8 00 00 0E 04 04 00 BD 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 C9 [15:04:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1B A8 00 00 0E 04 04 00 BD 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 [15:04:28]wFMCommunicate OK [15:04:28]SAM_PROTO_GetFieldsCounters done [15:04:28]requested_item shift.num is exist - process it [15:04:28]requested_item shift.opened is exist - process it [15:04:28]req_shift_opened [15:04:28]FM_GetShiftState [15:04:28]SAM_PROTO_GetShiftState [15:04:28]wFMCommunicate request_size=4 [15:04:28]MH_SAM_APDU [15:04:28]CAPDU: 80 13 01 00 [15:04:28]Write to MH i2c: E2 08 00 9F 1A 80 13 01 00 00 00 00 00 36 [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:28]Read from MH i2c: E2 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 0E 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 0E 00 9F 1A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 CD [15:04:28]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:04:28]wFMCommunicate OK [15:04:28]SAM_PROTO_GetShiftState done [15:04:28]FM_GetShiftState done [15:04:28]req_shift_opened done [15:04:28]requested_item shift.open_date is exist - process it [15:04:28]req_shift_open_date [15:04:28]req_shift_open_date done [15:04:28]requested_item shift.sale.total is exist - process it [15:04:28]SAM_PROTO_GetShiftData [15:04:28]wFMCommunicate request_size=4 [15:04:28]MH_SAM_APDU [15:04:28]CAPDU: 80 13 02 00 [15:04:28]Write to MH i2c: E2 08 00 A0 1A 80 13 02 00 00 00 00 00 38 [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:04:28]Read from MH i2c: E2 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 FD 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 FD 00 A0 1A 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 1C 75 14 70 04 03 00 6C 9B 11 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 21 2C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AE [15:04:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 1C 75 14 70 04 03 00 6C 9B 11 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 21 2C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:04:28]wFMCommunicate OK [15:04:28]wFMCommunicate request_size=4 [15:04:28]MH_SAM_APDU [15:04:28]CAPDU: 80 17 00 00 [15:04:28]Write to MH i2c: E2 08 00 A1 1A 80 17 00 00 00 00 00 00 3B [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:04:28]Read from MH i2c: E2 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 FD 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 FD 00 A1 1A 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 5D [15:04:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:04:28]wFMCommunicate OK [15:04:28]wFMCommunicate request_size=4 [15:04:28]MH_SAM_APDU [15:04:28]CAPDU: 80 17 00 00 [15:04:28]Write to MH i2c: E2 08 00 A2 1A 80 17 00 00 00 00 00 00 3C [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 FD 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 FD 00 A2 1A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 F3 [15:04:29]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:04:29]wFMCommunicate OK [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 17 00 00 [15:04:29]Write to MH i2c: E2 08 00 A3 1A 80 17 00 00 00 00 00 00 3D [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 FD 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 FD 00 A3 1A 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 AF [15:04:29]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:04:29]wFMCommunicate OK [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 17 00 00 [15:04:29]Write to MH i2c: E2 08 00 A4 1A 80 17 00 00 00 00 00 00 3E [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 CB 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 CB 00 A4 1A 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 27 [15:04:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:04:29]wFMCommunicate OK [15:04:29]SAM_PROTO_GetShiftData done [15:04:29]requested_item shift.sale.total_cash is exist - process it [15:04:29]requested_item shift.sale_refund.total is exist - process it [15:04:29]requested_item shift.sale_refund.total_cash is exist - process it [15:04:29]produce_requested_data done [15:04:29]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43035,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13407.00,"shift.sale.total_cash":11539.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [15:04:29]process_action_free close_receipt [15:04:29]json_value_free [15:04:29]json_value_free done [15:04:29]process_json_proto returns [15:04:29]Send response to host [15:04:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43035,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13407.00,"shift.sale.total_cash":11539.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [15:04:29]free response buf [15:04:29]execute_script done [15:04:29]execute_script returns [15:04:29]free content buf [15:04:29]Sock 9.Close socket [15:04:29]Sock 9.Thread stoped [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:39]accept exits with 7 [15:09:39]New connection [15:09:39]New thread 3067530596 created [15:09:39]Thread 3067387236 joined [15:09:39]Waiting for new connection... [15:09:39] Sock 7.Parse request [15:09:39]Sock 7.Check first char [15:09:39]Sock 7.First char is OK [15:09:39]request: POST /json_proto HTTP/1.0 [15:09:39]Method: POST [15:09:39]URL: /json_proto [15:09:39]Method is POST - this is cgi request [15:09:39]url: /json_proto [15:09:39]query_string will be loaded in cgi processing [15:09:39]execute_cgi json_proto POST (null) [15:09:39]execute_cgi path=json_proto method=POST [15:09:39]POST find Content-Length [15:09:39]Host: 172.17.38.197:8080 [15:09:39]Content-Length: 1454 [15:09:39]Content-Type: application/json [15:09:39] [15:09:39]POST finish read [15:09:39]Found Content-Length = 1454 [15:09:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300164", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 418.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:09:39]execute_script... [15:09:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300164", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 418.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:09:39]POST & json_proto [15:09:39]process_json_proto [15:09:39]json parsed OK: [15:09:39]protocol is kg_v1.0 [15:09:39]action value=close_receipt [15:09:39]process_action close_receipt [15:09:39]cmd_close_receipt [15:09:39]MH_GetDate [15:09:39]Write to MH i2c: F0 00 00 A5 1A AE [15:09:39]Write i2c OK [15:09:39]MH_I2C_Read... [15:09:39]Read from MH i2c: F0 [15:09:39]MH_I2C_Read... [15:09:39]Read from MH i2c: F0 09 00 [15:09:39]MH_I2C_Read... [15:09:39]Read from MH i2c: F0 09 00 A5 1A 00 B7 98 92 66 1E 0D 88 66 17 [15:09:39]GetLastDocTimeStamp 1720883068 [15:09:39]current date 1720883383 [15:09:39]FM_GetShiftState [15:09:39]SAM_PROTO_GetShiftState [15:09:39]wFMCommunicate request_size=4 [15:09:39]MH_SAM_APDU [15:09:39]CAPDU: 80 13 01 00 [15:09:39]Write to MH i2c: E2 08 00 A6 1A 80 13 01 00 00 00 00 00 3D [15:09:39]Write i2c OK [15:09:39]MH_I2C_Read... [15:09:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:40]Read from MH i2c: E2 [15:09:40]MH_I2C_Read... [15:09:40]Read from MH i2c: E2 0E 00 [15:09:40]MH_I2C_Read... [15:09:40]Read from MH i2c: E2 0E 00 A6 1A 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D4 [15:09:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:09:40]wFMCommunicate OK [15:09:40]SAM_PROTO_GetShiftState done [15:09:40]FM_GetShiftState done [15:09:40]opened in 1720829646 [15:09:40]opened+sec_in_day 1720916046 [15:09:40]quantity*price = 14300 [15:09:40]sum+1 = 14301 [15:09:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 418.00 НСП 1% : 3.69 НДС 12% : 44.39 Наличными: 418.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 81 13.07.2024 15:09 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43036 ФПД: 172897197031700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150944&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43036&fm=172897197031700&tin=02508201610067®Number=0000000000091176&sum=41800 0 [15:09:41]StoreToDocumentArchive [15:09:41]shift 445 fd 43036 [15:09:41]save to /storage/0445/doc_00043036 [15:09:41]save last doc name /storage/0445/doc_00043036 to /storage/kkm_last_doc_name [15:09:41]save OK [15:09:41]Clear old archive folders... [15:09:41]ProcessDocumentItem done err = 0, tmpTLVsize=580 [15:09:41]tlvbuf is 015733B0 [15:09:41]SAM_PROTO_ClearQueue [15:09:41]wFMCommunicate request_size=4 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 09 00 00 [15:09:41]Write to MH i2c: E2 08 00 B3 1A 80 09 00 00 00 00 00 00 3F [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 B3 1A 00 90 00 41 [15:09:41]RAPDU: 90 00 [15:09:41]wFMCommunicate OK [15:09:41]SAM_PROTO_ClearQueue done [15:09:41]KKMCreateOFDPacket [15:09:41]OFDProtocolAddRootSTLVToBuf [15:09:41]FM_MakeSignedData [15:09:41]FM_MakeSignedData [15:09:41]SAM_PROTO_SignData [15:09:41]wFMCommunicate request_size=4 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 0D 01 02 [15:09:41]Write to MH i2c: E2 08 00 B4 1A 80 0D 01 02 00 00 00 00 47 [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 B4 1A 00 90 00 42 [15:09:41]RAPDU: 90 00 [15:09:41]wFMCommunicate OK [15:09:41]wFMCommunicate request_size=255 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 0D 02 02 FA 03 00 44 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 [15:09:41]Write to MH i2c: E2 02 01 B5 1A 80 0D 02 02 FA 00 03 00 44 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 00 00 A4 [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 B5 1A 00 90 00 43 [15:09:41]RAPDU: 90 00 [15:09:41]wFMCommunicate OK [15:09:41]wFMCommunicate request_size=255 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 0D 02 02 FA B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 11 00 00 00 00 07 04 06 00 48 A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 [15:09:41]Write to MH i2c: E2 02 01 B6 1A 80 0D 02 02 FA 00 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 11 00 00 00 00 07 04 06 00 48 A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 00 34 [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 B6 1A 00 90 00 44 [15:09:41]RAPDU: 90 00 [15:09:41]wFMCommunicate OK [15:09:41]wFMCommunicate request_size=89 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 0D 02 02 54 00 51 00 00 00 F4 03 04 00 B8 98 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1C A8 00 00 35 04 06 00 9D 3F C4 03 01 14 [15:09:41]Write to MH i2c: E2 5C 00 B7 1A 80 0D 02 02 54 00 00 51 00 00 00 F4 03 04 00 B8 98 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1C A8 00 00 35 04 06 00 9D 3F C4 03 01 14 00 00 6F [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 03 00 B7 1A 00 90 00 45 [15:09:41]RAPDU: 90 00 [15:09:41]wFMCommunicate OK [15:09:41]wFMCommunicate request_size=4 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 0D 03 02 [15:09:41]Write to MH i2c: E2 08 00 B8 1A 80 0D 03 02 00 00 00 00 4D [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:09:41]Read from MH i2c: E2 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 0B 00 [15:09:41]MH_I2C_Read... [15:09:41]Read from MH i2c: E2 0B 00 B8 1A 00 D0 62 B0 18 E2 CC D7 FE 90 00 CB [15:09:41]RAPDU: D0 62 B0 18 E2 CC D7 FE 90 00 [15:09:41]wFMCommunicate OK [15:09:41]SAM_PROTO_SignData done [15:09:41]FM_MakeSignedData done [15:09:41]CreateOFDProtocolMessage [15:09:41]wFMCommunicate request_size=4 [15:09:41]MH_SAM_APDU [15:09:41]CAPDU: 80 11 00 00 [15:09:41]Write to MH i2c: E2 08 00 B9 1A 80 11 00 00 00 00 00 00 4D [15:09:41]Write i2c OK [15:09:41]MH_I2C_Read... [15:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:42]Read from MH i2c: E2 [15:09:42]MH_I2C_Read... [15:09:42]Read from MH i2c: E2 17 00 [15:09:42]MH_I2C_Read... [15:09:42]Read from MH i2c: E2 17 00 B9 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A4 [15:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:09:42]wFMCommunicate OK [15:09:42]CreateOFDProtocolMessage done [15:09:42]OFDSenderStorePacket 43036 [15:09:42]StoreOFDPacket docnum=43036 [15:09:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 58 02 00 00 29 98 50 02 96 A8 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 11 00 00 00 00 07 04 06 00 48 A3 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 B8 98 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1C A8 00 00 35 04 06 00 9D 3F C4 03 01 14 D0 62 B0 18 E2 CC D7 FE [15:09:42]CheckFolder [15:09:42]dirname=/storage/ofd_packets [15:09:42]CheckFolder done [15:09:42]ProducePacketName [15:09:42]name=ofd_packets/00043036 [15:09:42]NVStorageSaveData ofd_packets/00043036 [15:09:42]File name is /storage/ofd_packets/00043036 [15:09:42]Write 630 bytes [15:09:42]NVStorageSaveData done [15:09:42]OFDSenderStorePacket done [15:09:42]KKMCreateOFDPacket done [15:09:42]NVStorageSaveData kkm_last_timestamp [15:09:42]File name is /storage/kkm_last_timestamp [15:09:42]Write 4 bytes [15:09:42]NVStorageSaveData done [15:09:42]ExternCall_PrintAddStr [15:09:42]wPrintStart [15:09:42]Write to MH i2c: 01 00 00 BA 1A D4 [15:09:42]Write i2c OK [15:09:42]MH_I2C_Read... [15:09:42]Read from MH i2c: 01 [15:09:42]MH_I2C_Read... [15:09:42]Read from MH i2c: 01 07 00 [15:09:42]MH_I2C_Read... [15:09:42]Read from MH i2c: 01 07 00 BA 1A 00 00 00 00 00 FF 0F E9 [15:09:42]RasterBufferAndPrint [15:09:42]line Счет N : (3)300164 [15:09:42]line ИНН: 02508201610067 [15:09:42]line Контрольно-Кассовый Чек [15:09:42]line ПРОДАЖА [15:09:42]line Товар: 4640030091584 [15:09:42]line Сигареты Esse Gold [15:09:42]line 1.000 * 143.00 [15:09:42]line = 143.00 [15:09:42]line НДС 12% НСП 1% [15:09:42]line > о реализуемом товаре [15:09:42]line Товар: 5449000066473 [15:09:42]line Вода Бонаква 1л [15:09:42]line 1.000 * 50.00 [15:09:42]line = 50.00 [15:09:42]line НДС 12% НСП 1% [15:09:42]line > о реализуемом товаре [15:09:42]line Товар: 5449000176448 [15:09:42]line Сок Piko Pulpy апельсин ПЭТ 1л [15:09:42]line 1.000 * 180.00 [15:09:42]line = 180.00 [15:09:42]line НДС 12% НСП 1% [15:09:42]line > о реализуемом товаре [15:09:42]line Товар: 46141538 [15:09:42]line Р/ж Orbit Bubblemint 13,6г [15:09:42]line 1.000 * 45.00 [15:09:42]line = 45.00 [15:09:42]line НДС 12% НСП 1% [15:09:42]line > о реализуемом товаре [15:09:42]line ИТОГО: 418.00 [15:09:42]line НСП 1% : 3.69 [15:09:42]line НДС 12% : 44.39 [15:09:42]line Наличными: 418.00 [15:09:42]line Безнал.: 0.00 [15:09:42]line Место: АЗС № 71 "Партнер Нефть" [15:09:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [15:09:42]line СНО: Общий режим [15:09:42]line Чек 81 13.07.2024 15:09 [15:09:42]line Смена: 445 ФФД: 1.0 [15:09:42]line ЗНМ: 0300000153 [15:09:42]line РНМ: 0000000000091176 [15:09:42]line Версия ККМ: 001 [15:09:42]line ФМ: 0000000000874935 [15:09:42]line ФД: 43036 [15:09:42]line ФПД: 172897197031700 [15:09:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T150944&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43036&fm=172897197031700&tin=02508201610067®Number=0000000000091176&sum=41800 [15:09:42]OFD Sender: Processing packet 43036 [packets to send 31, broken 30] [15:09:42]ProducePacketName [15:09:42]name=ofd_packets/00043036 [15:09:42]OFD Sender: To server: pG, [15:09:42]CommunicateWithHost lk.salyk.kg:30040 [15:09:42]ConnectInit lk.salyk.kg [15:09:42]line 0 [15:09:42]written 0, free lines is 4095 [15:09:42]Connected sock=10 [15:09:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 58 02 00 00 29 98 50 02 96 A8 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 11 00 00 00 00 07 04 06 00 48 A3 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 B8 98 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1C A8 00 00 35 04 06 00 9D 3F C4 03 01 14 D0 62 B0 18 E2 CC D7 FE [15:09:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 7F 1B 47 00 05 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 38 37 34 39 33 35 10 04 04 00 1C A8 00 00 F4 03 04 00 B2 44 92 66 B6 04 01 00 00 56 35 84 5F 5A B7 A6 20 [15:09:42]CommunicateWithHost err = 0 [15:09:42]CheckOFDResponse [15:09:42]1017 (14) - 77093643461234 [15:09:42]1041 (16) - 0000000000874935 [15:09:42]1040 (4) - 43036 [15:09:42]1012 (4) - 13.07.2024 09:11 [15:09:42]1206 (1) - 0 [15:09:42]OFD Sender: Remove packet 43036 [15:09:42]ProducePacketName [15:09:42]name=ofd_packets/00043036 [15:09:42]NVStorageDeleteData [15:09:42]Write to MH i2c: 01 00 00 F5 1A 0F [15:09:42]Write i2c OK [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: 01 [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: 01 07 00 [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: 01 07 00 F5 1A 00 00 00 00 00 F8 0B 19 [15:09:43]RasterBufferAndPrint [15:09:43]line [15:09:43]line [15:09:43]line [15:09:43]line [15:09:43]line [15:09:43]written 0, free lines is 3071 [15:09:43]MH_Cut [15:09:43]Write to MH i2c: D1 01 00 FC 1A 01 E8 [15:09:43]Write i2c OK [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: D1 [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: D1 01 00 [15:09:43]MH_I2C_Read... [15:09:43]Read from MH i2c: D1 01 00 FC 1A 00 E7 [15:09:43]Write to MH i2c: 01 00 00 FD 1A 17 [15:09:43]Write i2c OK [15:09:43]MH_I2C_Read... [15:09:43]OFD Sender: No OFD packet to send [15:09:43]*** Cut start [15:09:43]*** Partial cut [15:09:43]*** CUTSNS_PIN = 1 [15:09:43]*** CUTSNS_PIN = 0 [15:09:44]*** Brake cut motor [15:09:44]Read from MH i2c: 01 [15:09:44]MH_I2C_Read... [15:09:44]*** Stop cut motor [15:09:44]*** Cut end [15:09:44]Read from MH i2c: 01 07 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: 01 07 00 FD 1A 00 00 00 00 00 FF 0F 2C [15:09:44]process_action close_receipt done [15:09:44]requested_data is exist [15:09:44]produce_requested_data [15:09:44]requested_item fm.sn is exist - process it [15:09:44]wFMCommunicate request_size=4 [15:09:44]MH_SAM_APDU [15:09:44]CAPDU: 80 11 00 00 [15:09:44]Write to MH i2c: E2 08 00 FE 1A 80 11 00 00 00 00 00 00 92 [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:44]Read from MH i2c: E2 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 17 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 17 00 FE 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E9 [15:09:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:09:44]wFMCommunicate OK [15:09:44]requested_item fd.num is exist - process it [15:09:44]SAM_PROTO_GetFieldsCounters [15:09:44]wFMCommunicate request_size=4 [15:09:44]MH_SAM_APDU [15:09:44]CAPDU: 80 13 00 00 [15:09:44]Write to MH i2c: E2 08 00 FF 1A 80 13 00 00 00 00 00 00 95 [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:09:44]Read from MH i2c: E2 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 62 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 62 00 FF 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1C A8 00 00 0E 04 04 00 BD 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 2E [15:09:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1C A8 00 00 0E 04 04 00 BD 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 [15:09:44]wFMCommunicate OK [15:09:44]SAM_PROTO_GetFieldsCounters done [15:09:44]requested_item shift.num is exist - process it [15:09:44]requested_item shift.opened is exist - process it [15:09:44]req_shift_opened [15:09:44]FM_GetShiftState [15:09:44]SAM_PROTO_GetShiftState [15:09:44]wFMCommunicate request_size=4 [15:09:44]MH_SAM_APDU [15:09:44]CAPDU: 80 13 01 00 [15:09:44]Write to MH i2c: E2 08 00 00 1B 80 13 01 00 00 00 00 00 98 [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:44]Read from MH i2c: E2 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 0E 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 0E 00 00 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2F [15:09:44]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:09:44]wFMCommunicate OK [15:09:44]SAM_PROTO_GetShiftState done [15:09:44]FM_GetShiftState done [15:09:44]req_shift_opened done [15:09:44]requested_item shift.open_date is exist - process it [15:09:44]req_shift_open_date [15:09:44]req_shift_open_date done [15:09:44]requested_item shift.sale.total is exist - process it [15:09:44]SAM_PROTO_GetShiftData [15:09:44]wFMCommunicate request_size=4 [15:09:44]MH_SAM_APDU [15:09:44]CAPDU: 80 13 02 00 [15:09:44]Write to MH i2c: E2 08 00 01 1B 80 13 02 00 00 00 00 00 9A [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 01 1B 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 64 18 15 70 04 03 00 B4 3E 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 78 3D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C4 [15:09:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 64 18 15 70 04 03 00 B4 3E 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 78 3D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 17 00 00 [15:09:45]Write to MH i2c: E2 08 00 02 1B 80 17 00 00 00 00 00 00 9D [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 02 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BF [15:09:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 17 00 00 [15:09:45]Write to MH i2c: E2 08 00 03 1B 80 17 00 00 00 00 00 00 9E [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 FD 00 03 1B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 55 [15:09:45]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 17 00 00 [15:09:45]Write to MH i2c: E2 08 00 04 1B 80 17 00 00 00 00 00 00 9F [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:46]Read from MH i2c: E2 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: E2 FD 00 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: E2 FD 00 04 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 11 [15:09:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:09:46]wFMCommunicate OK [15:09:46]wFMCommunicate request_size=4 [15:09:46]MH_SAM_APDU [15:09:46]CAPDU: 80 17 00 00 [15:09:46]Write to MH i2c: E2 08 00 05 1B 80 17 00 00 00 00 00 00 A0 [15:09:46]Write i2c OK [15:09:46]MH_I2C_Read... [15:09:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:09:46]Read from MH i2c: E2 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: E2 CB 00 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: E2 CB 00 05 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 89 [15:09:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:09:46]wFMCommunicate OK [15:09:46]SAM_PROTO_GetShiftData done [15:09:46]requested_item shift.sale.total_cash is exist - process it [15:09:46]requested_item shift.sale_refund.total is exist - process it [15:09:46]requested_item shift.sale_refund.total_cash is exist - process it [15:09:46]produce_requested_data done [15:09:46]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43036,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13825.00,"shift.sale.total_cash":11957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [15:09:46]process_action_free close_receipt [15:09:46]json_value_free [15:09:46]json_value_free done [15:09:46]process_json_proto returns [15:09:46]Send response to host [15:09:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43036,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13825.00,"shift.sale.total_cash":11957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [15:09:46]free response buf [15:09:46]execute_script done [15:09:46]execute_script returns [15:09:46]free content buf [15:09:46]Sock 7.Close socket [15:09:46]Sock 7.Thread stoped [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:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24: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:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:43:57]accept exits with 9 [15:43:57]New connection [15:43:57]New thread 3067387236 created [15:43:57]Thread 3067530596 joined [15:43:57]Waiting for new connection... [15:43:57] Sock 9.Parse request [15:43:57]Sock 9.Check first char [15:43:57]Sock 9.First char is OK [15:43:57]request: POST /json_proto HTTP/1.0 [15:43:57]Method: POST [15:43:57]URL: /json_proto [15:43:57]Method is POST - this is cgi request [15:43:57]url: /json_proto [15:43:57]query_string will be loaded in cgi processing [15:43:57]execute_cgi json_proto POST (null) [15:43:57]execute_cgi path=json_proto method=POST [15:43:57]POST find Content-Length [15:43:57]Host: 172.17.38.197:8080 [15:43:57]Content-Length: 1078 [15:43:57]Content-Type: application/json [15:43:57] [15:43:57]POST finish read [15:43:57]Found Content-Length = 1078 [15:43:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300165", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:43:57]execute_script... [15:43:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300165", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:43:57]POST & json_proto [15:43:57]process_json_proto [15:43:57]json parsed OK: [15:43:57]protocol is kg_v1.0 [15:43:57]action value=close_receipt [15:43:57]process_action close_receipt [15:43:57]cmd_close_receipt [15:43:57]MH_GetDate [15:43:57]Write to MH i2c: F0 00 00 06 1B 10 [15:43:57]Write i2c OK [15:43:57]MH_I2C_Read... [15:43:57]Read from MH i2c: F0 [15:43:57]MH_I2C_Read... [15:43:57]Read from MH i2c: F0 09 00 [15:43:57]MH_I2C_Read... [15:43:57]Read from MH i2c: F0 09 00 06 1B 00 C1 A0 92 66 1E 0D 88 66 8B [15:43:57]GetLastDocTimeStamp 1720883384 [15:43:57]current date 1720885441 [15:43:57]FM_GetShiftState [15:43:57]SAM_PROTO_GetShiftState [15:43:57]wFMCommunicate request_size=4 [15:43:57]MH_SAM_APDU [15:43:57]CAPDU: 80 13 01 00 [15:43:57]Write to MH i2c: E2 08 00 07 1B 80 13 01 00 00 00 00 00 9F [15:43:57]Write i2c OK [15:43:57]MH_I2C_Read... [15:43:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:57]Read from MH i2c: E2 [15:43:57]MH_I2C_Read... [15:43:57]Read from MH i2c: E2 0E 00 [15:43:57]MH_I2C_Read... [15:43:57]Read from MH i2c: E2 0E 00 07 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 36 [15:43:57]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:43:57]wFMCommunicate OK [15:43:57]SAM_PROTO_GetShiftState done [15:43:57]FM_GetShiftState done [15:43:57]opened in 1720829646 [15:43:57]opened+sec_in_day 1720916046 [15:43:57]quantity*price = 5000 [15:43:57]sum+1 = 5001 [15:43:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010018 Чай хол Let`s Go! зел лим ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 82 13.07.2024 15:44 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43037 ФПД: 21408081402564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T154401&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43037&fm=21408081402564&tin=02508201610067®Number=0000000000091176&sum=10000 0 [15:43:58]StoreToDocumentArchive [15:43:58]shift 445 fd 43037 [15:43:58]save to /storage/0445/doc_00043037 [15:43:58]save last doc name /storage/0445/doc_00043037 to /storage/kkm_last_doc_name [15:43:58]save OK [15:43:58]Clear old archive folders... [15:43:58]ProcessDocumentItem done err = 0, tmpTLVsize=420 [15:43:58]tlvbuf is 015CC4D0 [15:43:58]SAM_PROTO_ClearQueue [15:43:58]wFMCommunicate request_size=4 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 09 00 00 [15:43:58]Write to MH i2c: E2 08 00 14 1B 80 09 00 00 00 00 00 00 A1 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 14 1B 00 90 00 A3 [15:43:58]RAPDU: 90 00 [15:43:58]wFMCommunicate OK [15:43:58]SAM_PROTO_ClearQueue done [15:43:58]KKMCreateOFDPacket [15:43:58]OFDProtocolAddRootSTLVToBuf [15:43:58]FM_MakeSignedData [15:43:58]FM_MakeSignedData [15:43:58]SAM_PROTO_SignData [15:43:58]wFMCommunicate request_size=4 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 0D 01 02 [15:43:58]Write to MH i2c: E2 08 00 15 1B 80 0D 01 02 00 00 00 00 A9 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 15 1B 00 90 00 A4 [15:43:58]RAPDU: 90 00 [15:43:58]wFMCommunicate OK [15:43:58]wFMCommunicate request_size=255 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 [15:43:58]Write to MH i2c: E2 02 01 16 1B 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 00 00 82 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 16 1B 00 90 00 A5 [15:43:58]RAPDU: 90 00 [15:43:58]wFMCommunicate OK [15:43:58]wFMCommunicate request_size=179 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C1 A0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1D A8 00 00 35 04 06 00 13 78 75 16 5A C4 [15:43:58]Write to MH i2c: E2 B6 00 17 1B 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C1 A0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1D A8 00 00 35 04 06 00 13 78 75 16 5A C4 00 00 66 [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 03 00 17 1B 00 90 00 A6 [15:43:58]RAPDU: 90 00 [15:43:58]wFMCommunicate OK [15:43:58]wFMCommunicate request_size=4 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 0D 03 02 [15:43:58]Write to MH i2c: E2 08 00 18 1B 80 0D 03 02 00 00 00 00 AE [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 0B 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 0B 00 18 1B 00 E7 0D B5 17 59 E9 4E 04 90 00 03 [15:43:58]RAPDU: E7 0D B5 17 59 E9 4E 04 90 00 [15:43:58]wFMCommunicate OK [15:43:58]SAM_PROTO_SignData done [15:43:58]FM_MakeSignedData done [15:43:58]CreateOFDProtocolMessage [15:43:58]wFMCommunicate request_size=4 [15:43:58]MH_SAM_APDU [15:43:58]CAPDU: 80 11 00 00 [15:43:58]Write to MH i2c: E2 08 00 19 1B 80 11 00 00 00 00 00 00 AE [15:43:58]Write i2c OK [15:43:58]MH_I2C_Read... [15:43:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:58]Read from MH i2c: E2 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 17 00 [15:43:58]MH_I2C_Read... [15:43:58]Read from MH i2c: E2 17 00 19 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 05 [15:43:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:43:58]wFMCommunicate OK [15:43:58]CreateOFDProtocolMessage done [15:43:58]OFDSenderStorePacket 43037 [15:43:58]StoreOFDPacket docnum=43037 [15:43:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 73 00 B0 01 E7 AE 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C1 A0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1D A8 00 00 35 04 06 00 13 78 75 16 5A C4 E7 0D B5 17 59 E9 4E 04 [15:43:58]CheckFolder [15:43:58]dirname=/storage/ofd_packets [15:43:58]CheckFolder done [15:43:58]ProducePacketName [15:43:58]name=ofd_packets/00043037 [15:43:58]NVStorageSaveData ofd_packets/00043037 [15:43:58]File name is /storage/ofd_packets/00043037 [15:43:58]Write 470 bytes [15:43:58]NVStorageSaveData done [15:43:58]OFDSenderStorePacket done [15:43:58]KKMCreateOFDPacket done [15:43:59]NVStorageSaveData kkm_last_timestamp [15:43:59]File name is /storage/kkm_last_timestamp [15:43:59]Write 4 bytes [15:43:59]NVStorageSaveData done [15:43:59]ExternCall_PrintAddStr [15:43:59]wPrintStart [15:43:59]Write to MH i2c: 01 00 00 1A 1B 35 [15:43:59]OFD Sender: Processing packet 43037 [packets to send 31, broken 30] [15:43:59]ProducePacketName [15:43:59]name=ofd_packets/00043037 [15:43:59]OFD Sender: To server: pG, [15:43:59]CommunicateWithHost lk.salyk.kg:30040 [15:43:59]ConnectInit lk.salyk.kg [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 1A 1B 00 00 00 00 00 FF 0F 4A [15:43:59]RasterBufferAndPrint [15:43:59]line Счет N : (3)300165 [15:43:59]line ИНН: 02508201610067 [15:43:59]line Контрольно-Кассовый Чек [15:43:59]line ПРОДАЖА [15:43:59]line Товар: 4700003010032 [15:43:59]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [15:43:59]line 1.000 * 50.00 [15:43:59]line = 50.00 [15:43:59]line НДС 12% НСП 1% [15:43:59]line > о реализуемом товаре [15:43:59]line Товар: 4700003010018 [15:43:59]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [15:43:59]line 1.000 * 50.00 [15:43:59]line = 50.00 [15:43:59]line НДС 12% НСП 1% [15:43:59]line > о реализуемом товаре [15:43:59]line ИТОГО: 100.00 [15:43:59]line НСП 1% : 0.88 [15:43:59]line НДС 12% : 10.62 [15:43:59]line Наличными: 100.00 [15:43:59]line Безнал.: 0.00 [15:43:59]line Место: АЗС № 71 "Партнер Нефть" [15:43:59]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [15:43:59]line СНО: Общий режим [15:43:59]line Чек 82 13.07.2024 15:44 [15:43:59]line Смена: 445 ФФД: 1.0 [15:43:59]line ЗНМ: 0300000153 [15:43:59]line РНМ: 0000000000091176 [15:43:59]line Версия ККМ: 001 [15:43:59]line ФМ: 0000000000874935 [15:43:59]line ФД: 43037 [15:43:59]line ФПД: 21408081402564 [15:43:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T154401&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43037&fm=21408081402564&tin=02508201610067®Number=0000000000091176&sum=10000 [15:43:59]line 0 [15:43:59]written 0, free lines is 4095 [15:43:59]Connected sock=10 [15:43:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 B8 01 00 00 73 00 B0 01 E7 AE 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 C1 A0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1D A8 00 00 35 04 06 00 13 78 75 16 5A C4 E7 0D B5 17 59 E9 4E 04 [15:43:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A6 97 47 00 89 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 38 37 34 39 33 35 10 04 04 00 1D A8 00 00 F4 03 04 00 BB 4C 92 66 B6 04 01 00 00 FB 03 A7 18 5A 44 80 D3 [15:43:59]CommunicateWithHost err = 0 [15:43:59]CheckOFDResponse [15:43:59]1017 (14) - 77093643461234 [15:43:59]1041 (16) - 0000000000874935 [15:43:59]1040 (4) - 43037 [15:43:59]1012 (4) - 13.07.2024 09:45 [15:43:59]1206 (1) - 0 [15:43:59]OFD Sender: Remove packet 43037 [15:43:59]ProducePacketName [15:43:59]name=ofd_packets/00043037 [15:43:59]NVStorageDeleteData [15:43:59]Write to MH i2c: 01 00 00 4A 1B 65 [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: 01 07 00 4A 1B 00 00 00 00 00 9B 0C 13 [15:43:59]RasterBufferAndPrint [15:43:59]line [15:43:59]line [15:43:59]line [15:43:59]line [15:43:59]line [15:43:59]written 0, free lines is 3233 [15:43:59]MH_Cut [15:43:59]Write to MH i2c: D1 01 00 51 1B 01 3E [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: D1 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: D1 01 00 [15:43:59]MH_I2C_Read... [15:43:59]Read from MH i2c: D1 01 00 51 1B 00 3D [15:43:59]Write to MH i2c: 01 00 00 52 1B 6D [15:43:59]Write i2c OK [15:43:59]MH_I2C_Read... [15:44:00]OFD Sender: No OFD packet to send [15:44:00]*** Cut start [15:44:00]*** Partial cut [15:44:00]*** CUTSNS_PIN = 1 [15:44:00]*** CUTSNS_PIN = 0 [15:44:00]*** Brake cut motor [15:44:01]Read from MH i2c: 01 [15:44:01]MH_I2C_Read... [15:44:01]*** Stop cut motor [15:44:01]*** Cut end [15:44:01]Read from MH i2c: 01 07 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: 01 07 00 52 1B 00 00 00 00 00 FF 0F 82 [15:44:01]process_action close_receipt done [15:44:01]requested_data is exist [15:44:01]produce_requested_data [15:44:01]requested_item fm.sn is exist - process it [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 11 00 00 [15:44:01]Write to MH i2c: E2 08 00 53 1B 80 11 00 00 00 00 00 00 E8 [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 17 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 17 00 53 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3F [15:44:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:44:01]wFMCommunicate OK [15:44:01]requested_item fd.num is exist - process it [15:44:01]SAM_PROTO_GetFieldsCounters [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 00 00 [15:44:01]Write to MH i2c: E2 08 00 54 1B 80 13 00 00 00 00 00 00 EB [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 62 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 62 00 54 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1D A8 00 00 0E 04 04 00 BD 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 88 [15:44:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1D A8 00 00 0E 04 04 00 BD 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 [15:44:01]wFMCommunicate OK [15:44:01]SAM_PROTO_GetFieldsCounters done [15:44:01]requested_item shift.num is exist - process it [15:44:01]requested_item shift.opened is exist - process it [15:44:01]req_shift_opened [15:44:01]FM_GetShiftState [15:44:01]SAM_PROTO_GetShiftState [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 01 00 [15:44:01]Write to MH i2c: E2 08 00 55 1B 80 13 01 00 00 00 00 00 ED [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 0E 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 0E 00 55 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 84 [15:44:01]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:44:01]wFMCommunicate OK [15:44:01]SAM_PROTO_GetShiftState done [15:44:01]FM_GetShiftState done [15:44:01]req_shift_opened done [15:44:01]requested_item shift.open_date is exist - process it [15:44:01]req_shift_open_date [15:44:01]req_shift_open_date done [15:44:01]requested_item shift.sale.total is exist - process it [15:44:01]SAM_PROTO_GetShiftData [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 02 00 [15:44:01]Write to MH i2c: E2 08 00 56 1B 80 13 02 00 00 00 00 00 EF [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 FD 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 FD 00 56 1B 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 74 3F 15 70 04 03 00 C4 65 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9E 41 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 19 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 0C [15:44:01]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 74 3F 15 70 04 03 00 C4 65 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9E 41 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 19 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:44:01]wFMCommunicate OK [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 17 00 00 [15:44:01]Write to MH i2c: E2 08 00 57 1B 80 17 00 00 00 00 00 00 F2 [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 57 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 14 [15:44:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 58 1B 80 17 00 00 00 00 00 00 F3 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 58 1B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 AA [15:44:02]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 59 1B 80 17 00 00 00 00 00 00 F4 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 59 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 66 [15:44:02]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 5A 1B 80 17 00 00 00 00 00 00 F5 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:44:03]Read from MH i2c: E2 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 CB 00 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 CB 00 5A 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DE [15:44:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:44:03]wFMCommunicate OK [15:44:03]SAM_PROTO_GetShiftData done [15:44:03]requested_item shift.sale.total_cash is exist - process it [15:44:03]requested_item shift.sale_refund.total is exist - process it [15:44:03]requested_item shift.sale_refund.total_cash is exist - process it [15:44:03]produce_requested_data done [15:44:03]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43037,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13925.00,"shift.sale.total_cash":12057.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [15:44:03]process_action_free close_receipt [15:44:03]json_value_free [15:44:03]json_value_free done [15:44:03]process_json_proto returns [15:44:03]Send response to host [15:44:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43037,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":13925.00,"shift.sale.total_cash":12057.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [15:44:03]free response buf [15:44:03]execute_script done [15:44:03]execute_script returns [15:44:03]free content buf [15:44:03]Sock 9.Close socket [15:44:03]Sock 9.Thread stoped [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [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:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [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:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [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:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]accept exits with 7 [15:59:00]New connection [15:59:00]New thread 3067530596 created [15:59:00]Thread 3067387236 joined [15:59:00]Waiting for new connection... [15:59:00] Sock 7.Parse request [15:59:00]Sock 7.Check first char [15:59:00]Sock 7.First char is OK [15:59:00]request: POST /json_proto HTTP/1.0 [15:59:00]Method: POST [15:59:00]URL: /json_proto [15:59:00]Method is POST - this is cgi request [15:59:00]url: /json_proto [15:59:00]query_string will be loaded in cgi processing [15:59:00]execute_cgi json_proto POST (null) [15:59:00]execute_cgi path=json_proto method=POST [15:59:00]POST find Content-Length [15:59:00]Host: 172.17.38.197:8080 [15:59:00]Content-Length: 725 [15:59:00]Content-Type: application/json [15:59:00] [15:59:00]POST finish read [15:59:00]Found Content-Length = 725 [15:59:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300166", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:59:00]execute_script... [15:59:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300166", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:59:00]POST & json_proto [15:59:00]process_json_proto [15:59:00]json parsed OK: [15:59:00]protocol is kg_v1.0 [15:59:00]action value=close_receipt [15:59:00]process_action close_receipt [15:59:00]cmd_close_receipt [15:59:00]MH_GetDate [15:59:00]Write to MH i2c: F0 00 00 5B 1B 65 [15:59:00]Write i2c OK [15:59:00]MH_I2C_Read... [15:59:00]Read from MH i2c: F0 [15:59:00]MH_I2C_Read... [15:59:00]Read from MH i2c: F0 09 00 [15:59:00]MH_I2C_Read... [15:59:00]Read from MH i2c: F0 09 00 5B 1B 00 48 A4 92 66 1E 0D 88 66 6B [15:59:00]GetLastDocTimeStamp 1720885441 [15:59:00]current date 1720886344 [15:59:00]FM_GetShiftState [15:59:00]SAM_PROTO_GetShiftState [15:59:00]wFMCommunicate request_size=4 [15:59:00]MH_SAM_APDU [15:59:00]CAPDU: 80 13 01 00 [15:59:00]Write to MH i2c: E2 08 00 5C 1B 80 13 01 00 00 00 00 00 F4 [15:59:00]Write i2c OK [15:59:00]MH_I2C_Read... [15:59:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:00]Read from MH i2c: E2 [15:59:00]MH_I2C_Read... [15:59:00]Read from MH i2c: E2 0E 00 [15:59:00]MH_I2C_Read... [15:59:00]Read from MH i2c: E2 0E 00 5C 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8B [15:59:00]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:59:00]wFMCommunicate OK [15:59:00]SAM_PROTO_GetShiftState done [15:59:00]FM_GetShiftState done [15:59:00]opened in 1720829646 [15:59:00]opened+sec_in_day 1720916046 [15:59:00]quantity*price = 14000 [15:59:00]sum+1 = 14001 [15:59:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 83 13.07.2024 15:59 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43038 ФПД: 186136981621208 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T155904&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43038&fm=186136981621208&tin=02508201610067®Number=0000000000091176&sum=14000 0 [15:59:01]StoreToDocumentArchive [15:59:01]shift 445 fd 43038 [15:59:01]save to /storage/0445/doc_00043038 [15:59:01]save last doc name /storage/0445/doc_00043038 to /storage/kkm_last_doc_name [15:59:01]save OK [15:59:01]Clear old archive folders... [15:59:01]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:59:01]tlvbuf is 0158E8A0 [15:59:01]SAM_PROTO_ClearQueue [15:59:01]wFMCommunicate request_size=4 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 09 00 00 [15:59:01]Write to MH i2c: E2 08 00 69 1B 80 09 00 00 00 00 00 00 F6 [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:01]Read from MH i2c: E2 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 03 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 03 00 69 1B 00 90 00 F8 [15:59:01]RAPDU: 90 00 [15:59:01]wFMCommunicate OK [15:59:01]SAM_PROTO_ClearQueue done [15:59:01]KKMCreateOFDPacket [15:59:01]OFDProtocolAddRootSTLVToBuf [15:59:01]FM_MakeSignedData [15:59:01]FM_MakeSignedData [15:59:01]SAM_PROTO_SignData [15:59:01]wFMCommunicate request_size=4 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 0D 01 02 [15:59:01]Write to MH i2c: E2 08 00 6A 1B 80 0D 01 02 00 00 00 00 FE [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:01]Read from MH i2c: E2 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 03 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 03 00 6A 1B 00 90 00 F9 [15:59:01]RAPDU: 90 00 [15:59:01]wFMCommunicate OK [15:59:01]wFMCommunicate request_size=255 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 48 A4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [15:59:01]Write to MH i2c: E2 02 01 6B 1B 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 48 A4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 E7 [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:02]Read from MH i2c: E2 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 03 00 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 03 00 6B 1B 00 90 00 FA [15:59:02]RAPDU: 90 00 [15:59:02]wFMCommunicate OK [15:59:02]wFMCommunicate request_size=32 [15:59:02]MH_SAM_APDU [15:59:02]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 1E A8 00 00 35 04 06 00 A9 4A 64 AB 49 D8 [15:59:02]Write to MH i2c: E2 23 00 6C 1B 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 1E A8 00 00 35 04 06 00 A9 4A 64 AB 49 D8 00 00 4B [15:59:02]Write i2c OK [15:59:02]MH_I2C_Read... [15:59:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:02]Read from MH i2c: E2 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 03 00 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 03 00 6C 1B 00 90 00 FB [15:59:02]RAPDU: 90 00 [15:59:02]wFMCommunicate OK [15:59:02]wFMCommunicate request_size=4 [15:59:02]MH_SAM_APDU [15:59:02]CAPDU: 80 0D 03 02 [15:59:02]Write to MH i2c: E2 08 00 6D 1B 80 0D 03 02 00 00 00 00 03 [15:59:02]Write i2c OK [15:59:02]MH_I2C_Read... [15:59:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:02]Read from MH i2c: E2 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 0B 00 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 0B 00 6D 1B 00 8C B4 27 99 60 09 85 4B 90 00 3D [15:59:02]RAPDU: 8C B4 27 99 60 09 85 4B 90 00 [15:59:02]wFMCommunicate OK [15:59:02]SAM_PROTO_SignData done [15:59:02]FM_MakeSignedData done [15:59:02]CreateOFDProtocolMessage [15:59:02]wFMCommunicate request_size=4 [15:59:02]MH_SAM_APDU [15:59:02]CAPDU: 80 11 00 00 [15:59:02]Write to MH i2c: E2 08 00 6E 1B 80 11 00 00 00 00 00 00 03 [15:59:02]Write i2c OK [15:59:02]MH_I2C_Read... [15:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:02]Read from MH i2c: E2 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 17 00 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: E2 17 00 6E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 5A [15:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:59:02]wFMCommunicate OK [15:59:02]CreateOFDProtocolMessage done [15:59:02]OFDSenderStorePacket 43038 [15:59:02]StoreOFDPacket docnum=43038 [15:59:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 41 44 1D 01 1A 24 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 48 A4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1E A8 00 00 35 04 06 00 A9 4A 64 AB 49 D8 8C B4 27 99 60 09 85 4B [15:59:02]CheckFolder [15:59:02]dirname=/storage/ofd_packets [15:59:02]CheckFolder done [15:59:02]ProducePacketName [15:59:02]name=ofd_packets/00043038 [15:59:02]NVStorageSaveData ofd_packets/00043038 [15:59:02]File name is /storage/ofd_packets/00043038 [15:59:02]Write 323 bytes [15:59:02]NVStorageSaveData done [15:59:02]OFDSenderStorePacket done [15:59:02]KKMCreateOFDPacket done [15:59:02]NVStorageSaveData kkm_last_timestamp [15:59:02]File name is /storage/kkm_last_timestamp [15:59:02]Write 4 bytes [15:59:02]NVStorageSaveData done [15:59:02]OFD Sender: Processing packet 43038 [packets to send 31, broken 30] [15:59:02]ProducePacketName [15:59:02]name=ofd_packets/00043038 [15:59:02]OFD Sender: To server: pG, [15:59:02]CommunicateWithHost lk.salyk.kg:30040 [15:59:02]ConnectInit lk.salyk.kg [15:59:02]ExternCall_PrintAddStr [15:59:02]wPrintStart [15:59:02]Write to MH i2c: 01 00 00 6F 1B 8A [15:59:02]Write i2c OK [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: 01 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: 01 07 00 [15:59:02]MH_I2C_Read... [15:59:02]Read from MH i2c: 01 07 00 6F 1B 00 00 00 00 00 FF 0F 9F [15:59:02]RasterBufferAndPrint [15:59:02]line Счет N : (3)300166 [15:59:02]line ИНН: 02508201610067 [15:59:02]line Контрольно-Кассовый Чек [15:59:02]line ПРОДАЖА [15:59:02]line Товар: 48743570 [15:59:02]line Сигареты Winston XStyle Blue [15:59:02]line 1.000 * 140.00 [15:59:02]line = 140.00 [15:59:02]line НДС 12% НСП 1% [15:59:02]line > о реализуемом товаре [15:59:02]line ИТОГО: 140.00 [15:59:02]line НСП 1% : 1.24 [15:59:02]line НДС 12% : 14.87 [15:59:02]line Наличными: 140.00 [15:59:02]line Безнал.: 0.00 [15:59:02]line Место: АЗС № 71 "Партнер Нефть" [15:59:02]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [15:59:02]line СНО: Общий режим [15:59:02]line Чек 83 13.07.2024 15:59 [15:59:02]line Смена: 445 ФФД: 1.0 [15:59:02]line ЗНМ: 0300000153 [15:59:02]line РНМ: 0000000000091176 [15:59:02]line Версия ККМ: 001 [15:59:02]line ФМ: 0000000000874935 [15:59:02]line ФД: 43038 [15:59:02]line ФПД: 186136981621208 [15:59:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T155904&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43038&fm=186136981621208&tin=02508201610067®Number=0000000000091176&sum=14000 [15:59:02]line 0 [15:59:02]Connected sock=11 [15:59:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 41 44 1D 01 1A 24 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 48 A4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1E A8 00 00 35 04 06 00 A9 4A 64 AB 49 D8 8C B4 27 99 60 09 85 4B [15:59:02]written 0, free lines is 4095 [15:59:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 0E 4D 47 00 53 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 38 37 34 39 33 35 10 04 04 00 1E A8 00 00 F4 03 04 00 42 50 92 66 B6 04 01 00 00 D3 AE 41 8B 77 9F 6C 7B [15:59:02]CommunicateWithHost err = 0 [15:59:02]CheckOFDResponse [15:59:02]1017 (14) - 77093643461234 [15:59:02]1041 (16) - 0000000000874935 [15:59:02]1040 (4) - 43038 [15:59:02]1012 (4) - 13.07.2024 10:00 [15:59:02]1206 (1) - 0 [15:59:02]OFD Sender: Remove packet 43038 [15:59:02]ProducePacketName [15:59:02]name=ofd_packets/00043038 [15:59:02]NVStorageDeleteData [15:59:03]Write to MH i2c: 01 00 00 97 1B B2 [15:59:03]Write i2c OK [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: 01 [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: 01 07 00 [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: 01 07 00 97 1B 00 00 00 00 00 FE 0C C3 [15:59:03]RasterBufferAndPrint [15:59:03]line [15:59:03]line [15:59:03]line [15:59:03]line [15:59:03]line [15:59:03]written 0, free lines is 3332 [15:59:03]MH_Cut [15:59:03]Write to MH i2c: D1 01 00 9E 1B 01 8B [15:59:03]Write i2c OK [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: D1 [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: D1 01 00 [15:59:03]MH_I2C_Read... [15:59:03]Read from MH i2c: D1 01 00 9E 1B 00 8A [15:59:03]Write to MH i2c: 01 00 00 9F 1B BA [15:59:03]Write i2c OK [15:59:03]MH_I2C_Read... [15:59:03]OFD Sender: No OFD packet to send [15:59:03]*** Cut start [15:59:03]*** Partial cut [15:59:03]*** CUTSNS_PIN = 1 [15:59:03]*** CUTSNS_PIN = 0 [15:59:04]*** Brake cut motor [15:59:04]Read from MH i2c: 01 [15:59:04]MH_I2C_Read... [15:59:04]*** Stop cut motor [15:59:04]*** Cut end [15:59:04]Read from MH i2c: 01 07 00 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: 01 07 00 9F 1B 00 00 00 00 00 FF 0F CF [15:59:04]process_action close_receipt done [15:59:04]requested_data is exist [15:59:04]produce_requested_data [15:59:04]requested_item fm.sn is exist - process it [15:59:04]wFMCommunicate request_size=4 [15:59:04]MH_SAM_APDU [15:59:04]CAPDU: 80 11 00 00 [15:59:04]Write to MH i2c: E2 08 00 A0 1B 80 11 00 00 00 00 00 00 35 [15:59:04]Write i2c OK [15:59:04]MH_I2C_Read... [15:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:04]Read from MH i2c: E2 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 17 00 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 17 00 A0 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 8C [15:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [15:59:04]wFMCommunicate OK [15:59:04]requested_item fd.num is exist - process it [15:59:04]SAM_PROTO_GetFieldsCounters [15:59:04]wFMCommunicate request_size=4 [15:59:04]MH_SAM_APDU [15:59:04]CAPDU: 80 13 00 00 [15:59:04]Write to MH i2c: E2 08 00 A1 1B 80 13 00 00 00 00 00 00 38 [15:59:04]Write i2c OK [15:59:04]MH_I2C_Read... [15:59:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:04]Read from MH i2c: E2 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 62 00 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 62 00 A1 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1E A8 00 00 0E 04 04 00 BD 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 D9 [15:59:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1E A8 00 00 0E 04 04 00 BD 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 [15:59:04]wFMCommunicate OK [15:59:04]SAM_PROTO_GetFieldsCounters done [15:59:04]requested_item shift.num is exist - process it [15:59:04]requested_item shift.opened is exist - process it [15:59:04]req_shift_opened [15:59:04]FM_GetShiftState [15:59:04]SAM_PROTO_GetShiftState [15:59:04]wFMCommunicate request_size=4 [15:59:04]MH_SAM_APDU [15:59:04]CAPDU: 80 13 01 00 [15:59:04]Write to MH i2c: E2 08 00 A2 1B 80 13 01 00 00 00 00 00 3A [15:59:04]Write i2c OK [15:59:04]MH_I2C_Read... [15:59:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:04]Read from MH i2c: E2 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 0E 00 [15:59:04]MH_I2C_Read... [15:59:04]Read from MH i2c: E2 0E 00 A2 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D1 [15:59:04]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [15:59:04]wFMCommunicate OK [15:59:04]SAM_PROTO_GetShiftState done [15:59:04]FM_GetShiftState done [15:59:04]req_shift_opened done [15:59:04]requested_item shift.open_date is exist - process it [15:59:04]req_shift_open_date [15:59:04]req_shift_open_date done [15:59:04]requested_item shift.sale.total is exist - process it [15:59:04]SAM_PROTO_GetShiftData [15:59:04]wFMCommunicate request_size=4 [15:59:04]MH_SAM_APDU [15:59:04]CAPDU: 80 13 02 00 [15:59:04]Write to MH i2c: E2 08 00 A3 1B 80 13 02 00 00 00 00 00 3C [15:59:04]Write i2c OK [15:59:04]MH_I2C_Read... [15:59:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:59:05]Read from MH i2c: E2 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 A3 1B 00 AE 04 AA 04 AA 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 24 76 15 70 04 03 00 74 9C 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6D 47 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 95 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 7A [15:59:05]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 24 76 15 70 04 03 00 74 9C 12 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6D 47 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 95 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:59:05]wFMCommunicate OK [15:59:05]wFMCommunicate request_size=4 [15:59:05]MH_SAM_APDU [15:59:05]CAPDU: 80 17 00 00 [15:59:05]Write to MH i2c: E2 08 00 A4 1B 80 17 00 00 00 00 00 00 3F [15:59:05]Write i2c OK [15:59:05]MH_I2C_Read... [15:59:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:05]Read from MH i2c: E2 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 A4 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 61 [15:59:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:59:05]wFMCommunicate OK [15:59:05]wFMCommunicate request_size=4 [15:59:05]MH_SAM_APDU [15:59:05]CAPDU: 80 17 00 00 [15:59:05]Write to MH i2c: E2 08 00 A5 1B 80 17 00 00 00 00 00 00 40 [15:59:05]Write i2c OK [15:59:05]MH_I2C_Read... [15:59:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:05]Read from MH i2c: E2 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 [15:59:05]MH_I2C_Read... [15:59:05]Read from MH i2c: E2 FD 00 A5 1B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 F7 [15:59:05]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:59:05]wFMCommunicate OK [15:59:05]wFMCommunicate request_size=4 [15:59:05]MH_SAM_APDU [15:59:05]CAPDU: 80 17 00 00 [15:59:05]Write to MH i2c: E2 08 00 A6 1B 80 17 00 00 00 00 00 00 41 [15:59:05]Write i2c OK [15:59:05]MH_I2C_Read... [15:59:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:06]Read from MH i2c: E2 [15:59:06]MH_I2C_Read... [15:59:06]Read from MH i2c: E2 FD 00 [15:59:06]MH_I2C_Read... [15:59:06]Read from MH i2c: E2 FD 00 A6 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 B3 [15:59:06]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:59:06]wFMCommunicate OK [15:59:06]wFMCommunicate request_size=4 [15:59:06]MH_SAM_APDU [15:59:06]CAPDU: 80 17 00 00 [15:59:06]Write to MH i2c: E2 08 00 A7 1B 80 17 00 00 00 00 00 00 42 [15:59:06]Write i2c OK [15:59:06]MH_I2C_Read... [15:59:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:59:06]Read from MH i2c: E2 [15:59:06]MH_I2C_Read... [15:59:06]Read from MH i2c: E2 CB 00 [15:59:06]MH_I2C_Read... [15:59:06]Read from MH i2c: E2 CB 00 A7 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2B [15:59:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:59:06]wFMCommunicate OK [15:59:06]SAM_PROTO_GetShiftData done [15:59:06]requested_item shift.sale.total_cash is exist - process it [15:59:06]requested_item shift.sale_refund.total is exist - process it [15:59:06]requested_item shift.sale_refund.total_cash is exist - process it [15:59:06]produce_requested_data done [15:59:06]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43038,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14065.00,"shift.sale.total_cash":12197.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [15:59:06]process_action_free close_receipt [15:59:06]json_value_free [15:59:06]json_value_free done [15:59:06]process_json_proto returns [15:59:06]Send response to host [15:59:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43038,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14065.00,"shift.sale.total_cash":12197.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [15:59:06]free response buf [15:59:06]execute_script done [15:59:06]execute_script returns [15:59:06]free content buf [15:59:06]Sock 7.Close socket [15:59:06]Sock 7.Thread stoped [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]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:54]accept exits with 9 [16:05:54]New connection [16:05:54]New thread 3067387236 created [16:05:54]Thread 3067530596 joined [16:05:54]Waiting for new connection... [16:05:54] Sock 9.Parse request [16:05:54]Sock 9.Check first char [16:05:54]Sock 9.First char is OK [16:05:54]request: POST /json_proto HTTP/1.0 [16:05:54]Method: POST [16:05:54]URL: /json_proto [16:05:54]Method is POST - this is cgi request [16:05:54]url: /json_proto [16:05:54]query_string will be loaded in cgi processing [16:05:54]execute_cgi json_proto POST (null) [16:05:54]execute_cgi path=json_proto method=POST [16:05:54]POST find Content-Length [16:05:54]Host: 172.17.38.197:8080 [16:05:54]Content-Length: 1152 [16:05:54]Content-Type: application/json [16:05:54] [16:05:54]POST finish read [16:05:54]Found Content-Length = 1152 [16:05:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300167", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860114390161", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0413\u0440\u0443\u0448", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:05:54]execute_script... [16:05:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300167", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860114390161", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0413\u0440\u0443\u0448", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:05:54]POST & json_proto [16:05:54]process_json_proto [16:05:54]json parsed OK: [16:05:54]protocol is kg_v1.0 [16:05:54]action value=close_receipt [16:05:54]process_action close_receipt [16:05:54]cmd_close_receipt [16:05:54]MH_GetDate [16:05:54]Write to MH i2c: F0 00 00 A8 1B B2 [16:05:54]Write i2c OK [16:05:54]MH_I2C_Read... [16:05:54]Read from MH i2c: F0 [16:05:54]MH_I2C_Read... [16:05:54]Read from MH i2c: F0 09 00 [16:05:54]MH_I2C_Read... [16:05:54]Read from MH i2c: F0 09 00 A8 1B 00 E7 A5 92 66 1E 0D 88 66 58 [16:05:54]GetLastDocTimeStamp 1720886344 [16:05:54]current date 1720886759 [16:05:54]FM_GetShiftState [16:05:54]SAM_PROTO_GetShiftState [16:05:54]wFMCommunicate request_size=4 [16:05:54]MH_SAM_APDU [16:05:54]CAPDU: 80 13 01 00 [16:05:54]Write to MH i2c: E2 08 00 A9 1B 80 13 01 00 00 00 00 00 41 [16:05:54]Write i2c OK [16:05:54]MH_I2C_Read... [16:05:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:55]Read from MH i2c: E2 [16:05:55]MH_I2C_Read... [16:05:55]Read from MH i2c: E2 0E 00 [16:05:55]MH_I2C_Read... [16:05:55]Read from MH i2c: E2 0E 00 A9 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D8 [16:05:55]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [16:05:55]wFMCommunicate OK [16:05:55]SAM_PROTO_GetShiftState done [16:05:55]FM_GetShiftState done [16:05:55]opened in 1720829646 [16:05:55]opened+sec_in_day 1720916046 [16:05:55]quantity*price = 17000 [16:05:55]sum+1 = 17001 [16:05:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860114390161 Напиток безалкогольный газированный Груш 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.87 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 84 13.07.2024 16:05 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43039 ФПД: 177071913620716 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T160559&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43039&fm=177071913620716&tin=02508201610067®Number=0000000000091176&sum=32500 0 [16:05:56]StoreToDocumentArchive [16:05:56]shift 445 fd 43039 [16:05:56]save to /storage/0445/doc_00043039 [16:05:56]save last doc name /storage/0445/doc_00043039 to /storage/kkm_last_doc_name [16:05:56]save OK [16:05:56]Clear old archive folders... [16:05:56]ProcessDocumentItem done err = 0, tmpTLVsize=426 [16:05:56]tlvbuf is B6F4EBE0 [16:05:56]SAM_PROTO_ClearQueue [16:05:56]wFMCommunicate request_size=4 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 09 00 00 [16:05:56]Write to MH i2c: E2 08 00 B6 1B 80 09 00 00 00 00 00 00 43 [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 B6 1B 00 90 00 45 [16:05:56]RAPDU: 90 00 [16:05:56]wFMCommunicate OK [16:05:56]SAM_PROTO_ClearQueue done [16:05:56]KKMCreateOFDPacket [16:05:56]OFDProtocolAddRootSTLVToBuf [16:05:56]FM_MakeSignedData [16:05:56]FM_MakeSignedData [16:05:56]SAM_PROTO_SignData [16:05:56]wFMCommunicate request_size=4 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 0D 01 02 [16:05:56]Write to MH i2c: E2 08 00 B7 1B 80 0D 01 02 00 00 00 00 4B [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 B7 1B 00 90 00 46 [16:05:56]RAPDU: 90 00 [16:05:56]wFMCommunicate OK [16:05:56]wFMCommunicate request_size=255 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 0D 02 02 FA 03 00 AA 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 [16:05:56]Write to MH i2c: E2 02 01 B8 1B 80 0D 02 02 FA 00 03 00 AA 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 00 00 1F [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 B8 1B 00 90 00 47 [16:05:56]RAPDU: 90 00 [16:05:56]wFMCommunicate OK [16:05:56]wFMCommunicate request_size=185 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 0D 02 02 B4 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 E7 A5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1F A8 00 00 35 04 06 00 A1 0B C4 82 D4 EC [16:05:56]Write to MH i2c: E2 BC 00 B9 1B 80 0D 02 02 B4 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 E7 A5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1F A8 00 00 35 04 06 00 A1 0B C4 82 D4 EC 00 00 4A [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 03 00 B9 1B 00 90 00 48 [16:05:56]RAPDU: 90 00 [16:05:56]wFMCommunicate OK [16:05:56]wFMCommunicate request_size=4 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 0D 03 02 [16:05:56]Write to MH i2c: E2 08 00 BA 1B 80 0D 03 02 00 00 00 00 50 [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 0B 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 0B 00 BA 1B 00 6F 10 AA A7 64 52 E1 F2 90 00 AA [16:05:56]RAPDU: 6F 10 AA A7 64 52 E1 F2 90 00 [16:05:56]wFMCommunicate OK [16:05:56]SAM_PROTO_SignData done [16:05:56]FM_MakeSignedData done [16:05:56]CreateOFDProtocolMessage [16:05:56]wFMCommunicate request_size=4 [16:05:56]MH_SAM_APDU [16:05:56]CAPDU: 80 11 00 00 [16:05:56]Write to MH i2c: E2 08 00 BB 1B 80 11 00 00 00 00 00 00 50 [16:05:56]Write i2c OK [16:05:56]MH_I2C_Read... [16:05:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:56]Read from MH i2c: E2 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 17 00 [16:05:56]MH_I2C_Read... [16:05:56]Read from MH i2c: E2 17 00 BB 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A7 [16:05:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [16:05:56]wFMCommunicate OK [16:05:56]CreateOFDProtocolMessage done [16:05:56]OFDSenderStorePacket 43039 [16:05:56]StoreOFDPacket docnum=43039 [16:05:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 BE 01 00 00 BB A2 B6 01 88 1B 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 E7 A5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1F A8 00 00 35 04 06 00 A1 0B C4 82 D4 EC 6F 10 AA A7 64 52 E1 F2 [16:05:56]CheckFolder [16:05:56]dirname=/storage/ofd_packets [16:05:56]CheckFolder done [16:05:56]ProducePacketName [16:05:56]name=ofd_packets/00043039 [16:05:56]NVStorageSaveData ofd_packets/00043039 [16:05:56]File name is /storage/ofd_packets/00043039 [16:05:57]Write 476 bytes [16:05:57]NVStorageSaveData done [16:05:57]OFDSenderStorePacket done [16:05:57]KKMCreateOFDPacket done [16:05:57]NVStorageSaveData kkm_last_timestamp [16:05:57]File name is /storage/kkm_last_timestamp [16:05:57]Write 4 bytes [16:05:57]NVStorageSaveData done [16:05:57]ExternCall_PrintAddStr [16:05:57]wPrintStart [16:05:57]Write to MH i2c: 01 00 00 BC 1B D7 [16:05:57]Write i2c OK [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 07 00 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 07 00 BC 1B 00 00 00 00 00 FF 0F EC [16:05:57]RasterBufferAndPrint [16:05:57]line Счет N : (3)300167 [16:05:57]line ИНН: 02508201610067 [16:05:57]line Контрольно-Кассовый Чек [16:05:57]line ПРОДАЖА [16:05:57]line Товар: 8901086040008 [16:05:57]line Жид/ст ПН летняя 4,5л [16:05:57]line 1.000 * 170.00 [16:05:57]line = 170.00 [16:05:57]line НДС 12% НСП 1% [16:05:57]line > о реализуемом товаре [16:05:57]line Товар: 4860114390161 [16:05:57]line Напиток безалкогольный газированный Груш [16:05:57]line 1.000 * 155.00 [16:05:57]line = 155.00 [16:05:57]line НДС 12% НСП 1% [16:05:57]line > о реализуемом товаре [16:05:57]line ИТОГО: 325.00 [16:05:57]line НСП 1% : 2.87 [16:05:57]line НДС 12% : 34.51 [16:05:57]line Наличными: 325.00 [16:05:57]line Безнал.: 0.00 [16:05:57]line Место: АЗС № 71 "Партнер Нефть" [16:05:57]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [16:05:57]line СНО: Общий режим [16:05:57]line Чек 84 13.07.2024 16:05 [16:05:57]line Смена: 445 ФФД: 1.0 [16:05:57]line ЗНМ: 0300000153 [16:05:57]line РНМ: 0000000000091176 [16:05:57]line Версия ККМ: 001 [16:05:57]line ФМ: 0000000000874935 [16:05:57]line ФД: 43039 [16:05:57]line ФПД: 177071913620716 [16:05:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T160559&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43039&fm=177071913620716&tin=02508201610067®Number=0000000000091176&sum=32500 [16:05:57]line 0 [16:05:57]written 0, free lines is 4095 [16:05:57]OFD Sender: Processing packet 43039 [packets to send 31, broken 30] [16:05:57]ProducePacketName [16:05:57]name=ofd_packets/00043039 [16:05:57]OFD Sender: To server: pG, [16:05:57]CommunicateWithHost lk.salyk.kg:30040 [16:05:57]ConnectInit lk.salyk.kg [16:05:57]Connected sock=10 [16:05:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 BE 01 00 00 BB A2 B6 01 88 1B 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 E7 A5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1F A8 00 00 35 04 06 00 A1 0B C4 82 D4 EC 6F 10 AA A7 64 52 E1 F2 [16:05:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 B0 A0 47 00 E1 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 1F A8 00 00 F4 03 04 00 E1 51 92 66 B6 04 01 00 00 88 04 FC 3C 04 3C F8 DA [16:05:57]CommunicateWithHost err = 0 [16:05:57]CheckOFDResponse [16:05:57]1017 (14) - 77093643461234 [16:05:57]1041 (16) - 0000000000874935 [16:05:57]1040 (4) - 43039 [16:05:57]1012 (4) - 13.07.2024 10:07 [16:05:57]1206 (1) - 0 [16:05:57]OFD Sender: Remove packet 43039 [16:05:57]ProducePacketName [16:05:57]name=ofd_packets/00043039 [16:05:57]NVStorageDeleteData [16:05:57]Write to MH i2c: 01 00 00 EB 1B 06 [16:05:57]Write i2c OK [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 07 00 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: 01 07 00 EB 1B 00 00 00 00 00 A5 0C BE [16:05:57]RasterBufferAndPrint [16:05:57]line [16:05:57]line [16:05:57]line [16:05:57]line [16:05:57]line [16:05:57]written 0, free lines is 3243 [16:05:57]MH_Cut [16:05:57]Write to MH i2c: D1 01 00 F2 1B 01 DF [16:05:57]Write i2c OK [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: D1 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: D1 01 00 [16:05:57]MH_I2C_Read... [16:05:57]Read from MH i2c: D1 01 00 F2 1B 00 DE [16:05:57]Write to MH i2c: 01 00 00 F3 1B 0E [16:05:57]Write i2c OK [16:05:57]MH_I2C_Read... [16:05:58]OFD Sender: No OFD packet to send [16:05:58]*** Cut start [16:05:58]*** Partial cut [16:05:58]*** CUTSNS_PIN = 1 [16:05:58]*** CUTSNS_PIN = 0 [16:05:58]*** Brake cut motor [16:05:59]Read from MH i2c: 01 [16:05:59]MH_I2C_Read... [16:05:59]*** Stop cut motor [16:05:59]*** Cut end [16:05:59]Read from MH i2c: 01 07 00 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: 01 07 00 F3 1B 00 00 00 00 00 FF 0F 23 [16:05:59]process_action close_receipt done [16:05:59]requested_data is exist [16:05:59]produce_requested_data [16:05:59]requested_item fm.sn is exist - process it [16:05:59]wFMCommunicate request_size=4 [16:05:59]MH_SAM_APDU [16:05:59]CAPDU: 80 11 00 00 [16:05:59]Write to MH i2c: E2 08 00 F4 1B 80 11 00 00 00 00 00 00 89 [16:05:59]Write i2c OK [16:05:59]MH_I2C_Read... [16:05:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:59]Read from MH i2c: E2 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 17 00 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 17 00 F4 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E0 [16:05:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [16:05:59]wFMCommunicate OK [16:05:59]requested_item fd.num is exist - process it [16:05:59]SAM_PROTO_GetFieldsCounters [16:05:59]wFMCommunicate request_size=4 [16:05:59]MH_SAM_APDU [16:05:59]CAPDU: 80 13 00 00 [16:05:59]Write to MH i2c: E2 08 00 F5 1B 80 13 00 00 00 00 00 00 8C [16:05:59]Write i2c OK [16:05:59]MH_I2C_Read... [16:05:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:05:59]Read from MH i2c: E2 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 62 00 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 62 00 F5 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1F A8 00 00 0E 04 04 00 BD 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 31 [16:05:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 1F A8 00 00 0E 04 04 00 BD 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 [16:05:59]wFMCommunicate OK [16:05:59]SAM_PROTO_GetFieldsCounters done [16:05:59]requested_item shift.num is exist - process it [16:05:59]requested_item shift.opened is exist - process it [16:05:59]req_shift_opened [16:05:59]FM_GetShiftState [16:05:59]SAM_PROTO_GetShiftState [16:05:59]wFMCommunicate request_size=4 [16:05:59]MH_SAM_APDU [16:05:59]CAPDU: 80 13 01 00 [16:05:59]Write to MH i2c: E2 08 00 F6 1B 80 13 01 00 00 00 00 00 8E [16:05:59]Write i2c OK [16:05:59]MH_I2C_Read... [16:05:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:59]Read from MH i2c: E2 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 0E 00 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 0E 00 F6 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 25 [16:05:59]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [16:05:59]wFMCommunicate OK [16:05:59]SAM_PROTO_GetShiftState done [16:05:59]FM_GetShiftState done [16:05:59]req_shift_opened done [16:05:59]requested_item shift.open_date is exist - process it [16:05:59]req_shift_open_date [16:05:59]req_shift_open_date done [16:05:59]requested_item shift.sale.total is exist - process it [16:05:59]SAM_PROTO_GetShiftData [16:05:59]wFMCommunicate request_size=4 [16:05:59]MH_SAM_APDU [16:05:59]CAPDU: 80 13 02 00 [16:05:59]Write to MH i2c: E2 08 00 F7 1B 80 13 02 00 00 00 00 00 90 [16:05:59]Write i2c OK [16:05:59]MH_I2C_Read... [16:05:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:05:59]Read from MH i2c: E2 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 FD 00 [16:05:59]MH_I2C_Read... [16:05:59]Read from MH i2c: E2 FD 00 F7 1B 00 AE 04 AA 04 AA 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 18 F5 15 70 04 03 00 68 1B 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B4 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 5F [16:05:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 18 F5 15 70 04 03 00 68 1B 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E8 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B4 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [16:05:59]wFMCommunicate OK [16:05:59]wFMCommunicate request_size=4 [16:05:59]MH_SAM_APDU [16:05:59]CAPDU: 80 17 00 00 [16:05:59]Write to MH i2c: E2 08 00 F8 1B 80 17 00 00 00 00 00 00 93 [16:05:59]Write i2c OK [16:05:59]MH_I2C_Read... [16:06:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:00]Read from MH i2c: E2 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 F8 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B5 [16:06:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [16:06:00]wFMCommunicate OK [16:06:00]wFMCommunicate request_size=4 [16:06:00]MH_SAM_APDU [16:06:00]CAPDU: 80 17 00 00 [16:06:00]Write to MH i2c: E2 08 00 F9 1B 80 17 00 00 00 00 00 00 94 [16:06:00]Write i2c OK [16:06:00]MH_I2C_Read... [16:06:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:00]Read from MH i2c: E2 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 F9 1B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 4B [16:06:00]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [16:06:00]wFMCommunicate OK [16:06:00]wFMCommunicate request_size=4 [16:06:00]MH_SAM_APDU [16:06:00]CAPDU: 80 17 00 00 [16:06:00]Write to MH i2c: E2 08 00 FA 1B 80 17 00 00 00 00 00 00 95 [16:06:00]Write i2c OK [16:06:00]MH_I2C_Read... [16:06:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:00]Read from MH i2c: E2 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 [16:06:00]MH_I2C_Read... [16:06:00]Read from MH i2c: E2 FD 00 FA 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 07 [16:06:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [16:06:00]wFMCommunicate OK [16:06:00]wFMCommunicate request_size=4 [16:06:00]MH_SAM_APDU [16:06:00]CAPDU: 80 17 00 00 [16:06:00]Write to MH i2c: E2 08 00 FB 1B 80 17 00 00 00 00 00 00 96 [16:06:00]Write i2c OK [16:06:00]MH_I2C_Read... [16:06:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [16:06:01]Read from MH i2c: E2 [16:06:01]MH_I2C_Read... [16:06:01]Read from MH i2c: E2 CB 00 [16:06:01]MH_I2C_Read... [16:06:01]Read from MH i2c: E2 CB 00 FB 1B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [16:06:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:06:01]wFMCommunicate OK [16:06:01]SAM_PROTO_GetShiftData done [16:06:01]requested_item shift.sale.total_cash is exist - process it [16:06:01]requested_item shift.sale_refund.total is exist - process it [16:06:01]requested_item shift.sale_refund.total_cash is exist - process it [16:06:01]produce_requested_data done [16:06:01]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43039,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14390.00,"shift.sale.total_cash":12522.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [16:06:01]process_action_free close_receipt [16:06:01]json_value_free [16:06:01]json_value_free done [16:06:01]process_json_proto returns [16:06:01]Send response to host [16:06:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43039,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14390.00,"shift.sale.total_cash":12522.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [16:06:01]free response buf [16:06:01]execute_script done [16:06:01]execute_script returns [16:06:01]free content buf [16:06:01]Sock 9.Close socket [16:06:01]Sock 9.Thread stoped [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:55]OFD Sender: No OFD packet to send [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:40]OFD Sender: No OFD packet to send [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:35]OFD Sender: No OFD packet to send [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:45]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:53]accept exits with 7 [16:58:53]New connection [16:58:53]New thread 3067530596 created [16:58:53]Thread 3067387236 joined [16:58:53]Waiting for new connection... [16:58:53] Sock 7.Parse request [16:58:53]Sock 7.Check first char [16:58:53]Sock 7.First char is OK [16:58:53]request: POST /json_proto HTTP/1.0 [16:58:53]Method: POST [16:58:53]URL: /json_proto [16:58:53]Method is POST - this is cgi request [16:58:53]url: /json_proto [16:58:53]query_string will be loaded in cgi processing [16:58:53]execute_cgi json_proto POST (null) [16:58:53]execute_cgi path=json_proto method=POST [16:58:53]POST find Content-Length [16:58:53]Host: 172.17.38.197:8080 [16:58:53]Content-Length: 727 [16:58:53]Content-Type: application/json [16:58:53] [16:58:53]POST finish read [16:58:53]Found Content-Length = 727 [16:58:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300168", "tax_sys" : 0, "items" : [ { "code": "4700000180134", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Fusion White", "price" : 96.00, "quantity" : 4.000, "sum" : 384.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 384.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:58:53]execute_script... [16:58:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300168", "tax_sys" : 0, "items" : [ { "code": "4700000180134", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Fusion White", "price" : 96.00, "quantity" : 4.000, "sum" : 384.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 384.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:58:53]POST & json_proto [16:58:53]process_json_proto [16:58:53]json parsed OK: [16:58:53]protocol is kg_v1.0 [16:58:53]action value=close_receipt [16:58:53]process_action close_receipt [16:58:53]cmd_close_receipt [16:58:53]MH_GetDate [16:58:53]Write to MH i2c: F0 00 00 FC 1B 06 [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: F0 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: F0 09 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: F0 09 00 FC 1B 00 51 B2 92 66 1E 0D 88 66 23 [16:58:53]GetLastDocTimeStamp 1720886759 [16:58:53]current date 1720889937 [16:58:53]FM_GetShiftState [16:58:53]SAM_PROTO_GetShiftState [16:58:53]wFMCommunicate request_size=4 [16:58:53]MH_SAM_APDU [16:58:53]CAPDU: 80 13 01 00 [16:58:53]Write to MH i2c: E2 08 00 FD 1B 80 13 01 00 00 00 00 00 95 [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:53]Read from MH i2c: E2 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 0E 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 0E 00 FD 1B 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2C [16:58:53]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [16:58:53]wFMCommunicate OK [16:58:53]SAM_PROTO_GetShiftState done [16:58:53]FM_GetShiftState done [16:58:53]opened in 1720829646 [16:58:53]opened+sec_in_day 1720916046 [16:58:53]quantity*price = 38400 [16:58:53]sum+1 = 38401 [16:58:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 384.00 НСП 1% : 3.40 НДС 12% : 40.78 Наличными: 384.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 85 13.07.2024 16:58 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43040 ФПД: 223117065696534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T165857&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43040&fm=223117065696534&tin=02508201610067®Number=0000000000091176&sum=38400 0 [16:58:54]StoreToDocumentArchive [16:58:54]shift 445 fd 43040 [16:58:54]save to /storage/0445/doc_00043040 [16:58:54]save last doc name /storage/0445/doc_00043040 to /storage/kkm_last_doc_name [16:58:54]save OK [16:58:54]Clear old archive folders... [16:58:54]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:58:54]tlvbuf is B6FE5680 [16:58:54]SAM_PROTO_ClearQueue [16:58:54]wFMCommunicate request_size=4 [16:58:54]MH_SAM_APDU [16:58:54]CAPDU: 80 09 00 00 [16:58:54]Write to MH i2c: E2 08 00 0A 1C 80 09 00 00 00 00 00 00 98 [16:58:54]Write i2c OK [16:58:54]MH_I2C_Read... [16:58:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:58:54]Read from MH i2c: E2 [16:58:54]MH_I2C_Read... [16:58:54]Read from MH i2c: E2 03 00 [16:58:54]MH_I2C_Read... [16:58:54]Read from MH i2c: E2 03 00 0A 1C 00 90 00 9A [16:58:54]RAPDU: 90 00 [16:58:54]wFMCommunicate OK [16:58:54]SAM_PROTO_ClearQueue done [16:58:54]KKMCreateOFDPacket [16:58:54]OFDProtocolAddRootSTLVToBuf [16:58:54]FM_MakeSignedData [16:58:54]FM_MakeSignedData [16:58:54]SAM_PROTO_SignData [16:58:54]wFMCommunicate request_size=4 [16:58:54]MH_SAM_APDU [16:58:54]CAPDU: 80 0D 01 02 [16:58:54]Write to MH i2c: E2 08 00 0B 1C 80 0D 01 02 00 00 00 00 A0 [16:58:54]Write i2c OK [16:58:54]MH_I2C_Read... [16:58:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:58:54]Read from MH i2c: E2 [16:58:54]MH_I2C_Read... [16:58:54]Read from MH i2c: E2 03 00 [16:58:54]MH_I2C_Read... [16:58:54]Read from MH i2c: E2 03 00 0B 1C 00 90 00 9B [16:58:54]RAPDU: 90 00 [16:58:54]wFMCommunicate OK [16:58:54]wFMCommunicate request_size=255 [16:58:54]MH_SAM_APDU [16:58:54]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 33 34 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 46 75 73 69 6F 6E 20 57 68 69 74 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 00 96 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 51 B2 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 [16:58:54]Write to MH i2c: E2 02 01 0C 1C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 33 34 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 46 75 73 69 6F 6E 20 57 68 69 74 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 00 96 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 51 B2 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 00 00 CB [16:58:54]Write i2c OK [16:58:54]MH_I2C_Read... [16:58:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:55]Read from MH i2c: E2 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 03 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 03 00 0C 1C 00 90 00 9C [16:58:55]RAPDU: 90 00 [16:58:55]wFMCommunicate OK [16:58:55]wFMCommunicate request_size=35 [16:58:55]MH_SAM_APDU [16:58:55]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 20 A8 00 00 35 04 06 00 CA EC 7D 71 B5 16 [16:58:55]Write to MH i2c: E2 26 00 0D 1C 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 20 A8 00 00 35 04 06 00 CA EC 7D 71 B5 16 00 00 D1 [16:58:55]Write i2c OK [16:58:55]MH_I2C_Read... [16:58:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:55]Read from MH i2c: E2 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 03 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 03 00 0D 1C 00 90 00 9D [16:58:55]RAPDU: 90 00 [16:58:55]wFMCommunicate OK [16:58:55]wFMCommunicate request_size=4 [16:58:55]MH_SAM_APDU [16:58:55]CAPDU: 80 0D 03 02 [16:58:55]Write to MH i2c: E2 08 00 0E 1C 80 0D 03 02 00 00 00 00 A5 [16:58:55]Write i2c OK [16:58:55]MH_I2C_Read... [16:58:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:58:55]Read from MH i2c: E2 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 0B 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 0B 00 0E 1C 00 05 06 F0 61 CC 41 AF 37 90 00 F5 [16:58:55]RAPDU: 05 06 F0 61 CC 41 AF 37 90 00 [16:58:55]wFMCommunicate OK [16:58:55]SAM_PROTO_SignData done [16:58:55]FM_MakeSignedData done [16:58:55]CreateOFDProtocolMessage [16:58:55]wFMCommunicate request_size=4 [16:58:55]MH_SAM_APDU [16:58:55]CAPDU: 80 11 00 00 [16:58:55]Write to MH i2c: E2 08 00 0F 1C 80 11 00 00 00 00 00 00 A5 [16:58:55]Write i2c OK [16:58:55]MH_I2C_Read... [16:58:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:55]Read from MH i2c: E2 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 17 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: E2 17 00 0F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 FC [16:58:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [16:58:55]wFMCommunicate OK [16:58:55]CreateOFDProtocolMessage done [16:58:55]OFDSenderStorePacket 43040 [16:58:55]StoreOFDPacket docnum=43040 [16:58:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 92 8D 20 01 31 AF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 33 34 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 46 75 73 69 6F 6E 20 57 68 69 74 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 00 96 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 51 B2 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 20 A8 00 00 35 04 06 00 CA EC 7D 71 B5 16 05 06 F0 61 CC 41 AF 37 [16:58:55]CheckFolder [16:58:55]dirname=/storage/ofd_packets [16:58:55]CheckFolder done [16:58:55]ProducePacketName [16:58:55]name=ofd_packets/00043040 [16:58:55]NVStorageSaveData ofd_packets/00043040 [16:58:55]File name is /storage/ofd_packets/00043040 [16:58:55]Write 326 bytes [16:58:55]NVStorageSaveData done [16:58:55]OFDSenderStorePacket done [16:58:55]KKMCreateOFDPacket done [16:58:55]NVStorageSaveData kkm_last_timestamp [16:58:55]File name is /storage/kkm_last_timestamp [16:58:55]Write 4 bytes [16:58:55]NVStorageSaveData done [16:58:55]ExternCall_PrintAddStr [16:58:55]wPrintStart [16:58:55]Write to MH i2c: 01 00 00 10 1C 2C [16:58:55]Write i2c OK [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 07 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 07 00 10 1C 00 00 00 00 00 FF 0F 41 [16:58:55]RasterBufferAndPrint [16:58:55]line Счет N : (3)300168 [16:58:55]line ИНН: 02508201610067 [16:58:55]line Контрольно-Кассовый Чек [16:58:55]line ПРОДАЖА [16:58:55]line Товар: 4700000180134 [16:58:55]line Сигареты West Fusion White [16:58:55]line 4.000 * 96.00 [16:58:55]line = 384.00 [16:58:55]line НДС 12% НСП 1% [16:58:55]line > о реализуемом товаре [16:58:55]line ИТОГО: 384.00 [16:58:55]line НСП 1% : 3.40 [16:58:55]line НДС 12% : 40.78 [16:58:55]line Наличными: 384.00 [16:58:55]line Безнал.: 0.00 [16:58:55]line Место: АЗС № 71 "Партнер Нефть" [16:58:55]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [16:58:55]line СНО: Общий режим [16:58:55]line Чек 85 13.07.2024 16:58 [16:58:55]line Смена: 445 ФФД: 1.0 [16:58:55]line ЗНМ: 0300000153 [16:58:55]line РНМ: 0000000000091176 [16:58:55]line Версия ККМ: 001 [16:58:55]line ФМ: 0000000000874935 [16:58:55]line ФД: 43040 [16:58:55]line ФПД: 223117065696534 [16:58:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T165857&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43040&fm=223117065696534&tin=02508201610067®Number=0000000000091176&sum=38400 [16:58:55]OFD Sender: Processing packet 43040 [packets to send 31, broken 30] [16:58:55]ProducePacketName [16:58:55]name=ofd_packets/00043040 [16:58:55]OFD Sender: To server: pG, [16:58:55]CommunicateWithHost lk.salyk.kg:30040 [16:58:55]ConnectInit lk.salyk.kg [16:58:55]line 0 [16:58:55]written 0, free lines is 4095 [16:58:55]Connected sock=10 [16:58:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 28 01 00 00 92 8D 20 01 31 AF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 33 34 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 46 75 73 69 6F 6E 20 57 68 69 74 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 00 96 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 51 B2 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 20 A8 00 00 35 04 06 00 CA EC 7D 71 B5 16 05 06 F0 61 CC 41 AF 37 [16:58:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 7A D7 47 00 27 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 20 A8 00 00 F4 03 04 00 4B 5E 92 66 B6 04 01 00 00 43 98 DF 38 B0 6F BA B4 [16:58:55]CommunicateWithHost err = 0 [16:58:55]CheckOFDResponse [16:58:55]1017 (14) - 77093643461234 [16:58:55]1041 (16) - 0000000000874935 [16:58:55]1040 (4) - 43040 [16:58:55]1012 (4) - 13.07.2024 11:00 [16:58:55]1206 (1) - 0 [16:58:55]OFD Sender: Remove packet 43040 [16:58:55]ProducePacketName [16:58:55]name=ofd_packets/00043040 [16:58:55]NVStorageDeleteData [16:58:55]Write to MH i2c: 01 00 00 38 1C 54 [16:58:55]Write i2c OK [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 07 00 [16:58:55]MH_I2C_Read... [16:58:55]Read from MH i2c: 01 07 00 38 1C 00 00 00 00 00 06 0D 6E [16:58:55]RasterBufferAndPrint [16:58:55]line [16:58:55]line [16:58:55]line [16:58:55]line [16:58:55]line [16:58:55]written 0, free lines is 3340 [16:58:56]MH_Cut [16:58:56]Write to MH i2c: D1 01 00 3F 1C 01 2D [16:58:56]Write i2c OK [16:58:56]MH_I2C_Read... [16:58:56]Read from MH i2c: D1 [16:58:56]MH_I2C_Read... [16:58:56]Read from MH i2c: D1 01 00 [16:58:56]MH_I2C_Read... [16:58:56]Read from MH i2c: D1 01 00 3F 1C 00 2C [16:58:56]Write to MH i2c: 01 00 00 40 1C 5C [16:58:56]Write i2c OK [16:58:56]MH_I2C_Read... [16:58:56]OFD Sender: No OFD packet to send [16:58:56]*** Cut start [16:58:56]*** Partial cut [16:58:56]*** CUTSNS_PIN = 1 [16:58:56]*** CUTSNS_PIN = 0 [16:58:56]*** Brake cut motor [16:58:57]Read from MH i2c: 01 [16:58:57]MH_I2C_Read... [16:58:57]*** Stop cut motor [16:58:57]*** Cut end [16:58:57]Read from MH i2c: 01 07 00 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: 01 07 00 40 1C 00 00 00 00 00 FF 0F 71 [16:58:57]process_action close_receipt done [16:58:57]requested_data is exist [16:58:57]produce_requested_data [16:58:57]requested_item fm.sn is exist - process it [16:58:57]wFMCommunicate request_size=4 [16:58:57]MH_SAM_APDU [16:58:57]CAPDU: 80 11 00 00 [16:58:57]Write to MH i2c: E2 08 00 41 1C 80 11 00 00 00 00 00 00 D7 [16:58:57]Write i2c OK [16:58:57]MH_I2C_Read... [16:58:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:57]Read from MH i2c: E2 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 17 00 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 17 00 41 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 2E [16:58:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [16:58:57]wFMCommunicate OK [16:58:57]requested_item fd.num is exist - process it [16:58:57]SAM_PROTO_GetFieldsCounters [16:58:57]wFMCommunicate request_size=4 [16:58:57]MH_SAM_APDU [16:58:57]CAPDU: 80 13 00 00 [16:58:57]Write to MH i2c: E2 08 00 42 1C 80 13 00 00 00 00 00 00 DA [16:58:57]Write i2c OK [16:58:57]MH_I2C_Read... [16:58:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:58:57]Read from MH i2c: E2 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 62 00 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 62 00 42 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 20 A8 00 00 0E 04 04 00 BD 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 83 [16:58:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 20 A8 00 00 0E 04 04 00 BD 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 [16:58:57]wFMCommunicate OK [16:58:57]SAM_PROTO_GetFieldsCounters done [16:58:57]requested_item shift.num is exist - process it [16:58:57]requested_item shift.opened is exist - process it [16:58:57]req_shift_opened [16:58:57]FM_GetShiftState [16:58:57]SAM_PROTO_GetShiftState [16:58:57]wFMCommunicate request_size=4 [16:58:57]MH_SAM_APDU [16:58:57]CAPDU: 80 13 01 00 [16:58:57]Write to MH i2c: E2 08 00 43 1C 80 13 01 00 00 00 00 00 DC [16:58:57]Write i2c OK [16:58:57]MH_I2C_Read... [16:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:57]Read from MH i2c: E2 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 0E 00 [16:58:57]MH_I2C_Read... [16:58:57]Read from MH i2c: E2 0E 00 43 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 73 [16:58:57]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [16:58:57]wFMCommunicate OK [16:58:57]SAM_PROTO_GetShiftState done [16:58:57]FM_GetShiftState done [16:58:57]req_shift_opened done [16:58:57]requested_item shift.open_date is exist - process it [16:58:57]req_shift_open_date [16:58:57]req_shift_open_date done [16:58:57]requested_item shift.sale.total is exist - process it [16:58:57]SAM_PROTO_GetShiftData [16:58:57]wFMCommunicate request_size=4 [16:58:57]MH_SAM_APDU [16:58:57]CAPDU: 80 13 02 00 [16:58:57]Write to MH i2c: E2 08 00 44 1C 80 13 02 00 00 00 00 00 DE [16:58:57]Write i2c OK [16:58:57]MH_I2C_Read... [16:58:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:58:58]Read from MH i2c: E2 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 44 1C 00 AE 04 AA 04 AA 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 18 8B 16 70 04 03 00 68 B1 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 64 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 08 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 30 [16:58:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 18 8B 16 70 04 03 00 68 B1 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 64 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 08 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [16:58:58]wFMCommunicate OK [16:58:58]wFMCommunicate request_size=4 [16:58:58]MH_SAM_APDU [16:58:58]CAPDU: 80 17 00 00 [16:58:58]Write to MH i2c: E2 08 00 45 1C 80 17 00 00 00 00 00 00 E1 [16:58:58]Write i2c OK [16:58:58]MH_I2C_Read... [16:58:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:58:58]Read from MH i2c: E2 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 45 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 03 [16:58:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [16:58:58]wFMCommunicate OK [16:58:58]wFMCommunicate request_size=4 [16:58:58]MH_SAM_APDU [16:58:58]CAPDU: 80 17 00 00 [16:58:58]Write to MH i2c: E2 08 00 46 1C 80 17 00 00 00 00 00 00 E2 [16:58:58]Write i2c OK [16:58:58]MH_I2C_Read... [16:58:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:58:58]Read from MH i2c: E2 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 46 1C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 99 [16:58:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [16:58:58]wFMCommunicate OK [16:58:58]wFMCommunicate request_size=4 [16:58:58]MH_SAM_APDU [16:58:58]CAPDU: 80 17 00 00 [16:58:58]Write to MH i2c: E2 08 00 47 1C 80 17 00 00 00 00 00 00 E3 [16:58:58]Write i2c OK [16:58:58]MH_I2C_Read... [16:58:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:58:58]Read from MH i2c: E2 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 [16:58:58]MH_I2C_Read... [16:58:58]Read from MH i2c: E2 FD 00 47 1C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 55 [16:58:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [16:58:58]wFMCommunicate OK [16:58:58]wFMCommunicate request_size=4 [16:58:58]MH_SAM_APDU [16:58:58]CAPDU: 80 17 00 00 [16:58:58]Write to MH i2c: E2 08 00 48 1C 80 17 00 00 00 00 00 00 E4 [16:58:58]Write i2c OK [16:58:58]MH_I2C_Read... [16:58:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [16:58:59]Read from MH i2c: E2 [16:58:59]MH_I2C_Read... [16:58:59]Read from MH i2c: E2 CB 00 [16:58:59]MH_I2C_Read... [16:58:59]Read from MH i2c: E2 CB 00 48 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [16:58:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:58:59]wFMCommunicate OK [16:58:59]SAM_PROTO_GetShiftData done [16:58:59]requested_item shift.sale.total_cash is exist - process it [16:58:59]requested_item shift.sale_refund.total is exist - process it [16:58:59]requested_item shift.sale_refund.total_cash is exist - process it [16:58:59]produce_requested_data done [16:58:59]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43040,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14774.00,"shift.sale.total_cash":12906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [16:58:59]process_action_free close_receipt [16:58:59]json_value_free [16:58:59]json_value_free done [16:58:59]process_json_proto returns [16:58:59]Send response to host [16:58:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43040,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14774.00,"shift.sale.total_cash":12906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [16:58:59]free response buf [16:58:59]execute_script done [16:58:59]execute_script returns [16:58:59]free content buf [16:58:59]Sock 7.Close socket [16:58:59]Sock 7.Thread stoped [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:39]accept exits with 9 [17:08:39]New connection [17:08:39]New thread 3067387236 created [17:08:39]Thread 3067530596 joined [17:08:39]Waiting for new connection... [17:08:39] Sock 9.Parse request [17:08:39]Sock 9.Check first char [17:08:39]Sock 9.First char is OK [17:08:39]request: POST /json_proto HTTP/1.0 [17:08:39]Method: POST [17:08:39]URL: /json_proto [17:08:39]Method is POST - this is cgi request [17:08:39]url: /json_proto [17:08:39]query_string will be loaded in cgi processing [17:08:39]execute_cgi json_proto POST (null) [17:08:39]execute_cgi path=json_proto method=POST [17:08:39]POST find Content-Length [17:08:39]Host: 172.17.38.197:8080 [17:08:39]Content-Length: 788 [17:08:39]Content-Type: application/json [17:08:39] [17:08:39]POST finish read [17:08:39]Found Content-Length = 788 [17:08:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300169", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:08:39]execute_script... [17:08:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300169", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:08:39]POST & json_proto [17:08:39]process_json_proto [17:08:39]json parsed OK: [17:08:39]protocol is kg_v1.0 [17:08:39]action value=close_receipt [17:08:39]process_action close_receipt [17:08:39]cmd_close_receipt [17:08:39]MH_GetDate [17:08:39]Write to MH i2c: F0 00 00 49 1C 54 [17:08:39]Write i2c OK [17:08:39]MH_I2C_Read... [17:08:39]Read from MH i2c: F0 [17:08:39]MH_I2C_Read... [17:08:39]Read from MH i2c: F0 09 00 [17:08:39]MH_I2C_Read... [17:08:39]Read from MH i2c: F0 09 00 49 1C 00 9C B4 92 66 1E 0D 88 66 BE [17:08:39]GetLastDocTimeStamp 1720889937 [17:08:39]current date 1720890524 [17:08:39]FM_GetShiftState [17:08:39]SAM_PROTO_GetShiftState [17:08:39]wFMCommunicate request_size=4 [17:08:39]MH_SAM_APDU [17:08:39]CAPDU: 80 13 01 00 [17:08:39]Write to MH i2c: E2 08 00 4A 1C 80 13 01 00 00 00 00 00 E3 [17:08:39]Write i2c OK [17:08:39]MH_I2C_Read... [17:08:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:39]Read from MH i2c: E2 [17:08:39]MH_I2C_Read... [17:08:39]Read from MH i2c: E2 0E 00 [17:08:39]MH_I2C_Read... [17:08:39]Read from MH i2c: E2 0E 00 4A 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 7A [17:08:39]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:08:39]wFMCommunicate OK [17:08:39]SAM_PROTO_GetShiftState done [17:08:39]FM_GetShiftState done [17:08:39]opened in 1720829646 [17:08:39]opened+sec_in_day 1720916046 [17:08:39]quantity*price = 7500 [17:08:39]sum+1 = 7501 [17:08:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 86 13.07.2024 17:08 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43041 ФПД: 16456679720811 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T170844&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43041&fm=16456679720811&tin=02508201610067®Number=0000000000091176&sum=7500 0 [17:08:40]StoreToDocumentArchive [17:08:40]shift 445 fd 43041 [17:08:40]save to /storage/0445/doc_00043041 [17:08:40]save last doc name /storage/0445/doc_00043041 to /storage/kkm_last_doc_name [17:08:40]save OK [17:08:40]Clear old archive folders... [17:08:40]ProcessDocumentItem done err = 0, tmpTLVsize=295 [17:08:40]tlvbuf is 015991B0 [17:08:40]SAM_PROTO_ClearQueue [17:08:40]wFMCommunicate request_size=4 [17:08:40]MH_SAM_APDU [17:08:40]CAPDU: 80 09 00 00 [17:08:40]Write to MH i2c: E2 08 00 57 1C 80 09 00 00 00 00 00 00 E5 [17:08:40]Write i2c OK [17:08:40]MH_I2C_Read... [17:08:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:08:40]Read from MH i2c: E2 [17:08:40]MH_I2C_Read... [17:08:40]Read from MH i2c: E2 03 00 [17:08:40]MH_I2C_Read... [17:08:40]Read from MH i2c: E2 03 00 57 1C 00 90 00 E7 [17:08:40]RAPDU: 90 00 [17:08:40]wFMCommunicate OK [17:08:40]SAM_PROTO_ClearQueue done [17:08:40]KKMCreateOFDPacket [17:08:40]OFDProtocolAddRootSTLVToBuf [17:08:40]FM_MakeSignedData [17:08:40]FM_MakeSignedData [17:08:40]SAM_PROTO_SignData [17:08:40]wFMCommunicate request_size=4 [17:08:40]MH_SAM_APDU [17:08:40]CAPDU: 80 0D 01 02 [17:08:40]Write to MH i2c: E2 08 00 58 1C 80 0D 01 02 00 00 00 00 ED [17:08:40]Write i2c OK [17:08:40]MH_I2C_Read... [17:08:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:08:40]Read from MH i2c: E2 [17:08:40]MH_I2C_Read... [17:08:40]Read from MH i2c: E2 03 00 [17:08:40]MH_I2C_Read... [17:08:40]Read from MH i2c: E2 03 00 58 1C 00 90 00 E8 [17:08:40]RAPDU: 90 00 [17:08:40]wFMCommunicate OK [17:08:40]wFMCommunicate request_size=255 [17:08:40]MH_SAM_APDU [17:08:40]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 9C B4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [17:08:40]Write to MH i2c: E2 02 01 59 1C 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 9C B4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 8E [17:08:40]Write i2c OK [17:08:40]MH_I2C_Read... [17:08:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:41]Read from MH i2c: E2 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 03 00 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 03 00 59 1C 00 90 00 E9 [17:08:41]RAPDU: 90 00 [17:08:41]wFMCommunicate OK [17:08:41]wFMCommunicate request_size=54 [17:08:41]MH_SAM_APDU [17:08:41]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 21 A8 00 00 35 04 06 00 0E F7 9E 8C 87 6B [17:08:41]Write to MH i2c: E2 39 00 5A 1C 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 21 A8 00 00 35 04 06 00 0E F7 9E 8C 87 6B 00 00 04 [17:08:41]Write i2c OK [17:08:41]MH_I2C_Read... [17:08:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:41]Read from MH i2c: E2 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 03 00 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 03 00 5A 1C 00 90 00 EA [17:08:41]RAPDU: 90 00 [17:08:41]wFMCommunicate OK [17:08:41]wFMCommunicate request_size=4 [17:08:41]MH_SAM_APDU [17:08:41]CAPDU: 80 0D 03 02 [17:08:41]Write to MH i2c: E2 08 00 5B 1C 80 0D 03 02 00 00 00 00 F2 [17:08:41]Write i2c OK [17:08:41]MH_I2C_Read... [17:08:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:08:41]Read from MH i2c: E2 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 0B 00 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 0B 00 5B 1C 00 AF 19 04 F8 A8 EE E7 8C 90 00 C0 [17:08:41]RAPDU: AF 19 04 F8 A8 EE E7 8C 90 00 [17:08:41]wFMCommunicate OK [17:08:41]SAM_PROTO_SignData done [17:08:41]FM_MakeSignedData done [17:08:41]CreateOFDProtocolMessage [17:08:41]wFMCommunicate request_size=4 [17:08:41]MH_SAM_APDU [17:08:41]CAPDU: 80 11 00 00 [17:08:41]Write to MH i2c: E2 08 00 5C 1C 80 11 00 00 00 00 00 00 F2 [17:08:41]Write i2c OK [17:08:41]MH_I2C_Read... [17:08:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:41]Read from MH i2c: E2 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 17 00 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: E2 17 00 5C 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 49 [17:08:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:08:41]wFMCommunicate OK [17:08:41]CreateOFDProtocolMessage done [17:08:41]OFDSenderStorePacket 43041 [17:08:41]StoreOFDPacket docnum=43041 [17:08:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3B 01 00 00 0E 79 33 01 64 2D 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 9C B4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 21 A8 00 00 35 04 06 00 0E F7 9E 8C 87 6B AF 19 04 F8 A8 EE E7 8C [17:08:41]CheckFolder [17:08:41]dirname=/storage/ofd_packets [17:08:41]CheckFolder done [17:08:41]ProducePacketName [17:08:41]name=ofd_packets/00043041 [17:08:41]NVStorageSaveData ofd_packets/00043041 [17:08:41]File name is /storage/ofd_packets/00043041 [17:08:41]Write 345 bytes [17:08:41]NVStorageSaveData done [17:08:41]OFDSenderStorePacket done [17:08:41]KKMCreateOFDPacket done [17:08:41]NVStorageSaveData kkm_last_timestamp [17:08:41]File name is /storage/kkm_last_timestamp [17:08:41]Write 4 bytes [17:08:41]NVStorageSaveData done [17:08:41]ExternCall_PrintAddStr [17:08:41]wPrintStart [17:08:41]Write to MH i2c: 01 00 00 5D 1C 79 [17:08:41]Write i2c OK [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: 01 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: 01 07 00 [17:08:41]MH_I2C_Read... [17:08:41]Read from MH i2c: 01 07 00 5D 1C 00 00 00 00 00 FF 0F 8E [17:08:41]RasterBufferAndPrint [17:08:41]line Счет N : (3)300169 [17:08:41]line ИНН: 02508201610067 [17:08:41]line Контрольно-Кассовый Чек [17:08:41]line ПРОДАЖА [17:08:41]line Товар: 5449000027450 [17:08:41]line Напиток FuzeTea чай манго,ром 0,5л [17:08:41]line 1.000 * 75.00 [17:08:41]line = 75.00 [17:08:41]line НДС 12% НСП 1% [17:08:41]line > о реализуемом товаре [17:08:41]line ИТОГО: 75.00 [17:08:41]line НСП 1% : 0.66 [17:08:41]line НДС 12% : 7.96 [17:08:41]line Наличными: 75.00 [17:08:41]line Безнал.: 0.00 [17:08:41]line Место: АЗС № 71 "Партнер Нефть" [17:08:41]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [17:08:41]line СНО: Общий режим [17:08:41]line Чек 86 13.07.2024 17:08 [17:08:41]line Смена: 445 ФФД: 1.0 [17:08:41]line ЗНМ: 0300000153 [17:08:41]line РНМ: 0000000000091176 [17:08:41]line Версия ККМ: 001 [17:08:41]line ФМ: 0000000000874935 [17:08:41]line ФД: 43041 [17:08:41]line ФПД: 16456679720811 [17:08:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T170844&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43041&fm=16456679720811&tin=02508201610067®Number=0000000000091176&sum=7500 [17:08:41]OFD Sender: Processing packet 43041 [packets to send 31, broken 30] [17:08:41]ProducePacketName [17:08:41]name=ofd_packets/00043041 [17:08:41]OFD Sender: To server: pG, [17:08:41]CommunicateWithHost lk.salyk.kg:30040 [17:08:41]ConnectInit lk.salyk.kg [17:08:41]line 0 [17:08:41]written 0, free lines is 4095 [17:08:41]Connected sock=10 [17:08:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3B 01 00 00 0E 79 33 01 64 2D 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 9C B4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 21 A8 00 00 35 04 06 00 0E F7 9E 8C 87 6B AF 19 04 F8 A8 EE E7 8C [17:08:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 F9 9E 47 00 3D 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 21 A8 00 00 F4 03 04 00 95 60 92 66 B6 04 01 00 00 50 A7 7E C5 AD 05 86 B9 [17:08:41]CommunicateWithHost err = 0 [17:08:41]CheckOFDResponse [17:08:41]1017 (14) - 77093643461234 [17:08:41]1041 (16) - 0000000000874935 [17:08:41]1040 (4) - 43041 [17:08:41]1012 (4) - 13.07.2024 11:10 [17:08:41]1206 (1) - 0 [17:08:41]OFD Sender: Remove packet 43041 [17:08:41]ProducePacketName [17:08:41]name=ofd_packets/00043041 [17:08:41]NVStorageDeleteData [17:08:42]Write to MH i2c: 01 00 00 86 1C A2 [17:08:42]Write i2c OK [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: 01 [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: 01 07 00 [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: 01 07 00 86 1C 00 00 00 00 00 E8 0C 9D [17:08:42]RasterBufferAndPrint [17:08:42]line [17:08:42]line [17:08:42]line [17:08:42]line [17:08:42]line [17:08:42]written 0, free lines is 3310 [17:08:42]MH_Cut [17:08:42]Write to MH i2c: D1 01 00 8D 1C 01 7B [17:08:42]Write i2c OK [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: D1 [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: D1 01 00 [17:08:42]MH_I2C_Read... [17:08:42]Read from MH i2c: D1 01 00 8D 1C 00 7A [17:08:42]Write to MH i2c: 01 00 00 8E 1C AA [17:08:42]Write i2c OK [17:08:42]MH_I2C_Read... [17:08:42]OFD Sender: No OFD packet to send [17:08:42]*** Cut start [17:08:42]*** Partial cut [17:08:42]*** CUTSNS_PIN = 1 [17:08:42]*** CUTSNS_PIN = 0 [17:08:43]*** Brake cut motor [17:08:43]Read from MH i2c: 01 [17:08:43]MH_I2C_Read... [17:08:43]*** Stop cut motor [17:08:43]*** Cut end [17:08:43]Read from MH i2c: 01 07 00 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: 01 07 00 8E 1C 00 00 00 00 00 FF 0F BF [17:08:43]process_action close_receipt done [17:08:43]requested_data is exist [17:08:43]produce_requested_data [17:08:43]requested_item fm.sn is exist - process it [17:08:43]wFMCommunicate request_size=4 [17:08:43]MH_SAM_APDU [17:08:43]CAPDU: 80 11 00 00 [17:08:43]Write to MH i2c: E2 08 00 8F 1C 80 11 00 00 00 00 00 00 25 [17:08:43]Write i2c OK [17:08:43]MH_I2C_Read... [17:08:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:43]Read from MH i2c: E2 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 17 00 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 17 00 8F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 7C [17:08:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:08:43]wFMCommunicate OK [17:08:43]requested_item fd.num is exist - process it [17:08:43]SAM_PROTO_GetFieldsCounters [17:08:43]wFMCommunicate request_size=4 [17:08:43]MH_SAM_APDU [17:08:43]CAPDU: 80 13 00 00 [17:08:43]Write to MH i2c: E2 08 00 90 1C 80 13 00 00 00 00 00 00 28 [17:08:43]Write i2c OK [17:08:43]MH_I2C_Read... [17:08:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:08:43]Read from MH i2c: E2 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 62 00 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 62 00 90 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 21 A8 00 00 0E 04 04 00 BD 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 D5 [17:08:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 21 A8 00 00 0E 04 04 00 BD 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:08:43]wFMCommunicate OK [17:08:43]SAM_PROTO_GetFieldsCounters done [17:08:43]requested_item shift.num is exist - process it [17:08:43]requested_item shift.opened is exist - process it [17:08:43]req_shift_opened [17:08:43]FM_GetShiftState [17:08:43]SAM_PROTO_GetShiftState [17:08:43]wFMCommunicate request_size=4 [17:08:43]MH_SAM_APDU [17:08:43]CAPDU: 80 13 01 00 [17:08:43]Write to MH i2c: E2 08 00 91 1C 80 13 01 00 00 00 00 00 2A [17:08:43]Write i2c OK [17:08:43]MH_I2C_Read... [17:08:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:43]Read from MH i2c: E2 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 0E 00 [17:08:43]MH_I2C_Read... [17:08:43]Read from MH i2c: E2 0E 00 91 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C1 [17:08:43]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:08:43]wFMCommunicate OK [17:08:43]SAM_PROTO_GetShiftState done [17:08:43]FM_GetShiftState done [17:08:43]req_shift_opened done [17:08:43]requested_item shift.open_date is exist - process it [17:08:43]req_shift_open_date [17:08:43]req_shift_open_date done [17:08:43]requested_item shift.sale.total is exist - process it [17:08:43]SAM_PROTO_GetShiftData [17:08:43]wFMCommunicate request_size=4 [17:08:43]MH_SAM_APDU [17:08:43]CAPDU: 80 13 02 00 [17:08:43]Write to MH i2c: E2 08 00 92 1C 80 13 02 00 00 00 00 00 2C [17:08:43]Write i2c OK [17:08:43]MH_I2C_Read... [17:08:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:08:44]Read from MH i2c: E2 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 92 1C 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 64 A8 16 70 04 03 00 B4 CE 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 67 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B3 [17:08:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 64 A8 16 70 04 03 00 B4 CE 13 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 67 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:08:44]wFMCommunicate OK [17:08:44]wFMCommunicate request_size=4 [17:08:44]MH_SAM_APDU [17:08:44]CAPDU: 80 17 00 00 [17:08:44]Write to MH i2c: E2 08 00 93 1C 80 17 00 00 00 00 00 00 2F [17:08:44]Write i2c OK [17:08:44]MH_I2C_Read... [17:08:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:44]Read from MH i2c: E2 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 93 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 51 [17:08:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:08:44]wFMCommunicate OK [17:08:44]wFMCommunicate request_size=4 [17:08:44]MH_SAM_APDU [17:08:44]CAPDU: 80 17 00 00 [17:08:44]Write to MH i2c: E2 08 00 94 1C 80 17 00 00 00 00 00 00 30 [17:08:44]Write i2c OK [17:08:44]MH_I2C_Read... [17:08:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:44]Read from MH i2c: E2 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 [17:08:44]MH_I2C_Read... [17:08:44]Read from MH i2c: E2 FD 00 94 1C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E7 [17:08:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:08:44]wFMCommunicate OK [17:08:44]wFMCommunicate request_size=4 [17:08:44]MH_SAM_APDU [17:08:44]CAPDU: 80 17 00 00 [17:08:44]Write to MH i2c: E2 08 00 95 1C 80 17 00 00 00 00 00 00 31 [17:08:44]Write i2c OK [17:08:44]MH_I2C_Read... [17:08:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:45]Read from MH i2c: E2 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 FD 00 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 FD 00 95 1C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A3 [17:08:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:08:45]wFMCommunicate OK [17:08:45]wFMCommunicate request_size=4 [17:08:45]MH_SAM_APDU [17:08:45]CAPDU: 80 17 00 00 [17:08:45]Write to MH i2c: E2 08 00 96 1C 80 17 00 00 00 00 00 00 32 [17:08:45]Write i2c OK [17:08:45]MH_I2C_Read... [17:08:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:08:45]Read from MH i2c: E2 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 CB 00 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 CB 00 96 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1B [17:08:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:08:45]wFMCommunicate OK [17:08:45]SAM_PROTO_GetShiftData done [17:08:45]requested_item shift.sale.total_cash is exist - process it [17:08:45]requested_item shift.sale_refund.total is exist - process it [17:08:45]requested_item shift.sale_refund.total_cash is exist - process it [17:08:45]produce_requested_data done [17:08:45]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43041,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14849.00,"shift.sale.total_cash":12981.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [17:08:45]process_action_free close_receipt [17:08:45]json_value_free [17:08:45]json_value_free done [17:08:45]process_json_proto returns [17:08:45]Send response to host [17:08:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43041,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":14849.00,"shift.sale.total_cash":12981.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [17:08:45]free response buf [17:08:45]execute_script done [17:08:45]execute_script returns [17:08:45]free content buf [17:08:45]Sock 9.Close socket [17:08:45]Sock 9.Thread stoped [17:08:47]OFD Sender: No OFD packet to send [17:08:52]OFD Sender: No OFD packet to send [17:08:57]OFD Sender: No OFD packet to send [17:09:02]OFD Sender: No OFD packet to send [17:09:07]OFD Sender: No OFD packet to send [17:09:12]OFD Sender: No OFD packet to send [17:09:17]OFD Sender: No OFD packet to send [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:29]accept exits with 7 [17:11:29]New connection [17:11:29]New thread 3067530596 created [17:11:29]Thread 3067387236 joined [17:11:29]Waiting for new connection... [17:11:29] Sock 7.Parse request [17:11:29]Sock 7.Check first char [17:11:29]Sock 7.First char is OK [17:11:29]request: POST /json_proto HTTP/1.0 [17:11:29]Method: POST [17:11:29]URL: /json_proto [17:11:29]Method is POST - this is cgi request [17:11:29]url: /json_proto [17:11:29]query_string will be loaded in cgi processing [17:11:29]execute_cgi json_proto POST (null) [17:11:29]execute_cgi path=json_proto method=POST [17:11:29]POST find Content-Length [17:11:29]Host: 172.17.38.197:8080 [17:11:29]Content-Length: 810 [17:11:29]Content-Type: application/json [17:11:29] [17:11:29]POST finish read [17:11:29]Found Content-Length = 810 [17:11:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300170", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:11:29]execute_script... [17:11:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300170", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:11:29]POST & json_proto [17:11:29]process_json_proto [17:11:29]json parsed OK: [17:11:29]protocol is kg_v1.0 [17:11:29]action value=close_receipt [17:11:29]process_action close_receipt [17:11:29]cmd_close_receipt [17:11:29]MH_GetDate [17:11:29]Write to MH i2c: F0 00 00 97 1C A2 [17:11:29]Write i2c OK [17:11:29]MH_I2C_Read... [17:11:29]Read from MH i2c: F0 [17:11:29]MH_I2C_Read... [17:11:29]Read from MH i2c: F0 09 00 [17:11:29]MH_I2C_Read... [17:11:29]Read from MH i2c: F0 09 00 97 1C 00 45 B5 92 66 1E 0D 88 66 B6 [17:11:29]GetLastDocTimeStamp 1720890524 [17:11:29]current date 1720890693 [17:11:29]FM_GetShiftState [17:11:29]SAM_PROTO_GetShiftState [17:11:29]wFMCommunicate request_size=4 [17:11:29]MH_SAM_APDU [17:11:29]CAPDU: 80 13 01 00 [17:11:29]Write to MH i2c: E2 08 00 98 1C 80 13 01 00 00 00 00 00 31 [17:11:29]Write i2c OK [17:11:29]MH_I2C_Read... [17:11:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:11:29]Read from MH i2c: E2 [17:11:29]MH_I2C_Read... [17:11:29]Read from MH i2c: E2 0E 00 [17:11:29]MH_I2C_Read... [17:11:29]Read from MH i2c: E2 0E 00 98 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C8 [17:11:29]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:11:29]wFMCommunicate OK [17:11:29]SAM_PROTO_GetShiftState done [17:11:29]FM_GetShiftState done [17:11:29]opened in 1720829646 [17:11:29]opened+sec_in_day 1720916046 [17:11:29]quantity*price = 18000 [17:11:29]sum+1 = 18001 [17:11:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 87 13.07.2024 17:11 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43042 ФПД: 34535127872450 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T171134&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43042&fm=34535127872450&tin=02508201610067®Number=0000000000091176&sum=18000 0 [17:11:30]StoreToDocumentArchive [17:11:30]shift 445 fd 43042 [17:11:30]save to /storage/0445/doc_00043042 [17:11:30]save last doc name /storage/0445/doc_00043042 to /storage/kkm_last_doc_name [17:11:30]save OK [17:11:30]Clear old archive folders... [17:11:30]ProcessDocumentItem done err = 0, tmpTLVsize=302 [17:11:30]tlvbuf is 015C0A00 [17:11:30]SAM_PROTO_ClearQueue [17:11:30]wFMCommunicate request_size=4 [17:11:30]MH_SAM_APDU [17:11:30]CAPDU: 80 09 00 00 [17:11:30]Write to MH i2c: E2 08 00 A5 1C 80 09 00 00 00 00 00 00 33 [17:11:30]Write i2c OK [17:11:30]MH_I2C_Read... [17:11:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:11:30]Read from MH i2c: E2 [17:11:30]MH_I2C_Read... [17:11:30]Read from MH i2c: E2 03 00 [17:11:30]MH_I2C_Read... [17:11:30]Read from MH i2c: E2 03 00 A5 1C 00 90 00 35 [17:11:30]RAPDU: 90 00 [17:11:30]wFMCommunicate OK [17:11:30]SAM_PROTO_ClearQueue done [17:11:30]KKMCreateOFDPacket [17:11:30]OFDProtocolAddRootSTLVToBuf [17:11:30]FM_MakeSignedData [17:11:30]FM_MakeSignedData [17:11:30]SAM_PROTO_SignData [17:11:30]wFMCommunicate request_size=4 [17:11:30]MH_SAM_APDU [17:11:30]CAPDU: 80 0D 01 02 [17:11:30]Write to MH i2c: E2 08 00 A6 1C 80 0D 01 02 00 00 00 00 3B [17:11:30]Write i2c OK [17:11:30]MH_I2C_Read... [17:11:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:11:30]Read from MH i2c: E2 [17:11:30]MH_I2C_Read... [17:11:30]Read from MH i2c: E2 03 00 [17:11:30]MH_I2C_Read... [17:11:30]Read from MH i2c: E2 03 00 A6 1C 00 90 00 36 [17:11:30]RAPDU: 90 00 [17:11:30]wFMCommunicate OK [17:11:30]wFMCommunicate request_size=255 [17:11:30]MH_SAM_APDU [17:11:30]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 46 B5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 [17:11:30]Write to MH i2c: E2 02 01 A7 1C 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 46 B5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 00 00 E2 [17:11:30]Write i2c OK [17:11:30]MH_I2C_Read... [17:11:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:11:30]Read from MH i2c: E2 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 03 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 03 00 A7 1C 00 90 00 37 [17:11:31]RAPDU: 90 00 [17:11:31]wFMCommunicate OK [17:11:31]wFMCommunicate request_size=61 [17:11:31]MH_SAM_APDU [17:11:31]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 22 A8 00 00 35 04 06 00 1F 68 D6 07 73 C2 [17:11:31]Write to MH i2c: E2 40 00 A8 1C 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 22 A8 00 00 35 04 06 00 1F 68 D6 07 73 C2 00 00 D9 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:11:31]Read from MH i2c: E2 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 03 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 03 00 A8 1C 00 90 00 38 [17:11:31]RAPDU: 90 00 [17:11:31]wFMCommunicate OK [17:11:31]wFMCommunicate request_size=4 [17:11:31]MH_SAM_APDU [17:11:31]CAPDU: 80 0D 03 02 [17:11:31]Write to MH i2c: E2 08 00 A9 1C 80 0D 03 02 00 00 00 00 40 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:11:31]Read from MH i2c: E2 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 0B 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 0B 00 A9 1C 00 B2 48 75 6C 8B FE EB A0 90 00 30 [17:11:31]RAPDU: B2 48 75 6C 8B FE EB A0 90 00 [17:11:31]wFMCommunicate OK [17:11:31]SAM_PROTO_SignData done [17:11:31]FM_MakeSignedData done [17:11:31]CreateOFDProtocolMessage [17:11:31]wFMCommunicate request_size=4 [17:11:31]MH_SAM_APDU [17:11:31]CAPDU: 80 11 00 00 [17:11:31]Write to MH i2c: E2 08 00 AA 1C 80 11 00 00 00 00 00 00 40 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:11:31]Read from MH i2c: E2 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 17 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: E2 17 00 AA 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 97 [17:11:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:11:31]wFMCommunicate OK [17:11:31]CreateOFDProtocolMessage done [17:11:31]OFDSenderStorePacket 43042 [17:11:31]StoreOFDPacket docnum=43042 [17:11:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 1B 7C 3A 01 9D D6 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 46 B5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 22 A8 00 00 35 04 06 00 1F 68 D6 07 73 C2 B2 48 75 6C 8B FE EB A0 [17:11:31]CheckFolder [17:11:31]dirname=/storage/ofd_packets [17:11:31]CheckFolder done [17:11:31]ProducePacketName [17:11:31]name=ofd_packets/00043042 [17:11:31]NVStorageSaveData ofd_packets/00043042 [17:11:31]File name is /storage/ofd_packets/00043042 [17:11:31]Write 352 bytes [17:11:31]NVStorageSaveData done [17:11:31]OFDSenderStorePacket done [17:11:31]KKMCreateOFDPacket done [17:11:31]NVStorageSaveData kkm_last_timestamp [17:11:31]File name is /storage/kkm_last_timestamp [17:11:31]Write 4 bytes [17:11:31]NVStorageSaveData done [17:11:31]ExternCall_PrintAddStr [17:11:31]wPrintStart [17:11:31]Write to MH i2c: 01 00 00 AB 1C C7 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 07 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 07 00 AB 1C 00 00 00 00 00 FF 0F DC [17:11:31]RasterBufferAndPrint [17:11:31]line Счет N : (3)300170 [17:11:31]line ИНН: 02508201610067 [17:11:31]line Контрольно-Кассовый Чек [17:11:31]line ПРОДАЖА [17:11:31]line Товар: 5449000273673 [17:11:31]line Сок Piko Pulpy красный виноград ПЭТ 1л [17:11:31]line 1.000 * 180.00 [17:11:31]line = 180.00 [17:11:31]line НДС 12% НСП 1% [17:11:31]line > о реализуемом товаре [17:11:31]line ИТОГО: 180.00 [17:11:31]line НСП 1% : 1.59 [17:11:31]line НДС 12% : 19.11 [17:11:31]line Наличными: 180.00 [17:11:31]line Безнал.: 0.00 [17:11:31]line Место: АЗС № 71 "Партнер Нефть" [17:11:31]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [17:11:31]line СНО: Общий режим [17:11:31]line Чек 87 13.07.2024 17:11 [17:11:31]line Смена: 445 ФФД: 1.0 [17:11:31]line ЗНМ: 0300000153 [17:11:31]line РНМ: 0000000000091176 [17:11:31]line Версия ККМ: 001 [17:11:31]line ФМ: 0000000000874935 [17:11:31]line ФД: 43042 [17:11:31]line ФПД: 34535127872450 [17:11:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T171134&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43042&fm=34535127872450&tin=02508201610067®Number=0000000000091176&sum=18000 [17:11:31]line 0 [17:11:31]OFD Sender: Processing packet 43042 [packets to send 31, broken 30] [17:11:31]ProducePacketName [17:11:31]name=ofd_packets/00043042 [17:11:31]OFD Sender: To server: pG, [17:11:31]CommunicateWithHost lk.salyk.kg:30040 [17:11:31]ConnectInit lk.salyk.kg [17:11:31]written 0, free lines is 4095 [17:11:31]Connected sock=10 [17:11:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 1B 7C 3A 01 9D D6 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 46 B5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 22 A8 00 00 35 04 06 00 1F 68 D6 07 73 C2 B2 48 75 6C 8B FE EB A0 [17:11:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A1 84 47 00 51 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 22 A8 00 00 F4 03 04 00 3F 61 92 66 B6 04 01 00 00 50 A6 C9 34 C7 B0 4A F3 [17:11:31]CommunicateWithHost err = 0 [17:11:31]CheckOFDResponse [17:11:31]1017 (14) - 77093643461234 [17:11:31]1041 (16) - 0000000000874935 [17:11:31]1040 (4) - 43042 [17:11:31]1012 (4) - 13.07.2024 11:13 [17:11:31]1206 (1) - 0 [17:11:31]OFD Sender: Remove packet 43042 [17:11:31]ProducePacketName [17:11:31]name=ofd_packets/00043042 [17:11:31]NVStorageDeleteData [17:11:31]Write to MH i2c: 01 00 00 D4 1C F0 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 07 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: 01 07 00 D4 1C 00 00 00 00 00 F5 0C F8 [17:11:31]RasterBufferAndPrint [17:11:31]line [17:11:31]line [17:11:31]line [17:11:31]line [17:11:31]line [17:11:31]written 0, free lines is 3324 [17:11:31]MH_Cut [17:11:31]Write to MH i2c: D1 01 00 DB 1C 01 C9 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: D1 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: D1 01 00 [17:11:31]MH_I2C_Read... [17:11:31]Read from MH i2c: D1 01 00 DB 1C 00 C8 [17:11:31]Write to MH i2c: 01 00 00 DC 1C F8 [17:11:31]Write i2c OK [17:11:31]MH_I2C_Read... [17:11:32]OFD Sender: No OFD packet to send [17:11:32]*** Cut start [17:11:32]*** Partial cut [17:11:32]*** CUTSNS_PIN = 1 [17:11:32]*** CUTSNS_PIN = 0 [17:11:32]*** Brake cut motor [17:11:33]Read from MH i2c: 01 [17:11:33]MH_I2C_Read... [17:11:33]*** Stop cut motor [17:11:33]*** Cut end [17:11:33]Read from MH i2c: 01 07 00 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: 01 07 00 DC 1C 00 00 00 00 00 FF 0F 0D [17:11:33]process_action close_receipt done [17:11:33]requested_data is exist [17:11:33]produce_requested_data [17:11:33]requested_item fm.sn is exist - process it [17:11:33]wFMCommunicate request_size=4 [17:11:33]MH_SAM_APDU [17:11:33]CAPDU: 80 11 00 00 [17:11:33]Write to MH i2c: E2 08 00 DD 1C 80 11 00 00 00 00 00 00 73 [17:11:33]Write i2c OK [17:11:33]MH_I2C_Read... [17:11:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:11:33]Read from MH i2c: E2 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 17 00 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 17 00 DD 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CA [17:11:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:11:33]wFMCommunicate OK [17:11:33]requested_item fd.num is exist - process it [17:11:33]SAM_PROTO_GetFieldsCounters [17:11:33]wFMCommunicate request_size=4 [17:11:33]MH_SAM_APDU [17:11:33]CAPDU: 80 13 00 00 [17:11:33]Write to MH i2c: E2 08 00 DE 1C 80 13 00 00 00 00 00 00 76 [17:11:33]Write i2c OK [17:11:33]MH_I2C_Read... [17:11:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:11:33]Read from MH i2c: E2 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 62 00 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 62 00 DE 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 22 A8 00 00 0E 04 04 00 BD 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 27 [17:11:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 22 A8 00 00 0E 04 04 00 BD 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:11:33]wFMCommunicate OK [17:11:33]SAM_PROTO_GetFieldsCounters done [17:11:33]requested_item shift.num is exist - process it [17:11:33]requested_item shift.opened is exist - process it [17:11:33]req_shift_opened [17:11:33]FM_GetShiftState [17:11:33]SAM_PROTO_GetShiftState [17:11:33]wFMCommunicate request_size=4 [17:11:33]MH_SAM_APDU [17:11:33]CAPDU: 80 13 01 00 [17:11:33]Write to MH i2c: E2 08 00 DF 1C 80 13 01 00 00 00 00 00 78 [17:11:33]Write i2c OK [17:11:33]MH_I2C_Read... [17:11:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:11:33]Read from MH i2c: E2 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 0E 00 [17:11:33]MH_I2C_Read... [17:11:33]Read from MH i2c: E2 0E 00 DF 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0F [17:11:33]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:11:33]wFMCommunicate OK [17:11:33]SAM_PROTO_GetShiftState done [17:11:33]FM_GetShiftState done [17:11:33]req_shift_opened done [17:11:33]requested_item shift.open_date is exist - process it [17:11:33]req_shift_open_date [17:11:33]req_shift_open_date done [17:11:33]requested_item shift.sale.total is exist - process it [17:11:33]SAM_PROTO_GetShiftData [17:11:33]wFMCommunicate request_size=4 [17:11:33]MH_SAM_APDU [17:11:33]CAPDU: 80 13 02 00 [17:11:33]Write to MH i2c: E2 08 00 E0 1C 80 13 02 00 00 00 00 00 7A [17:11:33]Write i2c OK [17:11:33]MH_I2C_Read... [17:11:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:11:34]Read from MH i2c: E2 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 E0 1C 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 B4 EE 16 70 04 03 00 04 15 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 6F 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E9 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4F [17:11:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 B4 EE 16 70 04 03 00 04 15 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 6F 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E9 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:11:34]wFMCommunicate OK [17:11:34]wFMCommunicate request_size=4 [17:11:34]MH_SAM_APDU [17:11:34]CAPDU: 80 17 00 00 [17:11:34]Write to MH i2c: E2 08 00 E1 1C 80 17 00 00 00 00 00 00 7D [17:11:34]Write i2c OK [17:11:34]MH_I2C_Read... [17:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:11:34]Read from MH i2c: E2 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 E1 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 9F [17:11:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:11:34]wFMCommunicate OK [17:11:34]wFMCommunicate request_size=4 [17:11:34]MH_SAM_APDU [17:11:34]CAPDU: 80 17 00 00 [17:11:34]Write to MH i2c: E2 08 00 E2 1C 80 17 00 00 00 00 00 00 7E [17:11:34]Write i2c OK [17:11:34]MH_I2C_Read... [17:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:11:34]Read from MH i2c: E2 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 E2 1C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 35 [17:11:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:11:34]wFMCommunicate OK [17:11:34]wFMCommunicate request_size=4 [17:11:34]MH_SAM_APDU [17:11:34]CAPDU: 80 17 00 00 [17:11:34]Write to MH i2c: E2 08 00 E3 1C 80 17 00 00 00 00 00 00 7F [17:11:34]Write i2c OK [17:11:34]MH_I2C_Read... [17:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:11:34]Read from MH i2c: E2 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 [17:11:34]MH_I2C_Read... [17:11:34]Read from MH i2c: E2 FD 00 E3 1C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F1 [17:11:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:11:34]wFMCommunicate OK [17:11:34]wFMCommunicate request_size=4 [17:11:34]MH_SAM_APDU [17:11:34]CAPDU: 80 17 00 00 [17:11:34]Write to MH i2c: E2 08 00 E4 1C 80 17 00 00 00 00 00 00 80 [17:11:34]Write i2c OK [17:11:34]MH_I2C_Read... [17:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:11:35]Read from MH i2c: E2 [17:11:35]MH_I2C_Read... [17:11:35]Read from MH i2c: E2 CB 00 [17:11:35]MH_I2C_Read... [17:11:35]Read from MH i2c: E2 CB 00 E4 1C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 69 [17:11:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:11:35]wFMCommunicate OK [17:11:35]SAM_PROTO_GetShiftData done [17:11:35]requested_item shift.sale.total_cash is exist - process it [17:11:35]requested_item shift.sale_refund.total is exist - process it [17:11:35]requested_item shift.sale_refund.total_cash is exist - process it [17:11:35]produce_requested_data done [17:11:35]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43042,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15029.00,"shift.sale.total_cash":13161.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [17:11:35]process_action_free close_receipt [17:11:35]json_value_free [17:11:35]json_value_free done [17:11:35]process_json_proto returns [17:11:35]Send response to host [17:11:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43042,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15029.00,"shift.sale.total_cash":13161.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [17:11:35]free response buf [17:11:35]execute_script done [17:11:35]execute_script returns [17:11:35]free content buf [17:11:35]Sock 7.Close socket [17:11:35]Sock 7.Thread stoped [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:33]OFD Sender: No OFD packet to send [17:23:38]OFD Sender: No OFD packet to send [17:23:43]OFD Sender: No OFD packet to send [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:58]OFD Sender: No OFD packet to send [17:24:03]OFD Sender: No OFD packet to send [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:48]OFD Sender: No OFD packet to send [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:30]accept exits with 9 [17:27:30]New connection [17:27:30]New thread 3067387236 created [17:27:30]Thread 3067530596 joined [17:27:30]Waiting for new connection... [17:27:30] Sock 9.Parse request [17:27:30]Sock 9.Check first char [17:27:30]Sock 9.First char is OK [17:27:30]request: POST /json_proto HTTP/1.0 [17:27:30]Method: POST [17:27:30]URL: /json_proto [17:27:30]Method is POST - this is cgi request [17:27:30]url: /json_proto [17:27:30]query_string will be loaded in cgi processing [17:27:30]execute_cgi json_proto POST (null) [17:27:30]execute_cgi path=json_proto method=POST [17:27:30]POST find Content-Length [17:27:30]Host: 172.17.38.197:8080 [17:27:30]Content-Length: 735 [17:27:30]Content-Type: application/json [17:27:30] [17:27:30]POST finish read [17:27:30]Found Content-Length = 735 [17:27:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300171", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:27:30]execute_script... [17:27:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300171", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:27:30]POST & json_proto [17:27:30]process_json_proto [17:27:30]json parsed OK: [17:27:30]protocol is kg_v1.0 [17:27:30]action value=close_receipt [17:27:30]process_action close_receipt [17:27:30]cmd_close_receipt [17:27:30]MH_GetDate [17:27:30]Write to MH i2c: F0 00 00 E5 1C F0 [17:27:30]Write i2c OK [17:27:30]MH_I2C_Read... [17:27:30]Read from MH i2c: F0 [17:27:30]MH_I2C_Read... [17:27:30]Read from MH i2c: F0 09 00 [17:27:30]MH_I2C_Read... [17:27:30]Read from MH i2c: F0 09 00 E5 1C 00 07 B9 92 66 1E 0D 88 66 CA [17:27:30]GetLastDocTimeStamp 1720890694 [17:27:30]current date 1720891655 [17:27:30]FM_GetShiftState [17:27:30]SAM_PROTO_GetShiftState [17:27:30]wFMCommunicate request_size=4 [17:27:30]MH_SAM_APDU [17:27:30]CAPDU: 80 13 01 00 [17:27:30]Write to MH i2c: E2 08 00 E6 1C 80 13 01 00 00 00 00 00 7F [17:27:30]Write i2c OK [17:27:30]MH_I2C_Read... [17:27:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:30]Read from MH i2c: E2 [17:27:30]MH_I2C_Read... [17:27:30]Read from MH i2c: E2 0E 00 [17:27:30]MH_I2C_Read... [17:27:30]Read from MH i2c: E2 0E 00 E6 1C 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 16 [17:27:30]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:27:30]wFMCommunicate OK [17:27:30]SAM_PROTO_GetShiftState done [17:27:30]FM_GetShiftState done [17:27:30]opened in 1720829646 [17:27:30]opened+sec_in_day 1720916046 [17:27:30]quantity*price = 13800 [17:27:30]sum+1 = 13801 [17:27:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 88 13.07.2024 17:27 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43043 ФПД: 171078377089336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T172735&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43043&fm=171078377089336&tin=02508201610067®Number=0000000000091176&sum=13800 0 [17:27:31]StoreToDocumentArchive [17:27:31]shift 445 fd 43043 [17:27:31]save to /storage/0445/doc_00043043 [17:27:31]save last doc name /storage/0445/doc_00043043 to /storage/kkm_last_doc_name [17:27:31]save OK [17:27:31]Clear old archive folders... [17:27:31]ProcessDocumentItem done err = 0, tmpTLVsize=283 [17:27:31]tlvbuf is 015B1590 [17:27:31]SAM_PROTO_ClearQueue [17:27:31]wFMCommunicate request_size=4 [17:27:31]MH_SAM_APDU [17:27:31]CAPDU: 80 09 00 00 [17:27:31]Write to MH i2c: E2 08 00 F3 1C 80 09 00 00 00 00 00 00 81 [17:27:31]Write i2c OK [17:27:31]MH_I2C_Read... [17:27:31]Read from MH i2c: E2 [17:27:31]MH_I2C_Read... [17:27:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:31]Read from MH i2c: E2 03 00 [17:27:31]MH_I2C_Read... [17:27:31]Read from MH i2c: E2 03 00 F3 1C 00 90 00 83 [17:27:31]RAPDU: 90 00 [17:27:31]wFMCommunicate OK [17:27:31]SAM_PROTO_ClearQueue done [17:27:31]KKMCreateOFDPacket [17:27:31]OFDProtocolAddRootSTLVToBuf [17:27:31]FM_MakeSignedData [17:27:31]FM_MakeSignedData [17:27:31]SAM_PROTO_SignData [17:27:31]wFMCommunicate request_size=4 [17:27:31]MH_SAM_APDU [17:27:31]CAPDU: 80 0D 01 02 [17:27:31]Write to MH i2c: E2 08 00 F4 1C 80 0D 01 02 00 00 00 00 89 [17:27:31]Write i2c OK [17:27:31]MH_I2C_Read... [17:27:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:31]Read from MH i2c: E2 [17:27:31]MH_I2C_Read... [17:27:31]Read from MH i2c: E2 03 00 [17:27:31]MH_I2C_Read... [17:27:31]Read from MH i2c: E2 03 00 F4 1C 00 90 00 84 [17:27:31]RAPDU: 90 00 [17:27:31]wFMCommunicate OK [17:27:31]wFMCommunicate request_size=255 [17:27:31]MH_SAM_APDU [17:27:31]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 07 B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 [17:27:31]Write to MH i2c: E2 02 01 F5 1C 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 07 B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 00 00 45 [17:27:31]Write i2c OK [17:27:31]MH_I2C_Read... [17:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:32]Read from MH i2c: E2 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 03 00 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 03 00 F5 1C 00 90 00 85 [17:27:32]RAPDU: 90 00 [17:27:32]wFMCommunicate OK [17:27:32]wFMCommunicate request_size=42 [17:27:32]MH_SAM_APDU [17:27:32]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 23 A8 00 00 35 04 06 00 9B 98 49 E5 29 38 [17:27:32]Write to MH i2c: E2 2D 00 F6 1C 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 23 A8 00 00 35 04 06 00 9B 98 49 E5 29 38 00 00 F2 [17:27:32]Write i2c OK [17:27:32]MH_I2C_Read... [17:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:32]Read from MH i2c: E2 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 03 00 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 03 00 F6 1C 00 90 00 86 [17:27:32]RAPDU: 90 00 [17:27:32]wFMCommunicate OK [17:27:32]wFMCommunicate request_size=4 [17:27:32]MH_SAM_APDU [17:27:32]CAPDU: 80 0D 03 02 [17:27:32]Write to MH i2c: E2 08 00 F7 1C 80 0D 03 02 00 00 00 00 8E [17:27:32]Write i2c OK [17:27:32]MH_I2C_Read... [17:27:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:32]Read from MH i2c: E2 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 0B 00 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 0B 00 F7 1C 00 23 89 30 4E 5C B0 9E 57 90 00 BA [17:27:32]RAPDU: 23 89 30 4E 5C B0 9E 57 90 00 [17:27:32]wFMCommunicate OK [17:27:32]SAM_PROTO_SignData done [17:27:32]FM_MakeSignedData done [17:27:32]CreateOFDProtocolMessage [17:27:32]wFMCommunicate request_size=4 [17:27:32]MH_SAM_APDU [17:27:32]CAPDU: 80 11 00 00 [17:27:32]Write to MH i2c: E2 08 00 F8 1C 80 11 00 00 00 00 00 00 8E [17:27:32]Write i2c OK [17:27:32]MH_I2C_Read... [17:27:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:32]Read from MH i2c: E2 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 17 00 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: E2 17 00 F8 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E5 [17:27:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:27:32]wFMCommunicate OK [17:27:32]CreateOFDProtocolMessage done [17:27:32]OFDSenderStorePacket 43043 [17:27:32]StoreOFDPacket docnum=43043 [17:27:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2F 01 00 00 A5 12 27 01 0E AD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 07 B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 23 A8 00 00 35 04 06 00 9B 98 49 E5 29 38 23 89 30 4E 5C B0 9E 57 [17:27:32]CheckFolder [17:27:32]dirname=/storage/ofd_packets [17:27:32]CheckFolder done [17:27:32]ProducePacketName [17:27:32]name=ofd_packets/00043043 [17:27:32]NVStorageSaveData ofd_packets/00043043 [17:27:32]File name is /storage/ofd_packets/00043043 [17:27:32]Write 333 bytes [17:27:32]NVStorageSaveData done [17:27:32]OFDSenderStorePacket done [17:27:32]KKMCreateOFDPacket done [17:27:32]NVStorageSaveData kkm_last_timestamp [17:27:32]File name is /storage/kkm_last_timestamp [17:27:32]Write 4 bytes [17:27:32]NVStorageSaveData done [17:27:32]ExternCall_PrintAddStr [17:27:32]wPrintStart [17:27:32]Write to MH i2c: 01 00 00 F9 1C 15 [17:27:32]Write i2c OK [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: 01 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: 01 07 00 [17:27:32]MH_I2C_Read... [17:27:32]Read from MH i2c: 01 07 00 F9 1C 00 00 00 00 00 FF 0F 2A [17:27:32]RasterBufferAndPrint [17:27:32]line Счет N : (3)300171 [17:27:32]line ИНН: 02508201610067 [17:27:32]line Контрольно-Кассовый Чек [17:27:32]line ПРОДАЖА [17:27:32]line Товар: 4640030092567 [17:27:32]line Сигареты Esse Exchange Summer Red [17:27:32]line 1.000 * 138.00 [17:27:32]line = 138.00 [17:27:32]line НДС 12% НСП 1% [17:27:32]line > о реализуемом товаре [17:27:32]line ИТОГО: 138.00 [17:27:32]line НСП 1% : 1.22 [17:27:32]line НДС 12% : 14.65 [17:27:32]line Наличными: 138.00 [17:27:32]line Безнал.: 0.00 [17:27:32]line Место: АЗС № 71 "Партнер Нефть" [17:27:32]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [17:27:32]line СНО: Общий режим [17:27:32]line Чек 88 13.07.2024 17:27 [17:27:32]line Смена: 445 ФФД: 1.0 [17:27:32]line ЗНМ: 0300000153 [17:27:32]line РНМ: 0000000000091176 [17:27:32]line Версия ККМ: 001 [17:27:32]line ФМ: 0000000000874935 [17:27:32]line ФД: 43043 [17:27:32]line ФПД: 171078377089336 [17:27:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T172735&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43043&fm=171078377089336&tin=02508201610067®Number=0000000000091176&sum=13800 [17:27:32]line 0 [17:27:32]OFD Sender: Processing packet 43043 [packets to send 31, broken 30] [17:27:32]ProducePacketName [17:27:32]name=ofd_packets/00043043 [17:27:32]OFD Sender: To server: pG, [17:27:32]CommunicateWithHost lk.salyk.kg:30040 [17:27:32]ConnectInit lk.salyk.kg [17:27:32]written 0, free lines is 4095 [17:27:32]Connected sock=10 [17:27:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2F 01 00 00 A5 12 27 01 0E AD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 07 B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 23 A8 00 00 35 04 06 00 9B 98 49 E5 29 38 23 89 30 4E 5C B0 9E 57 [17:27:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 30 68 47 00 0F 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 23 A8 00 00 F4 03 04 00 00 65 92 66 B6 04 01 00 00 27 D8 42 16 3C D1 CE 62 [17:27:32]CommunicateWithHost err = 0 [17:27:32]CheckOFDResponse [17:27:32]1017 (14) - 77093643461234 [17:27:32]1041 (16) - 0000000000874935 [17:27:32]1040 (4) - 43043 [17:27:32]1012 (4) - 13.07.2024 11:29 [17:27:32]1206 (1) - 0 [17:27:32]OFD Sender: Remove packet 43043 [17:27:32]ProducePacketName [17:27:32]name=ofd_packets/00043043 [17:27:32]NVStorageDeleteData [17:27:33]Write to MH i2c: 01 00 00 22 1D 3F [17:27:33]Write i2c OK [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: 01 [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: 01 07 00 [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: 01 07 00 22 1D 00 00 00 00 00 F6 0C 48 [17:27:33]RasterBufferAndPrint [17:27:33]line [17:27:33]line [17:27:33]line [17:27:33]line [17:27:33]line [17:27:33]written 0, free lines is 3326 [17:27:33]MH_Cut [17:27:33]Write to MH i2c: D1 01 00 29 1D 01 18 [17:27:33]Write i2c OK [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: D1 [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: D1 01 00 [17:27:33]MH_I2C_Read... [17:27:33]Read from MH i2c: D1 01 00 29 1D 00 17 [17:27:33]Write to MH i2c: 01 00 00 2A 1D 47 [17:27:33]Write i2c OK [17:27:33]MH_I2C_Read... [17:27:33]OFD Sender: No OFD packet to send [17:27:33]*** Cut start [17:27:33]*** Partial cut [17:27:33]*** CUTSNS_PIN = 1 [17:27:33]*** CUTSNS_PIN = 0 [17:27:34]*** Brake cut motor [17:27:34]Read from MH i2c: 01 [17:27:34]MH_I2C_Read... [17:27:34]*** Stop cut motor [17:27:34]*** Cut end [17:27:34]Read from MH i2c: 01 07 00 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: 01 07 00 2A 1D 00 00 00 00 00 FF 0F 5C [17:27:34]process_action close_receipt done [17:27:34]requested_data is exist [17:27:34]produce_requested_data [17:27:34]requested_item fm.sn is exist - process it [17:27:34]wFMCommunicate request_size=4 [17:27:34]MH_SAM_APDU [17:27:34]CAPDU: 80 11 00 00 [17:27:34]Write to MH i2c: E2 08 00 2B 1D 80 11 00 00 00 00 00 00 C2 [17:27:34]Write i2c OK [17:27:34]MH_I2C_Read... [17:27:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:34]Read from MH i2c: E2 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 17 00 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 17 00 2B 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 19 [17:27:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:27:34]wFMCommunicate OK [17:27:34]requested_item fd.num is exist - process it [17:27:34]SAM_PROTO_GetFieldsCounters [17:27:34]wFMCommunicate request_size=4 [17:27:34]MH_SAM_APDU [17:27:34]CAPDU: 80 13 00 00 [17:27:34]Write to MH i2c: E2 08 00 2C 1D 80 13 00 00 00 00 00 00 C5 [17:27:34]Write i2c OK [17:27:34]MH_I2C_Read... [17:27:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:34]Read from MH i2c: E2 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 62 00 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 62 00 2C 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 23 A8 00 00 0E 04 04 00 BD 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 7A [17:27:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 23 A8 00 00 0E 04 04 00 BD 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 [17:27:34]wFMCommunicate OK [17:27:34]SAM_PROTO_GetFieldsCounters done [17:27:34]requested_item shift.num is exist - process it [17:27:34]requested_item shift.opened is exist - process it [17:27:34]req_shift_opened [17:27:34]FM_GetShiftState [17:27:34]SAM_PROTO_GetShiftState [17:27:34]wFMCommunicate request_size=4 [17:27:34]MH_SAM_APDU [17:27:34]CAPDU: 80 13 01 00 [17:27:34]Write to MH i2c: E2 08 00 2D 1D 80 13 01 00 00 00 00 00 C7 [17:27:34]Write i2c OK [17:27:34]MH_I2C_Read... [17:27:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:34]Read from MH i2c: E2 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 0E 00 [17:27:34]MH_I2C_Read... [17:27:34]Read from MH i2c: E2 0E 00 2D 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5E [17:27:34]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:27:34]wFMCommunicate OK [17:27:34]SAM_PROTO_GetShiftState done [17:27:34]FM_GetShiftState done [17:27:34]req_shift_opened done [17:27:34]requested_item shift.open_date is exist - process it [17:27:34]req_shift_open_date [17:27:34]req_shift_open_date done [17:27:34]requested_item shift.sale.total is exist - process it [17:27:34]SAM_PROTO_GetShiftData [17:27:34]wFMCommunicate request_size=4 [17:27:34]MH_SAM_APDU [17:27:34]CAPDU: 80 13 02 00 [17:27:34]Write to MH i2c: E2 08 00 2E 1D 80 13 02 00 00 00 00 00 C9 [17:27:34]Write i2c OK [17:27:34]MH_I2C_Read... [17:27:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:27:35]Read from MH i2c: E2 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 2E 1D 00 AE 04 AA 04 AA 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 9C 24 17 70 04 03 00 EC 4A 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 75 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 63 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 16 [17:27:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 9C 24 17 70 04 03 00 EC 4A 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 22 75 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 63 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:27:35]wFMCommunicate OK [17:27:35]wFMCommunicate request_size=4 [17:27:35]MH_SAM_APDU [17:27:35]CAPDU: 80 17 00 00 [17:27:35]Write to MH i2c: E2 08 00 2F 1D 80 17 00 00 00 00 00 00 CC [17:27:35]Write i2c OK [17:27:35]MH_I2C_Read... [17:27:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:35]Read from MH i2c: E2 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 2F 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 EE [17:27:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:27:35]wFMCommunicate OK [17:27:35]wFMCommunicate request_size=4 [17:27:35]MH_SAM_APDU [17:27:35]CAPDU: 80 17 00 00 [17:27:35]Write to MH i2c: E2 08 00 30 1D 80 17 00 00 00 00 00 00 CD [17:27:35]Write i2c OK [17:27:35]MH_I2C_Read... [17:27:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:35]Read from MH i2c: E2 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 [17:27:35]MH_I2C_Read... [17:27:35]Read from MH i2c: E2 FD 00 30 1D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 84 [17:27:35]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:27:35]wFMCommunicate OK [17:27:35]wFMCommunicate request_size=4 [17:27:35]MH_SAM_APDU [17:27:35]CAPDU: 80 17 00 00 [17:27:35]Write to MH i2c: E2 08 00 31 1D 80 17 00 00 00 00 00 00 CE [17:27:35]Write i2c OK [17:27:35]MH_I2C_Read... [17:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:36]Read from MH i2c: E2 [17:27:36]MH_I2C_Read... [17:27:36]Read from MH i2c: E2 FD 00 [17:27:36]MH_I2C_Read... [17:27:36]Read from MH i2c: E2 FD 00 31 1D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 40 [17:27:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:27:36]wFMCommunicate OK [17:27:36]wFMCommunicate request_size=4 [17:27:36]MH_SAM_APDU [17:27:36]CAPDU: 80 17 00 00 [17:27:36]Write to MH i2c: E2 08 00 32 1D 80 17 00 00 00 00 00 00 CF [17:27:36]Write i2c OK [17:27:36]MH_I2C_Read... [17:27:36]Read from MH i2c: E2 [17:27:36]MH_I2C_Read... [17:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:27:36]Read from MH i2c: E2 CB 00 [17:27:36]MH_I2C_Read... [17:27:36]Read from MH i2c: E2 CB 00 32 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B8 [17:27:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:27:36]wFMCommunicate OK [17:27:36]SAM_PROTO_GetShiftData done [17:27:36]requested_item shift.sale.total_cash is exist - process it [17:27:36]requested_item shift.sale_refund.total is exist - process it [17:27:36]requested_item shift.sale_refund.total_cash is exist - process it [17:27:36]produce_requested_data done [17:27:36]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43043,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15167.00,"shift.sale.total_cash":13299.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [17:27:36]process_action_free close_receipt [17:27:36]json_value_free [17:27:36]json_value_free done [17:27:36]process_json_proto returns [17:27:36]Send response to host [17:27:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43043,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15167.00,"shift.sale.total_cash":13299.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [17:27:36]free response buf [17:27:36]execute_script done [17:27:36]execute_script returns [17:27:36]free content buf [17:27:36]Sock 9.Close socket [17:27:36]Sock 9.Thread stoped [17:27:38]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [17:27:48]OFD Sender: No OFD packet to send [17:27:49]accept exits with 7 [17:27:49]New connection [17:27:49]New thread 3067530596 created [17:27:49]Thread 3067387236 joined [17:27:49]Waiting for new connection... [17:27:49] Sock 7.Parse request [17:27:49]Sock 7.Check first char [17:27:49]Sock 7.First char is OK [17:27:49]request: POST /json_proto HTTP/1.0 [17:27:49]Method: POST [17:27:49]URL: /json_proto [17:27:49]Method is POST - this is cgi request [17:27:49]url: /json_proto [17:27:49]query_string will be loaded in cgi processing [17:27:49]execute_cgi json_proto POST (null) [17:27:49]execute_cgi path=json_proto method=POST [17:27:49]POST find Content-Length [17:27:49]Host: 172.17.38.197:8080 [17:27:49]Content-Length: 735 [17:27:49]Content-Type: application/json [17:27:49] [17:27:49]POST finish read [17:27:49]Found Content-Length = 735 [17:27:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300172", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:27:49]execute_script... [17:27:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300172", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:27:49]POST & json_proto [17:27:49]process_json_proto [17:27:49]json parsed OK: [17:27:49]protocol is kg_v1.0 [17:27:49]action value=close_receipt [17:27:49]process_action close_receipt [17:27:49]cmd_close_receipt [17:27:49]MH_GetDate [17:27:49]Write to MH i2c: F0 00 00 33 1D 3F [17:27:49]Write i2c OK [17:27:49]MH_I2C_Read... [17:27:49]Read from MH i2c: F0 [17:27:49]MH_I2C_Read... [17:27:49]Read from MH i2c: F0 09 00 [17:27:49]MH_I2C_Read... [17:27:49]Read from MH i2c: F0 09 00 33 1D 00 1A B9 92 66 1E 0D 88 66 2C [17:27:49]GetLastDocTimeStamp 1720891655 [17:27:49]current date 1720891674 [17:27:49]FM_GetShiftState [17:27:49]SAM_PROTO_GetShiftState [17:27:49]wFMCommunicate request_size=4 [17:27:49]MH_SAM_APDU [17:27:49]CAPDU: 80 13 01 00 [17:27:49]Write to MH i2c: E2 08 00 34 1D 80 13 01 00 00 00 00 00 CE [17:27:49]Write i2c OK [17:27:49]MH_I2C_Read... [17:27:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:49]Read from MH i2c: E2 [17:27:49]MH_I2C_Read... [17:27:49]Read from MH i2c: E2 0E 00 [17:27:49]MH_I2C_Read... [17:27:49]Read from MH i2c: E2 0E 00 34 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 65 [17:27:49]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:27:49]wFMCommunicate OK [17:27:49]SAM_PROTO_GetShiftState done [17:27:49]FM_GetShiftState done [17:27:49]opened in 1720829646 [17:27:49]opened+sec_in_day 1720916046 [17:27:49]quantity*price = 13800 [17:27:49]sum+1 = 13801 [17:27:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 89 13.07.2024 17:27 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43044 ФПД: 279835454747962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T172754&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43044&fm=279835454747962&tin=02508201610067®Number=0000000000091176&sum=13800 0 [17:27:50]StoreToDocumentArchive [17:27:50]shift 445 fd 43044 [17:27:50]save to /storage/0445/doc_00043044 [17:27:50]save last doc name /storage/0445/doc_00043044 to /storage/kkm_last_doc_name [17:27:50]save OK [17:27:50]Clear old archive folders... [17:27:50]ProcessDocumentItem done err = 0, tmpTLVsize=283 [17:27:50]tlvbuf is 01579580 [17:27:50]SAM_PROTO_ClearQueue [17:27:50]wFMCommunicate request_size=4 [17:27:50]MH_SAM_APDU [17:27:50]CAPDU: 80 09 00 00 [17:27:50]Write to MH i2c: E2 08 00 41 1D 80 09 00 00 00 00 00 00 D0 [17:27:50]Write i2c OK [17:27:50]MH_I2C_Read... [17:27:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:50]Read from MH i2c: E2 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 41 1D 00 90 00 D2 [17:27:50]RAPDU: 90 00 [17:27:50]wFMCommunicate OK [17:27:50]SAM_PROTO_ClearQueue done [17:27:50]KKMCreateOFDPacket [17:27:50]OFDProtocolAddRootSTLVToBuf [17:27:50]FM_MakeSignedData [17:27:50]FM_MakeSignedData [17:27:50]SAM_PROTO_SignData [17:27:50]wFMCommunicate request_size=4 [17:27:50]MH_SAM_APDU [17:27:50]CAPDU: 80 0D 01 02 [17:27:50]Write to MH i2c: E2 08 00 42 1D 80 0D 01 02 00 00 00 00 D8 [17:27:50]Write i2c OK [17:27:50]MH_I2C_Read... [17:27:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:50]Read from MH i2c: E2 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 42 1D 00 90 00 D3 [17:27:50]RAPDU: 90 00 [17:27:50]wFMCommunicate OK [17:27:50]wFMCommunicate request_size=255 [17:27:50]MH_SAM_APDU [17:27:50]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 1A B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 [17:27:50]Write to MH i2c: E2 02 01 43 1D 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 1A B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 00 00 A8 [17:27:50]Write i2c OK [17:27:50]MH_I2C_Read... [17:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:50]Read from MH i2c: E2 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 [17:27:50]MH_I2C_Read... [17:27:50]Read from MH i2c: E2 03 00 43 1D 00 90 00 D4 [17:27:50]RAPDU: 90 00 [17:27:50]wFMCommunicate OK [17:27:50]wFMCommunicate request_size=42 [17:27:50]MH_SAM_APDU [17:27:50]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 24 A8 00 00 35 04 06 00 FE 82 44 E0 35 3A [17:27:50]Write to MH i2c: E2 2D 00 44 1D 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 24 A8 00 00 35 04 06 00 FE 82 44 E0 35 3A 00 00 93 [17:27:50]Write i2c OK [17:27:50]MH_I2C_Read... [17:27:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:51]Read from MH i2c: E2 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 03 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 03 00 44 1D 00 90 00 D5 [17:27:51]RAPDU: 90 00 [17:27:51]wFMCommunicate OK [17:27:51]wFMCommunicate request_size=4 [17:27:51]MH_SAM_APDU [17:27:51]CAPDU: 80 0D 03 02 [17:27:51]Write to MH i2c: E2 08 00 45 1D 80 0D 03 02 00 00 00 00 DD [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:51]Read from MH i2c: E2 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 0B 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 0B 00 45 1D 00 C6 FA 5A DC 3E 79 19 19 90 00 BD [17:27:51]RAPDU: C6 FA 5A DC 3E 79 19 19 90 00 [17:27:51]wFMCommunicate OK [17:27:51]SAM_PROTO_SignData done [17:27:51]FM_MakeSignedData done [17:27:51]CreateOFDProtocolMessage [17:27:51]wFMCommunicate request_size=4 [17:27:51]MH_SAM_APDU [17:27:51]CAPDU: 80 11 00 00 [17:27:51]Write to MH i2c: E2 08 00 46 1D 80 11 00 00 00 00 00 00 DD [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:51]Read from MH i2c: E2 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 17 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: E2 17 00 46 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 34 [17:27:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:27:51]wFMCommunicate OK [17:27:51]CreateOFDProtocolMessage done [17:27:51]OFDSenderStorePacket 43044 [17:27:51]StoreOFDPacket docnum=43044 [17:27:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2F 01 00 00 22 C3 27 01 5C 8D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 1A B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 24 A8 00 00 35 04 06 00 FE 82 44 E0 35 3A C6 FA 5A DC 3E 79 19 19 [17:27:51]CheckFolder [17:27:51]dirname=/storage/ofd_packets [17:27:51]CheckFolder done [17:27:51]ProducePacketName [17:27:51]name=ofd_packets/00043044 [17:27:51]NVStorageSaveData ofd_packets/00043044 [17:27:51]File name is /storage/ofd_packets/00043044 [17:27:51]Write 333 bytes [17:27:51]NVStorageSaveData done [17:27:51]OFDSenderStorePacket done [17:27:51]KKMCreateOFDPacket done [17:27:51]NVStorageSaveData kkm_last_timestamp [17:27:51]File name is /storage/kkm_last_timestamp [17:27:51]Write 4 bytes [17:27:51]NVStorageSaveData done [17:27:51]ExternCall_PrintAddStr [17:27:51]wPrintStart [17:27:51]Write to MH i2c: 01 00 00 47 1D 64 [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 07 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 07 00 47 1D 00 00 00 00 00 FF 0F 79 [17:27:51]RasterBufferAndPrint [17:27:51]line Счет N : (3)300172 [17:27:51]line ИНН: 02508201610067 [17:27:51]line Контрольно-Кассовый Чек [17:27:51]line ПРОДАЖА [17:27:51]line Товар: 4640030092567 [17:27:51]line Сигареты Esse Exchange Summer Red [17:27:51]line 1.000 * 138.00 [17:27:51]line = 138.00 [17:27:51]line НДС 12% НСП 1% [17:27:51]line > о реализуемом товаре [17:27:51]line ИТОГО: 138.00 [17:27:51]line НСП 1% : 1.22 [17:27:51]line НДС 12% : 14.65 [17:27:51]line Наличными: 138.00 [17:27:51]line Безнал.: 0.00 [17:27:51]line Место: АЗС № 71 "Партнер Нефть" [17:27:51]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [17:27:51]line СНО: Общий режим [17:27:51]line Чек 89 13.07.2024 17:27 [17:27:51]line Смена: 445 ФФД: 1.0 [17:27:51]line ЗНМ: 0300000153 [17:27:51]line РНМ: 0000000000091176 [17:27:51]line Версия ККМ: 001 [17:27:51]line ФМ: 0000000000874935 [17:27:51]line ФД: 43044 [17:27:51]line ФПД: 279835454747962 [17:27:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T172754&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43044&fm=279835454747962&tin=02508201610067®Number=0000000000091176&sum=13800 [17:27:51]line 0 [17:27:51]written 0, free lines is 4095 [17:27:51]OFD Sender: Processing packet 43044 [packets to send 31, broken 30] [17:27:51]ProducePacketName [17:27:51]name=ofd_packets/00043044 [17:27:51]OFD Sender: To server: pG, [17:27:51]CommunicateWithHost lk.salyk.kg:30040 [17:27:51]ConnectInit lk.salyk.kg [17:27:51]Connected sock=10 [17:27:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2F 01 00 00 22 C3 27 01 5C 8D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 1A B9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 24 A8 00 00 35 04 06 00 FE 82 44 E0 35 3A C6 FA 5A DC 3E 79 19 19 [17:27:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 34 CA 47 00 2A 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 24 A8 00 00 F4 03 04 00 13 65 92 66 B6 04 01 00 00 03 8A 85 74 D9 19 CD F1 [17:27:51]CommunicateWithHost err = 0 [17:27:51]CheckOFDResponse [17:27:51]1017 (14) - 77093643461234 [17:27:51]1041 (16) - 0000000000874935 [17:27:51]1040 (4) - 43044 [17:27:51]1012 (4) - 13.07.2024 11:29 [17:27:51]1206 (1) - 0 [17:27:51]OFD Sender: Remove packet 43044 [17:27:51]ProducePacketName [17:27:51]name=ofd_packets/00043044 [17:27:51]NVStorageDeleteData [17:27:51]Write to MH i2c: 01 00 00 70 1D 8D [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 07 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: 01 07 00 70 1D 00 00 00 00 00 F5 0C 95 [17:27:51]RasterBufferAndPrint [17:27:51]line [17:27:51]line [17:27:51]line [17:27:51]line [17:27:51]line [17:27:51]written 0, free lines is 3328 [17:27:51]MH_Cut [17:27:51]Write to MH i2c: D1 01 00 77 1D 01 66 [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: D1 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: D1 01 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: D1 01 00 77 1D 00 65 [17:27:51]Write to MH i2c: 01 00 00 78 1D 95 [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:52]OFD Sender: No OFD packet to send [17:27:52]*** Cut start [17:27:52]*** Partial cut [17:27:52]*** CUTSNS_PIN = 1 [17:27:52]*** CUTSNS_PIN = 0 [17:27:52]*** Brake cut motor [17:27:52]Read from MH i2c: 01 [17:27:52]MH_I2C_Read... [17:27:52]*** Stop cut motor [17:27:52]*** Cut end [17:27:52]Read from MH i2c: 01 07 00 [17:27:52]MH_I2C_Read... [17:27:52]Read from MH i2c: 01 07 00 78 1D 00 00 00 00 00 FF 0F AA [17:27:52]process_action close_receipt done [17:27:52]requested_data is exist [17:27:52]produce_requested_data [17:27:52]requested_item fm.sn is exist - process it [17:27:52]wFMCommunicate request_size=4 [17:27:52]MH_SAM_APDU [17:27:52]CAPDU: 80 11 00 00 [17:27:52]Write to MH i2c: E2 08 00 79 1D 80 11 00 00 00 00 00 00 10 [17:27:52]Write i2c OK [17:27:52]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 17 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 17 00 79 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 67 [17:27:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [17:27:53]wFMCommunicate OK [17:27:53]requested_item fd.num is exist - process it [17:27:53]SAM_PROTO_GetFieldsCounters [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 13 00 00 [17:27:53]Write to MH i2c: E2 08 00 7A 1D 80 13 00 00 00 00 00 00 13 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 62 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 62 00 7A 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 24 A8 00 00 0E 04 04 00 BD 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 CC [17:27:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 24 A8 00 00 0E 04 04 00 BD 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 [17:27:53]wFMCommunicate OK [17:27:53]SAM_PROTO_GetFieldsCounters done [17:27:53]requested_item shift.num is exist - process it [17:27:53]requested_item shift.opened is exist - process it [17:27:53]req_shift_opened [17:27:53]FM_GetShiftState [17:27:53]SAM_PROTO_GetShiftState [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 13 01 00 [17:27:53]Write to MH i2c: E2 08 00 7B 1D 80 13 01 00 00 00 00 00 15 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 0E 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 0E 00 7B 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 AC [17:27:53]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [17:27:53]wFMCommunicate OK [17:27:53]SAM_PROTO_GetShiftState done [17:27:53]FM_GetShiftState done [17:27:53]req_shift_opened done [17:27:53]requested_item shift.open_date is exist - process it [17:27:53]req_shift_open_date [17:27:53]req_shift_open_date done [17:27:53]requested_item shift.sale.total is exist - process it [17:27:53]SAM_PROTO_GetShiftData [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 13 02 00 [17:27:53]Write to MH i2c: E2 08 00 7C 1D 80 13 02 00 00 00 00 00 17 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 FD 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 FD 00 7C 1D 00 AE 04 AA 04 AA 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 84 5A 17 70 04 03 00 D4 80 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DB 7A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DA [17:27:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 84 5A 17 70 04 03 00 D4 80 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DB 7A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:27:53]wFMCommunicate OK [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 17 00 00 [17:27:53]Write to MH i2c: E2 08 00 7D 1D 80 17 00 00 00 00 00 00 1A [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 FD 00 [17:27:53]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 FD 00 7D 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 3C [17:27:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:27:54]wFMCommunicate OK [17:27:54]wFMCommunicate request_size=4 [17:27:54]MH_SAM_APDU [17:27:54]CAPDU: 80 17 00 00 [17:27:54]Write to MH i2c: E2 08 00 7E 1D 80 17 00 00 00 00 00 00 1B [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 FD 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 FD 00 7E 1D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D2 [17:27:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:27:54]wFMCommunicate OK [17:27:54]wFMCommunicate request_size=4 [17:27:54]MH_SAM_APDU [17:27:54]CAPDU: 80 17 00 00 [17:27:54]Write to MH i2c: E2 08 00 7F 1D 80 17 00 00 00 00 00 00 1C [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 FD 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 FD 00 7F 1D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 8E [17:27:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:27:54]wFMCommunicate OK [17:27:54]wFMCommunicate request_size=4 [17:27:54]MH_SAM_APDU [17:27:54]CAPDU: 80 17 00 00 [17:27:54]Write to MH i2c: E2 08 00 80 1D 80 17 00 00 00 00 00 00 1D [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 CB 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 CB 00 80 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 06 [17:27:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:27:54]wFMCommunicate OK [17:27:54]SAM_PROTO_GetShiftData done [17:27:54]requested_item shift.sale.total_cash is exist - process it [17:27:54]requested_item shift.sale_refund.total is exist - process it [17:27:54]requested_item shift.sale_refund.total_cash is exist - process it [17:27:54]produce_requested_data done [17:27:54]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43044,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15305.00,"shift.sale.total_cash":13437.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [17:27:54]process_action_free close_receipt [17:27:54]json_value_free [17:27:54]json_value_free done [17:27:54]process_json_proto returns [17:27:54]Send response to host [17:27:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43044,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15305.00,"shift.sale.total_cash":13437.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [17:27:54]free response buf [17:27:54]execute_script done [17:27:54]execute_script returns [17:27:54]free content buf [17:27:54]Sock 7.Close socket [17:27:54]Sock 7.Thread stoped [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:32]OFD Sender: No OFD packet to send [17:39:37]OFD Sender: No OFD packet to send [17:39:42]OFD Sender: No OFD packet to send [17:39:47]OFD Sender: No OFD packet to send [17:39:52]OFD Sender: No OFD packet to send [17:39:57]OFD Sender: No OFD packet to send [17:40:02]OFD Sender: No OFD packet to send [17:40:07]OFD Sender: No OFD packet to send [17:40:12]OFD Sender: No OFD packet to send [17:40:17]OFD Sender: No OFD packet to send [17:40:22]OFD Sender: No OFD packet to send [17:40:27]OFD Sender: No OFD packet to send [17:40:32]OFD Sender: No OFD packet to send [17:40:37]OFD Sender: No OFD packet to send [17:40:42]OFD Sender: No OFD packet to send [17:40:47]OFD Sender: No OFD packet to send [17:40:52]OFD Sender: No OFD packet to send [17:40:57]OFD Sender: No OFD packet to send [17:41:02]OFD Sender: No OFD packet to send [17:41:07]OFD Sender: No OFD packet to send [17:41:12]OFD Sender: No OFD packet to send [17:41:17]OFD Sender: No OFD packet to send [17:41:22]OFD Sender: No OFD packet to send [17:41:27]OFD Sender: No OFD packet to send [17:41:32]OFD Sender: No OFD packet to send [17:41:37]OFD Sender: No OFD packet to send [17:41:42]OFD Sender: No OFD packet to send [17:41:47]OFD Sender: No OFD packet to send [17:41:52]OFD Sender: No OFD packet to send [17:41:57]OFD Sender: No OFD packet to send [17:42:02]OFD Sender: No OFD packet to send [17:42:07]OFD Sender: No OFD packet to send [17:42:12]OFD Sender: No OFD packet to send [17:42:17]OFD Sender: No OFD packet to send [17:42:22]OFD Sender: No OFD packet to send [17:42:27]OFD Sender: No OFD packet to send [17:42:32]OFD Sender: No OFD packet to send [17:42:37]OFD Sender: No OFD packet to send [17:42:42]OFD Sender: No OFD packet to send [17:42:47]OFD Sender: No OFD packet to send [17:42:52]OFD Sender: No OFD packet to send [17:42:57]OFD Sender: No OFD packet to send [17:43:02]OFD Sender: No OFD packet to send [17:43:07]OFD Sender: No OFD packet to send [17:43:12]OFD Sender: No OFD packet to send [17:43:17]OFD Sender: No OFD packet to send [17:43:22]OFD Sender: No OFD packet to send [17:43:27]OFD Sender: No OFD packet to send [17:43:32]OFD Sender: No OFD packet to send [17:43:37]OFD Sender: No OFD packet to send [17:43:42]OFD Sender: No OFD packet to send [17:43:47]OFD Sender: No OFD packet to send [17:43:52]OFD Sender: No OFD packet to send [17:43:57]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:23]OFD Sender: No OFD packet to send [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:33]OFD Sender: No OFD packet to send [17:54:38]OFD Sender: No OFD packet to send [17:54:43]OFD Sender: No OFD packet to send [17:54:48]OFD Sender: No OFD packet to send [17:54:53]OFD Sender: No OFD packet to send [17:54:58]OFD Sender: No OFD packet to send [17:55:03]OFD Sender: No OFD packet to send [17:55:08]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [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:48]OFD Sender: No OFD packet to send [17:58:53]OFD Sender: No OFD packet to send [17:58:58]OFD Sender: No OFD packet to send [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:43]OFD Sender: No OFD packet to send [17:59:48]OFD Sender: No OFD packet to send [17:59:53]OFD Sender: No OFD packet to send [17:59:58]OFD Sender: No OFD packet to send [18:00:03]OFD Sender: No OFD packet to send [18:00:07]accept exits with 9 [18:00:07]New connection [18:00:07]New thread 3067387236 created [18:00:07]Thread 3067530596 joined [18:00:07]Waiting for new connection... [18:00:07] Sock 9.Parse request [18:00:07]Sock 9.Check first char [18:00:07]Sock 9.First char is OK [18:00:07]request: POST /json_proto HTTP/1.0 [18:00:07]Method: POST [18:00:07]URL: /json_proto [18:00:07]Method is POST - this is cgi request [18:00:07]url: /json_proto [18:00:07]query_string will be loaded in cgi processing [18:00:07]execute_cgi json_proto POST (null) [18:00:07]execute_cgi path=json_proto method=POST [18:00:07]POST find Content-Length [18:00:07]Host: 172.17.38.197:8080 [18:00:07]Content-Length: 712 [18:00:07]Content-Type: application/json [18:00:07] [18:00:07]POST finish read [18:00:07]Found Content-Length = 712 [18:00:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300173", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:00:07]execute_script... [18:00: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 : (3)300173", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:00:07]POST & json_proto [18:00:07]process_json_proto [18:00:07]json parsed OK: [18:00:07]protocol is kg_v1.0 [18:00:07]action value=close_receipt [18:00:07]process_action close_receipt [18:00:07]cmd_close_receipt [18:00:07]MH_GetDate [18:00:07]Write to MH i2c: F0 00 00 81 1D 8D [18:00:07]Write i2c OK [18:00:07]MH_I2C_Read... [18:00:07]Read from MH i2c: F0 [18:00:07]MH_I2C_Read... [18:00:07]Read from MH i2c: F0 09 00 [18:00:07]MH_I2C_Read... [18:00:07]Read from MH i2c: F0 09 00 81 1D 00 AC C0 92 66 1E 0D 88 66 13 [18:00:07]GetLastDocTimeStamp 1720891674 [18:00:07]current date 1720893612 [18:00:07]FM_GetShiftState [18:00:07]SAM_PROTO_GetShiftState [18:00:07]wFMCommunicate request_size=4 [18:00:07]MH_SAM_APDU [18:00:07]CAPDU: 80 13 01 00 [18:00:07]Write to MH i2c: E2 08 00 82 1D 80 13 01 00 00 00 00 00 1C [18:00:07]Write i2c OK [18:00:07]MH_I2C_Read... [18:00:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:07]Read from MH i2c: E2 [18:00:07]MH_I2C_Read... [18:00:07]Read from MH i2c: E2 0E 00 [18:00:07]MH_I2C_Read... [18:00:07]Read from MH i2c: E2 0E 00 82 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B3 [18:00:07]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:00:07]wFMCommunicate OK [18:00:07]SAM_PROTO_GetShiftState done [18:00:07]FM_GetShiftState done [18:00:07]opened in 1720829646 [18:00:07]opened+sec_in_day 1720916046 [18:00:07]quantity*price = 1000 [18:00:07]sum+1 = 1001 [18:00:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 90 13.07.2024 18:00 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43045 ФПД: 36996318944187 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T180012&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43045&fm=36996318944187&tin=02508201610067®Number=0000000000091176&sum=1000 0 [18:00:08]StoreToDocumentArchive [18:00:08]shift 445 fd 43045 [18:00:08]save to /storage/0445/doc_00043045 [18:00:08]save last doc name /storage/0445/doc_00043045 to /storage/kkm_last_doc_name [18:00:08]save OK [18:00:08]Clear old archive folders... [18:00:08]ProcessDocumentItem done err = 0, tmpTLVsize=267 [18:00:08]tlvbuf is 0156F8B0 [18:00:08]SAM_PROTO_ClearQueue [18:00:08]wFMCommunicate request_size=4 [18:00:08]MH_SAM_APDU [18:00:08]CAPDU: 80 09 00 00 [18:00:08]Write to MH i2c: E2 08 00 8F 1D 80 09 00 00 00 00 00 00 1E [18:00:08]Write i2c OK [18:00:08]MH_I2C_Read... [18:00:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:08]Read from MH i2c: E2 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 8F 1D 00 90 00 20 [18:00:08]RAPDU: 90 00 [18:00:08]wFMCommunicate OK [18:00:08]SAM_PROTO_ClearQueue done [18:00:08]KKMCreateOFDPacket [18:00:08]OFDProtocolAddRootSTLVToBuf [18:00:08]FM_MakeSignedData [18:00:08]FM_MakeSignedData [18:00:08]SAM_PROTO_SignData [18:00:08]wFMCommunicate request_size=4 [18:00:08]MH_SAM_APDU [18:00:08]CAPDU: 80 0D 01 02 [18:00:08]Write to MH i2c: E2 08 00 90 1D 80 0D 01 02 00 00 00 00 26 [18:00:08]Write i2c OK [18:00:08]MH_I2C_Read... [18:00:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:08]Read from MH i2c: E2 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 90 1D 00 90 00 21 [18:00:08]RAPDU: 90 00 [18:00:08]wFMCommunicate OK [18:00:08]wFMCommunicate request_size=255 [18:00:08]MH_SAM_APDU [18:00:08]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 AC C0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 [18:00:08]Write to MH i2c: E2 02 01 91 1D 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 AC C0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 00 00 37 [18:00:08]Write i2c OK [18:00:08]MH_I2C_Read... [18:00:08]OFD Sender: No OFD packet to send [18:00:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:08]Read from MH i2c: E2 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 [18:00:08]MH_I2C_Read... [18:00:08]Read from MH i2c: E2 03 00 91 1D 00 90 00 22 [18:00:08]RAPDU: 90 00 [18:00:08]wFMCommunicate OK [18:00:08]wFMCommunicate request_size=26 [18:00:08]MH_SAM_APDU [18:00:08]CAPDU: 80 0D 02 02 15 39 33 35 10 04 04 00 25 A8 00 00 35 04 06 00 21 A5 E0 72 DB BB [18:00:08]Write to MH i2c: E2 1D 00 92 1D 80 0D 02 02 15 00 39 33 35 10 04 04 00 25 A8 00 00 35 04 06 00 21 A5 E0 72 DB BB 00 00 C6 [18:00:08]Write i2c OK [18:00:08]MH_I2C_Read... [18:00:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:09]Read from MH i2c: E2 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 03 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 03 00 92 1D 00 90 00 23 [18:00:09]RAPDU: 90 00 [18:00:09]wFMCommunicate OK [18:00:09]wFMCommunicate request_size=4 [18:00:09]MH_SAM_APDU [18:00:09]CAPDU: 80 0D 03 02 [18:00:09]Write to MH i2c: E2 08 00 93 1D 80 0D 03 02 00 00 00 00 2B [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:09]Read from MH i2c: E2 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 0B 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 0B 00 93 1D 00 38 EC FF 42 50 36 F9 82 90 00 92 [18:00:09]RAPDU: 38 EC FF 42 50 36 F9 82 90 00 [18:00:09]wFMCommunicate OK [18:00:09]SAM_PROTO_SignData done [18:00:09]FM_MakeSignedData done [18:00:09]CreateOFDProtocolMessage [18:00:09]wFMCommunicate request_size=4 [18:00:09]MH_SAM_APDU [18:00:09]CAPDU: 80 11 00 00 [18:00:09]Write to MH i2c: E2 08 00 94 1D 80 11 00 00 00 00 00 00 2B [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:09]Read from MH i2c: E2 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 17 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: E2 17 00 94 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 82 [18:00:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:00:09]wFMCommunicate OK [18:00:09]CreateOFDProtocolMessage done [18:00:09]OFDSenderStorePacket 43045 [18:00:09]StoreOFDPacket docnum=43045 [18:00:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1F 01 00 00 58 A2 17 01 36 25 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 AC C0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 25 A8 00 00 35 04 06 00 21 A5 E0 72 DB BB 38 EC FF 42 50 36 F9 82 [18:00:09]CheckFolder [18:00:09]dirname=/storage/ofd_packets [18:00:09]CheckFolder done [18:00:09]ProducePacketName [18:00:09]name=ofd_packets/00043045 [18:00:09]NVStorageSaveData ofd_packets/00043045 [18:00:09]File name is /storage/ofd_packets/00043045 [18:00:09]Write 317 bytes [18:00:09]NVStorageSaveData done [18:00:09]OFDSenderStorePacket done [18:00:09]KKMCreateOFDPacket done [18:00:09]NVStorageSaveData kkm_last_timestamp [18:00:09]File name is /storage/kkm_last_timestamp [18:00:09]Write 4 bytes [18:00:09]NVStorageSaveData done [18:00:09]ExternCall_PrintAddStr [18:00:09]wPrintStart [18:00:09]Write to MH i2c: 01 00 00 95 1D B2 [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 07 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 07 00 95 1D 00 00 00 00 00 FF 0F C7 [18:00:09]RasterBufferAndPrint [18:00:09]line Счет N : (3)300173 [18:00:09]line ИНН: 02508201610067 [18:00:09]line Контрольно-Кассовый Чек [18:00:09]line ПРОДАЖА [18:00:09]line Товар: 46231529 [18:00:09]line Mentos ПФ Арбуз 6*100*2 [18:00:09]line 1.000 * 10.00 [18:00:09]line = 10.00 [18:00:09]line НДС 12% НСП 1% [18:00:09]line > о реализуемом товаре [18:00:09]line ИТОГО: 10.00 [18:00:09]line НСП 1% : 0.09 [18:00:09]line НДС 12% : 1.06 [18:00:09]line Наличными: 10.00 [18:00:09]line Безнал.: 0.00 [18:00:09]line Место: АЗС № 71 "Партнер Нефть" [18:00:09]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:00:09]line СНО: Общий режим [18:00:09]line Чек 90 13.07.2024 18:00 [18:00:09]line Смена: 445 ФФД: 1.0 [18:00:09]line ЗНМ: 0300000153 [18:00:09]line РНМ: 0000000000091176 [18:00:09]line Версия ККМ: 001 [18:00:09]line ФМ: 0000000000874935 [18:00:09]line ФД: 43045 [18:00:09]line ФПД: 36996318944187 [18:00:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T180012&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43045&fm=36996318944187&tin=02508201610067®Number=0000000000091176&sum=1000 [18:00:09]line 0 [18:00:09]OFD Sender: Processing packet 43045 [packets to send 31, broken 30] [18:00:09]ProducePacketName [18:00:09]name=ofd_packets/00043045 [18:00:09]OFD Sender: To server: pG, [18:00:09]CommunicateWithHost lk.salyk.kg:30040 [18:00:09]ConnectInit lk.salyk.kg [18:00:09]written 0, free lines is 4095 [18:00:09]Connected sock=10 [18:00:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1F 01 00 00 58 A2 17 01 36 25 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 AC C0 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 25 A8 00 00 35 04 06 00 21 A5 E0 72 DB BB 38 EC FF 42 50 36 F9 82 [18:00:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 50 EF 47 00 29 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 25 A8 00 00 F4 03 04 00 A5 6C 92 66 B6 04 01 00 00 5F 0D E0 2F 42 9D 39 82 [18:00:09]CommunicateWithHost err = 0 [18:00:09]CheckOFDResponse [18:00:09]1017 (14) - 77093643461234 [18:00:09]1041 (16) - 0000000000874935 [18:00:09]1040 (4) - 43045 [18:00:09]1012 (4) - 13.07.2024 12:01 [18:00:09]1206 (1) - 0 [18:00:09]OFD Sender: Remove packet 43045 [18:00:09]ProducePacketName [18:00:09]name=ofd_packets/00043045 [18:00:09]NVStorageDeleteData [18:00:09]Write to MH i2c: 01 00 00 BD 1D DA [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 07 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: 01 07 00 BD 1D 00 00 00 00 00 06 0D F4 [18:00:09]RasterBufferAndPrint [18:00:09]line [18:00:09]line [18:00:09]line [18:00:09]line [18:00:09]line [18:00:09]written 0, free lines is 3340 [18:00:09]MH_Cut [18:00:09]Write to MH i2c: D1 01 00 C4 1D 01 B3 [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: D1 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: D1 01 00 [18:00:09]MH_I2C_Read... [18:00:09]Read from MH i2c: D1 01 00 C4 1D 00 B2 [18:00:09]Write to MH i2c: 01 00 00 C5 1D E2 [18:00:09]Write i2c OK [18:00:09]MH_I2C_Read... [18:00:10]OFD Sender: No OFD packet to send [18:00:10]*** Cut start [18:00:10]*** Partial cut [18:00:10]*** CUTSNS_PIN = 1 [18:00:10]*** CUTSNS_PIN = 0 [18:00:10]*** Brake cut motor [18:00:11]Read from MH i2c: 01 [18:00:11]MH_I2C_Read... [18:00:11]*** Stop cut motor [18:00:11]*** Cut end [18:00:11]Read from MH i2c: 01 07 00 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: 01 07 00 C5 1D 00 00 00 00 00 FF 0F F7 [18:00:11]process_action close_receipt done [18:00:11]requested_data is exist [18:00:11]produce_requested_data [18:00:11]requested_item fm.sn is exist - process it [18:00:11]wFMCommunicate request_size=4 [18:00:11]MH_SAM_APDU [18:00:11]CAPDU: 80 11 00 00 [18:00:11]Write to MH i2c: E2 08 00 C6 1D 80 11 00 00 00 00 00 00 5D [18:00:11]Write i2c OK [18:00:11]MH_I2C_Read... [18:00:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:11]Read from MH i2c: E2 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 17 00 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 17 00 C6 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B4 [18:00:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:00:11]wFMCommunicate OK [18:00:11]requested_item fd.num is exist - process it [18:00:11]SAM_PROTO_GetFieldsCounters [18:00:11]wFMCommunicate request_size=4 [18:00:11]MH_SAM_APDU [18:00:11]CAPDU: 80 13 00 00 [18:00:11]Write to MH i2c: E2 08 00 C7 1D 80 13 00 00 00 00 00 00 60 [18:00:11]Write i2c OK [18:00:11]MH_I2C_Read... [18:00:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:11]Read from MH i2c: E2 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 62 00 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 62 00 C7 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 25 A8 00 00 0E 04 04 00 BD 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 1D [18:00:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 25 A8 00 00 0E 04 04 00 BD 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:00:11]wFMCommunicate OK [18:00:11]SAM_PROTO_GetFieldsCounters done [18:00:11]requested_item shift.num is exist - process it [18:00:11]requested_item shift.opened is exist - process it [18:00:11]req_shift_opened [18:00:11]FM_GetShiftState [18:00:11]SAM_PROTO_GetShiftState [18:00:11]wFMCommunicate request_size=4 [18:00:11]MH_SAM_APDU [18:00:11]CAPDU: 80 13 01 00 [18:00:11]Write to MH i2c: E2 08 00 C8 1D 80 13 01 00 00 00 00 00 62 [18:00:11]Write i2c OK [18:00:11]MH_I2C_Read... [18:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:11]Read from MH i2c: E2 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 0E 00 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 0E 00 C8 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F9 [18:00:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:00:11]wFMCommunicate OK [18:00:11]SAM_PROTO_GetShiftState done [18:00:11]FM_GetShiftState done [18:00:11]req_shift_opened done [18:00:11]requested_item shift.open_date is exist - process it [18:00:11]req_shift_open_date [18:00:11]req_shift_open_date done [18:00:11]requested_item shift.sale.total is exist - process it [18:00:11]SAM_PROTO_GetShiftData [18:00:11]wFMCommunicate request_size=4 [18:00:11]MH_SAM_APDU [18:00:11]CAPDU: 80 13 02 00 [18:00:11]Write to MH i2c: E2 08 00 C9 1D 80 13 02 00 00 00 00 00 64 [18:00:11]Write i2c OK [18:00:11]MH_I2C_Read... [18:00:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:00:11]Read from MH i2c: E2 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 FD 00 [18:00:11]MH_I2C_Read... [18:00:11]Read from MH i2c: E2 FD 00 C9 1D 00 AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 6C 5E 17 70 04 03 00 BC 84 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 7B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E6 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 75 [18:00:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 6C 5E 17 70 04 03 00 BC 84 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 7B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E6 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:00:11]wFMCommunicate OK [18:00:11]wFMCommunicate request_size=4 [18:00:11]MH_SAM_APDU [18:00:11]CAPDU: 80 17 00 00 [18:00:11]Write to MH i2c: E2 08 00 CA 1D 80 17 00 00 00 00 00 00 67 [18:00:11]Write i2c OK [18:00:11]MH_I2C_Read... [18:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:00:12]Read from MH i2c: E2 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 CA 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 89 [18:00:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:00:12]wFMCommunicate OK [18:00:12]wFMCommunicate request_size=4 [18:00:12]MH_SAM_APDU [18:00:12]CAPDU: 80 17 00 00 [18:00:12]Write to MH i2c: E2 08 00 CB 1D 80 17 00 00 00 00 00 00 68 [18:00:12]Write i2c OK [18:00:12]MH_I2C_Read... [18:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:00:12]Read from MH i2c: E2 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 CB 1D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1F [18:00:12]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:00:12]wFMCommunicate OK [18:00:12]wFMCommunicate request_size=4 [18:00:12]MH_SAM_APDU [18:00:12]CAPDU: 80 17 00 00 [18:00:12]Write to MH i2c: E2 08 00 CC 1D 80 17 00 00 00 00 00 00 69 [18:00:12]Write i2c OK [18:00:12]MH_I2C_Read... [18:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:00:12]Read from MH i2c: E2 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 [18:00:12]MH_I2C_Read... [18:00:12]Read from MH i2c: E2 FD 00 CC 1D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 DB [18:00:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:00:12]wFMCommunicate OK [18:00:12]wFMCommunicate request_size=4 [18:00:12]MH_SAM_APDU [18:00:12]CAPDU: 80 17 00 00 [18:00:12]Write to MH i2c: E2 08 00 CD 1D 80 17 00 00 00 00 00 00 6A [18:00:12]Write i2c OK [18:00:12]MH_I2C_Read... [18:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:00:13]Read from MH i2c: E2 [18:00:13]MH_I2C_Read... [18:00:13]Read from MH i2c: E2 CB 00 [18:00:13]MH_I2C_Read... [18:00:13]Read from MH i2c: E2 CB 00 CD 1D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 53 [18:00:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:00:13]wFMCommunicate OK [18:00:13]SAM_PROTO_GetShiftData done [18:00:13]requested_item shift.sale.total_cash is exist - process it [18:00:13]requested_item shift.sale_refund.total is exist - process it [18:00:13]requested_item shift.sale_refund.total_cash is exist - process it [18:00:13]produce_requested_data done [18:00:13]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43045,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15315.00,"shift.sale.total_cash":13447.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:00:13]process_action_free close_receipt [18:00:13]json_value_free [18:00:13]json_value_free done [18:00:13]process_json_proto returns [18:00:13]Send response to host [18:00:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43045,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15315.00,"shift.sale.total_cash":13447.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:00:13]free response buf [18:00:13]execute_script done [18:00:13]execute_script returns [18:00:13]free content buf [18:00:13]Sock 9.Close socket [18:00:13]Sock 9.Thread stoped [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [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:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:00]accept exits with 7 [18:17:00]New connection [18:17:00]New thread 3067530596 created [18:17:00]Thread 3067387236 joined [18:17:00]Waiting for new connection... [18:17:00] Sock 7.Parse request [18:17:00]Sock 7.Check first char [18:17:00]Sock 7.First char is OK [18:17:00]request: POST /json_proto HTTP/1.0 [18:17:00]Method: POST [18:17:00]URL: /json_proto [18:17:00]Method is POST - this is cgi request [18:17:00]url: /json_proto [18:17:00]query_string will be loaded in cgi processing [18:17:00]execute_cgi json_proto POST (null) [18:17:00]execute_cgi path=json_proto method=POST [18:17:00]POST find Content-Length [18:17:00]Host: 172.17.38.197:8080 [18:17:00]Content-Length: 815 [18:17:00]Content-Type: application/json [18:17:00] [18:17:00]POST finish read [18:17:00]Found Content-Length = 815 [18:17:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300174", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:17:00]execute_script... [18:17:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300174", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:17:00]POST & json_proto [18:17:00]process_json_proto [18:17:00]json parsed OK: [18:17:00]protocol is kg_v1.0 [18:17:00]action value=close_receipt [18:17:00]process_action close_receipt [18:17:00]cmd_close_receipt [18:17:00]MH_GetDate [18:17:00]Write to MH i2c: F0 00 00 CE 1D DA [18:17:00]Write i2c OK [18:17:00]MH_I2C_Read... [18:17:00]Read from MH i2c: F0 [18:17:00]MH_I2C_Read... [18:17:00]Read from MH i2c: F0 09 00 [18:17:00]MH_I2C_Read... [18:17:00]Read from MH i2c: F0 09 00 CE 1D 00 A1 C4 92 66 1E 0D 88 66 59 [18:17:00]GetLastDocTimeStamp 1720893612 [18:17:00]current date 1720894625 [18:17:00]FM_GetShiftState [18:17:00]SAM_PROTO_GetShiftState [18:17:00]wFMCommunicate request_size=4 [18:17:00]MH_SAM_APDU [18:17:00]CAPDU: 80 13 01 00 [18:17:00]Write to MH i2c: E2 08 00 CF 1D 80 13 01 00 00 00 00 00 69 [18:17:00]Write i2c OK [18:17:00]MH_I2C_Read... [18:17:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:00]Read from MH i2c: E2 [18:17:00]MH_I2C_Read... [18:17:00]Read from MH i2c: E2 0E 00 [18:17:00]MH_I2C_Read... [18:17:00]Read from MH i2c: E2 0E 00 CF 1D 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 00 [18:17:00]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:17:00]wFMCommunicate OK [18:17:00]SAM_PROTO_GetShiftState done [18:17:00]FM_GetShiftState done [18:17:00]opened in 1720829646 [18:17:00]opened+sec_in_day 1720916046 [18:17:00]quantity*price = 11000 [18:17:00]sum+1 = 11001 [18:17:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 91 13.07.2024 18:17 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43046 ФПД: 222038300498145 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T181705&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43046&fm=222038300498145&tin=02508201610067®Number=0000000000091176&sum=11000 0 [18:17:01]StoreToDocumentArchive [18:17:01]shift 445 fd 43046 [18:17:01]save to /storage/0445/doc_00043046 [18:17:01]save last doc name /storage/0445/doc_00043046 to /storage/kkm_last_doc_name [18:17:01]save OK [18:17:01]Clear old archive folders... [18:17:01]ProcessDocumentItem done err = 0, tmpTLVsize=303 [18:17:01]tlvbuf is 015E3F20 [18:17:01]SAM_PROTO_ClearQueue [18:17:01]wFMCommunicate request_size=4 [18:17:01]MH_SAM_APDU [18:17:01]CAPDU: 80 09 00 00 [18:17:01]Write to MH i2c: E2 08 00 DC 1D 80 09 00 00 00 00 00 00 6B [18:17:01]Write i2c OK [18:17:01]MH_I2C_Read... [18:17:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:17:01]Read from MH i2c: E2 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 DC 1D 00 90 00 6D [18:17:01]RAPDU: 90 00 [18:17:01]wFMCommunicate OK [18:17:01]SAM_PROTO_ClearQueue done [18:17:01]KKMCreateOFDPacket [18:17:01]OFDProtocolAddRootSTLVToBuf [18:17:01]FM_MakeSignedData [18:17:01]FM_MakeSignedData [18:17:01]SAM_PROTO_SignData [18:17:01]wFMCommunicate request_size=4 [18:17:01]MH_SAM_APDU [18:17:01]CAPDU: 80 0D 01 02 [18:17:01]Write to MH i2c: E2 08 00 DD 1D 80 0D 01 02 00 00 00 00 73 [18:17:01]Write i2c OK [18:17:01]MH_I2C_Read... [18:17:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:17:01]Read from MH i2c: E2 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 DD 1D 00 90 00 6E [18:17:01]RAPDU: 90 00 [18:17:01]wFMCommunicate OK [18:17:01]wFMCommunicate request_size=255 [18:17:01]MH_SAM_APDU [18:17:01]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 A1 C4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D [18:17:01]Write to MH i2c: E2 02 01 DE 1D 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 A1 C4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 00 00 D9 [18:17:01]Write i2c OK [18:17:01]MH_I2C_Read... [18:17:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:01]Read from MH i2c: E2 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 [18:17:01]MH_I2C_Read... [18:17:01]Read from MH i2c: E2 03 00 DE 1D 00 90 00 6F [18:17:01]RAPDU: 90 00 [18:17:01]wFMCommunicate OK [18:17:01]wFMCommunicate request_size=62 [18:17:01]MH_SAM_APDU [18:17:01]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 26 A8 00 00 35 04 06 00 C9 F1 52 07 18 E1 [18:17:01]Write to MH i2c: E2 41 00 DF 1D 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 26 A8 00 00 35 04 06 00 C9 F1 52 07 18 E1 00 00 8E [18:17:01]Write i2c OK [18:17:01]MH_I2C_Read... [18:17:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:02]Read from MH i2c: E2 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 03 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 03 00 DF 1D 00 90 00 70 [18:17:02]RAPDU: 90 00 [18:17:02]wFMCommunicate OK [18:17:02]wFMCommunicate request_size=4 [18:17:02]MH_SAM_APDU [18:17:02]CAPDU: 80 0D 03 02 [18:17:02]Write to MH i2c: E2 08 00 E0 1D 80 0D 03 02 00 00 00 00 78 [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:17:02]Read from MH i2c: E2 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 0B 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 0B 00 E0 1D 00 38 32 C5 F9 13 CB E0 FA 90 00 59 [18:17:02]RAPDU: 38 32 C5 F9 13 CB E0 FA 90 00 [18:17:02]wFMCommunicate OK [18:17:02]SAM_PROTO_SignData done [18:17:02]FM_MakeSignedData done [18:17:02]CreateOFDProtocolMessage [18:17:02]wFMCommunicate request_size=4 [18:17:02]MH_SAM_APDU [18:17:02]CAPDU: 80 11 00 00 [18:17:02]Write to MH i2c: E2 08 00 E1 1D 80 11 00 00 00 00 00 00 78 [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:02]Read from MH i2c: E2 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 17 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: E2 17 00 E1 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CF [18:17:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:17:02]wFMCommunicate OK [18:17:02]CreateOFDProtocolMessage done [18:17:02]OFDSenderStorePacket 43046 [18:17:02]StoreOFDPacket docnum=43046 [18:17:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 EC 2F 3B 01 D2 36 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 A1 C4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 26 A8 00 00 35 04 06 00 C9 F1 52 07 18 E1 38 32 C5 F9 13 CB E0 FA [18:17:02]CheckFolder [18:17:02]dirname=/storage/ofd_packets [18:17:02]CheckFolder done [18:17:02]ProducePacketName [18:17:02]name=ofd_packets/00043046 [18:17:02]NVStorageSaveData ofd_packets/00043046 [18:17:02]File name is /storage/ofd_packets/00043046 [18:17:02]Write 353 bytes [18:17:02]NVStorageSaveData done [18:17:02]OFDSenderStorePacket done [18:17:02]KKMCreateOFDPacket done [18:17:02]NVStorageSaveData kkm_last_timestamp [18:17:02]File name is /storage/kkm_last_timestamp [18:17:02]Write 4 bytes [18:17:02]NVStorageSaveData done [18:17:02]ExternCall_PrintAddStr [18:17:02]wPrintStart [18:17:02]Write to MH i2c: 01 00 00 E2 1D FF [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 07 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 07 00 E2 1D 00 00 00 00 00 FF 0F 14 [18:17:02]RasterBufferAndPrint [18:17:02]line Счет N : (3)300174 [18:17:02]line ИНН: 02508201610067 [18:17:02]line Контрольно-Кассовый Чек [18:17:02]line ПРОДАЖА [18:17:02]line Товар: 4870202521216 [18:17:02]line Напиток MAXI чай 1,2 зел.лимон (новый) [18:17:02]line 1.000 * 110.00 [18:17:02]line = 110.00 [18:17:02]line НДС 12% НСП 1% [18:17:02]line > о реализуемом товаре [18:17:02]line ИТОГО: 110.00 [18:17:02]line НСП 1% : 0.97 [18:17:02]line НДС 12% : 11.68 [18:17:02]line Наличными: 110.00 [18:17:02]line Безнал.: 0.00 [18:17:02]line Место: АЗС № 71 "Партнер Нефть" [18:17:02]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:17:02]line СНО: Общий режим [18:17:02]line Чек 91 13.07.2024 18:17 [18:17:02]line Смена: 445 ФФД: 1.0 [18:17:02]line ЗНМ: 0300000153 [18:17:02]line РНМ: 0000000000091176 [18:17:02]line Версия ККМ: 001 [18:17:02]line ФМ: 0000000000874935 [18:17:02]line ФД: 43046 [18:17:02]line ФПД: 222038300498145 [18:17:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T181705&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43046&fm=222038300498145&tin=02508201610067®Number=0000000000091176&sum=11000 [18:17:02]line 0 [18:17:02]OFD Sender: Processing packet 43046 [packets to send 31, broken 30] [18:17:02]ProducePacketName [18:17:02]name=ofd_packets/00043046 [18:17:02]OFD Sender: To server: pG, [18:17:02]CommunicateWithHost lk.salyk.kg:30040 [18:17:02]ConnectInit lk.salyk.kg [18:17:02]written 0, free lines is 4095 [18:17:02]Connected sock=10 [18:17:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 EC 2F 3B 01 D2 36 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 A1 C4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 26 A8 00 00 35 04 06 00 C9 F1 52 07 18 E1 38 32 C5 F9 13 CB E0 FA [18:17:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 8C 11 47 00 54 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 38 37 34 39 33 35 10 04 04 00 26 A8 00 00 F4 03 04 00 9A 70 92 66 B6 04 01 00 00 A9 B7 F1 E4 28 DA A7 BF [18:17:02]CommunicateWithHost err = 0 [18:17:02]CheckOFDResponse [18:17:02]1017 (14) - 77093643461234 [18:17:02]1041 (16) - 0000000000874935 [18:17:02]1040 (4) - 43046 [18:17:02]1012 (4) - 13.07.2024 12:18 [18:17:02]1206 (1) - 0 [18:17:02]OFD Sender: Remove packet 43046 [18:17:02]ProducePacketName [18:17:02]name=ofd_packets/00043046 [18:17:02]NVStorageDeleteData [18:17:02]Write to MH i2c: 01 00 00 0B 1E 29 [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 07 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: 01 07 00 0B 1E 00 00 00 00 00 F1 0C 2D [18:17:02]RasterBufferAndPrint [18:17:02]line [18:17:02]line [18:17:02]line [18:17:02]line [18:17:02]line [18:17:02]written 0, free lines is 3319 [18:17:02]MH_Cut [18:17:02]Write to MH i2c: D1 01 00 12 1E 01 02 [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: D1 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: D1 01 00 [18:17:02]MH_I2C_Read... [18:17:02]Read from MH i2c: D1 01 00 12 1E 00 01 [18:17:02]Write to MH i2c: 01 00 00 13 1E 31 [18:17:02]Write i2c OK [18:17:02]MH_I2C_Read... [18:17:03]OFD Sender: No OFD packet to send [18:17:03]*** Cut start [18:17:03]*** Partial cut [18:17:03]*** CUTSNS_PIN = 1 [18:17:03]*** CUTSNS_PIN = 0 [18:17:03]*** Brake cut motor [18:17:04]Read from MH i2c: 01 [18:17:04]MH_I2C_Read... [18:17:04]*** Stop cut motor [18:17:04]*** Cut end [18:17:04]Read from MH i2c: 01 07 00 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: 01 07 00 13 1E 00 00 00 00 00 FF 0F 46 [18:17:04]process_action close_receipt done [18:17:04]requested_data is exist [18:17:04]produce_requested_data [18:17:04]requested_item fm.sn is exist - process it [18:17:04]wFMCommunicate request_size=4 [18:17:04]MH_SAM_APDU [18:17:04]CAPDU: 80 11 00 00 [18:17:04]Write to MH i2c: E2 08 00 14 1E 80 11 00 00 00 00 00 00 AC [18:17:04]Write i2c OK [18:17:04]MH_I2C_Read... [18:17:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:04]Read from MH i2c: E2 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 17 00 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 17 00 14 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 03 [18:17:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:17:04]wFMCommunicate OK [18:17:04]requested_item fd.num is exist - process it [18:17:04]SAM_PROTO_GetFieldsCounters [18:17:04]wFMCommunicate request_size=4 [18:17:04]MH_SAM_APDU [18:17:04]CAPDU: 80 13 00 00 [18:17:04]Write to MH i2c: E2 08 00 15 1E 80 13 00 00 00 00 00 00 AF [18:17:04]Write i2c OK [18:17:04]MH_I2C_Read... [18:17:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:17:04]Read from MH i2c: E2 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 62 00 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 62 00 15 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 26 A8 00 00 0E 04 04 00 BD 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 70 [18:17:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 26 A8 00 00 0E 04 04 00 BD 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:17:04]wFMCommunicate OK [18:17:04]SAM_PROTO_GetFieldsCounters done [18:17:04]requested_item shift.num is exist - process it [18:17:04]requested_item shift.opened is exist - process it [18:17:04]req_shift_opened [18:17:04]FM_GetShiftState [18:17:04]SAM_PROTO_GetShiftState [18:17:04]wFMCommunicate request_size=4 [18:17:04]MH_SAM_APDU [18:17:04]CAPDU: 80 13 01 00 [18:17:04]Write to MH i2c: E2 08 00 16 1E 80 13 01 00 00 00 00 00 B1 [18:17:04]Write i2c OK [18:17:04]MH_I2C_Read... [18:17:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:04]Read from MH i2c: E2 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 0E 00 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 0E 00 16 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 48 [18:17:04]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:17:04]wFMCommunicate OK [18:17:04]SAM_PROTO_GetShiftState done [18:17:04]FM_GetShiftState done [18:17:04]req_shift_opened done [18:17:04]requested_item shift.open_date is exist - process it [18:17:04]req_shift_open_date [18:17:04]req_shift_open_date done [18:17:04]requested_item shift.sale.total is exist - process it [18:17:04]SAM_PROTO_GetShiftData [18:17:04]wFMCommunicate request_size=4 [18:17:04]MH_SAM_APDU [18:17:04]CAPDU: 80 13 02 00 [18:17:04]Write to MH i2c: E2 08 00 17 1E 80 13 02 00 00 00 00 00 B3 [18:17:04]Write i2c OK [18:17:04]MH_I2C_Read... [18:17:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:17:04]Read from MH i2c: E2 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 FD 00 [18:17:04]MH_I2C_Read... [18:17:04]Read from MH i2c: E2 FD 00 17 1E 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 64 89 17 70 04 03 00 B4 AF 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 7F 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 47 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 02 [18:17:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 64 89 17 70 04 03 00 B4 AF 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D5 7F 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 47 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:17:05]wFMCommunicate OK [18:17:05]wFMCommunicate request_size=4 [18:17:05]MH_SAM_APDU [18:17:05]CAPDU: 80 17 00 00 [18:17:05]Write to MH i2c: E2 08 00 18 1E 80 17 00 00 00 00 00 00 B6 [18:17:05]Write i2c OK [18:17:05]MH_I2C_Read... [18:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:05]Read from MH i2c: E2 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 18 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D8 [18:17:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:17:05]wFMCommunicate OK [18:17:05]wFMCommunicate request_size=4 [18:17:05]MH_SAM_APDU [18:17:05]CAPDU: 80 17 00 00 [18:17:05]Write to MH i2c: E2 08 00 19 1E 80 17 00 00 00 00 00 00 B7 [18:17:05]Write i2c OK [18:17:05]MH_I2C_Read... [18:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:05]Read from MH i2c: E2 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 19 1E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6E [18:17:05]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:17:05]wFMCommunicate OK [18:17:05]wFMCommunicate request_size=4 [18:17:05]MH_SAM_APDU [18:17:05]CAPDU: 80 17 00 00 [18:17:05]Write to MH i2c: E2 08 00 1A 1E 80 17 00 00 00 00 00 00 B8 [18:17:05]Write i2c OK [18:17:05]MH_I2C_Read... [18:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:17:05]Read from MH i2c: E2 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 [18:17:05]MH_I2C_Read... [18:17:05]Read from MH i2c: E2 FD 00 1A 1E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2A [18:17:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:17:05]wFMCommunicate OK [18:17:05]wFMCommunicate request_size=4 [18:17:05]MH_SAM_APDU [18:17:05]CAPDU: 80 17 00 00 [18:17:05]Write to MH i2c: E2 08 00 1B 1E 80 17 00 00 00 00 00 00 B9 [18:17:05]Write i2c OK [18:17:05]MH_I2C_Read... [18:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:17:06]Read from MH i2c: E2 [18:17:06]MH_I2C_Read... [18:17:06]Read from MH i2c: E2 CB 00 [18:17:06]MH_I2C_Read... [18:17:06]Read from MH i2c: E2 CB 00 1B 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A2 [18:17:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:17:06]wFMCommunicate OK [18:17:06]SAM_PROTO_GetShiftData done [18:17:06]requested_item shift.sale.total_cash is exist - process it [18:17:06]requested_item shift.sale_refund.total is exist - process it [18:17:06]requested_item shift.sale_refund.total_cash is exist - process it [18:17:06]produce_requested_data done [18:17:06]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43046,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15425.00,"shift.sale.total_cash":13557.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:17:06]process_action_free close_receipt [18:17:06]json_value_free [18:17:06]json_value_free done [18:17:06]process_json_proto returns [18:17:06]Send response to host [18:17:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43046,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15425.00,"shift.sale.total_cash":13557.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:17:06]free response buf [18:17:06]execute_script done [18:17:06]execute_script returns [18:17:06]free content buf [18:17:06]Sock 7.Close socket [18:17:06]Sock 7.Thread stoped [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:23]accept exits with 9 [18:19:23]New connection [18:19:23]New thread 3067387236 created [18:19:23]Thread 3067530596 joined [18:19:23]Waiting for new connection... [18:19:23] Sock 9.Parse request [18:19:23]Sock 9.Check first char [18:19:23]Sock 9.First char is OK [18:19:23]request: POST /json_proto HTTP/1.0 [18:19:23]Method: POST [18:19:23]URL: /json_proto [18:19:23]Method is POST - this is cgi request [18:19:23]url: /json_proto [18:19:23]query_string will be loaded in cgi processing [18:19:23]execute_cgi json_proto POST (null) [18:19:23]execute_cgi path=json_proto method=POST [18:19:23]POST find Content-Length [18:19:23]Host: 172.17.38.197:8080 [18:19:23]Content-Length: 1049 [18:19:23]Content-Type: application/json [18:19:23] [18:19:23]POST finish read [18:19:23]Found Content-Length = 1049 [18:19:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300175", "tax_sys" : 0, "items" : [ { "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:19:23]execute_script... [18:19:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300175", "tax_sys" : 0, "items" : [ { "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:19:23]POST & json_proto [18:19:23]process_json_proto [18:19:23]json parsed OK: [18:19:23]protocol is kg_v1.0 [18:19:23]action value=close_receipt [18:19:23]process_action close_receipt [18:19:23]cmd_close_receipt [18:19:23]MH_GetDate [18:19:23]Write to MH i2c: F0 00 00 1C 1E 29 [18:19:23]Write i2c OK [18:19:23]MH_I2C_Read... [18:19:23]Read from MH i2c: F0 [18:19:23]MH_I2C_Read... [18:19:23]Read from MH i2c: F0 09 00 [18:19:23]MH_I2C_Read... [18:19:23]Read from MH i2c: F0 09 00 1C 1E 00 30 C5 92 66 1E 0D 88 66 38 [18:19:23]GetLastDocTimeStamp 1720894625 [18:19:23]current date 1720894768 [18:19:23]FM_GetShiftState [18:19:23]SAM_PROTO_GetShiftState [18:19:23]wFMCommunicate request_size=4 [18:19:23]MH_SAM_APDU [18:19:23]CAPDU: 80 13 01 00 [18:19:23]Write to MH i2c: E2 08 00 1D 1E 80 13 01 00 00 00 00 00 B8 [18:19:23]Write i2c OK [18:19:23]MH_I2C_Read... [18:19:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:19:23]Read from MH i2c: E2 [18:19:23]MH_I2C_Read... [18:19:23]Read from MH i2c: E2 0E 00 [18:19:23]MH_I2C_Read... [18:19:23]Read from MH i2c: E2 0E 00 1D 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4F [18:19:23]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:19:23]wFMCommunicate OK [18:19:23]SAM_PROTO_GetShiftState done [18:19:23]FM_GetShiftState done [18:19:23]opened in 1720829646 [18:19:23]opened+sec_in_day 1720916046 [18:19:23]quantity*price = 4500 [18:19:23]sum+1 = 4501 [18:19:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214621 Р/ж mentos тутти-фрутти ролл 16г 2.000 * 49.00 = 98.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.27 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 92 13.07.2024 18:19 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43047 ФПД: 136140290789560 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T181928&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43047&fm=136140290789560&tin=02508201610067®Number=0000000000091176&sum=14300 0 [18:19:24]StoreToDocumentArchive [18:19:24]shift 445 fd 43047 [18:19:24]save to /storage/0445/doc_00043047 [18:19:24]save last doc name /storage/0445/doc_00043047 to /storage/kkm_last_doc_name [18:19:24]save OK [18:19:24]Clear old archive folders... [18:19:24]ProcessDocumentItem done err = 0, tmpTLVsize=399 [18:19:24]tlvbuf is B6F67780 [18:19:24]SAM_PROTO_ClearQueue [18:19:24]wFMCommunicate request_size=4 [18:19:24]MH_SAM_APDU [18:19:24]CAPDU: 80 09 00 00 [18:19:24]Write to MH i2c: E2 08 00 2A 1E 80 09 00 00 00 00 00 00 BA [18:19:24]Write i2c OK [18:19:24]MH_I2C_Read... [18:19:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:19:24]Read from MH i2c: E2 [18:19:24]MH_I2C_Read... [18:19:24]Read from MH i2c: E2 03 00 [18:19:24]MH_I2C_Read... [18:19:24]Read from MH i2c: E2 03 00 2A 1E 00 90 00 BC [18:19:24]RAPDU: 90 00 [18:19:24]wFMCommunicate OK [18:19:24]SAM_PROTO_ClearQueue done [18:19:24]KKMCreateOFDPacket [18:19:24]OFDProtocolAddRootSTLVToBuf [18:19:24]FM_MakeSignedData [18:19:24]FM_MakeSignedData [18:19:24]SAM_PROTO_SignData [18:19:24]wFMCommunicate request_size=4 [18:19:24]MH_SAM_APDU [18:19:24]CAPDU: 80 0D 01 02 [18:19:24]Write to MH i2c: E2 08 00 2B 1E 80 0D 01 02 00 00 00 00 C2 [18:19:24]Write i2c OK [18:19:24]MH_I2C_Read... [18:19:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:19:24]Read from MH i2c: E2 [18:19:24]MH_I2C_Read... [18:19:24]Read from MH i2c: E2 03 00 [18:19:24]MH_I2C_Read... [18:19:24]Read from MH i2c: E2 03 00 2B 1E 00 90 00 BD [18:19:24]RAPDU: 90 00 [18:19:24]wFMCommunicate OK [18:19:24]wFMCommunicate request_size=255 [18:19:24]MH_SAM_APDU [18:19:24]CAPDU: 80 0D 02 02 FA 03 00 8F 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 [18:19:24]Write to MH i2c: E2 02 01 2C 1E 80 0D 02 02 FA 00 03 00 8F 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 00 00 F9 [18:19:24]Write i2c OK [18:19:24]MH_I2C_Read... [18:19:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:19:25]Read from MH i2c: E2 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 03 00 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 03 00 2C 1E 00 90 00 BE [18:19:25]RAPDU: 90 00 [18:19:25]wFMCommunicate OK [18:19:25]wFMCommunicate request_size=158 [18:19:25]MH_SAM_APDU [18:19:25]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 30 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 27 A8 00 00 35 04 06 00 7B D1 A1 AC 10 B8 [18:19:25]Write to MH i2c: E2 A1 00 2D 1E 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 30 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 27 A8 00 00 35 04 06 00 7B D1 A1 AC 10 B8 00 00 06 [18:19:25]Write i2c OK [18:19:25]MH_I2C_Read... [18:19:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:19:25]Read from MH i2c: E2 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 03 00 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 03 00 2D 1E 00 90 00 BF [18:19:25]RAPDU: 90 00 [18:19:25]wFMCommunicate OK [18:19:25]wFMCommunicate request_size=4 [18:19:25]MH_SAM_APDU [18:19:25]CAPDU: 80 0D 03 02 [18:19:25]Write to MH i2c: E2 08 00 2E 1E 80 0D 03 02 00 00 00 00 C7 [18:19:25]Write i2c OK [18:19:25]MH_I2C_Read... [18:19:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:19:25]Read from MH i2c: E2 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 0B 00 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 0B 00 2E 1E 00 E8 52 5C 02 26 68 B3 AB 90 00 4C [18:19:25]RAPDU: E8 52 5C 02 26 68 B3 AB 90 00 [18:19:25]wFMCommunicate OK [18:19:25]SAM_PROTO_SignData done [18:19:25]FM_MakeSignedData done [18:19:25]CreateOFDProtocolMessage [18:19:25]wFMCommunicate request_size=4 [18:19:25]MH_SAM_APDU [18:19:25]CAPDU: 80 11 00 00 [18:19:25]Write to MH i2c: E2 08 00 2F 1E 80 11 00 00 00 00 00 00 C7 [18:19:25]Write i2c OK [18:19:25]MH_I2C_Read... [18:19:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:19:25]Read from MH i2c: E2 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 17 00 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: E2 17 00 2F 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1E [18:19:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:19:25]wFMCommunicate OK [18:19:25]CreateOFDProtocolMessage done [18:19:25]OFDSenderStorePacket 43047 [18:19:25]StoreOFDPacket docnum=43047 [18:19:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A3 01 00 00 56 80 9B 01 7F 64 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 30 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 27 A8 00 00 35 04 06 00 7B D1 A1 AC 10 B8 E8 52 5C 02 26 68 B3 AB [18:19:25]CheckFolder [18:19:25]dirname=/storage/ofd_packets [18:19:25]CheckFolder done [18:19:25]ProducePacketName [18:19:25]name=ofd_packets/00043047 [18:19:25]NVStorageSaveData ofd_packets/00043047 [18:19:25]File name is /storage/ofd_packets/00043047 [18:19:25]Write 449 bytes [18:19:25]NVStorageSaveData done [18:19:25]OFDSenderStorePacket done [18:19:25]KKMCreateOFDPacket done [18:19:25]NVStorageSaveData kkm_last_timestamp [18:19:25]File name is /storage/kkm_last_timestamp [18:19:25]Write 4 bytes [18:19:25]NVStorageSaveData done [18:19:25]ExternCall_PrintAddStr [18:19:25]wPrintStart [18:19:25]Write to MH i2c: 01 00 00 30 1E 4E [18:19:25]OFD Sender: Processing packet 43047 [packets to send 31, broken 30] [18:19:25]ProducePacketName [18:19:25]name=ofd_packets/00043047 [18:19:25]OFD Sender: To server: pG, [18:19:25]CommunicateWithHost lk.salyk.kg:30040 [18:19:25]ConnectInit lk.salyk.kg [18:19:25]Write i2c OK [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: 01 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: 01 07 00 [18:19:25]MH_I2C_Read... [18:19:25]Read from MH i2c: 01 07 00 30 1E 00 00 00 00 00 FF 0F 63 [18:19:25]RasterBufferAndPrint [18:19:25]line Счет N : (3)300175 [18:19:25]line ИНН: 02508201610067 [18:19:25]line Контрольно-Кассовый Чек [18:19:25]line ПРОДАЖА [18:19:25]line Товар: 4870001159955 [18:19:25]line Вода ASU пит н.газ ПЭТ 1л [18:19:25]line 1.000 * 45.00 [18:19:25]line = 45.00 [18:19:25]line НДС 12% НСП 1% [18:19:25]line > о реализуемом товаре [18:19:25]line Товар: 46214621 [18:19:25]line Р/ж mentos тутти-фрутти ролл 16г [18:19:25]line 2.000 * 49.00 [18:19:25]line = 98.00 [18:19:25]line НДС 12% НСП 1% [18:19:25]line > о реализуемом товаре [18:19:25]line ИТОГО: 143.00 [18:19:25]line НСП 1% : 1.27 [18:19:25]line НДС 12% : 15.19 [18:19:25]line Наличными: 143.00 [18:19:25]line Безнал.: 0.00 [18:19:25]line Место: АЗС № 71 "Партнер Нефть" [18:19:25]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:19:25]line СНО: Общий режим [18:19:25]line Чек 92 13.07.2024 18:19 [18:19:25]line Смена: 445 ФФД: 1.0 [18:19:25]line ЗНМ: 0300000153 [18:19:25]line РНМ: 0000000000091176 [18:19:25]line Версия ККМ: 001 [18:19:25]line ФМ: 0000000000874935 [18:19:25]line ФД: 43047 [18:19:25]line ФПД: 136140290789560 [18:19:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T181928&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43047&fm=136140290789560&tin=02508201610067®Number=0000000000091176&sum=14300 [18:19:25]line 0 [18:19:25]written 0, free lines is 4095 [18:19:25]Connected sock=10 [18:19:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A3 01 00 00 56 80 9B 01 7F 64 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 39 39 35 35 06 04 28 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 30 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 27 A8 00 00 35 04 06 00 7B D1 A1 AC 10 B8 E8 52 5C 02 26 68 B3 AB [18:19:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 9F E5 47 00 D2 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 38 37 34 39 33 35 10 04 04 00 27 A8 00 00 F4 03 04 00 2A 71 92 66 B6 04 01 00 00 8C 15 AC 82 80 66 98 B6 [18:19:26]CommunicateWithHost err = 0 [18:19:26]CheckOFDResponse [18:19:26]1017 (14) - 77093643461234 [18:19:26]1041 (16) - 0000000000874935 [18:19:26]1040 (4) - 43047 [18:19:26]1012 (4) - 13.07.2024 12:20 [18:19:26]1206 (1) - 0 [18:19:26]OFD Sender: Remove packet 43047 [18:19:26]ProducePacketName [18:19:26]name=ofd_packets/00043047 [18:19:26]NVStorageDeleteData [18:19:26]Write to MH i2c: 01 00 00 5F 1E 7D [18:19:26]Write i2c OK [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: 01 [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: 01 07 00 [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: 01 07 00 5F 1E 00 00 00 00 00 89 0C 19 [18:19:26]RasterBufferAndPrint [18:19:26]line [18:19:26]line [18:19:26]line [18:19:26]line [18:19:26]line [18:19:26]written 0, free lines is 3216 [18:19:26]MH_Cut [18:19:26]Write to MH i2c: D1 01 00 66 1E 01 56 [18:19:26]Write i2c OK [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: D1 [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: D1 01 00 [18:19:26]MH_I2C_Read... [18:19:26]Read from MH i2c: D1 01 00 66 1E 00 55 [18:19:26]Write to MH i2c: 01 00 00 67 1E 85 [18:19:26]Write i2c OK [18:19:26]MH_I2C_Read... [18:19:26]OFD Sender: No OFD packet to send [18:19:27]*** Cut start [18:19:27]*** Partial cut [18:19:27]*** CUTSNS_PIN = 1 [18:19:27]*** CUTSNS_PIN = 0 [18:19:27]*** Brake cut motor [18:19:27]Read from MH i2c: 01 [18:19:27]MH_I2C_Read... [18:19:27]*** Stop cut motor [18:19:27]*** Cut end [18:19:27]Read from MH i2c: 01 07 00 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: 01 07 00 67 1E 00 00 00 00 00 FF 0F 9A [18:19:27]process_action close_receipt done [18:19:27]requested_data is exist [18:19:27]produce_requested_data [18:19:27]requested_item fm.sn is exist - process it [18:19:27]wFMCommunicate request_size=4 [18:19:27]MH_SAM_APDU [18:19:27]CAPDU: 80 11 00 00 [18:19:27]Write to MH i2c: E2 08 00 68 1E 80 11 00 00 00 00 00 00 00 [18:19:27]Write i2c OK [18:19:27]MH_I2C_Read... [18:19:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:19:27]Read from MH i2c: E2 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 17 00 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 17 00 68 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 57 [18:19:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:19:27]wFMCommunicate OK [18:19:27]requested_item fd.num is exist - process it [18:19:27]SAM_PROTO_GetFieldsCounters [18:19:27]wFMCommunicate request_size=4 [18:19:27]MH_SAM_APDU [18:19:27]CAPDU: 80 13 00 00 [18:19:27]Write to MH i2c: E2 08 00 69 1E 80 13 00 00 00 00 00 00 03 [18:19:27]Write i2c OK [18:19:27]MH_I2C_Read... [18:19:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:19:27]Read from MH i2c: E2 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 62 00 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 62 00 69 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 27 A8 00 00 0E 04 04 00 BD 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 C8 [18:19:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 27 A8 00 00 0E 04 04 00 BD 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:19:27]wFMCommunicate OK [18:19:27]SAM_PROTO_GetFieldsCounters done [18:19:27]requested_item shift.num is exist - process it [18:19:27]requested_item shift.opened is exist - process it [18:19:27]req_shift_opened [18:19:27]FM_GetShiftState [18:19:27]SAM_PROTO_GetShiftState [18:19:27]wFMCommunicate request_size=4 [18:19:27]MH_SAM_APDU [18:19:27]CAPDU: 80 13 01 00 [18:19:27]Write to MH i2c: E2 08 00 6A 1E 80 13 01 00 00 00 00 00 05 [18:19:27]Write i2c OK [18:19:27]MH_I2C_Read... [18:19:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:19:27]Read from MH i2c: E2 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 0E 00 [18:19:27]MH_I2C_Read... [18:19:27]Read from MH i2c: E2 0E 00 6A 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9C [18:19:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:19:27]wFMCommunicate OK [18:19:27]SAM_PROTO_GetShiftState done [18:19:27]FM_GetShiftState done [18:19:27]req_shift_opened done [18:19:27]requested_item shift.open_date is exist - process it [18:19:27]req_shift_open_date [18:19:27]req_shift_open_date done [18:19:27]requested_item shift.sale.total is exist - process it [18:19:27]SAM_PROTO_GetShiftData [18:19:27]wFMCommunicate request_size=4 [18:19:27]MH_SAM_APDU [18:19:27]CAPDU: 80 13 02 00 [18:19:27]Write to MH i2c: E2 08 00 6B 1E 80 13 02 00 00 00 00 00 07 [18:19:27]Write i2c OK [18:19:27]MH_I2C_Read... [18:19:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:19:28]Read from MH i2c: E2 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 6B 1E 00 AE 04 AA 04 AA 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 40 C1 17 70 04 03 00 90 E7 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C4 85 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F4 [18:19:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 40 C1 17 70 04 03 00 90 E7 14 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C4 85 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:19:28]wFMCommunicate OK [18:19:28]wFMCommunicate request_size=4 [18:19:28]MH_SAM_APDU [18:19:28]CAPDU: 80 17 00 00 [18:19:28]Write to MH i2c: E2 08 00 6C 1E 80 17 00 00 00 00 00 00 0A [18:19:28]Write i2c OK [18:19:28]MH_I2C_Read... [18:19:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:28]Read from MH i2c: E2 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 6C 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 2C [18:19:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:19:28]wFMCommunicate OK [18:19:28]wFMCommunicate request_size=4 [18:19:28]MH_SAM_APDU [18:19:28]CAPDU: 80 17 00 00 [18:19:28]Write to MH i2c: E2 08 00 6D 1E 80 17 00 00 00 00 00 00 0B [18:19:28]Write i2c OK [18:19:28]MH_I2C_Read... [18:19:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:28]Read from MH i2c: E2 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 [18:19:28]MH_I2C_Read... [18:19:28]Read from MH i2c: E2 FD 00 6D 1E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 C2 [18:19:29]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:19:29]wFMCommunicate OK [18:19:29]wFMCommunicate request_size=4 [18:19:29]MH_SAM_APDU [18:19:29]CAPDU: 80 17 00 00 [18:19:29]Write to MH i2c: E2 08 00 6E 1E 80 17 00 00 00 00 00 00 0C [18:19:29]Write i2c OK [18:19:29]MH_I2C_Read... [18:19:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:29]Read from MH i2c: E2 [18:19:29]MH_I2C_Read... [18:19:29]Read from MH i2c: E2 FD 00 [18:19:29]MH_I2C_Read... [18:19:29]Read from MH i2c: E2 FD 00 6E 1E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 7E [18:19:29]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:19:29]wFMCommunicate OK [18:19:29]wFMCommunicate request_size=4 [18:19:29]MH_SAM_APDU [18:19:29]CAPDU: 80 17 00 00 [18:19:29]Write to MH i2c: E2 08 00 6F 1E 80 17 00 00 00 00 00 00 0D [18:19:29]Write i2c OK [18:19:29]MH_I2C_Read... [18:19:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:19:29]Read from MH i2c: E2 [18:19:29]MH_I2C_Read... [18:19:29]Read from MH i2c: E2 CB 00 [18:19:29]MH_I2C_Read... [18:19:29]Read from MH i2c: E2 CB 00 6F 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F6 [18:19:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:19:29]wFMCommunicate OK [18:19:29]SAM_PROTO_GetShiftData done [18:19:29]requested_item shift.sale.total_cash is exist - process it [18:19:29]requested_item shift.sale_refund.total is exist - process it [18:19:29]requested_item shift.sale_refund.total_cash is exist - process it [18:19:29]produce_requested_data done [18:19:29]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43047,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15568.00,"shift.sale.total_cash":13700.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:19:29]process_action_free close_receipt [18:19:29]json_value_free [18:19:29]json_value_free done [18:19:29]process_json_proto returns [18:19:29]Send response to host [18:19:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43047,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15568.00,"shift.sale.total_cash":13700.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:19:29]free response buf [18:19:29]execute_script done [18:19:29]execute_script returns [18:19:29]free content buf [18:19:29]Sock 9.Close socket [18:19:29]Sock 9.Thread stoped [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:28]accept exits with 7 [18:20:28]New connection [18:20:28]New thread 3067530596 created [18:20:28]Thread 3067387236 joined [18:20:28]Waiting for new connection... [18:20:28] Sock 7.Parse request [18:20:28]Sock 7.Check first char [18:20:28]Sock 7.First char is OK [18:20:28]request: POST /json_proto HTTP/1.0 [18:20:28]Method: POST [18:20:28]URL: /json_proto [18:20:28]Method is POST - this is cgi request [18:20:28]url: /json_proto [18:20:28]query_string will be loaded in cgi processing [18:20:28]execute_cgi json_proto POST (null) [18:20:28]execute_cgi path=json_proto method=POST [18:20:28]POST find Content-Length [18:20:28]Host: 172.17.38.197:8080 [18:20:28]Content-Length: 1357 [18:20:28]Content-Type: application/json [18:20:28] [18:20:28]POST finish read [18:20:28]Found Content-Length = 1357 [18:20:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300176", "tax_sys" : 0, "items" : [ { "code": "4680036917266", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041B\u0418\u0427\u0418-\u0413\u0420\u0423\u0428\u0410", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:20:28]execute_script... [18:20:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300176", "tax_sys" : 0, "items" : [ { "code": "4680036917266", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041B\u0418\u0427\u0418-\u0413\u0420\u0423\u0428\u0410", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:20:28]POST & json_proto [18:20:28]process_json_proto [18:20:28]json parsed OK: [18:20:28]protocol is kg_v1.0 [18:20:28]action value=close_receipt [18:20:28]process_action close_receipt [18:20:28]cmd_close_receipt [18:20:28]MH_GetDate [18:20:28]Write to MH i2c: F0 00 00 70 1E 7D [18:20:28]Write i2c OK [18:20:28]MH_I2C_Read... [18:20:28]Read from MH i2c: F0 [18:20:28]MH_I2C_Read... [18:20:28]Read from MH i2c: F0 09 00 [18:20:28]MH_I2C_Read... [18:20:28]Read from MH i2c: F0 09 00 70 1E 00 71 C5 92 66 1E 0D 88 66 CD [18:20:28]GetLastDocTimeStamp 1720894768 [18:20:28]current date 1720894833 [18:20:28]FM_GetShiftState [18:20:28]SAM_PROTO_GetShiftState [18:20:28]wFMCommunicate request_size=4 [18:20:28]MH_SAM_APDU [18:20:28]CAPDU: 80 13 01 00 [18:20:28]Write to MH i2c: E2 08 00 71 1E 80 13 01 00 00 00 00 00 0C [18:20:28]Write i2c OK [18:20:28]MH_I2C_Read... [18:20:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:28]Read from MH i2c: E2 [18:20:28]MH_I2C_Read... [18:20:28]Read from MH i2c: E2 0E 00 [18:20:28]MH_I2C_Read... [18:20:28]Read from MH i2c: E2 0E 00 71 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 A3 [18:20:28]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:20:28]wFMCommunicate OK [18:20:28]SAM_PROTO_GetShiftState done [18:20:28]FM_GetShiftState done [18:20:28]opened in 1720829646 [18:20:28]opened+sec_in_day 1720916046 [18:20:28]quantity*price = 11000 [18:20:28]sum+1 = 11001 [18:20:29]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4650243871781 Gorilla эн нап Orange 0,45 ж/б 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.74 НДС 12% : 32.92 Наличными: 310.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 93 13.07.2024 18:20 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43048 ФПД: 263498633488965 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T182033&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43048&fm=263498633488965&tin=02508201610067®Number=0000000000091176&sum=31000 0 [18:20:29]StoreToDocumentArchive [18:20:29]shift 445 fd 43048 [18:20:29]save to /storage/0445/doc_00043048 [18:20:29]save last doc name /storage/0445/doc_00043048 to /storage/kkm_last_doc_name [18:20:29]save OK [18:20:29]Clear old archive folders... [18:20:29]ProcessDocumentItem done err = 0, tmpTLVsize=535 [18:20:29]tlvbuf is 0158E960 [18:20:29]SAM_PROTO_ClearQueue [18:20:29]wFMCommunicate request_size=4 [18:20:29]MH_SAM_APDU [18:20:29]CAPDU: 80 09 00 00 [18:20:29]Write to MH i2c: E2 08 00 7E 1E 80 09 00 00 00 00 00 00 0E [18:20:29]Write i2c OK [18:20:29]MH_I2C_Read... [18:20:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:20:29]Read from MH i2c: E2 [18:20:29]MH_I2C_Read... [18:20:29]Read from MH i2c: E2 03 00 [18:20:29]MH_I2C_Read... [18:20:29]Read from MH i2c: E2 03 00 7E 1E 00 90 00 10 [18:20:29]RAPDU: 90 00 [18:20:29]wFMCommunicate OK [18:20:29]SAM_PROTO_ClearQueue done [18:20:29]KKMCreateOFDPacket [18:20:29]OFDProtocolAddRootSTLVToBuf [18:20:29]FM_MakeSignedData [18:20:29]FM_MakeSignedData [18:20:29]SAM_PROTO_SignData [18:20:29]wFMCommunicate request_size=4 [18:20:29]MH_SAM_APDU [18:20:29]CAPDU: 80 0D 01 02 [18:20:29]Write to MH i2c: E2 08 00 7F 1E 80 0D 01 02 00 00 00 00 16 [18:20:29]Write i2c OK [18:20:29]MH_I2C_Read... [18:20:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:20:29]Read from MH i2c: E2 [18:20:29]MH_I2C_Read... [18:20:29]Read from MH i2c: E2 03 00 [18:20:29]MH_I2C_Read... [18:20:29]Read from MH i2c: E2 03 00 7F 1E 00 90 00 11 [18:20:29]RAPDU: 90 00 [18:20:29]wFMCommunicate OK [18:20:29]wFMCommunicate request_size=255 [18:20:29]MH_SAM_APDU [18:20:29]CAPDU: 80 0D 02 02 FA 03 00 17 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A [18:20:30]Write to MH i2c: E2 02 01 80 1E 80 0D 02 02 FA 00 03 00 17 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 00 00 C5 [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:30]Read from MH i2c: E2 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 80 1E 00 90 00 12 [18:20:30]RAPDU: 90 00 [18:20:30]wFMCommunicate OK [18:20:30]wFMCommunicate request_size=255 [18:20:30]MH_SAM_APDU [18:20:30]CAPDU: 80 0D 02 02 FA 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 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 71 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 [18:20:30]Write to MH i2c: E2 02 01 81 1E 80 0D 02 02 FA 00 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 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 71 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 00 00 0D [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:30]Read from MH i2c: E2 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 81 1E 00 90 00 13 [18:20:30]RAPDU: 90 00 [18:20:30]wFMCommunicate OK [18:20:30]wFMCommunicate request_size=44 [18:20:30]MH_SAM_APDU [18:20:30]CAPDU: 80 0D 02 02 27 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 28 A8 00 00 35 04 06 00 EF A6 8E 72 AA 45 [18:20:30]Write to MH i2c: E2 2F 00 82 1E 80 0D 02 02 27 00 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 28 A8 00 00 35 04 06 00 EF A6 8E 72 AA 45 00 00 92 [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:30]Read from MH i2c: E2 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 03 00 82 1E 00 90 00 14 [18:20:30]RAPDU: 90 00 [18:20:30]wFMCommunicate OK [18:20:30]wFMCommunicate request_size=4 [18:20:30]MH_SAM_APDU [18:20:30]CAPDU: 80 0D 03 02 [18:20:30]Write to MH i2c: E2 08 00 83 1E 80 0D 03 02 00 00 00 00 1C [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:20:30]Read from MH i2c: E2 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 0B 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 0B 00 83 1E 00 EB 4E 0A FE 09 F4 A6 16 90 00 17 [18:20:30]RAPDU: EB 4E 0A FE 09 F4 A6 16 90 00 [18:20:30]wFMCommunicate OK [18:20:30]SAM_PROTO_SignData done [18:20:30]FM_MakeSignedData done [18:20:30]CreateOFDProtocolMessage [18:20:30]wFMCommunicate request_size=4 [18:20:30]MH_SAM_APDU [18:20:30]CAPDU: 80 11 00 00 [18:20:30]Write to MH i2c: E2 08 00 84 1E 80 11 00 00 00 00 00 00 1C [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:31]Read from MH i2c: E2 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 17 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 17 00 84 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 73 [18:20:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:20:31]wFMCommunicate OK [18:20:31]CreateOFDProtocolMessage done [18:20:31]OFDSenderStorePacket 43048 [18:20:31]StoreOFDPacket docnum=43048 [18:20:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2B 02 00 00 79 2D 23 02 5A 47 5A 03 01 00 03 00 17 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 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 71 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 28 A8 00 00 35 04 06 00 EF A6 8E 72 AA 45 EB 4E 0A FE 09 F4 A6 16 [18:20:31]CheckFolder [18:20:31]dirname=/storage/ofd_packets [18:20:31]CheckFolder done [18:20:31]ProducePacketName [18:20:31]name=ofd_packets/00043048 [18:20:31]NVStorageSaveData ofd_packets/00043048 [18:20:31]File name is /storage/ofd_packets/00043048 [18:20:31]Write 585 bytes [18:20:31]NVStorageSaveData done [18:20:31]OFDSenderStorePacket done [18:20:31]KKMCreateOFDPacket done [18:20:31]NVStorageSaveData kkm_last_timestamp [18:20:31]File name is /storage/kkm_last_timestamp [18:20:31]Write 4 bytes [18:20:31]NVStorageSaveData done [18:20:31]ExternCall_PrintAddStr [18:20:31]wPrintStart [18:20:31]Write to MH i2c: 01 00 00 85 1E A3 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 07 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 07 00 85 1E 00 00 00 00 00 FF 0F B8 [18:20:31]RasterBufferAndPrint [18:20:31]line Счет N : (3)300176 [18:20:31]line ИНН: 02508201610067 [18:20:31]line Контрольно-Кассовый Чек [18:20:31]line ПРОДАЖА [18:20:31]line Товар: 4680036917266 [18:20:31]line Напиток Gorilla ж/б 0,45л ЛИЧИ-ГРУША [18:20:31]line 1.000 * 110.00 [18:20:31]line = 110.00 [18:20:31]line НДС 12% НСП 1% [18:20:31]line > о реализуемом товаре [18:20:31]line Товар: 4650243871781 [18:20:31]line Gorilla эн нап Orange 0,45 ж/б [18:20:31]line 1.000 * 110.00 [18:20:31]line = 110.00 [18:20:31]line НДС 12% НСП 1% [18:20:31]line > о реализуемом товаре [18:20:31]line Товар: 4660085515163 [18:20:31]line Шок Батончик Сникерс супер 95/80г [18:20:31]line 1.000 * 90.00 [18:20:31]line = 90.00 [18:20:31]line НДС 12% НСП 1% [18:20:31]line > о реализуемом товаре [18:20:31]line ИТОГО: 310.00 [18:20:31]line НСП 1% : 2.74 [18:20:31]line НДС 12% : 32.92 [18:20:31]line Наличными: 310.00 [18:20:31]line Безнал.: 0.00 [18:20:31]line Место: АЗС № 71 "Партнер Нефть" [18:20:31]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:20:31]line СНО: Общий режим [18:20:31]line Чек 93 13.07.2024 18:20 [18:20:31]line Смена: 445 ФФД: 1.0 [18:20:31]line ЗНМ: 0300000153 [18:20:31]line РНМ: 0000000000091176 [18:20:31]line Версия ККМ: 001 [18:20:31]line ФМ: 0000000000874935 [18:20:31]line ФД: 43048 [18:20:31]line ФПД: 263498633488965 [18:20:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T182033&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43048&fm=263498633488965&tin=02508201610067®Number=0000000000091176&sum=31000 [18:20:31]line 0 [18:20:31]OFD Sender: Processing packet 43048 [packets to send 31, broken 30] [18:20:31]ProducePacketName [18:20:31]name=ofd_packets/00043048 [18:20:31]OFD Sender: To server: pG, [18:20:31]CommunicateWithHost lk.salyk.kg:30040 [18:20:31]ConnectInit lk.salyk.kg [18:20:31]written 0, free lines is 4095 [18:20:31]Connected sock=10 [18:20:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 2B 02 00 00 79 2D 23 02 5A 47 5A 03 01 00 03 00 17 02 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 00 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 71 C5 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 28 A8 00 00 35 04 06 00 EF A6 8E 72 AA 45 EB 4E 0A FE 09 F4 A6 16 [18:20:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 7E A8 47 00 FD 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 38 37 34 39 33 35 10 04 04 00 28 A8 00 00 F4 03 04 00 6B 71 92 66 B6 04 01 00 00 98 A7 1D 8C 69 97 FA 8E [18:20:31]CommunicateWithHost err = 0 [18:20:31]CheckOFDResponse [18:20:31]1017 (14) - 77093643461234 [18:20:31]1041 (16) - 0000000000874935 [18:20:31]1040 (4) - 43048 [18:20:31]1012 (4) - 13.07.2024 12:22 [18:20:31]1206 (1) - 0 [18:20:31]OFD Sender: Remove packet 43048 [18:20:31]ProducePacketName [18:20:31]name=ofd_packets/00043048 [18:20:31]NVStorageDeleteData [18:20:31]Write to MH i2c: 01 00 00 BB 1E D9 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 07 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: 01 07 00 BB 1E 00 00 00 00 00 35 0C 21 [18:20:31]RasterBufferAndPrint [18:20:31]line [18:20:31]line [18:20:31]line [18:20:31]line [18:20:31]line [18:20:31]written 0, free lines is 3131 [18:20:31]MH_Cut [18:20:31]Write to MH i2c: D1 01 00 C2 1E 01 B2 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: D1 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: D1 01 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: D1 01 00 C2 1E 00 B1 [18:20:31]Write to MH i2c: 01 00 00 C3 1E E1 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:32]OFD Sender: No OFD packet to send [18:20:32]*** Cut start [18:20:32]*** Partial cut [18:20:32]*** CUTSNS_PIN = 1 [18:20:32]*** CUTSNS_PIN = 0 [18:20:33]*** Brake cut motor [18:20:33]Read from MH i2c: 01 [18:20:33]MH_I2C_Read... [18:20:33]*** Stop cut motor [18:20:33]*** Cut end [18:20:33]Read from MH i2c: 01 07 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: 01 07 00 C3 1E 00 00 00 00 00 FF 0F F6 [18:20:33]process_action close_receipt done [18:20:33]requested_data is exist [18:20:33]produce_requested_data [18:20:33]requested_item fm.sn is exist - process it [18:20:33]wFMCommunicate request_size=4 [18:20:33]MH_SAM_APDU [18:20:33]CAPDU: 80 11 00 00 [18:20:33]Write to MH i2c: E2 08 00 C4 1E 80 11 00 00 00 00 00 00 5C [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:33]Read from MH i2c: E2 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 17 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 17 00 C4 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B3 [18:20:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:20:33]wFMCommunicate OK [18:20:33]requested_item fd.num is exist - process it [18:20:33]SAM_PROTO_GetFieldsCounters [18:20:33]wFMCommunicate request_size=4 [18:20:33]MH_SAM_APDU [18:20:33]CAPDU: 80 13 00 00 [18:20:33]Write to MH i2c: E2 08 00 C5 1E 80 13 00 00 00 00 00 00 5F [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:20:33]Read from MH i2c: E2 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 62 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 62 00 C5 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 28 A8 00 00 0E 04 04 00 BD 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 28 [18:20:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 28 A8 00 00 0E 04 04 00 BD 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:20:33]wFMCommunicate OK [18:20:33]SAM_PROTO_GetFieldsCounters done [18:20:33]requested_item shift.num is exist - process it [18:20:33]requested_item shift.opened is exist - process it [18:20:33]req_shift_opened [18:20:33]FM_GetShiftState [18:20:33]SAM_PROTO_GetShiftState [18:20:33]wFMCommunicate request_size=4 [18:20:33]MH_SAM_APDU [18:20:33]CAPDU: 80 13 01 00 [18:20:33]Write to MH i2c: E2 08 00 C6 1E 80 13 01 00 00 00 00 00 61 [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:33]Read from MH i2c: E2 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 0E 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: E2 0E 00 C6 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 F8 [18:20:33]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:20:33]wFMCommunicate OK [18:20:33]SAM_PROTO_GetShiftState done [18:20:33]FM_GetShiftState done [18:20:33]req_shift_opened done [18:20:33]requested_item shift.open_date is exist - process it [18:20:33]req_shift_open_date [18:20:33]req_shift_open_date done [18:20:33]requested_item shift.sale.total is exist - process it [18:20:33]SAM_PROTO_GetShiftData [18:20:33]wFMCommunicate request_size=4 [18:20:33]MH_SAM_APDU [18:20:33]CAPDU: 80 13 02 00 [18:20:33]Write to MH i2c: E2 08 00 C7 1E 80 13 02 00 00 00 00 00 63 [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 C7 1E 00 AE 04 AA 04 AA 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 58 3A 18 70 04 03 00 A8 60 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 92 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 72 [18:20:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 58 3A 18 70 04 03 00 A8 60 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 92 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:20:34]wFMCommunicate OK [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 17 00 00 [18:20:34]Write to MH i2c: E2 08 00 C8 1E 80 17 00 00 00 00 00 00 66 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 C8 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 88 [18:20:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:20:34]wFMCommunicate OK [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 17 00 00 [18:20:34]Write to MH i2c: E2 08 00 C9 1E 80 17 00 00 00 00 00 00 67 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 FD 00 C9 1E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1E [18:20:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:20:34]wFMCommunicate OK [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 17 00 00 [18:20:34]Write to MH i2c: E2 08 00 CA 1E 80 17 00 00 00 00 00 00 68 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 CA 1E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 DA [18:20:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:20:35]wFMCommunicate OK [18:20:35]wFMCommunicate request_size=4 [18:20:35]MH_SAM_APDU [18:20:35]CAPDU: 80 17 00 00 [18:20:35]Write to MH i2c: E2 08 00 CB 1E 80 17 00 00 00 00 00 00 69 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 CB 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 CB 00 CB 1E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 52 [18:20:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:20:35]wFMCommunicate OK [18:20:35]SAM_PROTO_GetShiftData done [18:20:35]requested_item shift.sale.total_cash is exist - process it [18:20:35]requested_item shift.sale_refund.total is exist - process it [18:20:35]requested_item shift.sale_refund.total_cash is exist - process it [18:20:35]produce_requested_data done [18:20:35]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43048,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15878.00,"shift.sale.total_cash":14010.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:20:35]process_action_free close_receipt [18:20:35]json_value_free [18:20:35]json_value_free done [18:20:35]process_json_proto returns [18:20:35]Send response to host [18:20:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43048,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15878.00,"shift.sale.total_cash":14010.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:20:35]free response buf [18:20:35]execute_script done [18:20:35]execute_script returns [18:20:35]free content buf [18:20:35]Sock 7.Close socket [18:20:35]Sock 7.Thread stoped [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:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:27]OFD Sender: No OFD packet to send [18:34:32]OFD Sender: No OFD packet to send [18:34:37]OFD Sender: No OFD packet to send [18:34:42]OFD Sender: No OFD packet to send [18:34:47]OFD Sender: No OFD packet to send [18:34:52]OFD Sender: No OFD packet to send [18:34:57]OFD Sender: No OFD packet to send [18:35:02]OFD Sender: No OFD packet to send [18:35:07]OFD Sender: No OFD packet to send [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:11]accept exits with 9 [18:36:11]New connection [18:36:11]New thread 3067387236 created [18:36:11]Thread 3067530596 joined [18:36:11]Waiting for new connection... [18:36:11] Sock 9.Parse request [18:36:11]Sock 9.Check first char [18:36:11]Sock 9.First char is OK [18:36:11]request: POST /json_proto HTTP/1.0 [18:36:11]Method: POST [18:36:11]URL: /json_proto [18:36:11]Method is POST - this is cgi request [18:36:11]url: /json_proto [18:36:11]query_string will be loaded in cgi processing [18:36:11]execute_cgi json_proto POST (null) [18:36:11]execute_cgi path=json_proto method=POST [18:36:11]POST find Content-Length [18:36:11]Host: 172.17.38.197:8080 [18:36:11]Content-Length: 731 [18:36:11]Content-Type: application/json [18:36:11] [18:36:11]POST finish read [18:36:11]Found Content-Length = 731 [18:36:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300177", "tax_sys" : 0, "items" : [ { "code": "90494406", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:36:11]execute_script... [18:36:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300177", "tax_sys" : 0, "items" : [ { "code": "90494406", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:36:11]POST & json_proto [18:36:11]process_json_proto [18:36:11]json parsed OK: [18:36:11]protocol is kg_v1.0 [18:36:11]action value=close_receipt [18:36:11]process_action close_receipt [18:36:11]cmd_close_receipt [18:36:11]MH_GetDate [18:36:11]Write to MH i2c: F0 00 00 CC 1E D9 [18:36:11]Write i2c OK [18:36:11]MH_I2C_Read... [18:36:11]Read from MH i2c: F0 [18:36:11]MH_I2C_Read... [18:36:11]Read from MH i2c: F0 09 00 [18:36:11]MH_I2C_Read... [18:36:11]Read from MH i2c: F0 09 00 CC 1E 00 20 C9 92 66 1E 0D 88 66 DC [18:36:11]GetLastDocTimeStamp 1720894833 [18:36:11]current date 1720895776 [18:36:11]FM_GetShiftState [18:36:11]SAM_PROTO_GetShiftState [18:36:11]wFMCommunicate request_size=4 [18:36:11]MH_SAM_APDU [18:36:11]CAPDU: 80 13 01 00 [18:36:11]Write to MH i2c: E2 08 00 CD 1E 80 13 01 00 00 00 00 00 68 [18:36:11]Write i2c OK [18:36:11]MH_I2C_Read... [18:36:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:11]Read from MH i2c: E2 [18:36:11]MH_I2C_Read... [18:36:11]Read from MH i2c: E2 0E 00 [18:36:11]MH_I2C_Read... [18:36:11]Read from MH i2c: E2 0E 00 CD 1E 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 FF [18:36:11]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:36:11]wFMCommunicate OK [18:36:11]SAM_PROTO_GetShiftState done [18:36:11]FM_GetShiftState done [18:36:11]opened in 1720829646 [18:36:11]opened+sec_in_day 1720916046 [18:36:11]quantity*price = 4000 [18:36:11]sum+1 = 4001 [18:36:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 94 13.07.2024 18:36 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43049 ФПД: 115670523675278 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183616&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43049&fm=115670523675278&tin=02508201610067®Number=0000000000091176&sum=4000 0 [18:36:13]StoreToDocumentArchive [18:36:13]shift 445 fd 43049 [18:36:13]save to /storage/0445/doc_00043049 [18:36:13]save last doc name /storage/0445/doc_00043049 to /storage/kkm_last_doc_name [18:36:13]save OK [18:36:13]Clear old archive folders... [18:36:13]ProcessDocumentItem done err = 0, tmpTLVsize=266 [18:36:13]tlvbuf is 015E6C30 [18:36:13]SAM_PROTO_ClearQueue [18:36:13]wFMCommunicate request_size=4 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 09 00 00 [18:36:13]Write to MH i2c: E2 08 00 DA 1E 80 09 00 00 00 00 00 00 6A [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 DA 1E 00 90 00 6C [18:36:13]RAPDU: 90 00 [18:36:13]wFMCommunicate OK [18:36:13]SAM_PROTO_ClearQueue done [18:36:13]KKMCreateOFDPacket [18:36:13]OFDProtocolAddRootSTLVToBuf [18:36:13]FM_MakeSignedData [18:36:13]FM_MakeSignedData [18:36:13]SAM_PROTO_SignData [18:36:13]wFMCommunicate request_size=4 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 0D 01 02 [18:36:13]Write to MH i2c: E2 08 00 DB 1E 80 0D 01 02 00 00 00 00 72 [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 DB 1E 00 90 00 6D [18:36:13]RAPDU: 90 00 [18:36:13]wFMCommunicate OK [18:36:13]wFMCommunicate request_size=255 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 20 C9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 [18:36:13]Write to MH i2c: E2 02 01 DC 1E 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 20 C9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 00 00 6D [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 DC 1E 00 90 00 6E [18:36:13]RAPDU: 90 00 [18:36:13]wFMCommunicate OK [18:36:13]wFMCommunicate request_size=25 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 0D 02 02 14 33 35 10 04 04 00 29 A8 00 00 35 04 06 00 69 33 A4 79 82 8E [18:36:13]Write to MH i2c: E2 1C 00 DD 1E 80 0D 02 02 14 00 33 35 10 04 04 00 29 A8 00 00 35 04 06 00 69 33 A4 79 82 8E 00 00 F6 [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 03 00 DD 1E 00 90 00 6F [18:36:13]RAPDU: 90 00 [18:36:13]wFMCommunicate OK [18:36:13]wFMCommunicate request_size=4 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 0D 03 02 [18:36:13]Write to MH i2c: E2 08 00 DE 1E 80 0D 03 02 00 00 00 00 77 [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 0B 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 0B 00 DE 1E 00 26 2A 54 A7 EA C3 21 62 90 00 F3 [18:36:13]RAPDU: 26 2A 54 A7 EA C3 21 62 90 00 [18:36:13]wFMCommunicate OK [18:36:13]SAM_PROTO_SignData done [18:36:13]FM_MakeSignedData done [18:36:13]CreateOFDProtocolMessage [18:36:13]wFMCommunicate request_size=4 [18:36:13]MH_SAM_APDU [18:36:13]CAPDU: 80 11 00 00 [18:36:13]Write to MH i2c: E2 08 00 DF 1E 80 11 00 00 00 00 00 00 77 [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:13]Read from MH i2c: E2 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 17 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: E2 17 00 DF 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 CE [18:36:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:36:13]wFMCommunicate OK [18:36:13]CreateOFDProtocolMessage done [18:36:13]OFDSenderStorePacket 43049 [18:36:13]StoreOFDPacket docnum=43049 [18:36:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1E 01 00 00 BD DC 16 01 C6 FC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 20 C9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 29 A8 00 00 35 04 06 00 69 33 A4 79 82 8E 26 2A 54 A7 EA C3 21 62 [18:36:13]CheckFolder [18:36:13]dirname=/storage/ofd_packets [18:36:13]CheckFolder done [18:36:13]ProducePacketName [18:36:13]name=ofd_packets/00043049 [18:36:13]NVStorageSaveData ofd_packets/00043049 [18:36:13]File name is /storage/ofd_packets/00043049 [18:36:13]Write 316 bytes [18:36:13]NVStorageSaveData done [18:36:13]OFDSenderStorePacket done [18:36:13]KKMCreateOFDPacket done [18:36:13]NVStorageSaveData kkm_last_timestamp [18:36:13]File name is /storage/kkm_last_timestamp [18:36:13]Write 4 bytes [18:36:13]NVStorageSaveData done [18:36:13]ExternCall_PrintAddStr [18:36:13]wPrintStart [18:36:13]Write to MH i2c: 01 00 00 E0 1E FE [18:36:13]Write i2c OK [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: 01 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: 01 07 00 [18:36:13]MH_I2C_Read... [18:36:13]Read from MH i2c: 01 07 00 E0 1E 00 00 00 00 00 FF 0F 13 [18:36:13]RasterBufferAndPrint [18:36:13]line Счет N : (3)300177 [18:36:13]line ИНН: 02508201610067 [18:36:13]line Контрольно-Кассовый Чек [18:36:13]line ПРОДАЖА [18:36:13]line Товар: 90494406 [18:36:13]line Вода Бонаква 0,5л [18:36:13]line 1.000 * 40.00 [18:36:13]line = 40.00 [18:36:13]line НДС 12% НСП 1% [18:36:13]line > о реализуемом товаре [18:36:13]line ИТОГО: 40.00 [18:36:13]line НСП 1% : 0.35 [18:36:13]line НДС 12% : 4.25 [18:36:13]line Наличными: 40.00 [18:36:13]line Безнал.: 0.00 [18:36:13]line Место: АЗС № 71 "Партнер Нефть" [18:36:13]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:36:13]line СНО: Общий режим [18:36:13]line Чек 94 13.07.2024 18:36 [18:36:13]line Смена: 445 ФФД: 1.0 [18:36:13]line ЗНМ: 0300000153 [18:36:13]line РНМ: 0000000000091176 [18:36:13]line Версия ККМ: 001 [18:36:13]line ФМ: 0000000000874935 [18:36:13]line ФД: 43049 [18:36:13]line ФПД: 115670523675278 [18:36:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T183616&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43049&fm=115670523675278&tin=02508201610067®Number=0000000000091176&sum=4000 [18:36:13]OFD Sender: Processing packet 43049 [packets to send 31, broken 30] [18:36:13]ProducePacketName [18:36:13]name=ofd_packets/00043049 [18:36:13]OFD Sender: To server: pG, [18:36:13]CommunicateWithHost lk.salyk.kg:30040 [18:36:13]ConnectInit lk.salyk.kg [18:36:13]line 0 [18:36:13]written 0, free lines is 4095 [18:36:14]Connected sock=10 [18:36:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 1E 01 00 00 BD DC 16 01 C6 FC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 20 C9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 29 A8 00 00 35 04 06 00 69 33 A4 79 82 8E 26 2A 54 A7 EA C3 21 62 [18:36:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1F 2E 47 00 8E 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 29 A8 00 00 F4 03 04 00 1A 75 92 66 B6 04 01 00 00 7C 2D 29 13 07 5C 95 BA [18:36:14]CommunicateWithHost err = 0 [18:36:14]CheckOFDResponse [18:36:14]1017 (14) - 77093643461234 [18:36:14]1041 (16) - 0000000000874935 [18:36:14]1040 (4) - 43049 [18:36:14]1012 (4) - 13.07.2024 12:37 [18:36:14]1206 (1) - 0 [18:36:14]OFD Sender: Remove packet 43049 [18:36:14]ProducePacketName [18:36:14]name=ofd_packets/00043049 [18:36:14]NVStorageDeleteData [18:36:14]Write to MH i2c: 01 00 00 08 1F 27 [18:36:14]Write i2c OK [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: 01 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: 01 07 00 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: 01 07 00 08 1F 00 00 00 00 00 07 0D 42 [18:36:14]RasterBufferAndPrint [18:36:14]line [18:36:14]line [18:36:14]line [18:36:14]line [18:36:14]line [18:36:14]written 0, free lines is 3341 [18:36:14]MH_Cut [18:36:14]Write to MH i2c: D1 01 00 0F 1F 01 00 [18:36:14]Write i2c OK [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: D1 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: D1 01 00 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: D1 01 00 0F 1F 00 FF [18:36:14]Write to MH i2c: 01 00 00 10 1F 2F [18:36:14]Write i2c OK [18:36:14]MH_I2C_Read... [18:36:14]OFD Sender: No OFD packet to send [18:36:15]*** Cut start [18:36:15]*** Partial cut [18:36:15]*** CUTSNS_PIN = 1 [18:36:15]*** CUTSNS_PIN = 0 [18:36:15]*** Brake cut motor [18:36:15]Read from MH i2c: 01 [18:36:15]MH_I2C_Read... [18:36:15]*** Stop cut motor [18:36:15]*** Cut end [18:36:15]Read from MH i2c: 01 07 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: 01 07 00 10 1F 00 00 00 00 00 FF 0F 44 [18:36:15]process_action close_receipt done [18:36:15]requested_data is exist [18:36:15]produce_requested_data [18:36:15]requested_item fm.sn is exist - process it [18:36:15]wFMCommunicate request_size=4 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 11 00 00 [18:36:15]Write to MH i2c: E2 08 00 11 1F 80 11 00 00 00 00 00 00 AA [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 17 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 17 00 11 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 01 [18:36:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:36:15]wFMCommunicate OK [18:36:15]requested_item fd.num is exist - process it [18:36:15]SAM_PROTO_GetFieldsCounters [18:36:15]wFMCommunicate request_size=4 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 13 00 00 [18:36:15]Write to MH i2c: E2 08 00 12 1F 80 13 00 00 00 00 00 00 AD [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 62 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 62 00 12 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 29 A8 00 00 0E 04 04 00 BD 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 7A [18:36:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 29 A8 00 00 0E 04 04 00 BD 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 [18:36:15]wFMCommunicate OK [18:36:15]SAM_PROTO_GetFieldsCounters done [18:36:15]requested_item shift.num is exist - process it [18:36:15]requested_item shift.opened is exist - process it [18:36:15]req_shift_opened [18:36:15]FM_GetShiftState [18:36:15]SAM_PROTO_GetShiftState [18:36:15]wFMCommunicate request_size=4 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 13 01 00 [18:36:15]Write to MH i2c: E2 08 00 13 1F 80 13 01 00 00 00 00 00 AF [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:16]Read from MH i2c: E2 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 0E 00 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 0E 00 13 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 46 [18:36:16]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:36:16]wFMCommunicate OK [18:36:16]SAM_PROTO_GetShiftState done [18:36:16]FM_GetShiftState done [18:36:16]req_shift_opened done [18:36:16]requested_item shift.open_date is exist - process it [18:36:16]req_shift_open_date [18:36:16]req_shift_open_date done [18:36:16]requested_item shift.sale.total is exist - process it [18:36:16]SAM_PROTO_GetShiftData [18:36:16]wFMCommunicate request_size=4 [18:36:16]MH_SAM_APDU [18:36:16]CAPDU: 80 13 02 00 [18:36:16]Write to MH i2c: E2 08 00 14 1F 80 13 02 00 00 00 00 00 B1 [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:36:16]Read from MH i2c: E2 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 FD 00 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 FD 00 14 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 F8 49 18 70 04 03 00 48 70 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 94 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FB 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 EF [18:36:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 F8 49 18 70 04 03 00 48 70 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 49 94 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FB 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:36:16]wFMCommunicate OK [18:36:16]wFMCommunicate request_size=4 [18:36:16]MH_SAM_APDU [18:36:16]CAPDU: 80 17 00 00 [18:36:16]Write to MH i2c: E2 08 00 15 1F 80 17 00 00 00 00 00 00 B4 [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:16]Read from MH i2c: E2 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 FD 00 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: E2 FD 00 15 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D6 [18:36:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:36:16]wFMCommunicate OK [18:36:16]wFMCommunicate request_size=4 [18:36:16]MH_SAM_APDU [18:36:16]CAPDU: 80 17 00 00 [18:36:16]Write to MH i2c: E2 08 00 16 1F 80 17 00 00 00 00 00 00 B5 [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:17]Read from MH i2c: E2 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 FD 00 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 FD 00 16 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6C [18:36:17]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:36:17]wFMCommunicate OK [18:36:17]wFMCommunicate request_size=4 [18:36:17]MH_SAM_APDU [18:36:17]CAPDU: 80 17 00 00 [18:36:17]Write to MH i2c: E2 08 00 17 1F 80 17 00 00 00 00 00 00 B6 [18:36:17]Write i2c OK [18:36:17]MH_I2C_Read... [18:36:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:17]Read from MH i2c: E2 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 FD 00 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 FD 00 17 1F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 28 [18:36:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:36:17]wFMCommunicate OK [18:36:17]wFMCommunicate request_size=4 [18:36:17]MH_SAM_APDU [18:36:17]CAPDU: 80 17 00 00 [18:36:17]Write to MH i2c: E2 08 00 18 1F 80 17 00 00 00 00 00 00 B7 [18:36:17]Write i2c OK [18:36:17]MH_I2C_Read... [18:36:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:36:17]Read from MH i2c: E2 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 CB 00 [18:36:17]MH_I2C_Read... [18:36:17]Read from MH i2c: E2 CB 00 18 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A0 [18:36:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:36:17]wFMCommunicate OK [18:36:17]SAM_PROTO_GetShiftData done [18:36:17]requested_item shift.sale.total_cash is exist - process it [18:36:17]requested_item shift.sale_refund.total is exist - process it [18:36:17]requested_item shift.sale_refund.total_cash is exist - process it [18:36:17]produce_requested_data done [18:36:17]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43049,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15918.00,"shift.sale.total_cash":14050.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:36:17]process_action_free close_receipt [18:36:17]json_value_free [18:36:17]json_value_free done [18:36:17]process_json_proto returns [18:36:17]Send response to host [18:36:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43049,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":15918.00,"shift.sale.total_cash":14050.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:36:17]free response buf [18:36:17]execute_script done [18:36:17]execute_script returns [18:36:17]free content buf [18:36:17]Sock 9.Close socket [18:36:17]Sock 9.Thread stoped [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:34]accept exits with 7 [18:53:34]New connection [18:53:34]New thread 3067530596 created [18:53:34]Thread 3067387236 joined [18:53:34]Waiting for new connection... [18:53:34] Sock 7.Parse request [18:53:34]Sock 7.Check first char [18:53:34]Sock 7.First char is OK [18:53:34]request: POST /json_proto HTTP/1.0 [18:53:34]Method: POST [18:53:34]URL: /json_proto [18:53:34]Method is POST - this is cgi request [18:53:34]url: /json_proto [18:53:34]query_string will be loaded in cgi processing [18:53:34]execute_cgi json_proto POST (null) [18:53:34]execute_cgi path=json_proto method=POST [18:53:34]POST find Content-Length [18:53:34]Host: 172.17.38.197:8080 [18:53:34]Content-Length: 815 [18:53:34]Content-Type: application/json [18:53:34] [18:53:34]POST finish read [18:53:34]Found Content-Length = 815 [18:53:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300178", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:53:34]execute_script... [18:53:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300178", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:53:34]POST & json_proto [18:53:34]process_json_proto [18:53:34]json parsed OK: [18:53:34]protocol is kg_v1.0 [18:53:34]action value=close_receipt [18:53:34]process_action close_receipt [18:53:34]cmd_close_receipt [18:53:34]MH_GetDate [18:53:34]Write to MH i2c: F0 00 00 19 1F 27 [18:53:34]Write i2c OK [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: F0 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: F0 09 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: F0 09 00 19 1F 00 33 CD 92 66 1E 0D 88 66 41 [18:53:34]GetLastDocTimeStamp 1720895776 [18:53:34]current date 1720896819 [18:53:34]FM_GetShiftState [18:53:34]SAM_PROTO_GetShiftState [18:53:34]wFMCommunicate request_size=4 [18:53:34]MH_SAM_APDU [18:53:34]CAPDU: 80 13 01 00 [18:53:34]Write to MH i2c: E2 08 00 1A 1F 80 13 01 00 00 00 00 00 B6 [18:53:34]Write i2c OK [18:53:34]MH_I2C_Read... [18:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:34]Read from MH i2c: E2 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 0E 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 0E 00 1A 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4D [18:53:34]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:53:34]wFMCommunicate OK [18:53:34]SAM_PROTO_GetShiftState done [18:53:34]FM_GetShiftState done [18:53:34]opened in 1720829646 [18:53:34]opened+sec_in_day 1720916046 [18:53:34]quantity*price = 11000 [18:53:34]sum+1 = 11001 [18:53:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 95 13.07.2024 18:53 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43050 ФПД: 207057374700858 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T185339&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43050&fm=207057374700858&tin=02508201610067®Number=0000000000091176&sum=11000 0 [18:53:35]StoreToDocumentArchive [18:53:35]shift 445 fd 43050 [18:53:35]save to /storage/0445/doc_00043050 [18:53:35]save last doc name /storage/0445/doc_00043050 to /storage/kkm_last_doc_name [18:53:35]save OK [18:53:35]Clear old archive folders... [18:53:35]ProcessDocumentItem done err = 0, tmpTLVsize=303 [18:53:35]tlvbuf is B6F35760 [18:53:35]SAM_PROTO_ClearQueue [18:53:35]wFMCommunicate request_size=4 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 09 00 00 [18:53:35]Write to MH i2c: E2 08 00 27 1F 80 09 00 00 00 00 00 00 B8 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 27 1F 00 90 00 BA [18:53:35]RAPDU: 90 00 [18:53:35]wFMCommunicate OK [18:53:35]SAM_PROTO_ClearQueue done [18:53:35]KKMCreateOFDPacket [18:53:35]OFDProtocolAddRootSTLVToBuf [18:53:35]FM_MakeSignedData [18:53:35]FM_MakeSignedData [18:53:35]SAM_PROTO_SignData [18:53:35]wFMCommunicate request_size=4 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 0D 01 02 [18:53:35]Write to MH i2c: E2 08 00 28 1F 80 0D 01 02 00 00 00 00 C0 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 28 1F 00 90 00 BB [18:53:35]RAPDU: 90 00 [18:53:35]wFMCommunicate OK [18:53:35]wFMCommunicate request_size=255 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 33 CD 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D [18:53:35]Write to MH i2c: E2 02 01 29 1F 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 33 CD 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 00 00 C5 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 29 1F 00 90 00 BC [18:53:35]RAPDU: 90 00 [18:53:35]wFMCommunicate OK [18:53:35]wFMCommunicate request_size=62 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2A A8 00 00 35 04 06 00 BC 51 4D 44 65 3A [18:53:35]Write to MH i2c: E2 41 00 2A 1F 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2A A8 00 00 35 04 06 00 BC 51 4D 44 65 3A 00 00 10 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]OFD Sender: No OFD packet to send [18:53:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 03 00 2A 1F 00 90 00 BD [18:53:35]RAPDU: 90 00 [18:53:35]wFMCommunicate OK [18:53:35]wFMCommunicate request_size=4 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 0D 03 02 [18:53:35]Write to MH i2c: E2 08 00 2B 1F 80 0D 03 02 00 00 00 00 C5 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 0B 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 0B 00 2B 1F 00 24 36 64 2E B4 2C 01 A5 90 00 38 [18:53:35]RAPDU: 24 36 64 2E B4 2C 01 A5 90 00 [18:53:35]wFMCommunicate OK [18:53:35]SAM_PROTO_SignData done [18:53:35]FM_MakeSignedData done [18:53:35]CreateOFDProtocolMessage [18:53:35]wFMCommunicate request_size=4 [18:53:35]MH_SAM_APDU [18:53:35]CAPDU: 80 11 00 00 [18:53:35]Write to MH i2c: E2 08 00 2C 1F 80 11 00 00 00 00 00 00 C5 [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:35]Read from MH i2c: E2 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 17 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: E2 17 00 2C 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 1C [18:53:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:53:35]wFMCommunicate OK [18:53:35]CreateOFDProtocolMessage done [18:53:35]OFDSenderStorePacket 43050 [18:53:35]StoreOFDPacket docnum=43050 [18:53:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 BF 13 3B 01 A9 F2 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 33 CD 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2A A8 00 00 35 04 06 00 BC 51 4D 44 65 3A 24 36 64 2E B4 2C 01 A5 [18:53:35]CheckFolder [18:53:35]dirname=/storage/ofd_packets [18:53:35]CheckFolder done [18:53:35]ProducePacketName [18:53:35]name=ofd_packets/00043050 [18:53:35]NVStorageSaveData ofd_packets/00043050 [18:53:35]File name is /storage/ofd_packets/00043050 [18:53:35]Write 353 bytes [18:53:35]NVStorageSaveData done [18:53:35]OFDSenderStorePacket done [18:53:35]KKMCreateOFDPacket done [18:53:35]NVStorageSaveData kkm_last_timestamp [18:53:35]File name is /storage/kkm_last_timestamp [18:53:35]Write 4 bytes [18:53:35]NVStorageSaveData done [18:53:35]ExternCall_PrintAddStr [18:53:35]wPrintStart [18:53:35]Write to MH i2c: 01 00 00 2D 1F 4C [18:53:35]Write i2c OK [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: 01 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: 01 07 00 [18:53:35]MH_I2C_Read... [18:53:35]Read from MH i2c: 01 07 00 2D 1F 00 00 00 00 00 FF 0F 61 [18:53:35]RasterBufferAndPrint [18:53:35]line Счет N : (3)300178 [18:53:35]line ИНН: 02508201610067 [18:53:35]line Контрольно-Кассовый Чек [18:53:35]line ПРОДАЖА [18:53:35]line Товар: 4870202521216 [18:53:35]line Напиток MAXI чай 1,2 зел.лимон (новый) [18:53:35]line 1.000 * 110.00 [18:53:35]line = 110.00 [18:53:35]line НДС 12% НСП 1% [18:53:35]line > о реализуемом товаре [18:53:35]line ИТОГО: 110.00 [18:53:35]line НСП 1% : 0.97 [18:53:35]line НДС 12% : 11.68 [18:53:35]line Наличными: 110.00 [18:53:35]line Безнал.: 0.00 [18:53:35]line Место: АЗС № 71 "Партнер Нефть" [18:53:35]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [18:53:35]line СНО: Общий режим [18:53:35]line Чек 95 13.07.2024 18:53 [18:53:35]line Смена: 445 ФФД: 1.0 [18:53:35]line ЗНМ: 0300000153 [18:53:35]line РНМ: 0000000000091176 [18:53:35]line Версия ККМ: 001 [18:53:35]line ФМ: 0000000000874935 [18:53:35]line ФД: 43050 [18:53:35]line ФПД: 207057374700858 [18:53:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T185339&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43050&fm=207057374700858&tin=02508201610067®Number=0000000000091176&sum=11000 [18:53:36]line 0 [18:53:36]OFD Sender: Processing packet 43050 [packets to send 31, broken 30] [18:53:36]ProducePacketName [18:53:36]name=ofd_packets/00043050 [18:53:36]OFD Sender: To server: pG, [18:53:36]CommunicateWithHost lk.salyk.kg:30040 [18:53:36]ConnectInit lk.salyk.kg [18:53:36]written 0, free lines is 4095 [18:53:36]Connected sock=10 [18:53:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 BF 13 3B 01 A9 F2 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 33 CD 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2A A8 00 00 35 04 06 00 BC 51 4D 44 65 3A 24 36 64 2E B4 2C 01 A5 [18:53:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 46 2E 47 00 33 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2A A8 00 00 F4 03 04 00 2C 79 92 66 B6 04 01 00 00 16 BA B2 61 E8 C2 7A 7E [18:53:36]CommunicateWithHost err = 0 [18:53:36]CheckOFDResponse [18:53:36]1017 (14) - 77093643461234 [18:53:36]1041 (16) - 0000000000874935 [18:53:36]1040 (4) - 43050 [18:53:36]1012 (4) - 13.07.2024 12:55 [18:53:36]1206 (1) - 0 [18:53:36]OFD Sender: Remove packet 43050 [18:53:36]ProducePacketName [18:53:36]name=ofd_packets/00043050 [18:53:36]NVStorageDeleteData [18:53:36]Write to MH i2c: 01 00 00 56 1F 75 [18:53:36]Write i2c OK [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: 01 [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: 01 07 00 [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: 01 07 00 56 1F 00 00 00 00 00 F1 0C 79 [18:53:36]RasterBufferAndPrint [18:53:36]line [18:53:36]line [18:53:36]line [18:53:36]line [18:53:36]line [18:53:36]written 0, free lines is 3319 [18:53:36]MH_Cut [18:53:36]Write to MH i2c: D1 01 00 5D 1F 01 4E [18:53:36]Write i2c OK [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: D1 [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: D1 01 00 [18:53:36]MH_I2C_Read... [18:53:36]Read from MH i2c: D1 01 00 5D 1F 00 4D [18:53:36]Write to MH i2c: 01 00 00 5E 1F 7D [18:53:36]Write i2c OK [18:53:36]MH_I2C_Read... [18:53:37]OFD Sender: No OFD packet to send [18:53:37]*** Cut start [18:53:37]*** Partial cut [18:53:37]*** CUTSNS_PIN = 1 [18:53:37]*** CUTSNS_PIN = 0 [18:53:37]*** Brake cut motor [18:53:38]Read from MH i2c: 01 [18:53:38]MH_I2C_Read... [18:53:38]*** Stop cut motor [18:53:38]*** Cut end [18:53:38]Read from MH i2c: 01 07 00 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: 01 07 00 5E 1F 00 00 00 00 00 FF 0F 92 [18:53:38]process_action close_receipt done [18:53:38]requested_data is exist [18:53:38]produce_requested_data [18:53:38]requested_item fm.sn is exist - process it [18:53:38]wFMCommunicate request_size=4 [18:53:38]MH_SAM_APDU [18:53:38]CAPDU: 80 11 00 00 [18:53:38]Write to MH i2c: E2 08 00 5F 1F 80 11 00 00 00 00 00 00 F8 [18:53:38]Write i2c OK [18:53:38]MH_I2C_Read... [18:53:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:38]Read from MH i2c: E2 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 17 00 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 17 00 5F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4F [18:53:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [18:53:38]wFMCommunicate OK [18:53:38]requested_item fd.num is exist - process it [18:53:38]SAM_PROTO_GetFieldsCounters [18:53:38]wFMCommunicate request_size=4 [18:53:38]MH_SAM_APDU [18:53:38]CAPDU: 80 13 00 00 [18:53:38]Write to MH i2c: E2 08 00 60 1F 80 13 00 00 00 00 00 00 FB [18:53:38]Write i2c OK [18:53:38]MH_I2C_Read... [18:53:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:38]Read from MH i2c: E2 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 62 00 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 62 00 60 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2A A8 00 00 0E 04 04 00 BD 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 CC [18:53:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2A A8 00 00 0E 04 04 00 BD 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 [18:53:38]wFMCommunicate OK [18:53:38]SAM_PROTO_GetFieldsCounters done [18:53:38]requested_item shift.num is exist - process it [18:53:38]requested_item shift.opened is exist - process it [18:53:38]req_shift_opened [18:53:38]FM_GetShiftState [18:53:38]SAM_PROTO_GetShiftState [18:53:38]wFMCommunicate request_size=4 [18:53:38]MH_SAM_APDU [18:53:38]CAPDU: 80 13 01 00 [18:53:38]Write to MH i2c: E2 08 00 61 1F 80 13 01 00 00 00 00 00 FD [18:53:38]Write i2c OK [18:53:38]MH_I2C_Read... [18:53:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:38]Read from MH i2c: E2 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 0E 00 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 0E 00 61 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 94 [18:53:38]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [18:53:38]wFMCommunicate OK [18:53:38]SAM_PROTO_GetShiftState done [18:53:38]FM_GetShiftState done [18:53:38]req_shift_opened done [18:53:38]requested_item shift.open_date is exist - process it [18:53:38]req_shift_open_date [18:53:38]req_shift_open_date done [18:53:38]requested_item shift.sale.total is exist - process it [18:53:38]SAM_PROTO_GetShiftData [18:53:38]wFMCommunicate request_size=4 [18:53:38]MH_SAM_APDU [18:53:38]CAPDU: 80 13 02 00 [18:53:38]Write to MH i2c: E2 08 00 62 1F 80 13 02 00 00 00 00 00 FF [18:53:38]Write i2c OK [18:53:38]MH_I2C_Read... [18:53:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:53:38]Read from MH i2c: E2 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 FD 00 [18:53:38]MH_I2C_Read... [18:53:38]Read from MH i2c: E2 FD 00 62 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 F0 74 18 70 04 03 00 40 9B 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D9 98 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5C 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 7B [18:53:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 F0 74 18 70 04 03 00 40 9B 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D9 98 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5C 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:53:38]wFMCommunicate OK [18:53:38]wFMCommunicate request_size=4 [18:53:38]MH_SAM_APDU [18:53:38]CAPDU: 80 17 00 00 [18:53:38]Write to MH i2c: E2 08 00 63 1F 80 17 00 00 00 00 00 00 02 [18:53:38]Write i2c OK [18:53:38]MH_I2C_Read... [18:53:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:53:39]Read from MH i2c: E2 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 63 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 24 [18:53:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:53:39]wFMCommunicate OK [18:53:39]wFMCommunicate request_size=4 [18:53:39]MH_SAM_APDU [18:53:39]CAPDU: 80 17 00 00 [18:53:39]Write to MH i2c: E2 08 00 64 1F 80 17 00 00 00 00 00 00 03 [18:53:39]Write i2c OK [18:53:39]MH_I2C_Read... [18:53:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:53:39]Read from MH i2c: E2 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 64 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 BA [18:53:39]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:53:39]wFMCommunicate OK [18:53:39]wFMCommunicate request_size=4 [18:53:39]MH_SAM_APDU [18:53:39]CAPDU: 80 17 00 00 [18:53:39]Write to MH i2c: E2 08 00 65 1F 80 17 00 00 00 00 00 00 04 [18:53:39]Write i2c OK [18:53:39]MH_I2C_Read... [18:53:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:53:39]Read from MH i2c: E2 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 FD 00 65 1F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 76 [18:53:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:53:39]wFMCommunicate OK [18:53:39]wFMCommunicate request_size=4 [18:53:39]MH_SAM_APDU [18:53:39]CAPDU: 80 17 00 00 [18:53:39]Write to MH i2c: E2 08 00 66 1F 80 17 00 00 00 00 00 00 05 [18:53:39]Write i2c OK [18:53:39]MH_I2C_Read... [18:53:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:53:39]Read from MH i2c: E2 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 CB 00 [18:53:39]MH_I2C_Read... [18:53:39]Read from MH i2c: E2 CB 00 66 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EE [18:53:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:53:39]wFMCommunicate OK [18:53:39]SAM_PROTO_GetShiftData done [18:53:39]requested_item shift.sale.total_cash is exist - process it [18:53:39]requested_item shift.sale_refund.total is exist - process it [18:53:39]requested_item shift.sale_refund.total_cash is exist - process it [18:53:39]produce_requested_data done [18:53:39]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43050,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16028.00,"shift.sale.total_cash":14160.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [18:53:39]process_action_free close_receipt [18:53:39]json_value_free [18:53:39]json_value_free done [18:53:39]process_json_proto returns [18:53:39]Send response to host [18:53:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43050,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16028.00,"shift.sale.total_cash":14160.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [18:53:39]free response buf [18:53:39]execute_script done [18:53:39]execute_script returns [18:53:39]free content buf [18:53:39]Sock 7.Close socket [18:53:39]Sock 7.Thread stoped [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:31]accept exits with 9 [19:00:31]New connection [19:00:31]New thread 3067387236 created [19:00:31]Thread 3067530596 joined [19:00:31]Waiting for new connection... [19:00:31] Sock 9.Parse request [19:00:31]Sock 9.Check first char [19:00:31]Sock 9.First char is OK [19:00:31]request: POST /json_proto HTTP/1.0 [19:00:31]Method: POST [19:00:31]URL: /json_proto [19:00:31]Method is POST - this is cgi request [19:00:31]url: /json_proto [19:00:31]query_string will be loaded in cgi processing [19:00:31]execute_cgi json_proto POST (null) [19:00:31]execute_cgi path=json_proto method=POST [19:00:31]POST find Content-Length [19:00:31]Host: 172.17.38.197:8080 [19:00:31]Content-Length: 759 [19:00:31]Content-Type: application/json [19:00:31] [19:00:31]POST finish read [19:00:31]Found Content-Length = 759 [19:00:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300179", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:00:31]execute_script... [19:00:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300179", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:00:31]POST & json_proto [19:00:31]process_json_proto [19:00:31]json parsed OK: [19:00:31]protocol is kg_v1.0 [19:00:31]action value=close_receipt [19:00:31]process_action close_receipt [19:00:31]cmd_close_receipt [19:00:31]MH_GetDate [19:00:31]Write to MH i2c: F0 00 00 67 1F 75 [19:00:31]Write i2c OK [19:00:31]MH_I2C_Read... [19:00:31]Read from MH i2c: F0 [19:00:31]MH_I2C_Read... [19:00:31]Read from MH i2c: F0 09 00 [19:00:31]MH_I2C_Read... [19:00:31]Read from MH i2c: F0 09 00 67 1F 00 D4 CE 92 66 1E 0D 88 66 31 [19:00:31]GetLastDocTimeStamp 1720896819 [19:00:31]current date 1720897236 [19:00:31]FM_GetShiftState [19:00:31]SAM_PROTO_GetShiftState [19:00:31]wFMCommunicate request_size=4 [19:00:31]MH_SAM_APDU [19:00:31]CAPDU: 80 13 01 00 [19:00:31]Write to MH i2c: E2 08 00 68 1F 80 13 01 00 00 00 00 00 04 [19:00:31]Write i2c OK [19:00:31]MH_I2C_Read... [19:00:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:31]Read from MH i2c: E2 [19:00:31]MH_I2C_Read... [19:00:31]Read from MH i2c: E2 0E 00 [19:00:31]MH_I2C_Read... [19:00:31]Read from MH i2c: E2 0E 00 68 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9B [19:00:31]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:00:31]wFMCommunicate OK [19:00:31]SAM_PROTO_GetShiftState done [19:00:31]FM_GetShiftState done [19:00:31]opened in 1720829646 [19:00:31]opened+sec_in_day 1720916046 [19:00:31]quantity*price = 8500 [19:00:31]sum+1 = 8501 [19:00:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 96 13.07.2024 19:00 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43051 ФПД: 63429581283627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T190036&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43051&fm=63429581283627&tin=02508201610067®Number=0000000000091176&sum=8500 0 [19:00:32]StoreToDocumentArchive [19:00:32]shift 445 fd 43051 [19:00:32]save to /storage/0445/doc_00043051 [19:00:32]save last doc name /storage/0445/doc_00043051 to /storage/kkm_last_doc_name [19:00:32]save OK [19:00:32]Clear old archive folders... [19:00:32]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:00:32]tlvbuf is 01580FA0 [19:00:32]SAM_PROTO_ClearQueue [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 09 00 00 [19:00:32]Write to MH i2c: E2 08 00 75 1F 80 09 00 00 00 00 00 00 06 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 75 1F 00 90 00 08 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]SAM_PROTO_ClearQueue done [19:00:32]KKMCreateOFDPacket [19:00:32]OFDProtocolAddRootSTLVToBuf [19:00:32]FM_MakeSignedData [19:00:32]FM_MakeSignedData [19:00:32]SAM_PROTO_SignData [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 01 02 [19:00:32]Write to MH i2c: E2 08 00 76 1F 80 0D 01 02 00 00 00 00 0E [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]OFD Sender: No OFD packet to send [19:00:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 76 1F 00 90 00 09 [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=255 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 D4 CE 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:00:32]Write to MH i2c: E2 02 01 77 1F 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 D4 CE 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 AA [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 77 1F 00 90 00 0A [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=53 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2B A8 00 00 35 04 06 00 39 B0 59 A9 21 2B [19:00:32]Write to MH i2c: E2 38 00 78 1F 80 0D 02 02 30 00 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2B A8 00 00 35 04 06 00 39 B0 59 A9 21 2B 00 00 13 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 03 00 78 1F 00 90 00 0B [19:00:32]RAPDU: 90 00 [19:00:32]wFMCommunicate OK [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 0D 03 02 [19:00:32]Write to MH i2c: E2 08 00 79 1F 80 0D 03 02 00 00 00 00 13 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:32]Read from MH i2c: E2 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 0B 00 [19:00:32]MH_I2C_Read... [19:00:32]Read from MH i2c: E2 0B 00 79 1F 00 54 77 C2 BE 57 38 5A 4A 90 00 92 [19:00:32]RAPDU: 54 77 C2 BE 57 38 5A 4A 90 00 [19:00:32]wFMCommunicate OK [19:00:32]SAM_PROTO_SignData done [19:00:32]FM_MakeSignedData done [19:00:32]CreateOFDProtocolMessage [19:00:32]wFMCommunicate request_size=4 [19:00:32]MH_SAM_APDU [19:00:32]CAPDU: 80 11 00 00 [19:00:32]Write to MH i2c: E2 08 00 7A 1F 80 11 00 00 00 00 00 00 13 [19:00:32]Write i2c OK [19:00:32]MH_I2C_Read... [19:00:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:33]Read from MH i2c: E2 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: E2 17 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: E2 17 00 7A 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6A [19:00:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:00:33]wFMCommunicate OK [19:00:33]CreateOFDProtocolMessage done [19:00:33]OFDSenderStorePacket 43051 [19:00:33]StoreOFDPacket docnum=43051 [19:00:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 94 36 32 01 51 3C 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 D4 CE 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2B A8 00 00 35 04 06 00 39 B0 59 A9 21 2B 54 77 C2 BE 57 38 5A 4A [19:00:33]CheckFolder [19:00:33]dirname=/storage/ofd_packets [19:00:33]CheckFolder done [19:00:33]ProducePacketName [19:00:33]name=ofd_packets/00043051 [19:00:33]NVStorageSaveData ofd_packets/00043051 [19:00:33]File name is /storage/ofd_packets/00043051 [19:00:33]Write 344 bytes [19:00:33]NVStorageSaveData done [19:00:33]OFDSenderStorePacket done [19:00:33]KKMCreateOFDPacket done [19:00:33]NVStorageSaveData kkm_last_timestamp [19:00:33]File name is /storage/kkm_last_timestamp [19:00:33]Write 4 bytes [19:00:33]NVStorageSaveData done [19:00:33]ExternCall_PrintAddStr [19:00:33]wPrintStart [19:00:33]Write to MH i2c: 01 00 00 7B 1F 9A [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 7B 1F 00 00 00 00 00 FF 0F AF [19:00:33]RasterBufferAndPrint [19:00:33]line Счет N : (3)300179 [19:00:33]line ИНН: 02508201610067 [19:00:33]line Контрольно-Кассовый Чек [19:00:33]line ПРОДАЖА [19:00:33]line Товар: 4600682557456 [19:00:33]line Напиток FLash up energy эн ж/б 0,5/0,45л [19:00:33]line 1.000 * 85.00 [19:00:33]line = 85.00 [19:00:33]line НДС 12% НСП 1% [19:00:33]line > о реализуемом товаре [19:00:33]line ИТОГО: 85.00 [19:00:33]line НСП 1% : 0.75 [19:00:33]line НДС 12% : 9.03 [19:00:33]line Наличными: 85.00 [19:00:33]line Безнал.: 0.00 [19:00:33]line Место: АЗС № 71 "Партнер Нефть" [19:00:33]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [19:00:33]line СНО: Общий режим [19:00:33]line Чек 96 13.07.2024 19:00 [19:00:33]line Смена: 445 ФФД: 1.0 [19:00:33]line ЗНМ: 0300000153 [19:00:33]line РНМ: 0000000000091176 [19:00:33]line Версия ККМ: 001 [19:00:33]line ФМ: 0000000000874935 [19:00:33]line ФД: 43051 [19:00:33]line ФПД: 63429581283627 [19:00:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T190036&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43051&fm=63429581283627&tin=02508201610067®Number=0000000000091176&sum=8500 [19:00:33]line 0 [19:00:33]OFD Sender: Processing packet 43051 [packets to send 31, broken 30] [19:00:33]ProducePacketName [19:00:33]name=ofd_packets/00043051 [19:00:33]OFD Sender: To server: pG, [19:00:33]CommunicateWithHost lk.salyk.kg:30040 [19:00:33]ConnectInit lk.salyk.kg [19:00:33]written 0, free lines is 4095 [19:00:33]Connected sock=10 [19:00:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3A 01 00 00 94 36 32 01 51 3C 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 D4 CE 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2B A8 00 00 35 04 06 00 39 B0 59 A9 21 2B 54 77 C2 BE 57 38 5A 4A [19:00:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 9E 4E 47 00 5A 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2B A8 00 00 F4 03 04 00 CD 7A 92 66 B6 04 01 00 00 DE 0A 57 A4 7E 1F 95 21 [19:00:33]CommunicateWithHost err = 0 [19:00:33]CheckOFDResponse [19:00:33]1017 (14) - 77093643461234 [19:00:33]1041 (16) - 0000000000874935 [19:00:33]1040 (4) - 43051 [19:00:33]1012 (4) - 13.07.2024 13:02 [19:00:33]1206 (1) - 0 [19:00:33]OFD Sender: Remove packet 43051 [19:00:33]ProducePacketName [19:00:33]name=ofd_packets/00043051 [19:00:33]NVStorageDeleteData [19:00:33]Write to MH i2c: 01 00 00 A4 1F C3 [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: 01 07 00 A4 1F 00 00 00 00 00 F1 0C C7 [19:00:33]RasterBufferAndPrint [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]line [19:00:33]written 0, free lines is 3319 [19:00:33]MH_Cut [19:00:33]Write to MH i2c: D1 01 00 AB 1F 01 9C [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 01 00 [19:00:33]MH_I2C_Read... [19:00:33]Read from MH i2c: D1 01 00 AB 1F 00 9B [19:00:33]Write to MH i2c: 01 00 00 AC 1F CB [19:00:33]Write i2c OK [19:00:33]MH_I2C_Read... [19:00:34]OFD Sender: No OFD packet to send [19:00:34]*** Cut start [19:00:34]*** Partial cut [19:00:34]*** CUTSNS_PIN = 1 [19:00:34]*** CUTSNS_PIN = 0 [19:00:34]*** Brake cut motor [19:00:35]Read from MH i2c: 01 [19:00:35]MH_I2C_Read... [19:00:35]*** Stop cut motor [19:00:35]*** Cut end [19:00:35]Read from MH i2c: 01 07 00 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: 01 07 00 AC 1F 00 00 00 00 00 FF 0F E0 [19:00:35]process_action close_receipt done [19:00:35]requested_data is exist [19:00:35]produce_requested_data [19:00:35]requested_item fm.sn is exist - process it [19:00:35]wFMCommunicate request_size=4 [19:00:35]MH_SAM_APDU [19:00:35]CAPDU: 80 11 00 00 [19:00:35]Write to MH i2c: E2 08 00 AD 1F 80 11 00 00 00 00 00 00 46 [19:00:35]Write i2c OK [19:00:35]MH_I2C_Read... [19:00:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:35]Read from MH i2c: E2 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 17 00 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 17 00 AD 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 9D [19:00:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:00:35]wFMCommunicate OK [19:00:35]requested_item fd.num is exist - process it [19:00:35]SAM_PROTO_GetFieldsCounters [19:00:35]wFMCommunicate request_size=4 [19:00:35]MH_SAM_APDU [19:00:35]CAPDU: 80 13 00 00 [19:00:35]Write to MH i2c: E2 08 00 AE 1F 80 13 00 00 00 00 00 00 49 [19:00:35]Write i2c OK [19:00:35]MH_I2C_Read... [19:00:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:35]Read from MH i2c: E2 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 62 00 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 62 00 AE 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2B A8 00 00 0E 04 04 00 BD 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 1E [19:00:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2B A8 00 00 0E 04 04 00 BD 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 [19:00:35]wFMCommunicate OK [19:00:35]SAM_PROTO_GetFieldsCounters done [19:00:35]requested_item shift.num is exist - process it [19:00:35]requested_item shift.opened is exist - process it [19:00:35]req_shift_opened [19:00:35]FM_GetShiftState [19:00:35]SAM_PROTO_GetShiftState [19:00:35]wFMCommunicate request_size=4 [19:00:35]MH_SAM_APDU [19:00:35]CAPDU: 80 13 01 00 [19:00:35]Write to MH i2c: E2 08 00 AF 1F 80 13 01 00 00 00 00 00 4B [19:00:35]Write i2c OK [19:00:35]MH_I2C_Read... [19:00:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:35]Read from MH i2c: E2 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 0E 00 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 0E 00 AF 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E2 [19:00:35]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:00:35]wFMCommunicate OK [19:00:35]SAM_PROTO_GetShiftState done [19:00:35]FM_GetShiftState done [19:00:35]req_shift_opened done [19:00:35]requested_item shift.open_date is exist - process it [19:00:35]req_shift_open_date [19:00:35]req_shift_open_date done [19:00:35]requested_item shift.sale.total is exist - process it [19:00:35]SAM_PROTO_GetShiftData [19:00:35]wFMCommunicate request_size=4 [19:00:35]MH_SAM_APDU [19:00:35]CAPDU: 80 13 02 00 [19:00:35]Write to MH i2c: E2 08 00 B0 1F 80 13 02 00 00 00 00 00 4D [19:00:35]Write i2c OK [19:00:35]MH_I2C_Read... [19:00:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:00:35]Read from MH i2c: E2 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 FD 00 [19:00:35]MH_I2C_Read... [19:00:35]Read from MH i2c: E2 FD 00 B0 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 24 96 18 70 04 03 00 74 BC 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 60 9C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A7 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4C [19:00:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 24 96 18 70 04 03 00 74 BC 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 60 9C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A7 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:00:35]wFMCommunicate OK [19:00:35]wFMCommunicate request_size=4 [19:00:35]MH_SAM_APDU [19:00:35]CAPDU: 80 17 00 00 [19:00:35]Write to MH i2c: E2 08 00 B1 1F 80 17 00 00 00 00 00 00 50 [19:00:35]Write i2c OK [19:00:35]MH_I2C_Read... [19:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:00:36]Read from MH i2c: E2 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 B1 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 72 [19:00:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [19:00:36]wFMCommunicate OK [19:00:36]wFMCommunicate request_size=4 [19:00:36]MH_SAM_APDU [19:00:36]CAPDU: 80 17 00 00 [19:00:36]Write to MH i2c: E2 08 00 B2 1F 80 17 00 00 00 00 00 00 51 [19:00:36]Write i2c OK [19:00:36]MH_I2C_Read... [19:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:00:36]Read from MH i2c: E2 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 B2 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 08 [19:00:36]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:00:36]wFMCommunicate OK [19:00:36]wFMCommunicate request_size=4 [19:00:36]MH_SAM_APDU [19:00:36]CAPDU: 80 17 00 00 [19:00:36]Write to MH i2c: E2 08 00 B3 1F 80 17 00 00 00 00 00 00 52 [19:00:36]Write i2c OK [19:00:36]MH_I2C_Read... [19:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:00:36]Read from MH i2c: E2 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 [19:00:36]MH_I2C_Read... [19:00:36]Read from MH i2c: E2 FD 00 B3 1F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C4 [19:00:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:00:36]wFMCommunicate OK [19:00:36]wFMCommunicate request_size=4 [19:00:36]MH_SAM_APDU [19:00:36]CAPDU: 80 17 00 00 [19:00:36]Write to MH i2c: E2 08 00 B4 1F 80 17 00 00 00 00 00 00 53 [19:00:36]Write i2c OK [19:00:36]MH_I2C_Read... [19:00:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:00:37]Read from MH i2c: E2 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: E2 CB 00 [19:00:37]MH_I2C_Read... [19:00:37]Read from MH i2c: E2 CB 00 B4 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3C [19:00:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:00:37]wFMCommunicate OK [19:00:37]SAM_PROTO_GetShiftData done [19:00:37]requested_item shift.sale.total_cash is exist - process it [19:00:37]requested_item shift.sale_refund.total is exist - process it [19:00:37]requested_item shift.sale_refund.total_cash is exist - process it [19:00:37]produce_requested_data done [19:00:37]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43051,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16113.00,"shift.sale.total_cash":14245.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [19:00:37]process_action_free close_receipt [19:00:37]json_value_free [19:00:37]json_value_free done [19:00:37]process_json_proto returns [19:00:37]Send response to host [19:00:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43051,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16113.00,"shift.sale.total_cash":14245.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [19:00:37]free response buf [19:00:37]execute_script done [19:00:37]execute_script returns [19:00:37]free content buf [19:00:37]Sock 9.Close socket [19:00:37]Sock 9.Thread stoped [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:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15: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:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]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:26]accept exits with 7 [19:35:26]New connection [19:35:26]New thread 3067530596 created [19:35:26]Thread 3067387236 joined [19:35:26]Waiting for new connection... [19:35:26] Sock 7.Parse request [19:35:26]Sock 7.Check first char [19:35:26]Sock 7.First char is OK [19:35:26]request: POST /json_proto HTTP/1.0 [19:35:26]Method: POST [19:35:26]URL: /json_proto [19:35:26]Method is POST - this is cgi request [19:35:26]url: /json_proto [19:35:26]query_string will be loaded in cgi processing [19:35:26]execute_cgi json_proto POST (null) [19:35:26]execute_cgi path=json_proto method=POST [19:35:26]POST find Content-Length [19:35:26]Host: 172.17.38.197:8080 [19:35:26]Content-Length: 725 [19:35:26]Content-Type: application/json [19:35:26] [19:35:26]POST finish read [19:35:26]Found Content-Length = 725 [19:35:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300180", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:35:26]execute_script... [19:35:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300180", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:35:26]POST & json_proto [19:35:26]process_json_proto [19:35:26]json parsed OK: [19:35:26]protocol is kg_v1.0 [19:35:26]action value=close_receipt [19:35:26]process_action close_receipt [19:35:26]cmd_close_receipt [19:35:26]MH_GetDate [19:35:26]Write to MH i2c: F0 00 00 B5 1F C3 [19:35:26]Write i2c OK [19:35:26]MH_I2C_Read... [19:35:26]Read from MH i2c: F0 [19:35:26]MH_I2C_Read... [19:35:26]Read from MH i2c: F0 09 00 [19:35:26]MH_I2C_Read... [19:35:26]Read from MH i2c: F0 09 00 B5 1F 00 03 D7 92 66 1E 0D 88 66 B7 [19:35:26]GetLastDocTimeStamp 1720897236 [19:35:26]current date 1720899331 [19:35:26]FM_GetShiftState [19:35:26]SAM_PROTO_GetShiftState [19:35:26]wFMCommunicate request_size=4 [19:35:26]MH_SAM_APDU [19:35:26]CAPDU: 80 13 01 00 [19:35:26]Write to MH i2c: E2 08 00 B6 1F 80 13 01 00 00 00 00 00 52 [19:35:26]Write i2c OK [19:35:26]MH_I2C_Read... [19:35:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:26]Read from MH i2c: E2 [19:35:26]MH_I2C_Read... [19:35:26]Read from MH i2c: E2 0E 00 [19:35:26]MH_I2C_Read... [19:35:26]Read from MH i2c: E2 0E 00 B6 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E9 [19:35:26]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:35:26]wFMCommunicate OK [19:35:26]SAM_PROTO_GetShiftState done [19:35:26]FM_GetShiftState done [19:35:26]opened in 1720829646 [19:35:26]opened+sec_in_day 1720916046 [19:35:26]quantity*price = 14000 [19:35:26]sum+1 = 14001 [19:35:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 97 13.07.2024 19:35 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43052 ФПД: 196878634317576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T193531&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43052&fm=196878634317576&tin=02508201610067®Number=0000000000091176&sum=14000 0 [19:35:27]StoreToDocumentArchive [19:35:27]shift 445 fd 43052 [19:35:27]save to /storage/0445/doc_00043052 [19:35:27]save last doc name /storage/0445/doc_00043052 to /storage/kkm_last_doc_name [19:35:27]save OK [19:35:27]Clear old archive folders... [19:35:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:35:27]tlvbuf is 01581040 [19:35:27]SAM_PROTO_ClearQueue [19:35:27]wFMCommunicate request_size=4 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 09 00 00 [19:35:27]Write to MH i2c: E2 08 00 C3 1F 80 09 00 00 00 00 00 00 54 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 C3 1F 00 90 00 56 [19:35:27]RAPDU: 90 00 [19:35:27]wFMCommunicate OK [19:35:27]SAM_PROTO_ClearQueue done [19:35:27]KKMCreateOFDPacket [19:35:27]OFDProtocolAddRootSTLVToBuf [19:35:27]FM_MakeSignedData [19:35:27]FM_MakeSignedData [19:35:27]SAM_PROTO_SignData [19:35:27]wFMCommunicate request_size=4 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 0D 01 02 [19:35:27]Write to MH i2c: E2 08 00 C4 1F 80 0D 01 02 00 00 00 00 5C [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 C4 1F 00 90 00 57 [19:35:27]RAPDU: 90 00 [19:35:27]wFMCommunicate OK [19:35:27]wFMCommunicate request_size=255 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 03 D7 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [19:35:27]Write to MH i2c: E2 02 01 C5 1F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 03 D7 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 69 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 C5 1F 00 90 00 58 [19:35:27]RAPDU: 90 00 [19:35:27]wFMCommunicate OK [19:35:27]wFMCommunicate request_size=32 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 2C A8 00 00 35 04 06 00 B3 0F 61 0F F7 08 [19:35:27]Write to MH i2c: E2 23 00 C6 1F 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 2C A8 00 00 35 04 06 00 B3 0F 61 0F F7 08 00 00 C5 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 03 00 C6 1F 00 90 00 59 [19:35:27]RAPDU: 90 00 [19:35:27]wFMCommunicate OK [19:35:27]wFMCommunicate request_size=4 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 0D 03 02 [19:35:27]Write to MH i2c: E2 08 00 C7 1F 80 0D 03 02 00 00 00 00 61 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 0B 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 0B 00 C7 1F 00 4E 5A C5 51 C6 89 BE BD 90 00 EA [19:35:27]RAPDU: 4E 5A C5 51 C6 89 BE BD 90 00 [19:35:27]wFMCommunicate OK [19:35:27]SAM_PROTO_SignData done [19:35:27]FM_MakeSignedData done [19:35:27]CreateOFDProtocolMessage [19:35:27]wFMCommunicate request_size=4 [19:35:27]MH_SAM_APDU [19:35:27]CAPDU: 80 11 00 00 [19:35:27]Write to MH i2c: E2 08 00 C8 1F 80 11 00 00 00 00 00 00 61 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:27]Read from MH i2c: E2 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 17 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: E2 17 00 C8 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B8 [19:35:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:35:27]wFMCommunicate OK [19:35:27]CreateOFDProtocolMessage done [19:35:27]OFDSenderStorePacket 43052 [19:35:27]StoreOFDPacket docnum=43052 [19:35:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 01 F1 1D 01 2B 3F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 03 D7 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2C A8 00 00 35 04 06 00 B3 0F 61 0F F7 08 4E 5A C5 51 C6 89 BE BD [19:35:27]CheckFolder [19:35:27]dirname=/storage/ofd_packets [19:35:27]CheckFolder done [19:35:27]ProducePacketName [19:35:27]name=ofd_packets/00043052 [19:35:27]NVStorageSaveData ofd_packets/00043052 [19:35:27]File name is /storage/ofd_packets/00043052 [19:35:27]Write 323 bytes [19:35:27]NVStorageSaveData done [19:35:27]OFDSenderStorePacket done [19:35:27]KKMCreateOFDPacket done [19:35:27]NVStorageSaveData kkm_last_timestamp [19:35:27]File name is /storage/kkm_last_timestamp [19:35:27]Write 4 bytes [19:35:27]NVStorageSaveData done [19:35:27]OFD Sender: Processing packet 43052 [packets to send 31, broken 30] [19:35:27]ProducePacketName [19:35:27]name=ofd_packets/00043052 [19:35:27]OFD Sender: To server: pG, [19:35:27]CommunicateWithHost lk.salyk.kg:30040 [19:35:27]ConnectInit lk.salyk.kg [19:35:27]ExternCall_PrintAddStr [19:35:27]wPrintStart [19:35:27]Write to MH i2c: 01 00 00 C9 1F E8 [19:35:27]Write i2c OK [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: 01 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: 01 07 00 [19:35:27]MH_I2C_Read... [19:35:27]Read from MH i2c: 01 07 00 C9 1F 00 00 00 00 00 FF 0F FD [19:35:27]RasterBufferAndPrint [19:35:27]line Счет N : (3)300180 [19:35:27]line ИНН: 02508201610067 [19:35:27]line Контрольно-Кассовый Чек [19:35:27]line ПРОДАЖА [19:35:27]line Товар: 48747066 [19:35:27]line Сигареты Winston True Silver [19:35:27]line 1.000 * 140.00 [19:35:27]line = 140.00 [19:35:27]line НДС 12% НСП 1% [19:35:27]line > о реализуемом товаре [19:35:27]line ИТОГО: 140.00 [19:35:27]line НСП 1% : 1.24 [19:35:27]line НДС 12% : 14.87 [19:35:27]line Наличными: 140.00 [19:35:27]line Безнал.: 0.00 [19:35:27]line Место: АЗС № 71 "Партнер Нефть" [19:35:27]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [19:35:27]line СНО: Общий режим [19:35:27]line Чек 97 13.07.2024 19:35 [19:35:27]line Смена: 445 ФФД: 1.0 [19:35:27]line ЗНМ: 0300000153 [19:35:27]line РНМ: 0000000000091176 [19:35:27]line Версия ККМ: 001 [19:35:27]line ФМ: 0000000000874935 [19:35:27]line ФД: 43052 [19:35:27]line ФПД: 196878634317576 [19:35:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T193531&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43052&fm=196878634317576&tin=02508201610067®Number=0000000000091176&sum=14000 [19:35:28]line 0 [19:35:28]Connected sock=11 [19:35:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 01 F1 1D 01 2B 3F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 03 D7 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2C A8 00 00 35 04 06 00 B3 0F 61 0F F7 08 4E 5A C5 51 C6 89 BE BD [19:35:28]written 0, free lines is 4095 [19:35:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 18 51 47 00 D3 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2C A8 00 00 F4 03 04 00 FC 82 92 66 B6 04 01 00 00 CC C4 8D FD 1A C5 07 C0 [19:35:28]CommunicateWithHost err = 0 [19:35:28]CheckOFDResponse [19:35:28]1017 (14) - 77093643461234 [19:35:28]1041 (16) - 0000000000874935 [19:35:28]1040 (4) - 43052 [19:35:28]1012 (4) - 13.07.2024 13:37 [19:35:28]1206 (1) - 0 [19:35:28]OFD Sender: Remove packet 43052 [19:35:28]ProducePacketName [19:35:28]name=ofd_packets/00043052 [19:35:28]NVStorageDeleteData [19:35:28]Write to MH i2c: 01 00 00 F1 1F 10 [19:35:28]Write i2c OK [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: 01 [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: 01 07 00 [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: 01 07 00 F1 1F 00 00 00 00 00 00 0D 24 [19:35:28]RasterBufferAndPrint [19:35:28]line [19:35:28]line [19:35:28]line [19:35:28]line [19:35:28]line [19:35:28]written 0, free lines is 3334 [19:35:28]MH_Cut [19:35:28]Write to MH i2c: D1 01 00 F8 1F 01 E9 [19:35:28]Write i2c OK [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: D1 [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: D1 01 00 [19:35:28]MH_I2C_Read... [19:35:28]Read from MH i2c: D1 01 00 F8 1F 00 E8 [19:35:28]Write to MH i2c: 01 00 00 F9 1F 18 [19:35:28]Write i2c OK [19:35:28]MH_I2C_Read... [19:35:28]OFD Sender: No OFD packet to send [19:35:29]*** Cut start [19:35:29]*** Partial cut [19:35:29]*** CUTSNS_PIN = 1 [19:35:29]*** CUTSNS_PIN = 0 [19:35:29]*** Brake cut motor [19:35:29]Read from MH i2c: 01 [19:35:29]MH_I2C_Read... [19:35:29]*** Stop cut motor [19:35:30]*** Cut end [19:35:30]Read from MH i2c: 01 07 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: 01 07 00 F9 1F 00 00 00 00 00 FF 0F 2D [19:35:30]process_action close_receipt done [19:35:30]requested_data is exist [19:35:30]produce_requested_data [19:35:30]requested_item fm.sn is exist - process it [19:35:30]wFMCommunicate request_size=4 [19:35:30]MH_SAM_APDU [19:35:30]CAPDU: 80 11 00 00 [19:35:30]Write to MH i2c: E2 08 00 FA 1F 80 11 00 00 00 00 00 00 93 [19:35:30]Write i2c OK [19:35:30]MH_I2C_Read... [19:35:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:30]Read from MH i2c: E2 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 17 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 17 00 FA 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 EA [19:35:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:35:30]wFMCommunicate OK [19:35:30]requested_item fd.num is exist - process it [19:35:30]SAM_PROTO_GetFieldsCounters [19:35:30]wFMCommunicate request_size=4 [19:35:30]MH_SAM_APDU [19:35:30]CAPDU: 80 13 00 00 [19:35:30]Write to MH i2c: E2 08 00 FB 1F 80 13 00 00 00 00 00 00 96 [19:35:30]Write i2c OK [19:35:30]MH_I2C_Read... [19:35:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:30]Read from MH i2c: E2 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 62 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 62 00 FB 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2C A8 00 00 0E 04 04 00 BD 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 6F [19:35:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2C A8 00 00 0E 04 04 00 BD 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 [19:35:30]wFMCommunicate OK [19:35:30]SAM_PROTO_GetFieldsCounters done [19:35:30]requested_item shift.num is exist - process it [19:35:30]requested_item shift.opened is exist - process it [19:35:30]req_shift_opened [19:35:30]FM_GetShiftState [19:35:30]SAM_PROTO_GetShiftState [19:35:30]wFMCommunicate request_size=4 [19:35:30]MH_SAM_APDU [19:35:30]CAPDU: 80 13 01 00 [19:35:30]Write to MH i2c: E2 08 00 FC 1F 80 13 01 00 00 00 00 00 98 [19:35:30]Write i2c OK [19:35:30]MH_I2C_Read... [19:35:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:30]Read from MH i2c: E2 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 0E 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 0E 00 FC 1F 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2F [19:35:30]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:35:30]wFMCommunicate OK [19:35:30]SAM_PROTO_GetShiftState done [19:35:30]FM_GetShiftState done [19:35:30]req_shift_opened done [19:35:30]requested_item shift.open_date is exist - process it [19:35:30]req_shift_open_date [19:35:30]req_shift_open_date done [19:35:30]requested_item shift.sale.total is exist - process it [19:35:30]SAM_PROTO_GetShiftData [19:35:30]wFMCommunicate request_size=4 [19:35:30]MH_SAM_APDU [19:35:30]CAPDU: 80 13 02 00 [19:35:30]Write to MH i2c: E2 08 00 FD 1F 80 13 02 00 00 00 00 00 9A [19:35:30]Write i2c OK [19:35:30]MH_I2C_Read... [19:35:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:35:30]Read from MH i2c: E2 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 FD 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 FD 00 FD 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 D4 CC 18 70 04 03 00 24 F3 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2F A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 BA [19:35:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 D4 CC 18 70 04 03 00 24 F3 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2F A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:35:30]wFMCommunicate OK [19:35:30]wFMCommunicate request_size=4 [19:35:30]MH_SAM_APDU [19:35:30]CAPDU: 80 17 00 00 [19:35:30]Write to MH i2c: E2 08 00 FE 1F 80 17 00 00 00 00 00 00 9D [19:35:30]Write i2c OK [19:35:30]MH_I2C_Read... [19:35:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:30]Read from MH i2c: E2 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 FD 00 [19:35:30]MH_I2C_Read... [19:35:30]Read from MH i2c: E2 FD 00 FE 1F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BF [19:35:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [19:35:31]wFMCommunicate OK [19:35:31]wFMCommunicate request_size=4 [19:35:31]MH_SAM_APDU [19:35:31]CAPDU: 80 17 00 00 [19:35:31]Write to MH i2c: E2 08 00 FF 1F 80 17 00 00 00 00 00 00 9E [19:35:31]Write i2c OK [19:35:31]MH_I2C_Read... [19:35:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:31]Read from MH i2c: E2 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 FD 00 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 FD 00 FF 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 55 [19:35:31]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:35:31]wFMCommunicate OK [19:35:31]wFMCommunicate request_size=4 [19:35:31]MH_SAM_APDU [19:35:31]CAPDU: 80 17 00 00 [19:35:31]Write to MH i2c: E2 08 00 00 20 80 17 00 00 00 00 00 00 A0 [19:35:31]Write i2c OK [19:35:31]MH_I2C_Read... [19:35:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:35:31]Read from MH i2c: E2 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 FD 00 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 FD 00 00 20 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 12 [19:35:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:35:31]wFMCommunicate OK [19:35:31]wFMCommunicate request_size=4 [19:35:31]MH_SAM_APDU [19:35:31]CAPDU: 80 17 00 00 [19:35:31]Write to MH i2c: E2 08 00 01 20 80 17 00 00 00 00 00 00 A1 [19:35:31]Write i2c OK [19:35:31]MH_I2C_Read... [19:35:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:35:31]Read from MH i2c: E2 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 CB 00 [19:35:31]MH_I2C_Read... [19:35:31]Read from MH i2c: E2 CB 00 01 20 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [19:35:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:35:31]wFMCommunicate OK [19:35:31]SAM_PROTO_GetShiftData done [19:35:31]requested_item shift.sale.total_cash is exist - process it [19:35:31]requested_item shift.sale_refund.total is exist - process it [19:35:31]requested_item shift.sale_refund.total_cash is exist - process it [19:35:31]produce_requested_data done [19:35:31]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43052,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16253.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [19:35:31]process_action_free close_receipt [19:35:31]json_value_free [19:35:31]json_value_free done [19:35:31]process_json_proto returns [19:35:31]Send response to host [19:35:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43052,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16253.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [19:35:31]free response buf [19:35:31]execute_script done [19:35:31]execute_script returns [19:35:31]free content buf [19:35:31]Sock 7.Close socket [19:35:31]Sock 7.Thread stoped [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:00]accept exits with 9 [19:41:00]New connection [19:41:00]New thread 3067387236 created [19:41:00]Thread 3067530596 joined [19:41:00]Waiting for new connection... [19:41:00] Sock 9.Parse request [19:41:00]Sock 9.Check first char [19:41:00]Sock 9.First char is OK [19:41:00]request: POST /json_proto HTTP/1.0 [19:41:00]Method: POST [19:41:00]URL: /json_proto [19:41:00]Method is POST - this is cgi request [19:41:00]url: /json_proto [19:41:00]query_string will be loaded in cgi processing [19:41:00]execute_cgi json_proto POST (null) [19:41:00]execute_cgi path=json_proto method=POST [19:41:00]POST find Content-Length [19:41:00]Host: 172.17.38.197:8080 [19:41:00]Content-Length: 215 [19:41:00]Content-Type: application/json [19:41:00] [19:41:00]POST finish read [19:41:00]Found Content-Length = 215 [19:41:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:00]execute_script... [19:41:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:00]POST & json_proto [19:41:00]process_json_proto [19:41:00]json parsed OK: [19:41:00]protocol is kg_v1.0 [19:41:00]action value=get_value [19:41:00]process_action get_value [19:41:00]cmd_get_value [19:41:00]process_action get_value done [19:41:00]requested_data is exist [19:41:00]produce_requested_data [19:41:00]requested_item kkm.sn is exist - process it [19:41:00]requested_item kkm.ver is exist - process it [19:41:00]requested_item fm.sn is exist - process it [19:41:00]wFMCommunicate request_size=4 [19:41:00]MH_SAM_APDU [19:41:00]CAPDU: 80 11 00 00 [19:41:00]Write to MH i2c: E2 08 00 02 20 80 11 00 00 00 00 00 00 9C [19:41:00]Write i2c OK [19:41:00]MH_I2C_Read... [19:41:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:41:00]Read from MH i2c: E2 [19:41:00]MH_I2C_Read... [19:41:00]Read from MH i2c: E2 17 00 [19:41:00]MH_I2C_Read... [19:41:00]Read from MH i2c: E2 17 00 02 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F3 [19:41:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:41:00]wFMCommunicate OK [19:41:00]requested_item fd.num is exist - process it [19:41:00]SAM_PROTO_GetFieldsCounters [19:41:00]wFMCommunicate request_size=4 [19:41:00]MH_SAM_APDU [19:41:00]CAPDU: 80 13 00 00 [19:41:00]Write to MH i2c: E2 08 00 03 20 80 13 00 00 00 00 00 00 9F [19:41:00]Write i2c OK [19:41:00]MH_I2C_Read... [19:41:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:41:00]Read from MH i2c: E2 [19:41:00]MH_I2C_Read... [19:41:00]Read from MH i2c: E2 62 00 [19:41:00]MH_I2C_Read... [19:41:00]Read from MH i2c: E2 62 00 03 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2C A8 00 00 0E 04 04 00 BD 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 78 [19:41:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2C A8 00 00 0E 04 04 00 BD 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 [19:41:00]wFMCommunicate OK [19:41:00]SAM_PROTO_GetFieldsCounters done [19:41:00]requested_item shift.num is exist - process it [19:41:00]requested_item shift.opened is exist - process it [19:41:00]req_shift_opened [19:41:00]FM_GetShiftState [19:41:00]SAM_PROTO_GetShiftState [19:41:00]wFMCommunicate request_size=4 [19:41:00]MH_SAM_APDU [19:41:00]CAPDU: 80 13 01 00 [19:41:00]Write to MH i2c: E2 08 00 04 20 80 13 01 00 00 00 00 00 A1 [19:41:00]Write i2c OK [19:41:00]MH_I2C_Read... [19:41:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:01]Read from MH i2c: E2 [19:41:01]MH_I2C_Read... [19:41:01]Read from MH i2c: E2 0E 00 [19:41:01]MH_I2C_Read... [19:41:01]Read from MH i2c: E2 0E 00 04 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 38 [19:41:01]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:41:01]wFMCommunicate OK [19:41:01]SAM_PROTO_GetShiftState done [19:41:01]FM_GetShiftState done [19:41:01]req_shift_opened done [19:41:01]requested_item shift.open_date is exist - process it [19:41:01]req_shift_open_date [19:41:01]req_shift_open_date done [19:41:01]produce_requested_data done [19:41:01]produce_requested_data return {"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43052,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646} [19:41:01]process_action_free get_value [19:41:01]json_value_free [19:41:01]json_value_free done [19:41:01]process_json_proto returns [19:41:01]Send response to host [19:41:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43052,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646}}} [19:41:01]free response buf [19:41:01]execute_script done [19:41:01]execute_script returns [19:41:01]free content buf [19:41:01]Sock 9.Close socket [19:41:01]Sock 9.Thread stoped [19:41:01]accept exits with 7 [19:41:01]New connection [19:41:01]New thread 3067530596 created [19:41:01]Thread 3067387236 joined [19:41:01]Waiting for new connection... [19:41:01] Sock 7.Parse request [19:41:01]Sock 7.Check first char [19:41:01]Sock 7.First char is OK [19:41:01]request: POST /json_proto HTTP/1.0 [19:41:01]Method: POST [19:41:01]URL: /json_proto [19:41:01]Method is POST - this is cgi request [19:41:01]url: /json_proto [19:41:01]query_string will be loaded in cgi processing [19:41:01]execute_cgi json_proto POST (null) [19:41:01]execute_cgi path=json_proto method=POST [19:41:01]POST find Content-Length [19:41:01]Host: 172.17.38.197:8080 [19:41:01]Content-Length: 331 [19:41:01]Content-Type: application/json [19:41:01] [19:41:01]POST finish read [19:41:01]Found Content-Length = 331 [19:41: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" ] } } [19:41:01]execute_script... [19:41: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" ] } } [19:41:01]POST & json_proto [19:41:01]process_json_proto [19:41:01]json parsed OK: [19:41:01]protocol is kg_v1.0 [19:41:01]action value=get_value [19:41:01]process_action get_value [19:41:01]cmd_get_value [19:41:01]process_action get_value done [19:41:01]requested_data is exist [19:41:01]produce_requested_data [19:41:01]requested_item fm.sale.total is exist - process it [19:41:01]SAM_PROTO_GetFMData [19:41:01]wFMCommunicate request_size=4 [19:41:01]MH_SAM_APDU [19:41:01]CAPDU: 80 13 03 00 [19:41:01]Write to MH i2c: E2 08 00 05 20 80 13 03 00 00 00 00 00 A4 [19:41:01]Write i2c OK [19:41:01]MH_I2C_Read... [19:41:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:41:01]Read from MH i2c: E2 [19:41:01]MH_I2C_Read... [19:41:01]Read from MH i2c: E2 FD 00 [19:41:01]MH_I2C_Read... [19:41:01]Read from MH i2c: E2 FD 00 05 20 00 BF 04 85 04 BB 04 6E 04 04 00 B1 A4 00 00 69 04 A0 00 6F 04 04 00 82 A4 00 00 B1 04 04 00 42 98 23 46 70 04 04 00 91 88 5A 42 72 04 04 00 B1 0F C9 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 46 F9 72 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 76 DC 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 29 [19:41:01]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 B1 A4 00 00 69 04 A0 00 6F 04 04 00 82 A4 00 00 B1 04 04 00 42 98 23 46 70 04 04 00 91 88 5A 42 72 04 04 00 B1 0F C9 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 46 F9 72 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 76 DC 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [19:41:01]wFMCommunicate OK [19:41:01]wFMCommunicate request_size=4 [19:41:01]MH_SAM_APDU [19:41:01]CAPDU: 80 17 00 00 [19:41:01]Write to MH i2c: E2 08 00 06 20 80 17 00 00 00 00 00 00 A6 [19:41:01]Write i2c OK [19:41:01]MH_I2C_Read... [19:41:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:02]Read from MH i2c: E2 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 06 20 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 DD [19:41:02]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [19:41:02]wFMCommunicate OK [19:41:02]wFMCommunicate request_size=4 [19:41:02]MH_SAM_APDU [19:41:02]CAPDU: 80 17 00 00 [19:41:02]Write to MH i2c: E2 08 00 07 20 80 17 00 00 00 00 00 00 A7 [19:41:02]Write i2c OK [19:41:02]MH_I2C_Read... [19:41:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:02]Read from MH i2c: E2 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 07 20 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4B [19:41:02]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [19:41:02]wFMCommunicate OK [19:41:02]wFMCommunicate request_size=4 [19:41:02]MH_SAM_APDU [19:41:02]CAPDU: 80 17 00 00 [19:41:02]Write to MH i2c: E2 08 00 08 20 80 17 00 00 00 00 00 00 A8 [19:41:02]Write i2c OK [19:41:02]MH_I2C_Read... [19:41:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:02]Read from MH i2c: E2 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 FD 00 08 20 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 90 00 22 [19:41:02]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [19:41:02]wFMCommunicate OK [19:41:02]wFMCommunicate request_size=4 [19:41:02]MH_SAM_APDU [19:41:02]CAPDU: 80 17 00 00 [19:41:02]Write to MH i2c: E2 08 00 09 20 80 17 00 00 00 00 00 00 A9 [19:41:02]Write i2c OK [19:41:02]MH_I2C_Read... [19:41:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [19:41:02]Read from MH i2c: E2 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 DC 00 [19:41:02]MH_I2C_Read... [19:41:02]Read from MH i2c: E2 DC 00 09 20 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [19:41:02]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:41:02]wFMCommunicate OK [19:41:02]SAM_PROTO_GetFMData done [19:41:02]requested_item fm.sale_refund.total is exist - process it [19:41:02]requested_item fm.buy.total is exist - process it [19:41:02]requested_item shift.sale.total is exist - process it [19:41:02]SAM_PROTO_GetShiftData [19:41:02]wFMCommunicate request_size=4 [19:41:02]MH_SAM_APDU [19:41:02]CAPDU: 80 13 02 00 [19:41:02]Write to MH i2c: E2 08 00 0A 20 80 13 02 00 00 00 00 00 A8 [19:41:02]Write i2c OK [19:41:02]MH_I2C_Read... [19:41:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:41:03]Read from MH i2c: E2 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 0A 20 00 AE 04 AA 04 AA 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 D4 CC 18 70 04 03 00 24 F3 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2F A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C8 [19:41:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 D4 CC 18 70 04 03 00 24 F3 15 72 04 03 00 B0 D9 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2F A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:41:03]wFMCommunicate OK [19:41:03]wFMCommunicate request_size=4 [19:41:03]MH_SAM_APDU [19:41:03]CAPDU: 80 17 00 00 [19:41:03]Write to MH i2c: E2 08 00 0B 20 80 17 00 00 00 00 00 00 AB [19:41:03]Write i2c OK [19:41:03]MH_I2C_Read... [19:41:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:03]Read from MH i2c: E2 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 0B 20 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 CD [19:41:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [19:41:03]wFMCommunicate OK [19:41:03]wFMCommunicate request_size=4 [19:41:03]MH_SAM_APDU [19:41:03]CAPDU: 80 17 00 00 [19:41:03]Write to MH i2c: E2 08 00 0C 20 80 17 00 00 00 00 00 00 AC [19:41:03]Write i2c OK [19:41:03]MH_I2C_Read... [19:41:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:03]Read from MH i2c: E2 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 [19:41:03]MH_I2C_Read... [19:41:03]Read from MH i2c: E2 FD 00 0C 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 63 [19:41:03]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:41:03]wFMCommunicate OK [19:41:03]wFMCommunicate request_size=4 [19:41:03]MH_SAM_APDU [19:41:03]CAPDU: 80 17 00 00 [19:41:03]Write to MH i2c: E2 08 00 0D 20 80 17 00 00 00 00 00 00 AD [19:41:03]Write i2c OK [19:41:03]MH_I2C_Read... [19:41:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:41:04]Read from MH i2c: E2 [19:41:04]MH_I2C_Read... [19:41:04]Read from MH i2c: E2 FD 00 [19:41:04]MH_I2C_Read... [19:41:04]Read from MH i2c: E2 FD 00 0D 20 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1F [19:41:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:41:04]wFMCommunicate OK [19:41:04]wFMCommunicate request_size=4 [19:41:04]MH_SAM_APDU [19:41:04]CAPDU: 80 17 00 00 [19:41:04]Write to MH i2c: E2 08 00 0E 20 80 17 00 00 00 00 00 00 AE [19:41:04]Write i2c OK [19:41:04]MH_I2C_Read... [19:41:04]OFD Sender: No OFD packet to send [19:41:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:41:04]Read from MH i2c: E2 [19:41:04]MH_I2C_Read... [19:41:04]Read from MH i2c: E2 CB 00 [19:41:04]MH_I2C_Read... [19:41:04]Read from MH i2c: E2 CB 00 0E 20 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 97 [19:41:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:41:04]wFMCommunicate OK [19:41:04]SAM_PROTO_GetShiftData done [19:41:04]requested_item shift.sale.total_cash is exist - process it [19:41:04]requested_item shift.sale_refund.total is exist - process it [19:41:04]requested_item shift.sale_refund.total_cash is exist - process it [19:41:04]requested_item shift.buy.total is exist - process it [19:41:04]requested_item shift.buy.total_cash is exist - process it [19:41:04]produce_requested_data done [19:41:04]produce_requested_data return {"fm.sale.total":11767378.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":16253.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [19:41:04]process_action_free get_value [19:41:04]json_value_free [19:41:04]json_value_free done [19:41:04]process_json_proto returns [19:41:04]Send response to host [19:41:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11767378.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":16253.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [19:41:04]free response buf [19:41:04]execute_script done [19:41:04]execute_script returns [19:41:04]free content buf [19:41:04]Sock 7.Close socket [19:41:04]Sock 7.Thread stoped [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:21]accept exits with 9 [19:58:21]New connection [19:58:21]New thread 3067387236 created [19:58:21]Thread 3067530596 joined [19:58:21]Waiting for new connection... [19:58:21] Sock 9.Parse request [19:58:21]Sock 9.Check first char [19:58:21]Sock 9.First char is OK [19:58:21]request: POST /json_proto HTTP/1.0 [19:58:21]Method: POST [19:58:21]URL: /json_proto [19:58:21]Method is POST - this is cgi request [19:58:21]url: /json_proto [19:58:21]query_string will be loaded in cgi processing [19:58:21]execute_cgi json_proto POST (null) [19:58:21]execute_cgi path=json_proto method=POST [19:58:21]POST find Content-Length [19:58:21]Host: 172.17.38.197:8080 [19:58:21]Content-Length: 1011 [19:58:21]Content-Type: application/json [19:58:21] [19:58:21]POST finish read [19:58:21]Found Content-Length = 1011 [19:58:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300181", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:58:21]execute_script... [19:58:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300181", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:58:21]POST & json_proto [19:58:21]process_json_proto [19:58:21]json parsed OK: [19:58:21]protocol is kg_v1.0 [19:58:21]action value=close_receipt [19:58:21]process_action close_receipt [19:58:21]cmd_close_receipt [19:58:21]MH_GetDate [19:58:21]Write to MH i2c: F0 00 00 0F 20 1E [19:58:21]Write i2c OK [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 09 00 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 09 00 0F 20 00 62 DC 92 66 1E 0D 88 66 76 [19:58:21]GetLastDocTimeStamp 1720899331 [19:58:21]current date 1720900706 [19:58:21]FM_GetShiftState [19:58:21]SAM_PROTO_GetShiftState [19:58:21]wFMCommunicate request_size=4 [19:58:21]MH_SAM_APDU [19:58:21]CAPDU: 80 13 01 00 [19:58:21]Write to MH i2c: E2 08 00 10 20 80 13 01 00 00 00 00 00 AD [19:58:21]Write i2c OK [19:58:21]MH_I2C_Read... [19:58:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:21]Read from MH i2c: E2 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: E2 0E 00 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: E2 0E 00 10 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 44 [19:58:21]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:58:21]wFMCommunicate OK [19:58:21]SAM_PROTO_GetShiftState done [19:58:21]FM_GetShiftState done [19:58:21]opened in 1720829646 [19:58:21]opened+sec_in_day 1720916046 [19:58:21]quantity*price = 10700 [19:58:21]sum+1 = 10701 [19:58:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 0.00 Безнал.: 107.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 98 13.07.2024 19:58 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43053 ФПД: 186870603141003 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T195826&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43053&fm=186870603141003&tin=02508201610067®Number=0000000000091176&sum=10700 0 [19:58:22]StoreToDocumentArchive [19:58:22]shift 445 fd 43053 [19:58:22]save to /storage/0445/doc_00043053 [19:58:22]save last doc name /storage/0445/doc_00043053 to /storage/kkm_last_doc_name [19:58:22]save OK [19:58:22]Clear old archive folders... [19:58:22]ProcessDocumentItem done err = 0, tmpTLVsize=298 [19:58:22]tlvbuf is 015F5E10 [19:58:22]SAM_PROTO_ClearQueue [19:58:22]wFMCommunicate request_size=4 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 09 00 00 [19:58:22]Write to MH i2c: E2 08 00 1D 20 80 09 00 00 00 00 00 00 AF [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 1D 20 00 90 00 B1 [19:58:22]RAPDU: 90 00 [19:58:22]wFMCommunicate OK [19:58:22]SAM_PROTO_ClearQueue done [19:58:22]KKMCreateOFDPacket [19:58:22]OFDProtocolAddRootSTLVToBuf [19:58:22]FM_MakeSignedData [19:58:22]FM_MakeSignedData [19:58:22]SAM_PROTO_SignData [19:58:22]wFMCommunicate request_size=4 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 0D 01 02 [19:58:22]Write to MH i2c: E2 08 00 1E 20 80 0D 01 02 00 00 00 00 B7 [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 1E 20 00 90 00 B2 [19:58:22]RAPDU: 90 00 [19:58:22]wFMCommunicate OK [19:58:22]wFMCommunicate request_size=255 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 62 DC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [19:58:22]Write to MH i2c: E2 02 01 1F 20 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 62 DC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 12 [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 1F 20 00 90 00 B3 [19:58:22]RAPDU: 90 00 [19:58:22]wFMCommunicate OK [19:58:22]wFMCommunicate request_size=57 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2D A8 00 00 35 04 06 00 A9 F5 33 EB 4F 8B [19:58:22]Write to MH i2c: E2 3C 00 20 20 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2D A8 00 00 35 04 06 00 A9 F5 33 EB 4F 8B 00 00 E5 [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 03 00 20 20 00 90 00 B4 [19:58:22]RAPDU: 90 00 [19:58:22]wFMCommunicate OK [19:58:22]wFMCommunicate request_size=4 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 0D 03 02 [19:58:22]Write to MH i2c: E2 08 00 21 20 80 0D 03 02 00 00 00 00 BC [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 0B 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 0B 00 21 20 00 A0 29 F6 10 0D 17 64 D0 90 00 E4 [19:58:22]RAPDU: A0 29 F6 10 0D 17 64 D0 90 00 [19:58:22]wFMCommunicate OK [19:58:22]SAM_PROTO_SignData done [19:58:22]FM_MakeSignedData done [19:58:22]CreateOFDProtocolMessage [19:58:22]wFMCommunicate request_size=4 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 11 00 00 [19:58:22]Write to MH i2c: E2 08 00 22 20 80 11 00 00 00 00 00 00 BC [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:22]Read from MH i2c: E2 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 17 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: E2 17 00 22 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 13 [19:58:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:58:22]wFMCommunicate OK [19:58:22]CreateOFDProtocolMessage done [19:58:22]OFDSenderStorePacket 43053 [19:58:22]StoreOFDPacket docnum=43053 [19:58:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3E 01 00 00 90 00 36 01 75 F4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 62 DC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2D A8 00 00 35 04 06 00 A9 F5 33 EB 4F 8B A0 29 F6 10 0D 17 64 D0 [19:58:22]CheckFolder [19:58:22]dirname=/storage/ofd_packets [19:58:22]CheckFolder done [19:58:22]ProducePacketName [19:58:22]name=ofd_packets/00043053 [19:58:22]NVStorageSaveData ofd_packets/00043053 [19:58:22]File name is /storage/ofd_packets/00043053 [19:58:22]Write 348 bytes [19:58:22]NVStorageSaveData done [19:58:22]OFDSenderStorePacket done [19:58:22]KKMCreateOFDPacket done [19:58:22]NVStorageSaveData kkm_last_timestamp [19:58:22]File name is /storage/kkm_last_timestamp [19:58:22]Write 4 bytes [19:58:22]NVStorageSaveData done [19:58:22]OFD Sender: Processing packet 43053 [packets to send 31, broken 30] [19:58:22]ProducePacketName [19:58:22]name=ofd_packets/00043053 [19:58:22]OFD Sender: To server: pG, [19:58:22]CommunicateWithHost lk.salyk.kg:30040 [19:58:22]ConnectInit lk.salyk.kg [19:58:22]ExternCall_PrintAddStr [19:58:22]wPrintStart [19:58:22]Write to MH i2c: 01 00 00 23 20 43 [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: 01 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: 01 07 00 [19:58:22]MH_I2C_Read... [19:58:22]Read from MH i2c: 01 07 00 23 20 00 00 00 00 00 FF 0F 58 [19:58:22]RasterBufferAndPrint [19:58:22]line Счет N : (3)300181 [19:58:22]line ИНН: 02508201610067 [19:58:22]line Контрольно-Кассовый Чек [19:58:22]line ПРОДАЖА [19:58:22]line Товар: 5449000189356 [19:58:22]line Холодный чай Fuse манго ананас 1л [19:58:22]line 1.000 * 107.00 [19:58:22]line = 107.00 [19:58:22]line НДС 12% НСП 1% [19:58:22]line > о реализуемом товаре [19:58:22]line ИТОГО: 107.00 [19:58:22]line НСП 1% : 0.95 [19:58:22]line НДС 12% : 11.36 [19:58:22]line Наличными: 0.00 [19:58:22]line Безнал.: 107.00 [19:58:22]line Место: АЗС № 71 "Партнер Нефть" [19:58:22]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [19:58:22]line СНО: Общий режим [19:58:22]line Чек 98 13.07.2024 19:58 [19:58:22]line Смена: 445 ФФД: 1.0 [19:58:22]line ЗНМ: 0300000153 [19:58:22]line РНМ: 0000000000091176 [19:58:22]line Версия ККМ: 001 [19:58:22]line Платежная система: АКБ Кыргызстан [19:58:22]line ФМ: 0000000000874935 [19:58:23]line ФД: 43053 [19:58:23]line ФПД: 186870603141003 [19:58:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T195826&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43053&fm=186870603141003&tin=02508201610067®Number=0000000000091176&sum=10700 [19:58:23]line 0 [19:58:23]Connected sock=11 [19:58:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 3E 01 00 00 90 00 36 01 75 F4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 62 DC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2D A8 00 00 35 04 06 00 A9 F5 33 EB 4F 8B A0 29 F6 10 0D 17 64 D0 [19:58:23]written 0, free lines is 4095 [19:58:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A4 3C 47 00 A5 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2D A8 00 00 F4 03 04 00 5B 88 92 66 B6 04 01 00 00 9D D7 EB CA 72 38 46 26 [19:58:23]CommunicateWithHost err = 0 [19:58:23]CheckOFDResponse [19:58:23]1017 (14) - 77093643461234 [19:58:23]1041 (16) - 0000000000874935 [19:58:23]1040 (4) - 43053 [19:58:23]1012 (4) - 13.07.2024 13:59 [19:58:23]1206 (1) - 0 [19:58:23]OFD Sender: Remove packet 43053 [19:58:23]ProducePacketName [19:58:23]name=ofd_packets/00043053 [19:58:23]NVStorageDeleteData [19:58:23]Write to MH i2c: 01 00 00 4E 20 6E [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 07 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 07 00 4E 20 00 00 00 00 00 CD 0C 4E [19:58:23]RasterBufferAndPrint [19:58:23]line [19:58:23]line [19:58:23]line [19:58:23]line [19:58:23]line [19:58:23]written 0, free lines is 3286 [19:58:23]MH_Cut [19:58:23]Write to MH i2c: D1 01 00 55 20 01 47 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: D1 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: D1 01 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: D1 01 00 55 20 00 46 [19:58:23]Write to MH i2c: 01 00 00 56 20 76 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]OFD Sender: No OFD packet to send [19:58:24]*** Cut start [19:58:24]*** Partial cut [19:58:24]*** CUTSNS_PIN = 1 [19:58:24]*** CUTSNS_PIN = 0 [19:58:24]*** Brake cut motor [19:58:24]Read from MH i2c: 01 [19:58:25]MH_I2C_Read... [19:58:25]*** Stop cut motor [19:58:25]*** Cut end [19:58:25]Read from MH i2c: 01 07 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: 01 07 00 56 20 00 00 00 00 00 FF 0F 8B [19:58:25]process_action close_receipt done [19:58:25]requested_data is exist [19:58:25]produce_requested_data [19:58:25]requested_item fm.sn is exist - process it [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 11 00 00 [19:58:25]Write to MH i2c: E2 08 00 57 20 80 11 00 00 00 00 00 00 F1 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 17 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 17 00 57 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 48 [19:58:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [19:58:25]wFMCommunicate OK [19:58:25]requested_item fd.num is exist - process it [19:58:25]SAM_PROTO_GetFieldsCounters [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 13 00 00 [19:58:25]Write to MH i2c: E2 08 00 58 20 80 13 00 00 00 00 00 00 F4 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 62 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 62 00 58 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2D A8 00 00 0E 04 04 00 BD 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 D1 [19:58:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2D A8 00 00 0E 04 04 00 BD 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 [19:58:25]wFMCommunicate OK [19:58:25]SAM_PROTO_GetFieldsCounters done [19:58:25]requested_item shift.num is exist - process it [19:58:25]requested_item shift.opened is exist - process it [19:58:25]req_shift_opened [19:58:25]FM_GetShiftState [19:58:25]SAM_PROTO_GetShiftState [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 13 01 00 [19:58:25]Write to MH i2c: E2 08 00 59 20 80 13 01 00 00 00 00 00 F6 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 0E 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 0E 00 59 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8D [19:58:25]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [19:58:25]wFMCommunicate OK [19:58:25]SAM_PROTO_GetShiftState done [19:58:25]FM_GetShiftState done [19:58:25]req_shift_opened done [19:58:25]requested_item shift.open_date is exist - process it [19:58:25]req_shift_open_date [19:58:25]req_shift_open_date done [19:58:25]requested_item shift.sale.total is exist - process it [19:58:25]SAM_PROTO_GetShiftData [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 13 02 00 [19:58:25]Write to MH i2c: E2 08 00 5A 20 80 13 02 00 00 00 00 00 F8 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 FD 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 FD 00 5A 20 00 AE 04 AA 04 AA 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 A0 F6 18 70 04 03 00 24 F3 15 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F A6 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 82 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DA [19:58:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 A0 F6 18 70 04 03 00 24 F3 15 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9F A6 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 82 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:58:25]wFMCommunicate OK [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 17 00 00 [19:58:25]Write to MH i2c: E2 08 00 5B 20 80 17 00 00 00 00 00 00 FB [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 FD 00 [19:58:25]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 FD 00 5B 20 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1D [19:58:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [19:58:26]wFMCommunicate OK [19:58:26]wFMCommunicate request_size=4 [19:58:26]MH_SAM_APDU [19:58:26]CAPDU: 80 17 00 00 [19:58:26]Write to MH i2c: E2 08 00 5C 20 80 17 00 00 00 00 00 00 FC [19:58:26]Write i2c OK [19:58:26]MH_I2C_Read... [19:58:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:58:26]Read from MH i2c: E2 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 FD 00 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 FD 00 5C 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B3 [19:58:26]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:58:26]wFMCommunicate OK [19:58:26]wFMCommunicate request_size=4 [19:58:26]MH_SAM_APDU [19:58:26]CAPDU: 80 17 00 00 [19:58:26]Write to MH i2c: E2 08 00 5D 20 80 17 00 00 00 00 00 00 FD [19:58:26]Write i2c OK [19:58:26]MH_I2C_Read... [19:58:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:58:26]Read from MH i2c: E2 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 FD 00 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 FD 00 5D 20 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6F [19:58:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:58:26]wFMCommunicate OK [19:58:26]wFMCommunicate request_size=4 [19:58:26]MH_SAM_APDU [19:58:26]CAPDU: 80 17 00 00 [19:58:26]Write to MH i2c: E2 08 00 5E 20 80 17 00 00 00 00 00 00 FE [19:58:26]Write i2c OK [19:58:26]MH_I2C_Read... [19:58:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:58:26]Read from MH i2c: E2 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 CB 00 [19:58:26]MH_I2C_Read... [19:58:26]Read from MH i2c: E2 CB 00 5E 20 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E7 [19:58:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:58:26]wFMCommunicate OK [19:58:26]SAM_PROTO_GetShiftData done [19:58:26]requested_item shift.sale.total_cash is exist - process it [19:58:26]requested_item shift.sale_refund.total is exist - process it [19:58:26]requested_item shift.sale_refund.total_cash is exist - process it [19:58:26]produce_requested_data done [19:58:26]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43053,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16360.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [19:58:26]process_action_free close_receipt [19:58:26]json_value_free [19:58:26]json_value_free done [19:58:26]process_json_proto returns [19:58:26]Send response to host [19:58:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43053,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16360.00,"shift.sale.total_cash":14385.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [19:58:26]free response buf [19:58:26]execute_script done [19:58:26]execute_script returns [19:58:26]free content buf [19:58:26]Sock 9.Close socket [19:58:26]Sock 9.Thread stoped [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:02]accept exits with 7 [20:51:02]New connection [20:51:02]New thread 3067530596 created [20:51:02]Thread 3067387236 joined [20:51:02]Waiting for new connection... [20:51:02] Sock 7.Parse request [20:51:02]Sock 7.Check first char [20:51:02]Sock 7.First char is OK [20:51:02]request: POST /json_proto HTTP/1.0 [20:51:02]Method: POST [20:51:02]URL: /json_proto [20:51:02]Method is POST - this is cgi request [20:51:02]url: /json_proto [20:51:02]query_string will be loaded in cgi processing [20:51:02]execute_cgi json_proto POST (null) [20:51:02]execute_cgi path=json_proto method=POST [20:51:02]POST find Content-Length [20:51:02]Host: 172.17.38.197:8080 [20:51:02]Content-Length: 799 [20:51:02]Content-Type: application/json [20:51:02] [20:51:02]POST finish read [20:51:02]Found Content-Length = 799 [20:51:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300182", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:51:02]execute_script... [20:51:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300182", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:51:02]POST & json_proto [20:51:02]process_json_proto [20:51:02]json parsed OK: [20:51:02]protocol is kg_v1.0 [20:51:02]action value=close_receipt [20:51:02]process_action close_receipt [20:51:02]cmd_close_receipt [20:51:02]MH_GetDate [20:51:02]Write to MH i2c: F0 00 00 5F 20 6E [20:51:02]Write i2c OK [20:51:02]MH_I2C_Read... [20:51:02]Read from MH i2c: F0 [20:51:02]MH_I2C_Read... [20:51:02]Read from MH i2c: F0 09 00 [20:51:02]MH_I2C_Read... [20:51:02]Read from MH i2c: F0 09 00 5F 20 00 BC E8 92 66 1E 0D 88 66 2C [20:51:02]GetLastDocTimeStamp 1720900706 [20:51:02]current date 1720903868 [20:51:02]FM_GetShiftState [20:51:02]SAM_PROTO_GetShiftState [20:51:02]wFMCommunicate request_size=4 [20:51:02]MH_SAM_APDU [20:51:02]CAPDU: 80 13 01 00 [20:51:02]Write to MH i2c: E2 08 00 60 20 80 13 01 00 00 00 00 00 FD [20:51:02]Write i2c OK [20:51:02]MH_I2C_Read... [20:51:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:02]Read from MH i2c: E2 [20:51:02]MH_I2C_Read... [20:51:02]Read from MH i2c: E2 0E 00 [20:51:02]MH_I2C_Read... [20:51:02]Read from MH i2c: E2 0E 00 60 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 94 [20:51:02]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:51:02]wFMCommunicate OK [20:51:02]SAM_PROTO_GetShiftState done [20:51:02]FM_GetShiftState done [20:51:02]opened in 1720829646 [20:51:02]opened+sec_in_day 1720916046 [20:51:02]quantity*price = 9500 [20:51:02]sum+1 = 9501 [20:51:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 99 13.07.2024 20:51 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43054 ФПД: 129045549873784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205108&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43054&fm=129045549873784&tin=02508201610067®Number=0000000000091176&sum=9500 0 [20:51:03]StoreToDocumentArchive [20:51:03]shift 445 fd 43054 [20:51:03]save to /storage/0445/doc_00043054 [20:51:03]save last doc name /storage/0445/doc_00043054 to /storage/kkm_last_doc_name [20:51:03]save OK [20:51:03]Clear old archive folders... [20:51:03]ProcessDocumentItem done err = 0, tmpTLVsize=302 [20:51:03]tlvbuf is 015F64B0 [20:51:03]SAM_PROTO_ClearQueue [20:51:03]wFMCommunicate request_size=4 [20:51:03]MH_SAM_APDU [20:51:03]CAPDU: 80 09 00 00 [20:51:03]Write to MH i2c: E2 08 00 6D 20 80 09 00 00 00 00 00 00 FF [20:51:03]Write i2c OK [20:51:03]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 6D 20 00 90 00 01 [20:51:04]RAPDU: 90 00 [20:51:04]wFMCommunicate OK [20:51:04]SAM_PROTO_ClearQueue done [20:51:04]KKMCreateOFDPacket [20:51:04]OFDProtocolAddRootSTLVToBuf [20:51:04]FM_MakeSignedData [20:51:04]FM_MakeSignedData [20:51:04]SAM_PROTO_SignData [20:51:04]wFMCommunicate request_size=4 [20:51:04]MH_SAM_APDU [20:51:04]CAPDU: 80 0D 01 02 [20:51:04]Write to MH i2c: E2 08 00 6E 20 80 0D 01 02 00 00 00 00 07 [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 6E 20 00 90 00 02 [20:51:04]RAPDU: 90 00 [20:51:04]wFMCommunicate OK [20:51:04]wFMCommunicate request_size=255 [20:51:04]MH_SAM_APDU [20:51:04]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 BC E8 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 [20:51:04]Write to MH i2c: E2 02 01 6F 20 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 BC E8 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 00 00 A3 [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 6F 20 00 90 00 03 [20:51:04]RAPDU: 90 00 [20:51:04]wFMCommunicate OK [20:51:04]wFMCommunicate request_size=61 [20:51:04]MH_SAM_APDU [20:51:04]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2E A8 00 00 35 04 06 00 75 5D C2 28 FA 78 [20:51:04]Write to MH i2c: E2 40 00 70 20 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2E A8 00 00 35 04 06 00 75 5D C2 28 FA 78 00 00 46 [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 03 00 70 20 00 90 00 04 [20:51:04]RAPDU: 90 00 [20:51:04]wFMCommunicate OK [20:51:04]wFMCommunicate request_size=4 [20:51:04]MH_SAM_APDU [20:51:04]CAPDU: 80 0D 03 02 [20:51:04]Write to MH i2c: E2 08 00 71 20 80 0D 03 02 00 00 00 00 0C [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 0B 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 0B 00 71 20 00 2D 4E 1A 69 AD 2F 7F BA 90 00 20 [20:51:04]RAPDU: 2D 4E 1A 69 AD 2F 7F BA 90 00 [20:51:04]wFMCommunicate OK [20:51:04]SAM_PROTO_SignData done [20:51:04]FM_MakeSignedData done [20:51:04]CreateOFDProtocolMessage [20:51:04]wFMCommunicate request_size=4 [20:51:04]MH_SAM_APDU [20:51:04]CAPDU: 80 11 00 00 [20:51:04]Write to MH i2c: E2 08 00 72 20 80 11 00 00 00 00 00 00 0C [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:04]Read from MH i2c: E2 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 17 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: E2 17 00 72 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 63 [20:51:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:51:04]wFMCommunicate OK [20:51:04]CreateOFDProtocolMessage done [20:51:04]OFDSenderStorePacket 43054 [20:51:04]StoreOFDPacket docnum=43054 [20:51:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 01 3A 3A 01 E0 BC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 BC E8 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2E A8 00 00 35 04 06 00 75 5D C2 28 FA 78 2D 4E 1A 69 AD 2F 7F BA [20:51:04]CheckFolder [20:51:04]dirname=/storage/ofd_packets [20:51:04]CheckFolder done [20:51:04]ProducePacketName [20:51:04]name=ofd_packets/00043054 [20:51:04]NVStorageSaveData ofd_packets/00043054 [20:51:04]File name is /storage/ofd_packets/00043054 [20:51:04]Write 352 bytes [20:51:04]NVStorageSaveData done [20:51:04]OFDSenderStorePacket done [20:51:04]KKMCreateOFDPacket done [20:51:04]NVStorageSaveData kkm_last_timestamp [20:51:04]File name is /storage/kkm_last_timestamp [20:51:04]Write 4 bytes [20:51:04]NVStorageSaveData done [20:51:04]ExternCall_PrintAddStr [20:51:04]wPrintStart [20:51:04]Write to MH i2c: 01 00 00 73 20 93 [20:51:04]Write i2c OK [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: 01 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: 01 07 00 [20:51:04]MH_I2C_Read... [20:51:04]Read from MH i2c: 01 07 00 73 20 00 00 00 00 00 FF 0F A8 [20:51:04]RasterBufferAndPrint [20:51:04]line Счет N : (3)300182 [20:51:04]line ИНН: 02508201610067 [20:51:04]line Контрольно-Кассовый Чек [20:51:04]line ПРОДАЖА [20:51:04]line Товар: 4631162227163 [20:51:04]line Напиток газированный Mojito LEMON LIME ж [20:51:04]line 1.000 * 95.00 [20:51:04]line = 95.00 [20:51:04]line НДС 12% НСП 1% [20:51:04]line > о реализуемом товаре [20:51:04]line ИТОГО: 95.00 [20:51:04]line НСП 1% : 0.84 [20:51:04]line НДС 12% : 10.09 [20:51:04]line Наличными: 95.00 [20:51:04]line Безнал.: 0.00 [20:51:04]line Место: АЗС № 71 "Партнер Нефть" [20:51:04]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [20:51:04]line СНО: Общий режим [20:51:04]line Чек 99 13.07.2024 20:51 [20:51:04]line Смена: 445 ФФД: 1.0 [20:51:04]line ЗНМ: 0300000153 [20:51:04]line РНМ: 0000000000091176 [20:51:04]line Версия ККМ: 001 [20:51:04]line ФМ: 0000000000874935 [20:51:04]line ФД: 43054 [20:51:04]line ФПД: 129045549873784 [20:51:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205108&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43054&fm=129045549873784&tin=02508201610067®Number=0000000000091176&sum=9500 [20:51:04]line 0 [20:51:04]OFD Sender: Processing packet 43054 [packets to send 31, broken 30] [20:51:04]ProducePacketName [20:51:04]name=ofd_packets/00043054 [20:51:04]OFD Sender: To server: pG, [20:51:04]CommunicateWithHost lk.salyk.kg:30040 [20:51:04]ConnectInit lk.salyk.kg [20:51:04]written 0, free lines is 4095 [20:51:04]Connected sock=10 [20:51:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 01 3A 3A 01 E0 BC 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 BC E8 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2E A8 00 00 35 04 06 00 75 5D C2 28 FA 78 2D 4E 1A 69 AD 2F 7F BA [20:51:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 42 94 47 00 45 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2E A8 00 00 F4 03 04 00 B5 94 92 66 B6 04 01 00 00 4F FC A6 89 D4 2B 0C D2 [20:51:05]CommunicateWithHost err = 0 [20:51:05]CheckOFDResponse [20:51:05]1017 (14) - 77093643461234 [20:51:05]1041 (16) - 0000000000874935 [20:51:05]1040 (4) - 43054 [20:51:05]1012 (4) - 13.07.2024 14:52 [20:51:05]1206 (1) - 0 [20:51:05]OFD Sender: Remove packet 43054 [20:51:05]ProducePacketName [20:51:05]name=ofd_packets/00043054 [20:51:05]NVStorageDeleteData [20:51:05]Write to MH i2c: 01 00 00 9C 20 BC [20:51:05]Write i2c OK [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: 01 [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: 01 07 00 [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: 01 07 00 9C 20 00 00 00 00 00 E7 0C B6 [20:51:05]RasterBufferAndPrint [20:51:05]line [20:51:05]line [20:51:05]line [20:51:05]line [20:51:05]line [20:51:05]written 0, free lines is 3310 [20:51:05]MH_Cut [20:51:05]Write to MH i2c: D1 01 00 A3 20 01 95 [20:51:05]Write i2c OK [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: D1 [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: D1 01 00 [20:51:05]MH_I2C_Read... [20:51:05]Read from MH i2c: D1 01 00 A3 20 00 94 [20:51:05]Write to MH i2c: 01 00 00 A4 20 C4 [20:51:05]Write i2c OK [20:51:05]MH_I2C_Read... [20:51:05]OFD Sender: No OFD packet to send [20:51:06]*** Cut start [20:51:06]*** Partial cut [20:51:06]*** CUTSNS_PIN = 1 [20:51:06]*** CUTSNS_PIN = 0 [20:51:06]*** Brake cut motor [20:51:06]Read from MH i2c: 01 [20:51:06]MH_I2C_Read... [20:51:06]*** Stop cut motor [20:51:06]*** Cut end [20:51:06]Read from MH i2c: 01 07 00 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: 01 07 00 A4 20 00 00 00 00 00 FF 0F D9 [20:51:06]process_action close_receipt done [20:51:06]requested_data is exist [20:51:06]produce_requested_data [20:51:06]requested_item fm.sn is exist - process it [20:51:06]wFMCommunicate request_size=4 [20:51:06]MH_SAM_APDU [20:51:06]CAPDU: 80 11 00 00 [20:51:06]Write to MH i2c: E2 08 00 A5 20 80 11 00 00 00 00 00 00 3F [20:51:06]Write i2c OK [20:51:06]MH_I2C_Read... [20:51:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:06]Read from MH i2c: E2 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 17 00 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 17 00 A5 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 96 [20:51:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:51:06]wFMCommunicate OK [20:51:06]requested_item fd.num is exist - process it [20:51:06]SAM_PROTO_GetFieldsCounters [20:51:06]wFMCommunicate request_size=4 [20:51:06]MH_SAM_APDU [20:51:06]CAPDU: 80 13 00 00 [20:51:06]Write to MH i2c: E2 08 00 A6 20 80 13 00 00 00 00 00 00 42 [20:51:06]Write i2c OK [20:51:06]MH_I2C_Read... [20:51:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:51:06]Read from MH i2c: E2 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 62 00 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 62 00 A6 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2E A8 00 00 0E 04 04 00 BD 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 23 [20:51:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2E A8 00 00 0E 04 04 00 BD 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 [20:51:06]wFMCommunicate OK [20:51:06]SAM_PROTO_GetFieldsCounters done [20:51:06]requested_item shift.num is exist - process it [20:51:06]requested_item shift.opened is exist - process it [20:51:06]req_shift_opened [20:51:06]FM_GetShiftState [20:51:06]SAM_PROTO_GetShiftState [20:51:06]wFMCommunicate request_size=4 [20:51:06]MH_SAM_APDU [20:51:06]CAPDU: 80 13 01 00 [20:51:06]Write to MH i2c: E2 08 00 A7 20 80 13 01 00 00 00 00 00 44 [20:51:06]Write i2c OK [20:51:06]MH_I2C_Read... [20:51:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:06]Read from MH i2c: E2 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 0E 00 [20:51:06]MH_I2C_Read... [20:51:06]Read from MH i2c: E2 0E 00 A7 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 DB [20:51:06]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:51:06]wFMCommunicate OK [20:51:06]SAM_PROTO_GetShiftState done [20:51:06]FM_GetShiftState done [20:51:06]req_shift_opened done [20:51:06]requested_item shift.open_date is exist - process it [20:51:06]req_shift_open_date [20:51:06]req_shift_open_date done [20:51:06]requested_item shift.sale.total is exist - process it [20:51:06]SAM_PROTO_GetShiftData [20:51:06]wFMCommunicate request_size=4 [20:51:06]MH_SAM_APDU [20:51:06]CAPDU: 80 13 02 00 [20:51:06]Write to MH i2c: E2 08 00 A8 20 80 13 02 00 00 00 00 00 46 [20:51:06]Write i2c OK [20:51:06]MH_I2C_Read... [20:51:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:51:07]Read from MH i2c: E2 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 A8 20 00 AE 04 AA 04 AA 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 BC 1B 19 70 04 03 00 40 18 16 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 AA 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D6 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F7 [20:51:07]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 BC 1B 19 70 04 03 00 40 18 16 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 AA 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D6 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [20:51:07]wFMCommunicate OK [20:51:07]wFMCommunicate request_size=4 [20:51:07]MH_SAM_APDU [20:51:07]CAPDU: 80 17 00 00 [20:51:07]Write to MH i2c: E2 08 00 A9 20 80 17 00 00 00 00 00 00 49 [20:51:07]Write i2c OK [20:51:07]MH_I2C_Read... [20:51:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:51:07]Read from MH i2c: E2 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 A9 20 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6B [20:51:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [20:51:07]wFMCommunicate OK [20:51:07]wFMCommunicate request_size=4 [20:51:07]MH_SAM_APDU [20:51:07]CAPDU: 80 17 00 00 [20:51:07]Write to MH i2c: E2 08 00 AA 20 80 17 00 00 00 00 00 00 4A [20:51:07]Write i2c OK [20:51:07]MH_I2C_Read... [20:51:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:51:07]Read from MH i2c: E2 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 [20:51:07]MH_I2C_Read... [20:51:07]Read from MH i2c: E2 FD 00 AA 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 01 [20:51:08]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [20:51:08]wFMCommunicate OK [20:51:08]wFMCommunicate request_size=4 [20:51:08]MH_SAM_APDU [20:51:08]CAPDU: 80 17 00 00 [20:51:08]Write to MH i2c: E2 08 00 AB 20 80 17 00 00 00 00 00 00 4B [20:51:08]Write i2c OK [20:51:08]MH_I2C_Read... [20:51:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:51:08]Read from MH i2c: E2 [20:51:08]MH_I2C_Read... [20:51:08]Read from MH i2c: E2 FD 00 [20:51:08]MH_I2C_Read... [20:51:08]Read from MH i2c: E2 FD 00 AB 20 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BD [20:51:08]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [20:51:08]wFMCommunicate OK [20:51:08]wFMCommunicate request_size=4 [20:51:08]MH_SAM_APDU [20:51:08]CAPDU: 80 17 00 00 [20:51:08]Write to MH i2c: E2 08 00 AC 20 80 17 00 00 00 00 00 00 4C [20:51:08]Write i2c OK [20:51:08]MH_I2C_Read... [20:51:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:51:08]Read from MH i2c: E2 [20:51:08]MH_I2C_Read... [20:51:08]Read from MH i2c: E2 CB 00 [20:51:08]MH_I2C_Read... [20:51:08]Read from MH i2c: E2 CB 00 AC 20 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 35 [20:51:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:51:08]wFMCommunicate OK [20:51:08]SAM_PROTO_GetShiftData done [20:51:08]requested_item shift.sale.total_cash is exist - process it [20:51:08]requested_item shift.sale_refund.total is exist - process it [20:51:08]requested_item shift.sale_refund.total_cash is exist - process it [20:51:08]produce_requested_data done [20:51:08]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43054,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16455.00,"shift.sale.total_cash":14480.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [20:51:08]process_action_free close_receipt [20:51:08]json_value_free [20:51:08]json_value_free done [20:51:08]process_json_proto returns [20:51:08]Send response to host [20:51:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43054,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16455.00,"shift.sale.total_cash":14480.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [20:51:08]free response buf [20:51:08]execute_script done [20:51:08]execute_script returns [20:51:08]free content buf [20:51:08]Sock 7.Close socket [20:51:08]Sock 7.Thread stoped [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:04]accept exits with 9 [20:55:04]New connection [20:55:04]New thread 3067387236 created [20:55:04]Thread 3067530596 joined [20:55:04]Waiting for new connection... [20:55:04] Sock 9.Parse request [20:55:04]Sock 9.Check first char [20:55:04]Sock 9.First char is OK [20:55:04]request: POST /json_proto HTTP/1.0 [20:55:04]Method: POST [20:55:04]URL: /json_proto [20:55:04]Method is POST - this is cgi request [20:55:04]url: /json_proto [20:55:04]query_string will be loaded in cgi processing [20:55:04]execute_cgi json_proto POST (null) [20:55:04]execute_cgi path=json_proto method=POST [20:55:04]POST find Content-Length [20:55:04]Host: 172.17.38.197:8080 [20:55:04]Content-Length: 962 [20:55:04]Content-Type: application/json [20:55:04] [20:55:04]POST finish read [20:55:04]Found Content-Length = 962 [20:55:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300183", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:55:04]execute_script... [20:55:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300183", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:55:04]POST & json_proto [20:55:04]process_json_proto [20:55:04]json parsed OK: [20:55:04]protocol is kg_v1.0 [20:55:04]action value=close_receipt [20:55:04]process_action close_receipt [20:55:04]cmd_close_receipt [20:55:04]MH_GetDate [20:55:04]Write to MH i2c: F0 00 00 AD 20 BC [20:55:04]Write i2c OK [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: F0 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: F0 09 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: F0 09 00 AD 20 00 AE E9 92 66 1E 0D 88 66 6D [20:55:04]GetLastDocTimeStamp 1720903868 [20:55:04]current date 1720904110 [20:55:04]FM_GetShiftState [20:55:04]SAM_PROTO_GetShiftState [20:55:04]wFMCommunicate request_size=4 [20:55:04]MH_SAM_APDU [20:55:04]CAPDU: 80 13 01 00 [20:55:04]Write to MH i2c: E2 08 00 AE 20 80 13 01 00 00 00 00 00 4B [20:55:04]Write i2c OK [20:55:04]MH_I2C_Read... [20:55:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:04]Read from MH i2c: E2 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 0E 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 0E 00 AE 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E2 [20:55:04]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:55:04]wFMCommunicate OK [20:55:04]SAM_PROTO_GetShiftState done [20:55:04]FM_GetShiftState done [20:55:04]opened in 1720829646 [20:55:04]opened+sec_in_day 1720916046 [20:55:04]quantity*price = 14300 [20:55:04]sum+1 = 14301 [20:55:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745895 Сигареты RICHMOND KS GOLD EDITION 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 298.00 НСП 1% : 2.63 НДС 12% : 31.65 Наличными: 298.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 100 13.07.2024 20:55 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43055 ФПД: 10580728103265 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205510&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43055&fm=10580728103265&tin=02508201610067®Number=0000000000091176&sum=29800 0 [20:55:06]StoreToDocumentArchive [20:55:06]shift 445 fd 43055 [20:55:06]save to /storage/0445/doc_00043055 [20:55:06]save last doc name /storage/0445/doc_00043055 to /storage/kkm_last_doc_name [20:55:06]save OK [20:55:06]Clear old archive folders... [20:55:06]ProcessDocumentItem done err = 0, tmpTLVsize=376 [20:55:06]tlvbuf is 0156C780 [20:55:06]SAM_PROTO_ClearQueue [20:55:06]wFMCommunicate request_size=4 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 09 00 00 [20:55:06]Write to MH i2c: E2 08 00 BB 20 80 09 00 00 00 00 00 00 4D [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 BB 20 00 90 00 4F [20:55:06]RAPDU: 90 00 [20:55:06]wFMCommunicate OK [20:55:06]SAM_PROTO_ClearQueue done [20:55:06]KKMCreateOFDPacket [20:55:06]OFDProtocolAddRootSTLVToBuf [20:55:06]FM_MakeSignedData [20:55:06]FM_MakeSignedData [20:55:06]SAM_PROTO_SignData [20:55:06]wFMCommunicate request_size=4 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 0D 01 02 [20:55:06]Write to MH i2c: E2 08 00 BC 20 80 0D 01 02 00 00 00 00 55 [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 BC 20 00 90 00 50 [20:55:06]RAPDU: 90 00 [20:55:06]wFMCommunicate OK [20:55:06]wFMCommunicate request_size=255 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 [20:55:06]Write to MH i2c: E2 02 01 BD 20 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 00 00 86 [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 BD 20 00 90 00 51 [20:55:06]RAPDU: 90 00 [20:55:06]wFMCommunicate OK [20:55:06]wFMCommunicate request_size=135 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 5D 0C 00 00 00 00 07 04 06 00 68 74 00 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 AE E9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2F A8 00 00 35 04 06 00 09 9F 84 8A 41 61 [20:55:06]Write to MH i2c: E2 8A 00 BE 20 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 5D 0C 00 00 00 00 07 04 06 00 68 74 00 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 AE E9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2F A8 00 00 35 04 06 00 09 9F 84 8A 41 61 00 00 C0 [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 03 00 BE 20 00 90 00 52 [20:55:06]RAPDU: 90 00 [20:55:06]wFMCommunicate OK [20:55:06]wFMCommunicate request_size=4 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 0D 03 02 [20:55:06]Write to MH i2c: E2 08 00 BF 20 80 0D 03 02 00 00 00 00 5A [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 0B 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 0B 00 BF 20 00 D8 E2 62 A5 C4 1E 62 61 90 00 C1 [20:55:06]RAPDU: D8 E2 62 A5 C4 1E 62 61 90 00 [20:55:06]wFMCommunicate OK [20:55:06]SAM_PROTO_SignData done [20:55:06]FM_MakeSignedData done [20:55:06]CreateOFDProtocolMessage [20:55:06]wFMCommunicate request_size=4 [20:55:06]MH_SAM_APDU [20:55:06]CAPDU: 80 11 00 00 [20:55:06]Write to MH i2c: E2 08 00 C0 20 80 11 00 00 00 00 00 00 5A [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:06]Read from MH i2c: E2 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 17 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: E2 17 00 C0 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B1 [20:55:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:55:06]wFMCommunicate OK [20:55:06]CreateOFDProtocolMessage done [20:55:06]OFDSenderStorePacket 43055 [20:55:06]StoreOFDPacket docnum=43055 [20:55:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 00 33 84 01 E9 AB 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 0C 00 00 00 00 07 04 06 00 68 74 00 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 AE E9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2F A8 00 00 35 04 06 00 09 9F 84 8A 41 61 D8 E2 62 A5 C4 1E 62 61 [20:55:06]CheckFolder [20:55:06]dirname=/storage/ofd_packets [20:55:06]CheckFolder done [20:55:06]ProducePacketName [20:55:06]name=ofd_packets/00043055 [20:55:06]NVStorageSaveData ofd_packets/00043055 [20:55:06]File name is /storage/ofd_packets/00043055 [20:55:06]Write 426 bytes [20:55:06]NVStorageSaveData done [20:55:06]OFDSenderStorePacket done [20:55:06]KKMCreateOFDPacket done [20:55:06]NVStorageSaveData kkm_last_timestamp [20:55:06]File name is /storage/kkm_last_timestamp [20:55:06]Write 4 bytes [20:55:06]NVStorageSaveData done [20:55:06]ExternCall_PrintAddStr [20:55:06]wPrintStart [20:55:06]Write to MH i2c: 01 00 00 C1 20 E1 [20:55:06]Write i2c OK [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: 01 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: 01 07 00 [20:55:06]MH_I2C_Read... [20:55:06]Read from MH i2c: 01 07 00 C1 20 00 00 00 00 00 FF 0F F6 [20:55:06]RasterBufferAndPrint [20:55:06]line Счет N : (3)300183 [20:55:07]line ИНН: 02508201610067 [20:55:07]line Контрольно-Кассовый Чек [20:55:07]line ПРОДАЖА [20:55:07]line Товар: 4640030091584 [20:55:07]line Сигареты Esse Gold [20:55:07]line 1.000 * 143.00 [20:55:07]line = 143.00 [20:55:07]line НДС 12% НСП 1% [20:55:07]line > о реализуемом товаре [20:55:07]line Товар: 48745895 [20:55:07]line Сигареты RICHMOND KS GOLD EDITION [20:55:07]line 1.000 * 155.00 [20:55:07]line = 155.00 [20:55:07]line НДС 12% НСП 1% [20:55:07]line > о реализуемом товаре [20:55:07]line ИТОГО: 298.00 [20:55:07]line НСП 1% : 2.63 [20:55:07]line НДС 12% : 31.65 [20:55:07]line Наличными: 298.00 [20:55:07]line Безнал.: 0.00 [20:55:07]line Место: АЗС № 71 "Партнер Нефть" [20:55:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [20:55:07]line СНО: Общий режим [20:55:07]line Чек 100 13.07.2024 20:55 [20:55:07]line Смена: 445 ФФД: 1.0 [20:55:07]line ЗНМ: 0300000153 [20:55:07]line РНМ: 0000000000091176 [20:55:07]line Версия ККМ: 001 [20:55:07]line ФМ: 0000000000874935 [20:55:07]line ФД: 43055 [20:55:07]line ФПД: 10580728103265 [20:55:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205510&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43055&fm=10580728103265&tin=02508201610067®Number=0000000000091176&sum=29800 [20:55:07]line 0 [20:55:07]OFD Sender: Processing packet 43055 [packets to send 31, broken 30] [20:55:07]ProducePacketName [20:55:07]name=ofd_packets/00043055 [20:55:07]OFD Sender: To server: pG, [20:55:07]CommunicateWithHost lk.salyk.kg:30040 [20:55:07]ConnectInit lk.salyk.kg [20:55:07]written 0, free lines is 4095 [20:55:07]Connected sock=10 [20:55:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 00 33 84 01 E9 AB 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 0C 00 00 00 00 07 04 06 00 68 74 00 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 AE E9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2F A8 00 00 35 04 06 00 09 9F 84 8A 41 61 D8 E2 62 A5 C4 1E 62 61 [20:55:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DC 9F 47 00 4E 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 2F A8 00 00 F4 03 04 00 A7 95 92 66 B6 04 01 00 00 EF A0 F8 60 7D 1D FC 35 [20:55:07]CommunicateWithHost err = 0 [20:55:07]CheckOFDResponse [20:55:07]1017 (14) - 77093643461234 [20:55:07]1041 (16) - 0000000000874935 [20:55:07]1040 (4) - 43055 [20:55:07]1012 (4) - 13.07.2024 14:56 [20:55:07]1206 (1) - 0 [20:55:07]OFD Sender: Remove packet 43055 [20:55:07]ProducePacketName [20:55:07]name=ofd_packets/00043055 [20:55:07]NVStorageDeleteData [20:55:07]Write to MH i2c: 01 00 00 F0 20 10 [20:55:07]Write i2c OK [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: 01 [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: 01 07 00 [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: 01 07 00 F0 20 00 00 00 00 00 92 0C B5 [20:55:07]RasterBufferAndPrint [20:55:07]line [20:55:07]line [20:55:07]line [20:55:07]line [20:55:07]line [20:55:07]written 0, free lines is 3224 [20:55:07]MH_Cut [20:55:07]Write to MH i2c: D1 01 00 F7 20 01 E9 [20:55:07]Write i2c OK [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: D1 [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: D1 01 00 [20:55:07]MH_I2C_Read... [20:55:07]Read from MH i2c: D1 01 00 F7 20 00 E8 [20:55:07]Write to MH i2c: 01 00 00 F8 20 18 [20:55:07]Write i2c OK [20:55:07]MH_I2C_Read... [20:55:07]OFD Sender: No OFD packet to send [20:55:08]*** Cut start [20:55:08]*** Partial cut [20:55:08]*** CUTSNS_PIN = 1 [20:55:08]*** CUTSNS_PIN = 0 [20:55:08]*** Brake cut motor [20:55:08]Read from MH i2c: 01 [20:55:08]MH_I2C_Read... [20:55:08]*** Stop cut motor [20:55:08]*** Cut end [20:55:08]Read from MH i2c: 01 07 00 [20:55:08]MH_I2C_Read... [20:55:08]Read from MH i2c: 01 07 00 F8 20 00 00 00 00 00 FF 0F 2D [20:55:08]process_action close_receipt done [20:55:08]requested_data is exist [20:55:08]produce_requested_data [20:55:08]requested_item fm.sn is exist - process it [20:55:08]wFMCommunicate request_size=4 [20:55:08]MH_SAM_APDU [20:55:08]CAPDU: 80 11 00 00 [20:55:08]Write to MH i2c: E2 08 00 F9 20 80 11 00 00 00 00 00 00 93 [20:55:08]Write i2c OK [20:55:08]MH_I2C_Read... [20:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:09]Read from MH i2c: E2 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 17 00 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 17 00 F9 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 EA [20:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:55:09]wFMCommunicate OK [20:55:09]requested_item fd.num is exist - process it [20:55:09]SAM_PROTO_GetFieldsCounters [20:55:09]wFMCommunicate request_size=4 [20:55:09]MH_SAM_APDU [20:55:09]CAPDU: 80 13 00 00 [20:55:09]Write to MH i2c: E2 08 00 FA 20 80 13 00 00 00 00 00 00 96 [20:55:09]Write i2c OK [20:55:09]MH_I2C_Read... [20:55:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:55:09]Read from MH i2c: E2 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 62 00 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 62 00 FA 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2F A8 00 00 0E 04 04 00 BD 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 7B [20:55:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 2F A8 00 00 0E 04 04 00 BD 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 [20:55:09]wFMCommunicate OK [20:55:09]SAM_PROTO_GetFieldsCounters done [20:55:09]requested_item shift.num is exist - process it [20:55:09]requested_item shift.opened is exist - process it [20:55:09]req_shift_opened [20:55:09]FM_GetShiftState [20:55:09]SAM_PROTO_GetShiftState [20:55:09]wFMCommunicate request_size=4 [20:55:09]MH_SAM_APDU [20:55:09]CAPDU: 80 13 01 00 [20:55:09]Write to MH i2c: E2 08 00 FB 20 80 13 01 00 00 00 00 00 98 [20:55:09]Write i2c OK [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 [20:55:09]MH_I2C_Read... [20:55:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:09]Read from MH i2c: E2 0E 00 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 0E 00 FB 20 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2F [20:55:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:55:09]wFMCommunicate OK [20:55:09]SAM_PROTO_GetShiftState done [20:55:09]FM_GetShiftState done [20:55:09]req_shift_opened done [20:55:09]requested_item shift.open_date is exist - process it [20:55:09]req_shift_open_date [20:55:09]req_shift_open_date done [20:55:09]requested_item shift.sale.total is exist - process it [20:55:09]SAM_PROTO_GetShiftData [20:55:09]wFMCommunicate request_size=4 [20:55:09]MH_SAM_APDU [20:55:09]CAPDU: 80 13 02 00 [20:55:09]Write to MH i2c: E2 08 00 FC 20 80 13 02 00 00 00 00 00 9A [20:55:09]Write i2c OK [20:55:09]MH_I2C_Read... [20:55:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:55:09]Read from MH i2c: E2 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 FD 00 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 FD 00 FC 20 00 AE 04 AA 04 AA 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 24 90 19 70 04 03 00 A8 8C 16 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 ED B6 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 77 [20:55:09]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 24 90 19 70 04 03 00 A8 8C 16 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 ED B6 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [20:55:09]wFMCommunicate OK [20:55:09]wFMCommunicate request_size=4 [20:55:09]MH_SAM_APDU [20:55:09]CAPDU: 80 17 00 00 [20:55:09]Write to MH i2c: E2 08 00 FD 20 80 17 00 00 00 00 00 00 9D [20:55:09]Write i2c OK [20:55:09]MH_I2C_Read... [20:55:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:55:09]Read from MH i2c: E2 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 FD 00 [20:55:09]MH_I2C_Read... [20:55:09]Read from MH i2c: E2 FD 00 FD 20 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BF [20:55:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [20:55:10]wFMCommunicate OK [20:55:10]wFMCommunicate request_size=4 [20:55:10]MH_SAM_APDU [20:55:10]CAPDU: 80 17 00 00 [20:55:10]Write to MH i2c: E2 08 00 FE 20 80 17 00 00 00 00 00 00 9E [20:55:10]Write i2c OK [20:55:10]MH_I2C_Read... [20:55:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:55:10]Read from MH i2c: E2 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 FD 00 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 FD 00 FE 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 55 [20:55:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [20:55:10]wFMCommunicate OK [20:55:10]wFMCommunicate request_size=4 [20:55:10]MH_SAM_APDU [20:55:10]CAPDU: 80 17 00 00 [20:55:10]Write to MH i2c: E2 08 00 FF 20 80 17 00 00 00 00 00 00 9F [20:55:10]Write i2c OK [20:55:10]MH_I2C_Read... [20:55:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:55:10]Read from MH i2c: E2 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 FD 00 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 FD 00 FF 20 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 11 [20:55:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [20:55:10]wFMCommunicate OK [20:55:10]wFMCommunicate request_size=4 [20:55:10]MH_SAM_APDU [20:55:10]CAPDU: 80 17 00 00 [20:55:10]Write to MH i2c: E2 08 00 00 21 80 17 00 00 00 00 00 00 A1 [20:55:10]Write i2c OK [20:55:10]MH_I2C_Read... [20:55:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:55:10]Read from MH i2c: E2 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 CB 00 [20:55:10]MH_I2C_Read... [20:55:10]Read from MH i2c: E2 CB 00 00 21 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [20:55:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:55:10]wFMCommunicate OK [20:55:10]SAM_PROTO_GetShiftData done [20:55:10]requested_item shift.sale.total_cash is exist - process it [20:55:10]requested_item shift.sale_refund.total is exist - process it [20:55:10]requested_item shift.sale_refund.total_cash is exist - process it [20:55:10]produce_requested_data done [20:55:10]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43055,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16753.00,"shift.sale.total_cash":14778.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [20:55:10]process_action_free close_receipt [20:55:10]json_value_free [20:55:10]json_value_free done [20:55:10]process_json_proto returns [20:55:10]Send response to host [20:55:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43055,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":16753.00,"shift.sale.total_cash":14778.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [20:55:10]free response buf [20:55:10]execute_script done [20:55:10]execute_script returns [20:55:10]free content buf [20:55:10]Sock 9.Close socket [20:55:10]Sock 9.Thread stoped [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:41]accept exits with 7 [20:57:41]New connection [20:57:41]New thread 3067530596 created [20:57:41]Thread 3067387236 joined [20:57:41]Waiting for new connection... [20:57:41] Sock 7.Parse request [20:57:41]Sock 7.Check first char [20:57:41]Sock 7.First char is OK [20:57:41]request: POST /json_proto HTTP/1.0 [20:57:41]Method: POST [20:57:41]URL: /json_proto [20:57:41]Method is POST - this is cgi request [20:57:41]url: /json_proto [20:57:41]query_string will be loaded in cgi processing [20:57:41]execute_cgi json_proto POST (null) [20:57:41]execute_cgi path=json_proto method=POST [20:57:41]POST find Content-Length [20:57:41]Host: 172.17.38.197:8080 [20:57:41]Content-Length: 1267 [20:57:41]Content-Type: application/json [20:57:41] [20:57:41]POST finish read [20:57:41]Found Content-Length = 1267 [20:57:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300184", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 2.000, "sum" : 850.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 978.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:57:41]execute_script... [20:57:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300184", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 2.000, "sum" : 850.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 978.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:57:41]POST & json_proto [20:57:41]process_json_proto [20:57:41]json parsed OK: [20:57:41]protocol is kg_v1.0 [20:57:41]action value=close_receipt [20:57:41]process_action close_receipt [20:57:41]cmd_close_receipt [20:57:41]MH_GetDate [20:57:41]Write to MH i2c: F0 00 00 01 21 11 [20:57:41]Write i2c OK [20:57:41]MH_I2C_Read... [20:57:41]Read from MH i2c: F0 [20:57:41]MH_I2C_Read... [20:57:41]Read from MH i2c: F0 09 00 [20:57:41]MH_I2C_Read... [20:57:41]Read from MH i2c: F0 09 00 01 21 00 4A EA 92 66 1E 0D 88 66 5F [20:57:41]GetLastDocTimeStamp 1720904110 [20:57:41]current date 1720904266 [20:57:41]FM_GetShiftState [20:57:41]SAM_PROTO_GetShiftState [20:57:41]wFMCommunicate request_size=4 [20:57:41]MH_SAM_APDU [20:57:41]CAPDU: 80 13 01 00 [20:57:41]Write to MH i2c: E2 08 00 02 21 80 13 01 00 00 00 00 00 A0 [20:57:41]Write i2c OK [20:57:41]MH_I2C_Read... [20:57:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:57:41]Read from MH i2c: E2 [20:57:41]MH_I2C_Read... [20:57:41]Read from MH i2c: E2 0E 00 [20:57:41]MH_I2C_Read... [20:57:41]Read from MH i2c: E2 0E 00 02 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 37 [20:57:41]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:57:41]wFMCommunicate OK [20:57:41]SAM_PROTO_GetShiftState done [20:57:41]FM_GetShiftState done [20:57:41]opened in 1720829646 [20:57:41]opened+sec_in_day 1720916046 [20:57:41]quantity*price = 85000 [20:57:41]sum+1 = 85001 [20:57:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 978.00 НСП 1% : 8.65 НДС 12% : 103.85 Наличными: 978.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 101 13.07.2024 20:57 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43056 ФПД: 104167991895687 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205746&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43056&fm=104167991895687&tin=02508201610067®Number=0000000000091176&sum=97800 0 [20:57:42]StoreToDocumentArchive [20:57:42]shift 445 fd 43056 [20:57:42]save to /storage/0445/doc_00043056 [20:57:42]save last doc name /storage/0445/doc_00043056 to /storage/kkm_last_doc_name [20:57:42]save OK [20:57:42]Clear old archive folders... [20:57:42]ProcessDocumentItem done err = 0, tmpTLVsize=483 [20:57:42]tlvbuf is B6F35090 [20:57:42]SAM_PROTO_ClearQueue [20:57:42]wFMCommunicate request_size=4 [20:57:42]MH_SAM_APDU [20:57:42]CAPDU: 80 09 00 00 [20:57:42]Write to MH i2c: E2 08 00 0F 21 80 09 00 00 00 00 00 00 A2 [20:57:42]Write i2c OK [20:57:42]MH_I2C_Read... [20:57:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:57:42]Read from MH i2c: E2 [20:57:42]MH_I2C_Read... [20:57:42]Read from MH i2c: E2 03 00 [20:57:42]MH_I2C_Read... [20:57:42]Read from MH i2c: E2 03 00 0F 21 00 90 00 A4 [20:57:42]RAPDU: 90 00 [20:57:42]wFMCommunicate OK [20:57:42]SAM_PROTO_ClearQueue done [20:57:42]KKMCreateOFDPacket [20:57:42]OFDProtocolAddRootSTLVToBuf [20:57:42]FM_MakeSignedData [20:57:42]FM_MakeSignedData [20:57:42]SAM_PROTO_SignData [20:57:42]wFMCommunicate request_size=4 [20:57:42]MH_SAM_APDU [20:57:42]CAPDU: 80 0D 01 02 [20:57:42]Write to MH i2c: E2 08 00 10 21 80 0D 01 02 00 00 00 00 AA [20:57:42]Write i2c OK [20:57:42]MH_I2C_Read... [20:57:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:57:42]Read from MH i2c: E2 [20:57:42]MH_I2C_Read... [20:57:42]Read from MH i2c: E2 03 00 [20:57:42]MH_I2C_Read... [20:57:42]Read from MH i2c: E2 03 00 10 21 00 90 00 A5 [20:57:42]RAPDU: 90 00 [20:57:42]wFMCommunicate OK [20:57:42]wFMCommunicate request_size=255 [20:57:42]MH_SAM_APDU [20:57:42]CAPDU: 80 0D 02 02 FA 03 00 E3 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 [20:57:42]Write to MH i2c: E2 02 01 11 21 80 0D 02 02 FA 00 03 00 E3 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 00 00 94 [20:57:42]Write i2c OK [20:57:42]MH_I2C_Read... [20:57:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:57:43]Read from MH i2c: E2 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 03 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 03 00 11 21 00 90 00 A6 [20:57:43]RAPDU: 90 00 [20:57:43]wFMCommunicate OK [20:57:43]wFMCommunicate request_size=242 [20:57:43]MH_SAM_APDU [20:57:43]CAPDU: 80 0D 02 02 ED D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 7E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 28 00 00 00 00 07 04 06 00 08 7E 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 4A EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 30 A8 00 00 35 04 06 00 5E BD 80 27 66 87 [20:57:43]Write to MH i2c: E2 F5 00 12 21 80 0D 02 02 ED 00 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 7E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 28 00 00 00 00 07 04 06 00 08 7E 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 4A EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 30 A8 00 00 35 04 06 00 5E BD 80 27 66 87 00 00 AC [20:57:43]OFD Sender: No OFD packet to send [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:57:43]Read from MH i2c: E2 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 03 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 03 00 12 21 00 90 00 A7 [20:57:43]RAPDU: 90 00 [20:57:43]wFMCommunicate OK [20:57:43]wFMCommunicate request_size=4 [20:57:43]MH_SAM_APDU [20:57:43]CAPDU: 80 0D 03 02 [20:57:43]Write to MH i2c: E2 08 00 13 21 80 0D 03 02 00 00 00 00 AF [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:57:43]Read from MH i2c: E2 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 0B 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 0B 00 13 21 00 DC 6E 3A F4 C2 48 65 EB 90 00 82 [20:57:43]RAPDU: DC 6E 3A F4 C2 48 65 EB 90 00 [20:57:43]wFMCommunicate OK [20:57:43]SAM_PROTO_SignData done [20:57:43]FM_MakeSignedData done [20:57:43]CreateOFDProtocolMessage [20:57:43]wFMCommunicate request_size=4 [20:57:43]MH_SAM_APDU [20:57:43]CAPDU: 80 11 00 00 [20:57:43]Write to MH i2c: E2 08 00 14 21 80 11 00 00 00 00 00 00 AF [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:57:43]Read from MH i2c: E2 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 17 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 17 00 14 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 06 [20:57:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:57:43]wFMCommunicate OK [20:57:43]CreateOFDProtocolMessage done [20:57:43]OFDSenderStorePacket 43056 [20:57:43]StoreOFDPacket docnum=43056 [20:57:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 F7 01 00 00 EE C0 EF 01 DE E1 5A 03 01 00 03 00 E3 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 7E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 28 00 00 00 00 07 04 06 00 08 7E 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 4A EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 30 A8 00 00 35 04 06 00 5E BD 80 27 66 87 DC 6E 3A F4 C2 48 65 EB [20:57:43]CheckFolder [20:57:43]dirname=/storage/ofd_packets [20:57:43]CheckFolder done [20:57:43]ProducePacketName [20:57:43]name=ofd_packets/00043056 [20:57:43]NVStorageSaveData ofd_packets/00043056 [20:57:43]File name is /storage/ofd_packets/00043056 [20:57:43]Write 533 bytes [20:57:43]NVStorageSaveData done [20:57:43]OFDSenderStorePacket done [20:57:43]KKMCreateOFDPacket done [20:57:43]NVStorageSaveData kkm_last_timestamp [20:57:43]File name is /storage/kkm_last_timestamp [20:57:43]Write 4 bytes [20:57:43]NVStorageSaveData done [20:57:43]ExternCall_PrintAddStr [20:57:43]wPrintStart [20:57:43]Write to MH i2c: 01 00 00 15 21 36 [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 07 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 07 00 15 21 00 00 00 00 00 FF 0F 4B [20:57:43]RasterBufferAndPrint [20:57:43]line Счет N : (3)300184 [20:57:43]line ИНН: 02508201610067 [20:57:43]line Контрольно-Кассовый Чек [20:57:43]line ПРОДАЖА [20:57:43]line Товар: 4700003150486 [20:57:43]line Водка Ороон 0,5 [20:57:43]line 2.000 * 425.00 [20:57:43]line = 850.00 [20:57:43]line НДС 12% НСП 1% [20:57:43]line > о реализуемом товаре [20:57:43]line Товар: 2000053020015 [20:57:43]line Бумажные стаканы 250мл 1шт [20:57:43]line 4.000 * 7.00 [20:57:43]line = 28.00 [20:57:43]line НДС 12% НСП 1% [20:57:43]line > о реализуемом товаре [20:57:43]line Товар: 4700000160358 [20:57:43]line Вода Легенда 1л [20:57:43]line 2.000 * 50.00 [20:57:43]line = 100.00 [20:57:43]line НДС 12% НСП 1% [20:57:43]line > о реализуемом товаре [20:57:43]line ИТОГО: 978.00 [20:57:43]line НСП 1% : 8.65 [20:57:43]line НДС 12% : 103.85 [20:57:43]line Наличными: 978.00 [20:57:43]line Безнал.: 0.00 [20:57:43]line Место: АЗС № 71 "Партнер Нефть" [20:57:43]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [20:57:43]line СНО: Общий режим [20:57:43]line Чек 101 13.07.2024 20:57 [20:57:43]line Смена: 445 ФФД: 1.0 [20:57:43]line ЗНМ: 0300000153 [20:57:43]line РНМ: 0000000000091176 [20:57:43]line Версия ККМ: 001 [20:57:43]line ФМ: 0000000000874935 [20:57:43]line ФД: 43056 [20:57:43]line ФПД: 104167991895687 [20:57:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205746&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43056&fm=104167991895687&tin=02508201610067®Number=0000000000091176&sum=97800 [20:57:43]line 0 [20:57:43]written 0, free lines is 4095 [20:57:43]OFD Sender: Processing packet 43056 [packets to send 31, broken 30] [20:57:43]ProducePacketName [20:57:43]name=ofd_packets/00043056 [20:57:43]OFD Sender: To server: pG, [20:57:43]CommunicateWithHost lk.salyk.kg:30040 [20:57:43]ConnectInit lk.salyk.kg [20:57:43]Connected sock=10 [20:57:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 F7 01 00 00 EE C0 EF 01 DE E1 5A 03 01 00 03 00 E3 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 08 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 7E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 28 00 00 00 00 07 04 06 00 08 7E 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 4A EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 30 A8 00 00 35 04 06 00 5E BD 80 27 66 87 DC 6E 3A F4 C2 48 65 EB [20:57:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 BF AA 47 00 27 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 30 A8 00 00 F4 03 04 00 44 96 92 66 B6 04 01 00 00 72 FE 87 AF A8 47 0B B5 [20:57:43]CommunicateWithHost err = 0 [20:57:43]CheckOFDResponse [20:57:43]1017 (14) - 77093643461234 [20:57:43]1041 (16) - 0000000000874935 [20:57:43]1040 (4) - 43056 [20:57:43]1012 (4) - 13.07.2024 14:59 [20:57:43]1206 (1) - 0 [20:57:43]OFD Sender: Remove packet 43056 [20:57:43]ProducePacketName [20:57:43]name=ofd_packets/00043056 [20:57:43]NVStorageDeleteData [20:57:43]Write to MH i2c: 01 00 00 4A 21 6B [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 07 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: 01 07 00 4A 21 00 00 00 00 00 47 0C C5 [20:57:43]RasterBufferAndPrint [20:57:43]line [20:57:43]line [20:57:43]line [20:57:43]line [20:57:43]line [20:57:43]written 0, free lines is 3152 [20:57:43]MH_Cut [20:57:43]Write to MH i2c: D1 01 00 51 21 01 44 [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: D1 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: D1 01 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: D1 01 00 51 21 00 43 [20:57:43]Write to MH i2c: 01 00 00 52 21 73 [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:44]OFD Sender: No OFD packet to send [20:57:44]*** Cut start [20:57:44]*** Partial cut [20:57:44]*** CUTSNS_PIN = 1 [20:57:44]*** CUTSNS_PIN = 0 [20:57:45]*** Brake cut motor [20:57:45]Read from MH i2c: 01 [20:57:45]MH_I2C_Read... [20:57:45]*** Stop cut motor [20:57:45]*** Cut end [20:57:45]Read from MH i2c: 01 07 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 07 00 52 21 00 00 00 00 00 FF 0F 88 [20:57:45]process_action close_receipt done [20:57:45]requested_data is exist [20:57:45]produce_requested_data [20:57:45]requested_item fm.sn is exist - process it [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 11 00 00 [20:57:45]Write to MH i2c: E2 08 00 53 21 80 11 00 00 00 00 00 00 EE [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 17 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 17 00 53 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 45 [20:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:57:45]wFMCommunicate OK [20:57:45]requested_item fd.num is exist - process it [20:57:45]SAM_PROTO_GetFieldsCounters [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 13 00 00 [20:57:45]Write to MH i2c: E2 08 00 54 21 80 13 00 00 00 00 00 00 F1 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 62 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 62 00 54 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 30 A8 00 00 0E 04 04 00 BD 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 DA [20:57:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 30 A8 00 00 0E 04 04 00 BD 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 [20:57:45]wFMCommunicate OK [20:57:45]SAM_PROTO_GetFieldsCounters done [20:57:45]requested_item shift.num is exist - process it [20:57:45]requested_item shift.opened is exist - process it [20:57:45]req_shift_opened [20:57:45]FM_GetShiftState [20:57:45]SAM_PROTO_GetShiftState [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 13 01 00 [20:57:45]Write to MH i2c: E2 08 00 55 21 80 13 01 00 00 00 00 00 F3 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 0E 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 0E 00 55 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 8A [20:57:45]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:57:45]wFMCommunicate OK [20:57:45]SAM_PROTO_GetShiftState done [20:57:45]FM_GetShiftState done [20:57:45]req_shift_opened done [20:57:45]requested_item shift.open_date is exist - process it [20:57:45]req_shift_open_date [20:57:45]req_shift_open_date done [20:57:45]requested_item shift.sale.total is exist - process it [20:57:45]SAM_PROTO_GetShiftData [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 13 02 00 [20:57:45]Write to MH i2c: E2 08 00 56 21 80 13 02 00 00 00 00 00 F5 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:57:46]Read from MH i2c: E2 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 56 21 00 AE 04 AA 04 AA 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 2C 0E 1B 70 04 03 00 B0 0A 18 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7E DF 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3E 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 03 [20:57:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 2C 0E 1B 70 04 03 00 B0 0A 18 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7E DF 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3E 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [20:57:46]wFMCommunicate OK [20:57:46]wFMCommunicate request_size=4 [20:57:46]MH_SAM_APDU [20:57:46]CAPDU: 80 17 00 00 [20:57:46]Write to MH i2c: E2 08 00 57 21 80 17 00 00 00 00 00 00 F8 [20:57:46]Write i2c OK [20:57:46]MH_I2C_Read... [20:57:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:57:46]Read from MH i2c: E2 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 57 21 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1A [20:57:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [20:57:46]wFMCommunicate OK [20:57:46]wFMCommunicate request_size=4 [20:57:46]MH_SAM_APDU [20:57:46]CAPDU: 80 17 00 00 [20:57:46]Write to MH i2c: E2 08 00 58 21 80 17 00 00 00 00 00 00 F9 [20:57:46]Write i2c OK [20:57:46]MH_I2C_Read... [20:57:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:57:46]Read from MH i2c: E2 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 [20:57:46]MH_I2C_Read... [20:57:46]Read from MH i2c: E2 FD 00 58 21 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B0 [20:57:46]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [20:57:46]wFMCommunicate OK [20:57:46]wFMCommunicate request_size=4 [20:57:46]MH_SAM_APDU [20:57:46]CAPDU: 80 17 00 00 [20:57:46]Write to MH i2c: E2 08 00 59 21 80 17 00 00 00 00 00 00 FA [20:57:46]Write i2c OK [20:57:46]MH_I2C_Read... [20:57:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:57:47]Read from MH i2c: E2 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 FD 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 FD 00 59 21 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6C [20:57:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [20:57:47]wFMCommunicate OK [20:57:47]wFMCommunicate request_size=4 [20:57:47]MH_SAM_APDU [20:57:47]CAPDU: 80 17 00 00 [20:57:47]Write to MH i2c: E2 08 00 5A 21 80 17 00 00 00 00 00 00 FB [20:57:47]Write i2c OK [20:57:47]MH_I2C_Read... [20:57:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:57:47]Read from MH i2c: E2 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 CB 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 CB 00 5A 21 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E4 [20:57:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:57:47]wFMCommunicate OK [20:57:47]SAM_PROTO_GetShiftData done [20:57:47]requested_item shift.sale.total_cash is exist - process it [20:57:47]requested_item shift.sale_refund.total is exist - process it [20:57:47]requested_item shift.sale_refund.total_cash is exist - process it [20:57:47]produce_requested_data done [20:57:47]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43056,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":17731.00,"shift.sale.total_cash":15756.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [20:57:47]process_action_free close_receipt [20:57:47]json_value_free [20:57:47]json_value_free done [20:57:47]process_json_proto returns [20:57:47]Send response to host [20:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43056,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":17731.00,"shift.sale.total_cash":15756.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [20:57:47]free response buf [20:57:47]execute_script done [20:57:47]execute_script returns [20:57:47]free content buf [20:57:47]Sock 7.Close socket [20:57:47]Sock 7.Thread stoped [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:05]accept exits with 9 [20:58:05]New connection [20:58:05]New thread 3067387236 created [20:58:05]Thread 3067530596 joined [20:58:05]Waiting for new connection... [20:58:05] Sock 9.Parse request [20:58:05]Sock 9.Check first char [20:58:05]Sock 9.First char is OK [20:58:05]request: POST /json_proto HTTP/1.0 [20:58:05]Method: POST [20:58:05]URL: /json_proto [20:58:05]Method is POST - this is cgi request [20:58:05]url: /json_proto [20:58:05]query_string will be loaded in cgi processing [20:58:05]execute_cgi json_proto POST (null) [20:58:05]execute_cgi path=json_proto method=POST [20:58:05]POST find Content-Length [20:58:05]Host: 172.17.38.197:8080 [20:58:05]Content-Length: 726 [20:58:05]Content-Type: application/json [20:58:05] [20:58:05]POST finish read [20:58:05]Found Content-Length = 726 [20:58:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300185", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:58:05]execute_script... [20:58:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300185", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:58:05]POST & json_proto [20:58:05]process_json_proto [20:58:05]json parsed OK: [20:58:05]protocol is kg_v1.0 [20:58:05]action value=close_receipt [20:58:05]process_action close_receipt [20:58:05]cmd_close_receipt [20:58:05]MH_GetDate [20:58:05]Write to MH i2c: F0 00 00 5B 21 6B [20:58:05]Write i2c OK [20:58:05]MH_I2C_Read... [20:58:05]Read from MH i2c: F0 [20:58:05]MH_I2C_Read... [20:58:05]Read from MH i2c: F0 09 00 [20:58:05]MH_I2C_Read... [20:58:05]Read from MH i2c: F0 09 00 5B 21 00 63 EA 92 66 1E 0D 88 66 D2 [20:58:05]GetLastDocTimeStamp 1720904266 [20:58:05]current date 1720904291 [20:58:05]FM_GetShiftState [20:58:05]SAM_PROTO_GetShiftState [20:58:05]wFMCommunicate request_size=4 [20:58:05]MH_SAM_APDU [20:58:05]CAPDU: 80 13 01 00 [20:58:05]Write to MH i2c: E2 08 00 5C 21 80 13 01 00 00 00 00 00 FA [20:58:05]Write i2c OK [20:58:05]MH_I2C_Read... [20:58:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:05]Read from MH i2c: E2 [20:58:05]MH_I2C_Read... [20:58:05]Read from MH i2c: E2 0E 00 [20:58:05]MH_I2C_Read... [20:58:05]Read from MH i2c: E2 0E 00 5C 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 91 [20:58:05]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:58:05]wFMCommunicate OK [20:58:05]SAM_PROTO_GetShiftState done [20:58:05]FM_GetShiftState done [20:58:05]opened in 1720829646 [20:58:05]opened+sec_in_day 1720916046 [20:58:05]quantity*price = 13800 [20:58:05]sum+1 = 13801 [20:58:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 102 13.07.2024 20:58 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43057 ФПД: 142815905841732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205811&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43057&fm=142815905841732&tin=02508201610067®Number=0000000000091176&sum=13800 0 [20:58:06]StoreToDocumentArchive [20:58:06]shift 445 fd 43057 [20:58:06]save to /storage/0445/doc_00043057 [20:58:06]save last doc name /storage/0445/doc_00043057 to /storage/kkm_last_doc_name [20:58:06]save OK [20:58:06]Clear old archive folders... [20:58:06]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:58:06]tlvbuf is 01585FB0 [20:58:06]SAM_PROTO_ClearQueue [20:58:06]wFMCommunicate request_size=4 [20:58:06]MH_SAM_APDU [20:58:06]CAPDU: 80 09 00 00 [20:58:06]Write to MH i2c: E2 08 00 69 21 80 09 00 00 00 00 00 00 FC [20:58:06]Write i2c OK [20:58:06]MH_I2C_Read... [20:58:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:06]Read from MH i2c: E2 [20:58:06]MH_I2C_Read... [20:58:06]Read from MH i2c: E2 03 00 [20:58:06]MH_I2C_Read... [20:58:06]Read from MH i2c: E2 03 00 69 21 00 90 00 FE [20:58:06]RAPDU: 90 00 [20:58:06]wFMCommunicate OK [20:58:06]SAM_PROTO_ClearQueue done [20:58:06]KKMCreateOFDPacket [20:58:06]OFDProtocolAddRootSTLVToBuf [20:58:06]FM_MakeSignedData [20:58:06]FM_MakeSignedData [20:58:06]SAM_PROTO_SignData [20:58:06]wFMCommunicate request_size=4 [20:58:06]MH_SAM_APDU [20:58:06]CAPDU: 80 0D 01 02 [20:58:06]Write to MH i2c: E2 08 00 6A 21 80 0D 01 02 00 00 00 00 04 [20:58:06]Write i2c OK [20:58:06]MH_I2C_Read... [20:58:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:07]Read from MH i2c: E2 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 6A 21 00 90 00 FF [20:58:07]RAPDU: 90 00 [20:58:07]wFMCommunicate OK [20:58:07]wFMCommunicate request_size=255 [20:58:07]MH_SAM_APDU [20:58:07]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 63 EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [20:58:07]Write to MH i2c: E2 02 01 6B 21 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 63 EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 A9 [20:58:07]Write i2c OK [20:58:07]MH_I2C_Read... [20:58:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:07]Read from MH i2c: E2 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 6B 21 00 90 00 00 [20:58:07]RAPDU: 90 00 [20:58:07]wFMCommunicate OK [20:58:07]wFMCommunicate request_size=33 [20:58:07]MH_SAM_APDU [20:58:07]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 31 A8 00 00 35 04 06 00 81 E3 EB 56 02 44 [20:58:07]Write to MH i2c: E2 24 00 6C 21 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 31 A8 00 00 35 04 06 00 81 E3 EB 56 02 44 00 00 5E [20:58:07]Write i2c OK [20:58:07]MH_I2C_Read... [20:58:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:07]Read from MH i2c: E2 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 03 00 6C 21 00 90 00 01 [20:58:07]RAPDU: 90 00 [20:58:07]wFMCommunicate OK [20:58:07]wFMCommunicate request_size=4 [20:58:07]MH_SAM_APDU [20:58:07]CAPDU: 80 0D 03 02 [20:58:07]Write to MH i2c: E2 08 00 6D 21 80 0D 03 02 00 00 00 00 09 [20:58:07]Write i2c OK [20:58:07]MH_I2C_Read... [20:58:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:07]Read from MH i2c: E2 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 0B 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 0B 00 6D 21 00 89 DF 4E B8 85 3A 48 5B 90 00 DA [20:58:07]RAPDU: 89 DF 4E B8 85 3A 48 5B 90 00 [20:58:07]wFMCommunicate OK [20:58:07]SAM_PROTO_SignData done [20:58:07]FM_MakeSignedData done [20:58:07]CreateOFDProtocolMessage [20:58:07]wFMCommunicate request_size=4 [20:58:07]MH_SAM_APDU [20:58:07]CAPDU: 80 11 00 00 [20:58:07]Write to MH i2c: E2 08 00 6E 21 80 11 00 00 00 00 00 00 09 [20:58:07]Write i2c OK [20:58:07]MH_I2C_Read... [20:58:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:07]Read from MH i2c: E2 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 17 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: E2 17 00 6E 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 60 [20:58:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:58:07]wFMCommunicate OK [20:58:07]CreateOFDProtocolMessage done [20:58:07]OFDSenderStorePacket 43057 [20:58:07]StoreOFDPacket docnum=43057 [20:58:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 25 97 1E 01 54 2C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 63 EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 31 A8 00 00 35 04 06 00 81 E3 EB 56 02 44 89 DF 4E B8 85 3A 48 5B [20:58:07]CheckFolder [20:58:07]dirname=/storage/ofd_packets [20:58:07]CheckFolder done [20:58:07]ProducePacketName [20:58:07]name=ofd_packets/00043057 [20:58:07]NVStorageSaveData ofd_packets/00043057 [20:58:07]File name is /storage/ofd_packets/00043057 [20:58:07]Write 324 bytes [20:58:07]NVStorageSaveData done [20:58:07]OFDSenderStorePacket done [20:58:07]KKMCreateOFDPacket done [20:58:07]NVStorageSaveData kkm_last_timestamp [20:58:07]File name is /storage/kkm_last_timestamp [20:58:07]Write 4 bytes [20:58:07]NVStorageSaveData done [20:58:07]ExternCall_PrintAddStr [20:58:07]wPrintStart [20:58:07]Write to MH i2c: 01 00 00 6F 21 90 [20:58:07]Write i2c OK [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: 01 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: 01 07 00 [20:58:07]MH_I2C_Read... [20:58:07]Read from MH i2c: 01 07 00 6F 21 00 00 00 00 00 FF 0F A5 [20:58:07]RasterBufferAndPrint [20:58:07]line Счет N : (3)300185 [20:58:07]line ИНН: 02508201610067 [20:58:07]line Контрольно-Кассовый Чек [20:58:07]line ПРОДАЖА [20:58:07]line Товар: 4640030091645 [20:58:07]line Сигареты ESSE Exchange M [20:58:07]line 1.000 * 138.00 [20:58:07]line = 138.00 [20:58:07]line НДС 12% НСП 1% [20:58:07]line > о реализуемом товаре [20:58:07]line ИТОГО: 138.00 [20:58:07]line НСП 1% : 1.22 [20:58:07]line НДС 12% : 14.65 [20:58:07]line Наличными: 138.00 [20:58:07]line Безнал.: 0.00 [20:58:07]line Место: АЗС № 71 "Партнер Нефть" [20:58:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [20:58:07]line СНО: Общий режим [20:58:07]line Чек 102 13.07.2024 20:58 [20:58:07]line Смена: 445 ФФД: 1.0 [20:58:07]line ЗНМ: 0300000153 [20:58:07]line РНМ: 0000000000091176 [20:58:07]line Версия ККМ: 001 [20:58:07]line ФМ: 0000000000874935 [20:58:07]line ФД: 43057 [20:58:07]line ФПД: 142815905841732 [20:58:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T205811&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43057&fm=142815905841732&tin=02508201610067®Number=0000000000091176&sum=13800 [20:58:07]OFD Sender: Processing packet 43057 [packets to send 31, broken 30] [20:58:07]ProducePacketName [20:58:07]name=ofd_packets/00043057 [20:58:07]OFD Sender: To server: pG, [20:58:07]CommunicateWithHost lk.salyk.kg:30040 [20:58:07]ConnectInit lk.salyk.kg [20:58:07]line 0 [20:58:07]written 0, free lines is 4095 [20:58:07]Connected sock=10 [20:58:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 25 97 1E 01 54 2C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 63 EA 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 31 A8 00 00 35 04 06 00 81 E3 EB 56 02 44 89 DF 4E B8 85 3A 48 5B [20:58:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D7 9E 47 00 84 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 31 A8 00 00 F4 03 04 00 5C 96 92 66 B6 04 01 00 00 43 5A F2 29 B9 F3 2F 7F [20:58:08]CommunicateWithHost err = 0 [20:58:08]CheckOFDResponse [20:58:08]1017 (14) - 77093643461234 [20:58:08]1041 (16) - 0000000000874935 [20:58:08]1040 (4) - 43057 [20:58:08]1012 (4) - 13.07.2024 14:59 [20:58:08]1206 (1) - 0 [20:58:08]OFD Sender: Remove packet 43057 [20:58:08]ProducePacketName [20:58:08]name=ofd_packets/00043057 [20:58:08]NVStorageDeleteData [20:58:08]Write to MH i2c: 01 00 00 97 21 B8 [20:58:08]Write i2c OK [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: 01 [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: 01 07 00 [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: 01 07 00 97 21 00 00 00 00 00 0A 0D D6 [20:58:08]RasterBufferAndPrint [20:58:08]line [20:58:08]line [20:58:08]line [20:58:08]line [20:58:08]line [20:58:08]written 0, free lines is 3344 [20:58:08]MH_Cut [20:58:08]Write to MH i2c: D1 01 00 9E 21 01 91 [20:58:08]Write i2c OK [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: D1 [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: D1 01 00 [20:58:08]MH_I2C_Read... [20:58:08]Read from MH i2c: D1 01 00 9E 21 00 90 [20:58:08]Write to MH i2c: 01 00 00 9F 21 C0 [20:58:08]Write i2c OK [20:58:08]MH_I2C_Read... [20:58:08]OFD Sender: No OFD packet to send [20:58:08]*** Cut start [20:58:08]*** Partial cut [20:58:08]*** CUTSNS_PIN = 1 [20:58:09]*** CUTSNS_PIN = 0 [20:58:09]*** Brake cut motor [20:58:09]Read from MH i2c: 01 [20:58:09]MH_I2C_Read... [20:58:09]*** Stop cut motor [20:58:09]*** Cut end [20:58:09]Read from MH i2c: 01 07 00 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: 01 07 00 9F 21 00 00 00 00 00 FF 0F D5 [20:58:09]process_action close_receipt done [20:58:09]requested_data is exist [20:58:09]produce_requested_data [20:58:09]requested_item fm.sn is exist - process it [20:58:09]wFMCommunicate request_size=4 [20:58:09]MH_SAM_APDU [20:58:09]CAPDU: 80 11 00 00 [20:58:09]Write to MH i2c: E2 08 00 A0 21 80 11 00 00 00 00 00 00 3B [20:58:09]Write i2c OK [20:58:09]MH_I2C_Read... [20:58:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:09]Read from MH i2c: E2 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 17 00 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 17 00 A0 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 92 [20:58:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [20:58:09]wFMCommunicate OK [20:58:09]requested_item fd.num is exist - process it [20:58:09]SAM_PROTO_GetFieldsCounters [20:58:09]wFMCommunicate request_size=4 [20:58:09]MH_SAM_APDU [20:58:09]CAPDU: 80 13 00 00 [20:58:09]Write to MH i2c: E2 08 00 A1 21 80 13 00 00 00 00 00 00 3E [20:58:09]Write i2c OK [20:58:09]MH_I2C_Read... [20:58:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:09]Read from MH i2c: E2 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 62 00 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 62 00 A1 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 31 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [20:58:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 31 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:09]wFMCommunicate OK [20:58:09]SAM_PROTO_GetFieldsCounters done [20:58:09]requested_item shift.num is exist - process it [20:58:09]requested_item shift.opened is exist - process it [20:58:09]req_shift_opened [20:58:09]FM_GetShiftState [20:58:09]SAM_PROTO_GetShiftState [20:58:09]wFMCommunicate request_size=4 [20:58:09]MH_SAM_APDU [20:58:09]CAPDU: 80 13 01 00 [20:58:09]Write to MH i2c: E2 08 00 A2 21 80 13 01 00 00 00 00 00 40 [20:58:09]Write i2c OK [20:58:09]MH_I2C_Read... [20:58:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:09]Read from MH i2c: E2 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 0E 00 [20:58:09]MH_I2C_Read... [20:58:09]Read from MH i2c: E2 0E 00 A2 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 D7 [20:58:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [20:58:09]wFMCommunicate OK [20:58:09]SAM_PROTO_GetShiftState done [20:58:09]FM_GetShiftState done [20:58:09]req_shift_opened done [20:58:09]requested_item shift.open_date is exist - process it [20:58:09]req_shift_open_date [20:58:09]req_shift_open_date done [20:58:09]requested_item shift.sale.total is exist - process it [20:58:09]SAM_PROTO_GetShiftData [20:58:09]wFMCommunicate request_size=4 [20:58:09]MH_SAM_APDU [20:58:09]CAPDU: 80 13 02 00 [20:58:09]Write to MH i2c: E2 08 00 A3 21 80 13 02 00 00 00 00 00 42 [20:58:09]Write i2c OK [20:58:09]MH_I2C_Read... [20:58:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:58:10]Read from MH i2c: E2 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 A3 21 00 AE 04 AA 04 AA 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 14 44 1B 70 04 03 00 98 40 18 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 37 E5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B8 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C7 [20:58:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 14 44 1B 70 04 03 00 98 40 18 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 37 E5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B8 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [20:58:10]wFMCommunicate OK [20:58:10]wFMCommunicate request_size=4 [20:58:10]MH_SAM_APDU [20:58:10]CAPDU: 80 17 00 00 [20:58:10]Write to MH i2c: E2 08 00 A4 21 80 17 00 00 00 00 00 00 45 [20:58:10]Write i2c OK [20:58:10]MH_I2C_Read... [20:58:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:10]Read from MH i2c: E2 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 A4 21 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 67 [20:58:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [20:58:10]wFMCommunicate OK [20:58:10]wFMCommunicate request_size=4 [20:58:10]MH_SAM_APDU [20:58:10]CAPDU: 80 17 00 00 [20:58:10]Write to MH i2c: E2 08 00 A5 21 80 17 00 00 00 00 00 00 46 [20:58:10]Write i2c OK [20:58:10]MH_I2C_Read... [20:58:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:10]Read from MH i2c: E2 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 [20:58:10]MH_I2C_Read... [20:58:10]Read from MH i2c: E2 FD 00 A5 21 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 FD [20:58:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [20:58:11]wFMCommunicate OK [20:58:11]wFMCommunicate request_size=4 [20:58:11]MH_SAM_APDU [20:58:11]CAPDU: 80 17 00 00 [20:58:11]Write to MH i2c: E2 08 00 A6 21 80 17 00 00 00 00 00 00 47 [20:58:11]Write i2c OK [20:58:11]MH_I2C_Read... [20:58:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:11]Read from MH i2c: E2 [20:58:11]MH_I2C_Read... [20:58:11]Read from MH i2c: E2 FD 00 [20:58:11]MH_I2C_Read... [20:58:11]Read from MH i2c: E2 FD 00 A6 21 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 B9 [20:58:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [20:58:11]wFMCommunicate OK [20:58:11]wFMCommunicate request_size=4 [20:58:11]MH_SAM_APDU [20:58:11]CAPDU: 80 17 00 00 [20:58:11]Write to MH i2c: E2 08 00 A7 21 80 17 00 00 00 00 00 00 48 [20:58:11]Write i2c OK [20:58:11]MH_I2C_Read... [20:58:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:58:11]Read from MH i2c: E2 [20:58:11]MH_I2C_Read... [20:58:11]Read from MH i2c: E2 CB 00 [20:58:11]MH_I2C_Read... [20:58:11]Read from MH i2c: E2 CB 00 A7 21 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 31 [20:58:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:58:11]wFMCommunicate OK [20:58:11]SAM_PROTO_GetShiftData done [20:58:11]requested_item shift.sale.total_cash is exist - process it [20:58:11]requested_item shift.sale_refund.total is exist - process it [20:58:11]requested_item shift.sale_refund.total_cash is exist - process it [20:58:11]produce_requested_data done [20:58:11]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43057,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":17869.00,"shift.sale.total_cash":15894.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [20:58:11]process_action_free close_receipt [20:58:11]json_value_free [20:58:11]json_value_free done [20:58:11]process_json_proto returns [20:58:11]Send response to host [20:58:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43057,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":17869.00,"shift.sale.total_cash":15894.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [20:58:11]free response buf [20:58:11]execute_script done [20:58:11]execute_script returns [20:58:11]free content buf [20:58:11]Sock 9.Close socket [20:58:11]Sock 9.Thread stoped [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]OFD Sender: No OFD packet to send [21:05:14]OFD Sender: No OFD packet to send [21:05:19]OFD Sender: No OFD packet to send [21:05:24]OFD Sender: No OFD packet to send [21:05:29]OFD Sender: No OFD packet to send [21:05:34]OFD Sender: No OFD packet to send [21:05:39]OFD Sender: No OFD packet to send [21:05:44]OFD Sender: No OFD packet to send [21:05:49]OFD Sender: No OFD packet to send [21:05:54]OFD Sender: No OFD packet to send [21:05:59]OFD Sender: No OFD packet to send [21:06:04]OFD Sender: No OFD packet to send [21:06:09]OFD Sender: No OFD packet to send [21:06:14]OFD Sender: No OFD packet to send [21:06:19]OFD Sender: No OFD packet to send [21:06:24]OFD Sender: No OFD packet to send [21:06:29]OFD Sender: No OFD packet to send [21:06:34]OFD Sender: No OFD packet to send [21:06:39]OFD Sender: No OFD packet to send [21:06:44]OFD Sender: No OFD packet to send [21:06:49]OFD Sender: No OFD packet to send [21:06:54]OFD Sender: No OFD packet to send [21:06:59]OFD Sender: No OFD packet to send [21:07:04]OFD Sender: No OFD packet to send [21:07:09]OFD Sender: No OFD packet to send [21:07:14]OFD Sender: No OFD packet to send [21:07:19]OFD Sender: No OFD packet to send [21:07:24]OFD Sender: No OFD packet to send [21:07:29]OFD Sender: No OFD packet to send [21:07:34]OFD Sender: No OFD packet to send [21:07:39]OFD Sender: No OFD packet to send [21:07:44]OFD Sender: No OFD packet to send [21:07:49]OFD Sender: No OFD packet to send [21:07:54]OFD Sender: No OFD packet to send [21:07:59]OFD Sender: No OFD packet to send [21:08:04]OFD Sender: No OFD packet to send [21:08:09]OFD Sender: No OFD packet to send [21:08:14]OFD Sender: No OFD packet to send [21:08:19]OFD Sender: No OFD packet to send [21:08:24]OFD Sender: No OFD packet to send [21:08:29]OFD Sender: No OFD packet to send [21:08:34]OFD Sender: No OFD packet to send [21:08:39]OFD Sender: No OFD packet to send [21:08:44]OFD Sender: No OFD packet to send [21:08:49]OFD Sender: No OFD packet to send [21:08:54]OFD Sender: No OFD packet to send [21:08:59]OFD Sender: No OFD packet to send [21:09:04]OFD Sender: No OFD packet to send [21:09:09]OFD Sender: No OFD packet to send [21:09:14]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:39]OFD Sender: No OFD packet to send [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:16]accept exits with 7 [21:13:16]New connection [21:13:16]New thread 3067530596 created [21:13:16]Thread 3067387236 joined [21:13:16]Waiting for new connection... [21:13:16] Sock 7.Parse request [21:13:16]Sock 7.Check first char [21:13:16]Sock 7.First char is OK [21:13:16]request: POST /json_proto HTTP/1.0 [21:13:16]Method: POST [21:13:16]URL: /json_proto [21:13:16]Method is POST - this is cgi request [21:13:16]url: /json_proto [21:13:16]query_string will be loaded in cgi processing [21:13:16]execute_cgi json_proto POST (null) [21:13:16]execute_cgi path=json_proto method=POST [21:13:16]POST find Content-Length [21:13:16]Host: 172.17.38.197:8080 [21:13:16]Content-Length: 990 [21:13:16]Content-Type: application/json [21:13:16] [21:13:16]POST finish read [21:13:16]Found Content-Length = 990 [21:13:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300186", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 2.000, "sum" : 286.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 526.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:13:16]execute_script... [21:13:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300186", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 2.000, "sum" : 286.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 526.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:13:16]POST & json_proto [21:13:16]process_json_proto [21:13:16]json parsed OK: [21:13:16]protocol is kg_v1.0 [21:13:16]action value=close_receipt [21:13:16]process_action close_receipt [21:13:16]cmd_close_receipt [21:13:16]MH_GetDate [21:13:16]Write to MH i2c: F0 00 00 A8 21 B8 [21:13:16]Write i2c OK [21:13:16]MH_I2C_Read... [21:13:16]Read from MH i2c: F0 [21:13:16]MH_I2C_Read... [21:13:16]Read from MH i2c: F0 09 00 [21:13:16]MH_I2C_Read... [21:13:16]Read from MH i2c: F0 09 00 A8 21 00 F2 ED 92 66 1E 0D 88 66 B1 [21:13:16]GetLastDocTimeStamp 1720904291 [21:13:16]current date 1720905202 [21:13:16]FM_GetShiftState [21:13:16]SAM_PROTO_GetShiftState [21:13:16]wFMCommunicate request_size=4 [21:13:16]MH_SAM_APDU [21:13:16]CAPDU: 80 13 01 00 [21:13:16]Write to MH i2c: E2 08 00 A9 21 80 13 01 00 00 00 00 00 47 [21:13:16]Write i2c OK [21:13:16]MH_I2C_Read... [21:13:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:13:16]Read from MH i2c: E2 [21:13:16]MH_I2C_Read... [21:13:16]Read from MH i2c: E2 0E 00 [21:13:16]MH_I2C_Read... [21:13:16]Read from MH i2c: E2 0E 00 A9 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 DE [21:13:16]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:13:16]wFMCommunicate OK [21:13:16]SAM_PROTO_GetShiftState done [21:13:16]FM_GetShiftState done [21:13:16]opened in 1720829646 [21:13:16]opened+sec_in_day 1720916046 [21:13:16]quantity*price = 24000 [21:13:16]sum+1 = 24001 [21:13:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091584 Сигареты Esse Gold 2.000 * 143.00 = 286.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 526.00 НСП 1% : 4.65 НДС 12% : 55.86 Наличными: 526.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 103 13.07.2024 21:13 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43058 ФПД: 6477841834146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T211322&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43058&fm=6477841834146&tin=02508201610067®Number=0000000000091176&sum=52600 0 [21:13:18]StoreToDocumentArchive [21:13:18]shift 445 fd 43058 [21:13:18]save to /storage/0445/doc_00043058 [21:13:18]save last doc name /storage/0445/doc_00043058 to /storage/kkm_last_doc_name [21:13:18]save OK [21:13:18]Clear old archive folders... [21:13:18]ProcessDocumentItem done err = 0, tmpTLVsize=376 [21:13:18]tlvbuf is B6FE2930 [21:13:18]SAM_PROTO_ClearQueue [21:13:18]wFMCommunicate request_size=4 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 09 00 00 [21:13:18]Write to MH i2c: E2 08 00 B6 21 80 09 00 00 00 00 00 00 49 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 B6 21 00 90 00 4B [21:13:18]RAPDU: 90 00 [21:13:18]wFMCommunicate OK [21:13:18]SAM_PROTO_ClearQueue done [21:13:18]KKMCreateOFDPacket [21:13:18]OFDProtocolAddRootSTLVToBuf [21:13:18]FM_MakeSignedData [21:13:18]FM_MakeSignedData [21:13:18]SAM_PROTO_SignData [21:13:18]wFMCommunicate request_size=4 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 0D 01 02 [21:13:18]Write to MH i2c: E2 08 00 B7 21 80 0D 01 02 00 00 00 00 51 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 B7 21 00 90 00 4C [21:13:18]RAPDU: 90 00 [21:13:18]wFMCommunicate OK [21:13:18]wFMCommunicate request_size=255 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 B8 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D1 01 00 00 00 00 EE 03 [21:13:18]Write to MH i2c: E2 02 01 B8 21 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 B8 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D1 01 00 00 00 00 EE 03 00 00 33 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 B8 21 00 90 00 4D [21:13:18]RAPDU: 90 00 [21:13:18]wFMCommunicate OK [21:13:18]wFMCommunicate request_size=135 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 D2 15 00 00 00 00 07 04 06 00 78 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 F2 ED 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 32 A8 00 00 35 04 06 00 05 E4 3D 76 20 A2 [21:13:18]Write to MH i2c: E2 8A 00 B9 21 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 D2 15 00 00 00 00 07 04 06 00 78 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 F2 ED 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 32 A8 00 00 35 04 06 00 05 E4 3D 76 20 A2 00 00 F7 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 03 00 B9 21 00 90 00 4E [21:13:18]RAPDU: 90 00 [21:13:18]wFMCommunicate OK [21:13:18]wFMCommunicate request_size=4 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 0D 03 02 [21:13:18]Write to MH i2c: E2 08 00 BA 21 80 0D 03 02 00 00 00 00 56 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 0B 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 0B 00 BA 21 00 09 E2 30 61 74 1A 10 25 90 00 96 [21:13:18]RAPDU: 09 E2 30 61 74 1A 10 25 90 00 [21:13:18]wFMCommunicate OK [21:13:18]SAM_PROTO_SignData done [21:13:18]FM_MakeSignedData done [21:13:18]CreateOFDProtocolMessage [21:13:18]wFMCommunicate request_size=4 [21:13:18]MH_SAM_APDU [21:13:18]CAPDU: 80 11 00 00 [21:13:18]Write to MH i2c: E2 08 00 BB 21 80 11 00 00 00 00 00 00 56 [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:13:18]Read from MH i2c: E2 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 17 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: E2 17 00 BB 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 AD [21:13:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:13:18]wFMCommunicate OK [21:13:18]CreateOFDProtocolMessage done [21:13:18]OFDSenderStorePacket 43058 [21:13:18]StoreOFDPacket docnum=43058 [21:13:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 3E 75 84 01 5F E5 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 B8 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D1 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 15 00 00 00 00 07 04 06 00 78 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 F2 ED 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 32 A8 00 00 35 04 06 00 05 E4 3D 76 20 A2 09 E2 30 61 74 1A 10 25 [21:13:18]CheckFolder [21:13:18]dirname=/storage/ofd_packets [21:13:18]CheckFolder done [21:13:18]ProducePacketName [21:13:18]name=ofd_packets/00043058 [21:13:18]NVStorageSaveData ofd_packets/00043058 [21:13:18]File name is /storage/ofd_packets/00043058 [21:13:18]Write 426 bytes [21:13:18]NVStorageSaveData done [21:13:18]OFDSenderStorePacket done [21:13:18]KKMCreateOFDPacket done [21:13:18]NVStorageSaveData kkm_last_timestamp [21:13:18]File name is /storage/kkm_last_timestamp [21:13:18]Write 4 bytes [21:13:18]NVStorageSaveData done [21:13:18]ExternCall_PrintAddStr [21:13:18]wPrintStart [21:13:18]Write to MH i2c: 01 00 00 BC 21 DD [21:13:18]Write i2c OK [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: 01 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: 01 07 00 [21:13:18]MH_I2C_Read... [21:13:18]Read from MH i2c: 01 07 00 BC 21 00 00 00 00 00 FF 0F F2 [21:13:18]RasterBufferAndPrint [21:13:18]line Счет N : (3)300186 [21:13:18]line ИНН: 02508201610067 [21:13:18]line Контрольно-Кассовый Чек [21:13:18]line ПРОДАЖА [21:13:18]line Товар: 4860019001353 [21:13:18]line Вода Боржоми 0,5л ПЭТ [21:13:18]line 2.000 * 120.00 [21:13:18]line = 240.00 [21:13:18]line НДС 12% НСП 1% [21:13:18]line > о реализуемом товаре [21:13:18]line Товар: 4640030091584 [21:13:18]line Сигареты Esse Gold [21:13:18]line 2.000 * 143.00 [21:13:18]line = 286.00 [21:13:18]line НДС 12% НСП 1% [21:13:18]line > о реализуемом товаре [21:13:18]line ИТОГО: 526.00 [21:13:18]line НСП 1% : 4.65 [21:13:18]line НДС 12% : 55.86 [21:13:18]line Наличными: 526.00 [21:13:18]line Безнал.: 0.00 [21:13:18]line Место: АЗС № 71 "Партнер Нефть" [21:13:18]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [21:13:18]line СНО: Общий режим [21:13:18]line Чек 103 13.07.2024 21:13 [21:13:19]line Смена: 445 ФФД: 1.0 [21:13:19]line ЗНМ: 0300000153 [21:13:19]line РНМ: 0000000000091176 [21:13:19]line Версия ККМ: 001 [21:13:19]line ФМ: 0000000000874935 [21:13:19]line ФД: 43058 [21:13:19]line ФПД: 6477841834146 [21:13:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T211322&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43058&fm=6477841834146&tin=02508201610067®Number=0000000000091176&sum=52600 [21:13:19]line 0 [21:13:19]OFD Sender: Processing packet 43058 [packets to send 31, broken 30] [21:13:19]ProducePacketName [21:13:19]name=ofd_packets/00043058 [21:13:19]OFD Sender: To server: pG, [21:13:19]CommunicateWithHost lk.salyk.kg:30040 [21:13:19]ConnectInit lk.salyk.kg [21:13:19]written 0, free lines is 4095 [21:13:19]Connected sock=10 [21:13:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 3E 75 84 01 5F E5 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 B8 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D1 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 15 00 00 00 00 07 04 06 00 78 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 F2 ED 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 32 A8 00 00 35 04 06 00 05 E4 3D 76 20 A2 09 E2 30 61 74 1A 10 25 [21:13:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 0F 6B 47 00 F5 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 32 A8 00 00 F4 03 04 00 EB 99 92 66 B6 04 01 00 00 57 2D 2F FF 3A 49 C9 C4 [21:13:19]CommunicateWithHost err = 0 [21:13:19]CheckOFDResponse [21:13:19]1017 (14) - 77093643461234 [21:13:19]1041 (16) - 0000000000874935 [21:13:19]1040 (4) - 43058 [21:13:19]1012 (4) - 13.07.2024 15:14 [21:13:19]1206 (1) - 0 [21:13:19]OFD Sender: Remove packet 43058 [21:13:19]ProducePacketName [21:13:19]name=ofd_packets/00043058 [21:13:19]NVStorageDeleteData [21:13:19]Write to MH i2c: 01 00 00 EA 21 0B [21:13:19]Write i2c OK [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: 01 [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: 01 07 00 [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: 01 07 00 EA 21 00 00 00 00 00 A8 0C C6 [21:13:19]RasterBufferAndPrint [21:13:19]line [21:13:19]line [21:13:19]line [21:13:19]line [21:13:19]line [21:13:19]written 0, free lines is 3246 [21:13:19]MH_Cut [21:13:19]Write to MH i2c: D1 01 00 F1 21 01 E4 [21:13:19]Write i2c OK [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: D1 [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: D1 01 00 [21:13:19]MH_I2C_Read... [21:13:19]Read from MH i2c: D1 01 00 F1 21 00 E3 [21:13:19]Write to MH i2c: 01 00 00 F2 21 13 [21:13:19]Write i2c OK [21:13:19]MH_I2C_Read... [21:13:19]OFD Sender: No OFD packet to send [21:13:20]*** Cut start [21:13:20]*** Partial cut [21:13:20]*** CUTSNS_PIN = 1 [21:13:20]*** CUTSNS_PIN = 0 [21:13:20]*** Brake cut motor [21:13:20]Read from MH i2c: 01 [21:13:20]MH_I2C_Read... [21:13:20]*** Stop cut motor [21:13:20]*** Cut end [21:13:20]Read from MH i2c: 01 07 00 [21:13:20]MH_I2C_Read... [21:13:20]Read from MH i2c: 01 07 00 F2 21 00 00 00 00 00 FF 0F 28 [21:13:20]process_action close_receipt done [21:13:20]requested_data is exist [21:13:20]produce_requested_data [21:13:20]requested_item fm.sn is exist - process it [21:13:20]wFMCommunicate request_size=4 [21:13:20]MH_SAM_APDU [21:13:20]CAPDU: 80 11 00 00 [21:13:20]Write to MH i2c: E2 08 00 F3 21 80 11 00 00 00 00 00 00 8E [21:13:20]Write i2c OK [21:13:20]MH_I2C_Read... [21:13:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:13:20]Read from MH i2c: E2 [21:13:20]MH_I2C_Read... [21:13:20]Read from MH i2c: E2 17 00 [21:13:20]MH_I2C_Read... [21:13:20]Read from MH i2c: E2 17 00 F3 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E5 [21:13:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:13:20]wFMCommunicate OK [21:13:20]requested_item fd.num is exist - process it [21:13:20]SAM_PROTO_GetFieldsCounters [21:13:20]wFMCommunicate request_size=4 [21:13:20]MH_SAM_APDU [21:13:20]CAPDU: 80 13 00 00 [21:13:20]Write to MH i2c: E2 08 00 F4 21 80 13 00 00 00 00 00 00 91 [21:13:20]Write i2c OK [21:13:20]MH_I2C_Read... [21:13:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:13:21]Read from MH i2c: E2 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 62 00 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 62 00 F4 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 32 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [21:13:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 32 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:13:21]wFMCommunicate OK [21:13:21]SAM_PROTO_GetFieldsCounters done [21:13:21]requested_item shift.num is exist - process it [21:13:21]requested_item shift.opened is exist - process it [21:13:21]req_shift_opened [21:13:21]FM_GetShiftState [21:13:21]SAM_PROTO_GetShiftState [21:13:21]wFMCommunicate request_size=4 [21:13:21]MH_SAM_APDU [21:13:21]CAPDU: 80 13 01 00 [21:13:21]Write to MH i2c: E2 08 00 F5 21 80 13 01 00 00 00 00 00 93 [21:13:21]Write i2c OK [21:13:21]MH_I2C_Read... [21:13:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:13:21]Read from MH i2c: E2 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 0E 00 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 0E 00 F5 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 2A [21:13:21]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:13:21]wFMCommunicate OK [21:13:21]SAM_PROTO_GetShiftState done [21:13:21]FM_GetShiftState done [21:13:21]req_shift_opened done [21:13:21]requested_item shift.open_date is exist - process it [21:13:21]req_shift_open_date [21:13:21]req_shift_open_date done [21:13:21]requested_item shift.sale.total is exist - process it [21:13:21]SAM_PROTO_GetShiftData [21:13:21]wFMCommunicate request_size=4 [21:13:21]MH_SAM_APDU [21:13:21]CAPDU: 80 13 02 00 [21:13:21]Write to MH i2c: E2 08 00 F6 21 80 13 02 00 00 00 00 00 95 [21:13:21]Write i2c OK [21:13:21]MH_I2C_Read... [21:13:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:13:21]Read from MH i2c: E2 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 FD 00 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 FD 00 F6 21 00 AE 04 AA 04 AA 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 8C 11 1C 70 04 03 00 10 0E 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 09 FB 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 89 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 64 [21:13:21]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 8C 11 1C 70 04 03 00 10 0E 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 09 FB 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 89 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:13:21]wFMCommunicate OK [21:13:21]wFMCommunicate request_size=4 [21:13:21]MH_SAM_APDU [21:13:21]CAPDU: 80 17 00 00 [21:13:21]Write to MH i2c: E2 08 00 F7 21 80 17 00 00 00 00 00 00 98 [21:13:21]Write i2c OK [21:13:21]MH_I2C_Read... [21:13:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:13:21]Read from MH i2c: E2 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 FD 00 [21:13:21]MH_I2C_Read... [21:13:21]Read from MH i2c: E2 FD 00 F7 21 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BA [21:13:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [21:13:21]wFMCommunicate OK [21:13:21]wFMCommunicate request_size=4 [21:13:21]MH_SAM_APDU [21:13:21]CAPDU: 80 17 00 00 [21:13:21]Write to MH i2c: E2 08 00 F8 21 80 17 00 00 00 00 00 00 99 [21:13:21]Write i2c OK [21:13:21]MH_I2C_Read... [21:13:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:13:22]Read from MH i2c: E2 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 FD 00 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 FD 00 F8 21 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 50 [21:13:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [21:13:22]wFMCommunicate OK [21:13:22]wFMCommunicate request_size=4 [21:13:22]MH_SAM_APDU [21:13:22]CAPDU: 80 17 00 00 [21:13:22]Write to MH i2c: E2 08 00 F9 21 80 17 00 00 00 00 00 00 9A [21:13:22]Write i2c OK [21:13:22]MH_I2C_Read... [21:13:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:13:22]Read from MH i2c: E2 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 FD 00 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 FD 00 F9 21 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0C [21:13:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [21:13:22]wFMCommunicate OK [21:13:22]wFMCommunicate request_size=4 [21:13:22]MH_SAM_APDU [21:13:22]CAPDU: 80 17 00 00 [21:13:22]Write to MH i2c: E2 08 00 FA 21 80 17 00 00 00 00 00 00 9B [21:13:22]Write i2c OK [21:13:22]MH_I2C_Read... [21:13:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:13:22]Read from MH i2c: E2 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 CB 00 [21:13:22]MH_I2C_Read... [21:13:22]Read from MH i2c: E2 CB 00 FA 21 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 84 [21:13:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:13:22]wFMCommunicate OK [21:13:22]SAM_PROTO_GetShiftData done [21:13:22]requested_item shift.sale.total_cash is exist - process it [21:13:22]requested_item shift.sale_refund.total is exist - process it [21:13:22]requested_item shift.sale_refund.total_cash is exist - process it [21:13:22]produce_requested_data done [21:13:22]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43058,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18395.00,"shift.sale.total_cash":16420.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [21:13:22]process_action_free close_receipt [21:13:22]json_value_free [21:13:22]json_value_free done [21:13:22]process_json_proto returns [21:13:22]Send response to host [21:13:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43058,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18395.00,"shift.sale.total_cash":16420.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [21:13:22]free response buf [21:13:22]execute_script done [21:13:22]execute_script returns [21:13:22]free content buf [21:13:22]Sock 7.Close socket [21:13:22]Sock 7.Thread stoped [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:30]OFD Sender: No OFD packet to send [21:18:35]OFD Sender: No OFD packet to send [21:18:40]OFD Sender: No OFD packet to send [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:05]OFD Sender: No OFD packet to send [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:22:20]OFD Sender: No OFD packet to send [21:22:25]OFD Sender: No OFD packet to send [21:22:30]OFD Sender: No OFD packet to send [21:22:35]OFD Sender: No OFD packet to send [21:22:40]OFD Sender: No OFD packet to send [21:22:45]OFD Sender: No OFD packet to send [21:22:50]OFD Sender: No OFD packet to send [21:22:55]OFD Sender: No OFD packet to send [21:23:00]OFD Sender: No OFD packet to send [21:23:05]OFD Sender: No OFD packet to send [21:23:10]OFD Sender: No OFD packet to send [21:23:15]OFD Sender: No OFD packet to send [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:05]OFD Sender: No OFD packet to send [21:24:10]OFD Sender: No OFD packet to send [21:24:15]OFD Sender: No OFD packet to send [21:24:20]OFD Sender: No OFD packet to send [21:24:25]OFD Sender: No OFD packet to send [21:24:30]OFD Sender: No OFD packet to send [21:24:35]OFD Sender: No OFD packet to send [21:24:40]OFD Sender: No OFD packet to send [21:24:45]OFD Sender: No OFD packet to send [21:24:50]OFD Sender: No OFD packet to send [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:25]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:40]accept exits with 9 [21:35:40]New connection [21:35:40]New thread 3067387236 created [21:35:40]Thread 3067530596 joined [21:35:40]Waiting for new connection... [21:35:40] Sock 9.Parse request [21:35:40]Sock 9.Check first char [21:35:40]Sock 9.First char is OK [21:35:40]request: POST /json_proto HTTP/1.0 [21:35:40]Method: POST [21:35:40]URL: /json_proto [21:35:40]Method is POST - this is cgi request [21:35:40]url: /json_proto [21:35:40]query_string will be loaded in cgi processing [21:35:40]execute_cgi json_proto POST (null) [21:35:40]execute_cgi path=json_proto method=POST [21:35:40]POST find Content-Length [21:35:40]Host: 172.17.38.197:8080 [21:35:40]Content-Length: 672 [21:35:40]Content-Type: application/json [21:35:40] [21:35:40]POST finish read [21:35:40]Found Content-Length = 672 [21:35:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300187", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:35:40]execute_script... [21:35:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300187", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:35:40]POST & json_proto [21:35:40]process_json_proto [21:35:40]json parsed OK: [21:35:40]protocol is kg_v1.0 [21:35:40]action value=close_receipt [21:35:40]process_action close_receipt [21:35:40]cmd_close_receipt [21:35:40]MH_GetDate [21:35:40]Write to MH i2c: F0 00 00 FB 21 0B [21:35:40]Write i2c OK [21:35:40]MH_I2C_Read... [21:35:40]Read from MH i2c: F0 [21:35:40]MH_I2C_Read... [21:35:40]Read from MH i2c: F0 09 00 [21:35:40]MH_I2C_Read... [21:35:40]Read from MH i2c: F0 09 00 FB 21 00 32 F3 92 66 1E 0D 88 66 4A [21:35:40]GetLastDocTimeStamp 1720905202 [21:35:40]current date 1720906546 [21:35:40]FM_GetShiftState [21:35:40]SAM_PROTO_GetShiftState [21:35:40]wFMCommunicate request_size=4 [21:35:40]MH_SAM_APDU [21:35:40]CAPDU: 80 13 01 00 [21:35:40]Write to MH i2c: E2 08 00 FC 21 80 13 01 00 00 00 00 00 9A [21:35:40]Write i2c OK [21:35:40]MH_I2C_Read... [21:35:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:40]Read from MH i2c: E2 [21:35:40]MH_I2C_Read... [21:35:40]Read from MH i2c: E2 0E 00 [21:35:40]MH_I2C_Read... [21:35:40]Read from MH i2c: E2 0E 00 FC 21 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 31 [21:35:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:35:40]wFMCommunicate OK [21:35:40]SAM_PROTO_GetShiftState done [21:35:40]FM_GetShiftState done [21:35:40]opened in 1720829646 [21:35:40]opened+sec_in_day 1720916046 [21:35:40]quantity*price = 13000 [21:35:40]sum+1 = 13001 [21:35:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 104 13.07.2024 21:35 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43059 ФПД: 126093034111610 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T213546&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43059&fm=126093034111610&tin=02508201610067®Number=0000000000091176&sum=13000 0 [21:35:41]StoreToDocumentArchive [21:35:41]shift 445 fd 43059 [21:35:41]save to /storage/0445/doc_00043059 [21:35:41]save last doc name /storage/0445/doc_00043059 to /storage/kkm_last_doc_name [21:35:41]save OK [21:35:41]Clear old archive folders... [21:35:41]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:35:41]tlvbuf is B6E35590 [21:35:41]SAM_PROTO_ClearQueue [21:35:41]wFMCommunicate request_size=4 [21:35:41]MH_SAM_APDU [21:35:41]CAPDU: 80 09 00 00 [21:35:41]Write to MH i2c: E2 08 00 09 22 80 09 00 00 00 00 00 00 9D [21:35:41]Write i2c OK [21:35:41]MH_I2C_Read... [21:35:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:35:41]Read from MH i2c: E2 [21:35:41]MH_I2C_Read... [21:35:41]Read from MH i2c: E2 03 00 [21:35:41]MH_I2C_Read... [21:35:41]Read from MH i2c: E2 03 00 09 22 00 90 00 9F [21:35:41]RAPDU: 90 00 [21:35:41]wFMCommunicate OK [21:35:41]SAM_PROTO_ClearQueue done [21:35:41]KKMCreateOFDPacket [21:35:41]OFDProtocolAddRootSTLVToBuf [21:35:41]FM_MakeSignedData [21:35:41]FM_MakeSignedData [21:35:41]SAM_PROTO_SignData [21:35:41]wFMCommunicate request_size=4 [21:35:41]MH_SAM_APDU [21:35:41]CAPDU: 80 0D 01 02 [21:35:41]Write to MH i2c: E2 08 00 0A 22 80 0D 01 02 00 00 00 00 A5 [21:35:41]Write i2c OK [21:35:41]MH_I2C_Read... [21:35:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:35:41]Read from MH i2c: E2 [21:35:41]MH_I2C_Read... [21:35:41]Read from MH i2c: E2 03 00 [21:35:41]MH_I2C_Read... [21:35:41]Read from MH i2c: E2 03 00 0A 22 00 90 00 A0 [21:35:41]RAPDU: 90 00 [21:35:41]wFMCommunicate OK [21:35:41]wFMCommunicate request_size=255 [21:35:41]MH_SAM_APDU [21:35:41]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 32 F3 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 33 A8 00 00 35 04 06 00 [21:35:41]Write to MH i2c: E2 02 01 0B 22 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 32 F3 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 33 A8 00 00 35 04 06 00 00 00 DF [21:35:41]Write i2c OK [21:35:41]MH_I2C_Read... [21:35:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:42]Read from MH i2c: E2 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 03 00 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 03 00 0B 22 00 90 00 A1 [21:35:42]RAPDU: 90 00 [21:35:42]wFMCommunicate OK [21:35:42]wFMCommunicate request_size=11 [21:35:42]MH_SAM_APDU [21:35:42]CAPDU: 80 0D 02 02 06 72 AE 52 81 C2 7A [21:35:42]Write to MH i2c: E2 0E 00 0C 22 80 0D 02 02 06 00 72 AE 52 81 C2 7A 00 00 E3 [21:35:42]Write i2c OK [21:35:42]MH_I2C_Read... [21:35:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:42]Read from MH i2c: E2 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 03 00 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 03 00 0C 22 00 90 00 A2 [21:35:42]RAPDU: 90 00 [21:35:42]wFMCommunicate OK [21:35:42]wFMCommunicate request_size=4 [21:35:42]MH_SAM_APDU [21:35:42]CAPDU: 80 0D 03 02 [21:35:42]Write to MH i2c: E2 08 00 0D 22 80 0D 03 02 00 00 00 00 AA [21:35:42]Write i2c OK [21:35:42]MH_I2C_Read... [21:35:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:35:42]Read from MH i2c: E2 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 0B 00 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 0B 00 0D 22 00 1B 6D 4D 41 98 F8 3B 3D 90 00 C9 [21:35:42]RAPDU: 1B 6D 4D 41 98 F8 3B 3D 90 00 [21:35:42]wFMCommunicate OK [21:35:42]SAM_PROTO_SignData done [21:35:42]FM_MakeSignedData done [21:35:42]CreateOFDProtocolMessage [21:35:42]wFMCommunicate request_size=4 [21:35:42]MH_SAM_APDU [21:35:42]CAPDU: 80 11 00 00 [21:35:42]Write to MH i2c: E2 08 00 0E 22 80 11 00 00 00 00 00 00 AA [21:35:42]Write i2c OK [21:35:42]MH_I2C_Read... [21:35:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:42]Read from MH i2c: E2 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 17 00 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: E2 17 00 0E 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 01 [21:35:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:35:42]wFMCommunicate OK [21:35:42]CreateOFDProtocolMessage done [21:35:42]OFDSenderStorePacket 43059 [21:35:42]StoreOFDPacket docnum=43059 [21:35:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 01 00 00 C6 82 08 01 82 E7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 32 F3 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 33 A8 00 00 35 04 06 00 72 AE 52 81 C2 7A 1B 6D 4D 41 98 F8 3B 3D [21:35:42]CheckFolder [21:35:42]dirname=/storage/ofd_packets [21:35:42]CheckFolder done [21:35:42]ProducePacketName [21:35:42]name=ofd_packets/00043059 [21:35:42]NVStorageSaveData ofd_packets/00043059 [21:35:42]File name is /storage/ofd_packets/00043059 [21:35:42]Write 302 bytes [21:35:42]NVStorageSaveData done [21:35:42]OFDSenderStorePacket done [21:35:42]KKMCreateOFDPacket done [21:35:42]NVStorageSaveData kkm_last_timestamp [21:35:42]File name is /storage/kkm_last_timestamp [21:35:42]Write 4 bytes [21:35:42]NVStorageSaveData done [21:35:42]ExternCall_PrintAddStr [21:35:42]wPrintStart [21:35:42]Write to MH i2c: 01 00 00 0F 22 31 [21:35:42]Write i2c OK [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: 01 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: 01 07 00 [21:35:42]MH_I2C_Read... [21:35:42]Read from MH i2c: 01 07 00 0F 22 00 00 00 00 00 FF 0F 46 [21:35:42]RasterBufferAndPrint [21:35:42]line Счет N : (3)300187 [21:35:42]line ИНН: 02508201610067 [21:35:42]line Контрольно-Кассовый Чек [21:35:42]line ПРОДАЖА [21:35:42]line Товар: 48744539 [21:35:42]line LD Compact Blue [21:35:42]line 1.000 * 130.00 [21:35:42]line = 130.00 [21:35:42]line НДС 12% НСП 1% [21:35:42]line > о реализуемом товаре [21:35:42]line ИТОГО: 130.00 [21:35:42]line НСП 1% : 1.15 [21:35:42]line НДС 12% : 13.80 [21:35:42]line Наличными: 130.00 [21:35:42]line Безнал.: 0.00 [21:35:42]line Место: АЗС № 71 "Партнер Нефть" [21:35:42]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [21:35:42]line СНО: Общий режим [21:35:42]line Чек 104 13.07.2024 21:35 [21:35:42]line Смена: 445 ФФД: 1.0 [21:35:42]line ЗНМ: 0300000153 [21:35:42]line РНМ: 0000000000091176 [21:35:42]line Версия ККМ: 001 [21:35:42]line ФМ: 0000000000874935 [21:35:42]line ФД: 43059 [21:35:42]line ФПД: 126093034111610 [21:35:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T213546&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43059&fm=126093034111610&tin=02508201610067®Number=0000000000091176&sum=13000 [21:35:42]OFD Sender: Processing packet 43059 [packets to send 31, broken 30] [21:35:42]ProducePacketName [21:35:42]name=ofd_packets/00043059 [21:35:42]OFD Sender: To server: pG, [21:35:42]CommunicateWithHost lk.salyk.kg:30040 [21:35:42]ConnectInit lk.salyk.kg [21:35:42]line 0 [21:35:42]written 0, free lines is 4095 [21:35:42]Connected sock=10 [21:35:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 01 00 00 C6 82 08 01 82 E7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 32 F3 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 33 A8 00 00 35 04 06 00 72 AE 52 81 C2 7A 1B 6D 4D 41 98 F8 3B 3D [21:35:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 07 9F 47 00 3E 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 33 A8 00 00 F4 03 04 00 2B 9F 92 66 B6 04 01 00 00 DD 59 FA DC EA 9D 25 23 [21:35:42]CommunicateWithHost err = 0 [21:35:42]CheckOFDResponse [21:35:42]1017 (14) - 77093643461234 [21:35:42]1041 (16) - 0000000000874935 [21:35:42]1040 (4) - 43059 [21:35:42]1012 (4) - 13.07.2024 15:37 [21:35:42]1206 (1) - 0 [21:35:42]OFD Sender: Remove packet 43059 [21:35:42]ProducePacketName [21:35:42]name=ofd_packets/00043059 [21:35:42]NVStorageDeleteData [21:35:43]Write to MH i2c: 01 00 00 37 22 59 [21:35:43]Write i2c OK [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: 01 [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: 01 07 00 [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: 01 07 00 37 22 00 00 00 00 00 13 0D 80 [21:35:43]RasterBufferAndPrint [21:35:43]line [21:35:43]line [21:35:43]line [21:35:43]line [21:35:43]line [21:35:43]written 0, free lines is 3354 [21:35:43]MH_Cut [21:35:43]Write to MH i2c: D1 01 00 3E 22 01 32 [21:35:43]Write i2c OK [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: D1 [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: D1 01 00 [21:35:43]MH_I2C_Read... [21:35:43]Read from MH i2c: D1 01 00 3E 22 00 31 [21:35:43]Write to MH i2c: 01 00 00 3F 22 61 [21:35:43]Write i2c OK [21:35:43]MH_I2C_Read... [21:35:43]OFD Sender: No OFD packet to send [21:35:43]*** Cut start [21:35:43]*** Partial cut [21:35:43]*** CUTSNS_PIN = 1 [21:35:43]*** CUTSNS_PIN = 0 [21:35:44]*** Brake cut motor [21:35:44]Read from MH i2c: 01 [21:35:44]MH_I2C_Read... [21:35:44]*** Stop cut motor [21:35:44]*** Cut end [21:35:44]Read from MH i2c: 01 07 00 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: 01 07 00 3F 22 00 00 00 00 00 FF 0F 76 [21:35:44]process_action close_receipt done [21:35:44]requested_data is exist [21:35:44]produce_requested_data [21:35:44]requested_item fm.sn is exist - process it [21:35:44]wFMCommunicate request_size=4 [21:35:44]MH_SAM_APDU [21:35:44]CAPDU: 80 11 00 00 [21:35:44]Write to MH i2c: E2 08 00 40 22 80 11 00 00 00 00 00 00 DC [21:35:44]Write i2c OK [21:35:44]MH_I2C_Read... [21:35:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:44]Read from MH i2c: E2 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 17 00 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 17 00 40 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 33 [21:35:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:35:44]wFMCommunicate OK [21:35:44]requested_item fd.num is exist - process it [21:35:44]SAM_PROTO_GetFieldsCounters [21:35:44]wFMCommunicate request_size=4 [21:35:44]MH_SAM_APDU [21:35:44]CAPDU: 80 13 00 00 [21:35:44]Write to MH i2c: E2 08 00 41 22 80 13 00 00 00 00 00 00 DF [21:35:44]Write i2c OK [21:35:44]MH_I2C_Read... [21:35:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:35:44]Read from MH i2c: E2 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 62 00 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 62 00 41 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 33 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [21:35:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 33 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:35:44]wFMCommunicate OK [21:35:44]SAM_PROTO_GetFieldsCounters done [21:35:44]requested_item shift.num is exist - process it [21:35:44]requested_item shift.opened is exist - process it [21:35:44]req_shift_opened [21:35:44]FM_GetShiftState [21:35:44]SAM_PROTO_GetShiftState [21:35:44]wFMCommunicate request_size=4 [21:35:44]MH_SAM_APDU [21:35:44]CAPDU: 80 13 01 00 [21:35:44]Write to MH i2c: E2 08 00 42 22 80 13 01 00 00 00 00 00 E1 [21:35:44]Write i2c OK [21:35:44]MH_I2C_Read... [21:35:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:44]Read from MH i2c: E2 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 0E 00 [21:35:44]MH_I2C_Read... [21:35:44]Read from MH i2c: E2 0E 00 42 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 78 [21:35:44]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:35:44]wFMCommunicate OK [21:35:44]SAM_PROTO_GetShiftState done [21:35:44]FM_GetShiftState done [21:35:44]req_shift_opened done [21:35:44]requested_item shift.open_date is exist - process it [21:35:44]req_shift_open_date [21:35:44]req_shift_open_date done [21:35:44]requested_item shift.sale.total is exist - process it [21:35:44]SAM_PROTO_GetShiftData [21:35:44]wFMCommunicate request_size=4 [21:35:44]MH_SAM_APDU [21:35:44]CAPDU: 80 13 02 00 [21:35:44]Write to MH i2c: E2 08 00 43 22 80 13 02 00 00 00 00 00 E3 [21:35:44]Write i2c OK [21:35:44]MH_I2C_Read... [21:35:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:35:45]Read from MH i2c: E2 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 43 22 00 AE 04 AA 04 AA 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 54 44 1C 70 04 03 00 D8 40 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6D 00 03 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 FC 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 86 [21:35:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 54 44 1C 70 04 03 00 D8 40 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6D 00 03 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 FC 3F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:35:45]wFMCommunicate OK [21:35:45]wFMCommunicate request_size=4 [21:35:45]MH_SAM_APDU [21:35:45]CAPDU: 80 17 00 00 [21:35:45]Write to MH i2c: E2 08 00 44 22 80 17 00 00 00 00 00 00 E6 [21:35:45]Write i2c OK [21:35:45]MH_I2C_Read... [21:35:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:35:45]Read from MH i2c: E2 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 44 22 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 08 [21:35:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [21:35:45]wFMCommunicate OK [21:35:45]wFMCommunicate request_size=4 [21:35:45]MH_SAM_APDU [21:35:45]CAPDU: 80 17 00 00 [21:35:45]Write to MH i2c: E2 08 00 45 22 80 17 00 00 00 00 00 00 E7 [21:35:45]Write i2c OK [21:35:45]MH_I2C_Read... [21:35:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:35:45]Read from MH i2c: E2 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 [21:35:45]MH_I2C_Read... [21:35:45]Read from MH i2c: E2 FD 00 45 22 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 9E [21:35:45]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [21:35:45]wFMCommunicate OK [21:35:45]wFMCommunicate request_size=4 [21:35:45]MH_SAM_APDU [21:35:45]CAPDU: 80 17 00 00 [21:35:45]Write to MH i2c: E2 08 00 46 22 80 17 00 00 00 00 00 00 E8 [21:35:45]Write i2c OK [21:35:45]MH_I2C_Read... [21:35:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:35:46]Read from MH i2c: E2 [21:35:46]MH_I2C_Read... [21:35:46]Read from MH i2c: E2 FD 00 [21:35:46]MH_I2C_Read... [21:35:46]Read from MH i2c: E2 FD 00 46 22 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 5A [21:35:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [21:35:46]wFMCommunicate OK [21:35:46]wFMCommunicate request_size=4 [21:35:46]MH_SAM_APDU [21:35:46]CAPDU: 80 17 00 00 [21:35:46]Write to MH i2c: E2 08 00 47 22 80 17 00 00 00 00 00 00 E9 [21:35:46]Write i2c OK [21:35:46]MH_I2C_Read... [21:35:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:35:46]Read from MH i2c: E2 [21:35:46]MH_I2C_Read... [21:35:46]Read from MH i2c: E2 CB 00 [21:35:46]MH_I2C_Read... [21:35:46]Read from MH i2c: E2 CB 00 47 22 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D2 [21:35:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:35:46]wFMCommunicate OK [21:35:46]SAM_PROTO_GetShiftData done [21:35:46]requested_item shift.sale.total_cash is exist - process it [21:35:46]requested_item shift.sale_refund.total is exist - process it [21:35:46]requested_item shift.sale_refund.total_cash is exist - process it [21:35:46]produce_requested_data done [21:35:46]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43059,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18525.00,"shift.sale.total_cash":16550.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [21:35:46]process_action_free close_receipt [21:35:46]json_value_free [21:35:46]json_value_free done [21:35:46]process_json_proto returns [21:35:46]Send response to host [21:35:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43059,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18525.00,"shift.sale.total_cash":16550.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [21:35:46]free response buf [21:35:46]execute_script done [21:35:46]execute_script returns [21:35:46]free content buf [21:35:46]Sock 9.Close socket [21:35:46]Sock 9.Thread stoped [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:09]accept exits with 7 [21:40:09]New connection [21:40:09]New thread 3067530596 created [21:40:09]Thread 3067387236 joined [21:40:09]Waiting for new connection... [21:40:09] Sock 7.Parse request [21:40:09]Sock 7.Check first char [21:40:09]Sock 7.First char is OK [21:40:09]request: POST /json_proto HTTP/1.0 [21:40:09]Method: POST [21:40:09]URL: /json_proto [21:40:09]Method is POST - this is cgi request [21:40:09]url: /json_proto [21:40:09]query_string will be loaded in cgi processing [21:40:09]execute_cgi json_proto POST (null) [21:40:09]execute_cgi path=json_proto method=POST [21:40:09]POST find Content-Length [21:40:09]Host: 172.17.38.197:8080 [21:40:09]Content-Length: 734 [21:40:09]Content-Type: application/json [21:40:09] [21:40:09]POST finish read [21:40:09]Found Content-Length = 734 [21:40:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300188", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:40:09]execute_script... [21:40:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300188", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:40:09]POST & json_proto [21:40:09]process_json_proto [21:40:09]json parsed OK: [21:40:09]protocol is kg_v1.0 [21:40:09]action value=close_receipt [21:40:09]process_action close_receipt [21:40:09]cmd_close_receipt [21:40:09]MH_GetDate [21:40:09]Write to MH i2c: F0 00 00 48 22 59 [21:40:09]Write i2c OK [21:40:09]MH_I2C_Read... [21:40:09]Read from MH i2c: F0 [21:40:09]MH_I2C_Read... [21:40:09]Read from MH i2c: F0 09 00 [21:40:09]MH_I2C_Read... [21:40:09]Read from MH i2c: F0 09 00 48 22 00 3F F4 92 66 1E 0D 88 66 A6 [21:40:09]GetLastDocTimeStamp 1720906546 [21:40:09]current date 1720906815 [21:40:09]FM_GetShiftState [21:40:09]SAM_PROTO_GetShiftState [21:40:09]wFMCommunicate request_size=4 [21:40:09]MH_SAM_APDU [21:40:09]CAPDU: 80 13 01 00 [21:40:09]Write to MH i2c: E2 08 00 49 22 80 13 01 00 00 00 00 00 E8 [21:40:09]Write i2c OK [21:40:09]MH_I2C_Read... [21:40:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:09]Read from MH i2c: E2 [21:40:09]MH_I2C_Read... [21:40:09]Read from MH i2c: E2 0E 00 [21:40:09]MH_I2C_Read... [21:40:09]Read from MH i2c: E2 0E 00 49 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 7F [21:40:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:40:09]wFMCommunicate OK [21:40:09]SAM_PROTO_GetShiftState done [21:40:09]FM_GetShiftState done [21:40:09]opened in 1720829646 [21:40:09]opened+sec_in_day 1720916046 [21:40:09]quantity*price = 5000 [21:40:09]sum+1 = 5001 [21:40:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 105 13.07.2024 21:40 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43060 ФПД: 170186424213370 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214015&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43060&fm=170186424213370&tin=02508201610067®Number=0000000000091176&sum=5000 0 [21:40:10]StoreToDocumentArchive [21:40:10]shift 445 fd 43060 [21:40:10]save to /storage/0445/doc_00043060 [21:40:10]save last doc name /storage/0445/doc_00043060 to /storage/kkm_last_doc_name [21:40:10]save OK [21:40:10]Clear old archive folders... [21:40:10]ProcessDocumentItem done err = 0, tmpTLVsize=269 [21:40:10]tlvbuf is 01585FC0 [21:40:10]SAM_PROTO_ClearQueue [21:40:10]wFMCommunicate request_size=4 [21:40:10]MH_SAM_APDU [21:40:10]CAPDU: 80 09 00 00 [21:40:10]Write to MH i2c: E2 08 00 56 22 80 09 00 00 00 00 00 00 EA [21:40:10]Write i2c OK [21:40:10]MH_I2C_Read... [21:40:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:40:10]Read from MH i2c: E2 [21:40:10]MH_I2C_Read... [21:40:10]Read from MH i2c: E2 03 00 [21:40:10]MH_I2C_Read... [21:40:10]Read from MH i2c: E2 03 00 56 22 00 90 00 EC [21:40:10]RAPDU: 90 00 [21:40:10]wFMCommunicate OK [21:40:10]SAM_PROTO_ClearQueue done [21:40:10]KKMCreateOFDPacket [21:40:10]OFDProtocolAddRootSTLVToBuf [21:40:10]FM_MakeSignedData [21:40:10]FM_MakeSignedData [21:40:10]SAM_PROTO_SignData [21:40:10]wFMCommunicate request_size=4 [21:40:10]MH_SAM_APDU [21:40:10]CAPDU: 80 0D 01 02 [21:40:10]Write to MH i2c: E2 08 00 57 22 80 0D 01 02 00 00 00 00 F2 [21:40:10]Write i2c OK [21:40:10]MH_I2C_Read... [21:40:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:40:10]Read from MH i2c: E2 [21:40:10]MH_I2C_Read... [21:40:10]Read from MH i2c: E2 03 00 [21:40:10]MH_I2C_Read... [21:40:10]Read from MH i2c: E2 03 00 57 22 00 90 00 ED [21:40:10]RAPDU: 90 00 [21:40:10]wFMCommunicate OK [21:40:10]wFMCommunicate request_size=255 [21:40:10]MH_SAM_APDU [21:40:10]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 3F F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [21:40:10]Write to MH i2c: E2 02 01 58 22 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 3F F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 67 [21:40:10]Write i2c OK [21:40:10]MH_I2C_Read... [21:40:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:11]Read from MH i2c: E2 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 03 00 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 03 00 58 22 00 90 00 EE [21:40:11]RAPDU: 90 00 [21:40:11]wFMCommunicate OK [21:40:11]wFMCommunicate request_size=28 [21:40:11]MH_SAM_APDU [21:40:11]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 34 A8 00 00 35 04 06 00 9A C8 9D 5C 5F 7A [21:40:11]Write to MH i2c: E2 1F 00 59 22 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 34 A8 00 00 35 04 06 00 9A C8 9D 5C 5F 7A 00 00 96 [21:40:11]Write i2c OK [21:40:11]MH_I2C_Read... [21:40:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:11]Read from MH i2c: E2 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 03 00 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 03 00 59 22 00 90 00 EF [21:40:11]RAPDU: 90 00 [21:40:11]wFMCommunicate OK [21:40:11]wFMCommunicate request_size=4 [21:40:11]MH_SAM_APDU [21:40:11]CAPDU: 80 0D 03 02 [21:40:11]Write to MH i2c: E2 08 00 5A 22 80 0D 03 02 00 00 00 00 F7 [21:40:11]Write i2c OK [21:40:11]MH_I2C_Read... [21:40:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:40:11]Read from MH i2c: E2 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 0B 00 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 0B 00 5A 22 00 0E 06 2C 66 0B 6A 01 3D 90 00 51 [21:40:11]RAPDU: 0E 06 2C 66 0B 6A 01 3D 90 00 [21:40:11]wFMCommunicate OK [21:40:11]SAM_PROTO_SignData done [21:40:11]FM_MakeSignedData done [21:40:11]CreateOFDProtocolMessage [21:40:11]wFMCommunicate request_size=4 [21:40:11]MH_SAM_APDU [21:40:11]CAPDU: 80 11 00 00 [21:40:11]Write to MH i2c: E2 08 00 5B 22 80 11 00 00 00 00 00 00 F7 [21:40:11]Write i2c OK [21:40:11]MH_I2C_Read... [21:40:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:11]Read from MH i2c: E2 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 17 00 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: E2 17 00 5B 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 4E [21:40:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:40:11]wFMCommunicate OK [21:40:11]CreateOFDProtocolMessage done [21:40:11]OFDSenderStorePacket 43060 [21:40:11]StoreOFDPacket docnum=43060 [21:40:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 FD 78 19 01 0A 59 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 3F F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 34 A8 00 00 35 04 06 00 9A C8 9D 5C 5F 7A 0E 06 2C 66 0B 6A 01 3D [21:40:11]CheckFolder [21:40:11]dirname=/storage/ofd_packets [21:40:11]CheckFolder done [21:40:11]ProducePacketName [21:40:11]name=ofd_packets/00043060 [21:40:11]NVStorageSaveData ofd_packets/00043060 [21:40:11]File name is /storage/ofd_packets/00043060 [21:40:11]Write 319 bytes [21:40:11]NVStorageSaveData done [21:40:11]OFDSenderStorePacket done [21:40:11]KKMCreateOFDPacket done [21:40:11]NVStorageSaveData kkm_last_timestamp [21:40:11]File name is /storage/kkm_last_timestamp [21:40:11]Write 4 bytes [21:40:11]NVStorageSaveData done [21:40:11]ExternCall_PrintAddStr [21:40:11]wPrintStart [21:40:11]Write to MH i2c: 01 00 00 5C 22 7E [21:40:11]Write i2c OK [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: 01 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: 01 07 00 [21:40:11]MH_I2C_Read... [21:40:11]Read from MH i2c: 01 07 00 5C 22 00 00 00 00 00 FF 0F 93 [21:40:11]RasterBufferAndPrint [21:40:11]line Счет N : (3)300188 [21:40:11]line ИНН: 02508201610067 [21:40:11]line Контрольно-Кассовый Чек [21:40:11]line ПРОДАЖА [21:40:11]line Товар: 5449000066473 [21:40:11]line Вода Бонаква 1л [21:40:11]line 1.000 * 50.00 [21:40:11]line = 50.00 [21:40:11]line НДС 12% НСП 1% [21:40:11]line > о реализуемом товаре [21:40:11]line ИТОГО: 50.00 [21:40:11]line НСП 1% : 0.44 [21:40:11]line НДС 12% : 5.31 [21:40:11]line Наличными: 50.00 [21:40:11]line Безнал.: 0.00 [21:40:11]line Место: АЗС № 71 "Партнер Нефть" [21:40:11]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [21:40:11]line СНО: Общий режим [21:40:11]line Чек 105 13.07.2024 21:40 [21:40:11]line Смена: 445 ФФД: 1.0 [21:40:11]line ЗНМ: 0300000153 [21:40:11]line РНМ: 0000000000091176 [21:40:11]line Версия ККМ: 001 [21:40:11]line ФМ: 0000000000874935 [21:40:11]line ФД: 43060 [21:40:11]line ФПД: 170186424213370 [21:40:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214015&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43060&fm=170186424213370&tin=02508201610067®Number=0000000000091176&sum=5000 [21:40:11]OFD Sender: Processing packet 43060 [packets to send 31, broken 30] [21:40:11]ProducePacketName [21:40:11]name=ofd_packets/00043060 [21:40:11]OFD Sender: To server: pG, [21:40:11]CommunicateWithHost lk.salyk.kg:30040 [21:40:11]ConnectInit lk.salyk.kg [21:40:11]line 0 [21:40:11]written 0, free lines is 4095 [21:40:11]Connected sock=10 [21:40:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 FD 78 19 01 0A 59 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 3F F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 34 A8 00 00 35 04 06 00 9A C8 9D 5C 5F 7A 0E 06 2C 66 0B 6A 01 3D [21:40:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 D5 8B 47 00 3D 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 38 37 34 39 33 35 10 04 04 00 34 A8 00 00 F4 03 04 00 38 A0 92 66 B6 04 01 00 00 A2 1B 56 6F 82 75 43 07 [21:40:11]CommunicateWithHost err = 0 [21:40:11]CheckOFDResponse [21:40:11]1017 (14) - 77093643461234 [21:40:11]1041 (16) - 0000000000874935 [21:40:11]1040 (4) - 43060 [21:40:11]1012 (4) - 13.07.2024 15:41 [21:40:11]1206 (1) - 0 [21:40:11]OFD Sender: Remove packet 43060 [21:40:11]ProducePacketName [21:40:11]name=ofd_packets/00043060 [21:40:11]NVStorageDeleteData [21:40:12]Write to MH i2c: 01 00 00 84 22 A6 [21:40:12]Write i2c OK [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: 01 [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: 01 07 00 [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: 01 07 00 84 22 00 00 00 00 00 03 0D BD [21:40:12]RasterBufferAndPrint [21:40:12]line [21:40:12]line [21:40:12]line [21:40:12]line [21:40:12]line [21:40:12]written 0, free lines is 3337 [21:40:12]MH_Cut [21:40:12]Write to MH i2c: D1 01 00 8B 22 01 7F [21:40:12]Write i2c OK [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: D1 [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: D1 01 00 [21:40:12]MH_I2C_Read... [21:40:12]Read from MH i2c: D1 01 00 8B 22 00 7E [21:40:12]Write to MH i2c: 01 00 00 8C 22 AE [21:40:12]Write i2c OK [21:40:12]MH_I2C_Read... [21:40:12]OFD Sender: No OFD packet to send [21:40:12]*** Cut start [21:40:12]*** Partial cut [21:40:12]*** CUTSNS_PIN = 1 [21:40:12]*** CUTSNS_PIN = 0 [21:40:13]*** Brake cut motor [21:40:13]Read from MH i2c: 01 [21:40:13]MH_I2C_Read... [21:40:13]*** Stop cut motor [21:40:13]*** Cut end [21:40:13]Read from MH i2c: 01 07 00 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: 01 07 00 8C 22 00 00 00 00 00 FF 0F C3 [21:40:13]process_action close_receipt done [21:40:13]requested_data is exist [21:40:13]produce_requested_data [21:40:13]requested_item fm.sn is exist - process it [21:40:13]wFMCommunicate request_size=4 [21:40:13]MH_SAM_APDU [21:40:13]CAPDU: 80 11 00 00 [21:40:13]Write to MH i2c: E2 08 00 8D 22 80 11 00 00 00 00 00 00 29 [21:40:13]Write i2c OK [21:40:13]MH_I2C_Read... [21:40:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:13]Read from MH i2c: E2 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 17 00 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 17 00 8D 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 80 [21:40:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:40:13]wFMCommunicate OK [21:40:13]requested_item fd.num is exist - process it [21:40:13]SAM_PROTO_GetFieldsCounters [21:40:13]wFMCommunicate request_size=4 [21:40:13]MH_SAM_APDU [21:40:13]CAPDU: 80 13 00 00 [21:40:13]Write to MH i2c: E2 08 00 8E 22 80 13 00 00 00 00 00 00 2C [21:40:13]Write i2c OK [21:40:13]MH_I2C_Read... [21:40:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:40:13]Read from MH i2c: E2 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 62 00 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 62 00 8E 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 34 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [21:40:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 34 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:40:13]wFMCommunicate OK [21:40:13]SAM_PROTO_GetFieldsCounters done [21:40:13]requested_item shift.num is exist - process it [21:40:13]requested_item shift.opened is exist - process it [21:40:13]req_shift_opened [21:40:13]FM_GetShiftState [21:40:13]SAM_PROTO_GetShiftState [21:40:13]wFMCommunicate request_size=4 [21:40:13]MH_SAM_APDU [21:40:13]CAPDU: 80 13 01 00 [21:40:13]Write to MH i2c: E2 08 00 8F 22 80 13 01 00 00 00 00 00 2E [21:40:13]Write i2c OK [21:40:13]MH_I2C_Read... [21:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:13]Read from MH i2c: E2 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 0E 00 [21:40:13]MH_I2C_Read... [21:40:13]Read from MH i2c: E2 0E 00 8F 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 C5 [21:40:13]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:40:13]wFMCommunicate OK [21:40:13]SAM_PROTO_GetShiftState done [21:40:13]FM_GetShiftState done [21:40:13]req_shift_opened done [21:40:13]requested_item shift.open_date is exist - process it [21:40:13]req_shift_open_date [21:40:13]req_shift_open_date done [21:40:13]requested_item shift.sale.total is exist - process it [21:40:13]SAM_PROTO_GetShiftData [21:40:13]wFMCommunicate request_size=4 [21:40:13]MH_SAM_APDU [21:40:13]CAPDU: 80 13 02 00 [21:40:13]Write to MH i2c: E2 08 00 90 22 80 13 02 00 00 00 00 00 30 [21:40:13]Write i2c OK [21:40:13]MH_I2C_Read... [21:40:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:40:14]Read from MH i2c: E2 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 90 22 00 AE 04 AA 04 AA 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 DC 57 1C 70 04 03 00 60 54 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 02 03 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 28 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4E [21:40:14]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 DC 57 1C 70 04 03 00 60 54 19 72 04 03 00 7C 03 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 02 03 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 28 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:40:14]wFMCommunicate OK [21:40:14]wFMCommunicate request_size=4 [21:40:14]MH_SAM_APDU [21:40:14]CAPDU: 80 17 00 00 [21:40:14]Write to MH i2c: E2 08 00 91 22 80 17 00 00 00 00 00 00 33 [21:40:14]Write i2c OK [21:40:14]MH_I2C_Read... [21:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:40:14]Read from MH i2c: E2 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 91 22 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 55 [21:40:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [21:40:14]wFMCommunicate OK [21:40:14]wFMCommunicate request_size=4 [21:40:14]MH_SAM_APDU [21:40:14]CAPDU: 80 17 00 00 [21:40:14]Write to MH i2c: E2 08 00 92 22 80 17 00 00 00 00 00 00 34 [21:40:14]Write i2c OK [21:40:14]MH_I2C_Read... [21:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:40:14]Read from MH i2c: E2 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 [21:40:14]MH_I2C_Read... [21:40:14]Read from MH i2c: E2 FD 00 92 22 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 EB [21:40:14]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [21:40:14]wFMCommunicate OK [21:40:14]wFMCommunicate request_size=4 [21:40:14]MH_SAM_APDU [21:40:14]CAPDU: 80 17 00 00 [21:40:14]Write to MH i2c: E2 08 00 93 22 80 17 00 00 00 00 00 00 35 [21:40:14]Write i2c OK [21:40:14]MH_I2C_Read... [21:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:40:14]Read from MH i2c: E2 [21:40:14]MH_I2C_Read... [21:40:15]Read from MH i2c: E2 FD 00 [21:40:15]MH_I2C_Read... [21:40:15]Read from MH i2c: E2 FD 00 93 22 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A7 [21:40:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [21:40:15]wFMCommunicate OK [21:40:15]wFMCommunicate request_size=4 [21:40:15]MH_SAM_APDU [21:40:15]CAPDU: 80 17 00 00 [21:40:15]Write to MH i2c: E2 08 00 94 22 80 17 00 00 00 00 00 00 36 [21:40:15]Write i2c OK [21:40:15]MH_I2C_Read... [21:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:40:15]Read from MH i2c: E2 [21:40:15]MH_I2C_Read... [21:40:15]Read from MH i2c: E2 CB 00 [21:40:15]MH_I2C_Read... [21:40:15]Read from MH i2c: E2 CB 00 94 22 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1F [21:40:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:40:15]wFMCommunicate OK [21:40:15]SAM_PROTO_GetShiftData done [21:40:15]requested_item shift.sale.total_cash is exist - process it [21:40:15]requested_item shift.sale_refund.total is exist - process it [21:40:15]requested_item shift.sale_refund.total_cash is exist - process it [21:40:15]produce_requested_data done [21:40:15]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43060,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18575.00,"shift.sale.total_cash":16600.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [21:40:15]process_action_free close_receipt [21:40:15]json_value_free [21:40:15]json_value_free done [21:40:15]process_json_proto returns [21:40:15]Send response to host [21:40:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43060,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18575.00,"shift.sale.total_cash":16600.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [21:40:15]free response buf [21:40:15]execute_script done [21:40:15]execute_script returns [21:40:15]free content buf [21:40:15]Sock 7.Close socket [21:40:15]Sock 7.Thread stoped [21:40:17]OFD Sender: No OFD packet to send [21:40:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:08]accept exits with 9 [21:43:08]New connection [21:43:08]New thread 3067387236 created [21:43:08]Thread 3067530596 joined [21:43:08]Waiting for new connection... [21:43:08] Sock 9.Parse request [21:43:08]Sock 9.Check first char [21:43:08]Sock 9.First char is OK [21:43:08]request: POST /json_proto HTTP/1.0 [21:43:08]Method: POST [21:43:08]URL: /json_proto [21:43:08]Method is POST - this is cgi request [21:43:08]url: /json_proto [21:43:08]query_string will be loaded in cgi processing [21:43:08]execute_cgi json_proto POST (null) [21:43:08]execute_cgi path=json_proto method=POST [21:43:08]POST find Content-Length [21:43:08]Host: 172.17.38.197:8080 [21:43:08]Content-Length: 1163 [21:43:08]Content-Type: application/json [21:43:08] [21:43:08]POST finish read [21:43:08]Found Content-Length = 1163 [21:43:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300189", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 381.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:43:08]execute_script... [21:43:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300189", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 381.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:43:08]POST & json_proto [21:43:08]process_json_proto [21:43:08]json parsed OK: [21:43:08]protocol is kg_v1.0 [21:43:08]action value=close_receipt [21:43:08]process_action close_receipt [21:43:08]cmd_close_receipt [21:43:08]MH_GetDate [21:43:08]Write to MH i2c: F0 00 00 95 22 A6 [21:43:08]Write i2c OK [21:43:08]MH_I2C_Read... [21:43:08]Read from MH i2c: F0 [21:43:08]MH_I2C_Read... [21:43:08]Read from MH i2c: F0 09 00 [21:43:08]MH_I2C_Read... [21:43:08]Read from MH i2c: F0 09 00 95 22 00 F2 F4 92 66 1E 0D 88 66 A6 [21:43:08]GetLastDocTimeStamp 1720906815 [21:43:08]current date 1720906994 [21:43:08]FM_GetShiftState [21:43:08]SAM_PROTO_GetShiftState [21:43:08]wFMCommunicate request_size=4 [21:43:08]MH_SAM_APDU [21:43:08]CAPDU: 80 13 01 00 [21:43:08]Write to MH i2c: E2 08 00 96 22 80 13 01 00 00 00 00 00 35 [21:43:08]Write i2c OK [21:43:08]MH_I2C_Read... [21:43:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:08]Read from MH i2c: E2 [21:43:08]MH_I2C_Read... [21:43:08]Read from MH i2c: E2 0E 00 [21:43:08]MH_I2C_Read... [21:43:08]Read from MH i2c: E2 0E 00 96 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 CC [21:43:08]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:43:08]wFMCommunicate OK [21:43:08]SAM_PROTO_GetShiftState done [21:43:08]FM_GetShiftState done [21:43:08]opened in 1720829646 [21:43:08]opened+sec_in_day 1720916046 [21:43:08]quantity*price = 27000 [21:43:08]sum+1 = 27001 [21:43:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 381.00 НСП 1% : 3.37 НДС 12% : 40.46 Наличными: 0.00 Безнал.: 381.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 106 13.07.2024 21:43 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43061 ФПД: 90748030379386 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214314&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43061&fm=90748030379386&tin=02508201610067®Number=0000000000091176&sum=38100 0 [21:43:10]StoreToDocumentArchive [21:43:10]shift 445 fd 43061 [21:43:10]save to /storage/0445/doc_00043061 [21:43:10]save last doc name /storage/0445/doc_00043061 to /storage/kkm_last_doc_name [21:43:10]save OK [21:43:10]Clear old archive folders... [21:43:10]ProcessDocumentItem done err = 0, tmpTLVsize=376 [21:43:10]tlvbuf is 015810E0 [21:43:10]SAM_PROTO_ClearQueue [21:43:10]wFMCommunicate request_size=4 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 09 00 00 [21:43:10]Write to MH i2c: E2 08 00 A3 22 80 09 00 00 00 00 00 00 37 [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 A3 22 00 90 00 39 [21:43:10]RAPDU: 90 00 [21:43:10]wFMCommunicate OK [21:43:10]SAM_PROTO_ClearQueue done [21:43:10]KKMCreateOFDPacket [21:43:10]OFDProtocolAddRootSTLVToBuf [21:43:10]FM_MakeSignedData [21:43:10]FM_MakeSignedData [21:43:10]SAM_PROTO_SignData [21:43:10]wFMCommunicate request_size=4 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 0D 01 02 [21:43:10]Write to MH i2c: E2 08 00 A4 22 80 0D 01 02 00 00 00 00 3F [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 A4 22 00 90 00 3A [21:43:10]RAPDU: 90 00 [21:43:10]wFMCommunicate OK [21:43:10]wFMCommunicate request_size=255 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 01 00 00 00 00 EE 03 [21:43:10]Write to MH i2c: E2 02 01 A5 22 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 01 00 00 00 00 EE 03 00 00 32 [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 A5 22 00 90 00 3B [21:43:10]RAPDU: 90 00 [21:43:10]wFMCommunicate OK [21:43:10]wFMCommunicate request_size=135 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 CE 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 94 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 F2 F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 35 A8 00 00 35 04 06 00 52 88 EC 1D 65 7A [21:43:10]Write to MH i2c: E2 8A 00 A6 22 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 CE 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 94 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 F2 F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 35 A8 00 00 35 04 06 00 52 88 EC 1D 65 7A 00 00 6F [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 03 00 A6 22 00 90 00 3C [21:43:10]RAPDU: 90 00 [21:43:10]wFMCommunicate OK [21:43:10]wFMCommunicate request_size=4 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 0D 03 02 [21:43:10]Write to MH i2c: E2 08 00 A7 22 80 0D 03 02 00 00 00 00 44 [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 0B 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 0B 00 A7 22 00 1B DA 37 C2 A4 28 5D 48 90 00 A4 [21:43:10]RAPDU: 1B DA 37 C2 A4 28 5D 48 90 00 [21:43:10]wFMCommunicate OK [21:43:10]SAM_PROTO_SignData done [21:43:10]FM_MakeSignedData done [21:43:10]CreateOFDProtocolMessage [21:43:10]wFMCommunicate request_size=4 [21:43:10]MH_SAM_APDU [21:43:10]CAPDU: 80 11 00 00 [21:43:10]Write to MH i2c: E2 08 00 A8 22 80 11 00 00 00 00 00 00 44 [21:43:10]Write i2c OK [21:43:10]MH_I2C_Read... [21:43:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:10]Read from MH i2c: E2 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 17 00 [21:43:10]MH_I2C_Read... [21:43:10]Read from MH i2c: E2 17 00 A8 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 9B [21:43:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:43:10]wFMCommunicate OK [21:43:10]CreateOFDProtocolMessage done [21:43:10]OFDSenderStorePacket 43061 [21:43:10]StoreOFDPacket docnum=43061 [21:43:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 C7 9E 84 01 25 EA 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 94 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 F2 F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 35 A8 00 00 35 04 06 00 52 88 EC 1D 65 7A 1B DA 37 C2 A4 28 5D 48 [21:43:10]CheckFolder [21:43:10]dirname=/storage/ofd_packets [21:43:10]CheckFolder done [21:43:10]ProducePacketName [21:43:10]name=ofd_packets/00043061 [21:43:10]NVStorageSaveData ofd_packets/00043061 [21:43:10]File name is /storage/ofd_packets/00043061 [21:43:10]Write 426 bytes [21:43:10]NVStorageSaveData done [21:43:11]OFDSenderStorePacket done [21:43:11]KKMCreateOFDPacket done [21:43:11]NVStorageSaveData kkm_last_timestamp [21:43:11]File name is /storage/kkm_last_timestamp [21:43:11]Write 4 bytes [21:43:11]NVStorageSaveData done [21:43:11]ExternCall_PrintAddStr [21:43:11]wPrintStart [21:43:11]Write to MH i2c: 01 00 00 A9 22 CB [21:43:11]OFD Sender: Processing packet 43061 [packets to send 31, broken 30] [21:43:11]ProducePacketName [21:43:11]name=ofd_packets/00043061 [21:43:11]OFD Sender: To server: pG, [21:43:11]CommunicateWithHost lk.salyk.kg:30040 [21:43:11]ConnectInit lk.salyk.kg [21:43:11]Write i2c OK [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 07 00 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 07 00 A9 22 00 00 00 00 00 FF 0F E0 [21:43:11]RasterBufferAndPrint [21:43:11]line Счет N : (3)300189 [21:43:11]line ИНН: 02508201610067 [21:43:11]line Контрольно-Кассовый Чек [21:43:11]line ПРОДАЖА [21:43:11]line Товар: 48741231 [21:43:11]line Сигареты Winston Super Slims Silver [21:43:11]line 2.000 * 135.00 [21:43:11]line = 270.00 [21:43:11]line НДС 12% НСП 1% [21:43:11]line > о реализуемом товаре [21:43:11]line Товар: 4870001570071 [21:43:11]line Напиток Pepsi 1л [21:43:11]line 1.000 * 111.00 [21:43:11]line = 111.00 [21:43:11]line НДС 12% НСП 1% [21:43:11]line > о реализуемом товаре [21:43:11]line ИТОГО: 381.00 [21:43:11]line НСП 1% : 3.37 [21:43:11]line НДС 12% : 40.46 [21:43:11]line Наличными: 0.00 [21:43:11]line Безнал.: 381.00 [21:43:11]line Место: АЗС № 71 "Партнер Нефть" [21:43:11]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [21:43:11]line СНО: Общий режим [21:43:11]line Чек 106 13.07.2024 21:43 [21:43:11]line Смена: 445 ФФД: 1.0 [21:43:11]line ЗНМ: 0300000153 [21:43:11]line РНМ: 0000000000091176 [21:43:11]line Версия ККМ: 001 [21:43:11]line Платежная система: АКБ Кыргызстан [21:43:11]line ФМ: 0000000000874935 [21:43:11]line ФД: 43061 [21:43:11]line ФПД: 90748030379386 [21:43:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214314&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43061&fm=90748030379386&tin=02508201610067®Number=0000000000091176&sum=38100 [21:43:11]line 0 [21:43:11]written 0, free lines is 4095 [21:43:11]Connected sock=10 [21:43:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8C 01 00 00 C7 9E 84 01 25 EA 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 94 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 F2 F4 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 35 A8 00 00 35 04 06 00 52 88 EC 1D 65 7A 1B DA 37 C2 A4 28 5D 48 [21:43:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 ED 25 47 00 A9 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 35 A8 00 00 F4 03 04 00 EB A0 92 66 B6 04 01 00 00 DD AA 0A 42 7E 85 63 EB [21:43:11]CommunicateWithHost err = 0 [21:43:11]CheckOFDResponse [21:43:11]1017 (14) - 77093643461234 [21:43:11]1041 (16) - 0000000000874935 [21:43:11]1040 (4) - 43061 [21:43:11]1012 (4) - 13.07.2024 15:44 [21:43:11]1206 (1) - 0 [21:43:11]OFD Sender: Remove packet 43061 [21:43:11]ProducePacketName [21:43:11]name=ofd_packets/00043061 [21:43:11]NVStorageDeleteData [21:43:11]Write to MH i2c: 01 00 00 DA 22 FC [21:43:11]Write i2c OK [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 07 00 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: 01 07 00 DA 22 00 00 00 00 00 71 0C 80 [21:43:11]RasterBufferAndPrint [21:43:11]line [21:43:11]line [21:43:11]line [21:43:11]line [21:43:11]line [21:43:11]written 0, free lines is 3191 [21:43:11]MH_Cut [21:43:11]Write to MH i2c: D1 01 00 E1 22 01 D5 [21:43:11]Write i2c OK [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: D1 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: D1 01 00 [21:43:11]MH_I2C_Read... [21:43:11]Read from MH i2c: D1 01 00 E1 22 00 D4 [21:43:11]Write to MH i2c: 01 00 00 E2 22 04 [21:43:11]Write i2c OK [21:43:11]MH_I2C_Read... [21:43:11]OFD Sender: No OFD packet to send [21:43:12]*** Cut start [21:43:12]*** Partial cut [21:43:12]*** CUTSNS_PIN = 1 [21:43:12]*** CUTSNS_PIN = 0 [21:43:12]*** Brake cut motor [21:43:13]Read from MH i2c: 01 [21:43:13]MH_I2C_Read... [21:43:13]*** Stop cut motor [21:43:13]*** Cut end [21:43:13]Read from MH i2c: 01 07 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: 01 07 00 E2 22 00 00 00 00 00 FF 0F 19 [21:43:13]process_action close_receipt done [21:43:13]requested_data is exist [21:43:13]produce_requested_data [21:43:13]requested_item fm.sn is exist - process it [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 11 00 00 [21:43:13]Write to MH i2c: E2 08 00 E3 22 80 11 00 00 00 00 00 00 7F [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 17 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 17 00 E3 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D6 [21:43:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:43:13]wFMCommunicate OK [21:43:13]requested_item fd.num is exist - process it [21:43:13]SAM_PROTO_GetFieldsCounters [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 13 00 00 [21:43:13]Write to MH i2c: E2 08 00 E4 22 80 13 00 00 00 00 00 00 82 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 62 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 62 00 E4 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 35 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6A 00 00 00 5E 04 04 00 6A 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [21:43:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 35 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6A 00 00 00 5E 04 04 00 6A 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:43:13]wFMCommunicate OK [21:43:13]SAM_PROTO_GetFieldsCounters done [21:43:13]requested_item shift.num is exist - process it [21:43:13]requested_item shift.opened is exist - process it [21:43:13]req_shift_opened [21:43:13]FM_GetShiftState [21:43:13]SAM_PROTO_GetShiftState [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 13 01 00 [21:43:13]Write to MH i2c: E2 08 00 E5 22 80 13 01 00 00 00 00 00 84 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 0E 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 0E 00 E5 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 1B [21:43:13]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:43:13]wFMCommunicate OK [21:43:13]SAM_PROTO_GetShiftState done [21:43:13]FM_GetShiftState done [21:43:13]req_shift_opened done [21:43:13]requested_item shift.open_date is exist - process it [21:43:13]req_shift_open_date [21:43:13]req_shift_open_date done [21:43:13]requested_item shift.sale.total is exist - process it [21:43:13]SAM_PROTO_GetShiftData [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 13 02 00 [21:43:13]Write to MH i2c: E2 08 00 E6 22 80 13 02 00 00 00 00 00 86 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 E6 22 00 AE 04 AA 04 AA 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 B0 EC 1C 70 04 03 00 60 54 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4E 12 03 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 79 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A8 [21:43:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 B0 EC 1C 70 04 03 00 60 54 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4E 12 03 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 79 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:43:13]wFMCommunicate OK [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 17 00 00 [21:43:13]Write to MH i2c: E2 08 00 E7 22 80 17 00 00 00 00 00 00 89 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 E7 22 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 AB [21:43:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [21:43:14]wFMCommunicate OK [21:43:14]wFMCommunicate request_size=4 [21:43:14]MH_SAM_APDU [21:43:14]CAPDU: 80 17 00 00 [21:43:14]Write to MH i2c: E2 08 00 E8 22 80 17 00 00 00 00 00 00 8A [21:43:14]Write i2c OK [21:43:14]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 E8 22 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 41 [21:43:14]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [21:43:14]wFMCommunicate OK [21:43:14]wFMCommunicate request_size=4 [21:43:14]MH_SAM_APDU [21:43:14]CAPDU: 80 17 00 00 [21:43:14]Write to MH i2c: E2 08 00 E9 22 80 17 00 00 00 00 00 00 8B [21:43:14]Write i2c OK [21:43:14]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 E9 22 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 FD [21:43:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [21:43:14]wFMCommunicate OK [21:43:14]wFMCommunicate request_size=4 [21:43:14]MH_SAM_APDU [21:43:14]CAPDU: 80 17 00 00 [21:43:14]Write to MH i2c: E2 08 00 EA 22 80 17 00 00 00 00 00 00 8C [21:43:14]Write i2c OK [21:43:14]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 CB 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 CB 00 EA 22 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 75 [21:43:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:43:15]wFMCommunicate OK [21:43:15]SAM_PROTO_GetShiftData done [21:43:15]requested_item shift.sale.total_cash is exist - process it [21:43:15]requested_item shift.sale_refund.total is exist - process it [21:43:15]requested_item shift.sale_refund.total_cash is exist - process it [21:43:15]produce_requested_data done [21:43:15]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43061,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18956.00,"shift.sale.total_cash":16600.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [21:43:15]process_action_free close_receipt [21:43:15]json_value_free [21:43:15]json_value_free done [21:43:15]process_json_proto returns [21:43:15]Send response to host [21:43:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43061,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":18956.00,"shift.sale.total_cash":16600.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [21:43:15]free response buf [21:43:15]execute_script done [21:43:15]execute_script returns [21:43:15]free content buf [21:43:15]Sock 9.Close socket [21:43:15]Sock 9.Thread stoped [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:39]accept exits with 7 [21:47:39]New connection [21:47:39]New thread 3067530596 created [21:47:39]Thread 3067387236 joined [21:47:39]Waiting for new connection... [21:47:39] Sock 7.Parse request [21:47:39]Sock 7.Check first char [21:47:39]Sock 7.First char is OK [21:47:39]request: POST /json_proto HTTP/1.0 [21:47:39]Method: POST [21:47:39]URL: /json_proto [21:47:39]Method is POST - this is cgi request [21:47:39]url: /json_proto [21:47:39]query_string will be loaded in cgi processing [21:47:39]execute_cgi json_proto POST (null) [21:47:39]execute_cgi path=json_proto method=POST [21:47:39]POST find Content-Length [21:47:39]Host: 172.17.38.197:8080 [21:47:39]Content-Length: 723 [21:47:39]Content-Type: application/json [21:47:39] [21:47:39]POST finish read [21:47:39]Found Content-Length = 723 [21:47:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300190", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:47:39]execute_script... [21:47:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300190", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:47:39]POST & json_proto [21:47:39]process_json_proto [21:47:39]json parsed OK: [21:47:39]protocol is kg_v1.0 [21:47:39]action value=close_receipt [21:47:39]process_action close_receipt [21:47:39]cmd_close_receipt [21:47:39]MH_GetDate [21:47:39]Write to MH i2c: F0 00 00 EB 22 FC [21:47:39]Write i2c OK [21:47:39]MH_I2C_Read... [21:47:39]Read from MH i2c: F0 [21:47:39]MH_I2C_Read... [21:47:39]Read from MH i2c: F0 09 00 [21:47:39]MH_I2C_Read... [21:47:39]Read from MH i2c: F0 09 00 EB 22 00 01 F6 92 66 1E 0D 88 66 0D [21:47:39]GetLastDocTimeStamp 1720906994 [21:47:39]current date 1720907265 [21:47:39]FM_GetShiftState [21:47:39]SAM_PROTO_GetShiftState [21:47:39]wFMCommunicate request_size=4 [21:47:39]MH_SAM_APDU [21:47:39]CAPDU: 80 13 01 00 [21:47:39]Write to MH i2c: E2 08 00 EC 22 80 13 01 00 00 00 00 00 8B [21:47:39]Write i2c OK [21:47:39]MH_I2C_Read... [21:47:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:39]Read from MH i2c: E2 [21:47:39]MH_I2C_Read... [21:47:39]Read from MH i2c: E2 0E 00 [21:47:39]MH_I2C_Read... [21:47:39]Read from MH i2c: E2 0E 00 EC 22 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 22 [21:47:39]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:47:39]wFMCommunicate OK [21:47:39]SAM_PROTO_GetShiftState done [21:47:39]FM_GetShiftState done [21:47:39]opened in 1720829646 [21:47:39]opened+sec_in_day 1720916046 [21:47:39]quantity*price = 14000 [21:47:39]sum+1 = 14001 [21:47:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 107 13.07.2024 21:47 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43062 ФПД: 265008940249384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214745&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43062&fm=265008940249384&tin=02508201610067®Number=0000000000091176&sum=14000 0 [21:47:40]StoreToDocumentArchive [21:47:40]shift 445 fd 43062 [21:47:40]save to /storage/0445/doc_00043062 [21:47:40]save last doc name /storage/0445/doc_00043062 to /storage/kkm_last_doc_name [21:47:40]save OK [21:47:40]Clear old archive folders... [21:47:40]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:47:40]tlvbuf is B6E350B0 [21:47:40]SAM_PROTO_ClearQueue [21:47:40]wFMCommunicate request_size=4 [21:47:40]MH_SAM_APDU [21:47:40]CAPDU: 80 09 00 00 [21:47:40]Write to MH i2c: E2 08 00 F9 22 80 09 00 00 00 00 00 00 8D [21:47:40]Write i2c OK [21:47:40]MH_I2C_Read... [21:47:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:47:40]Read from MH i2c: E2 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 03 00 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 03 00 F9 22 00 90 00 8F [21:47:40]RAPDU: 90 00 [21:47:40]wFMCommunicate OK [21:47:40]SAM_PROTO_ClearQueue done [21:47:40]KKMCreateOFDPacket [21:47:40]OFDProtocolAddRootSTLVToBuf [21:47:40]FM_MakeSignedData [21:47:40]FM_MakeSignedData [21:47:40]SAM_PROTO_SignData [21:47:40]wFMCommunicate request_size=4 [21:47:40]MH_SAM_APDU [21:47:40]CAPDU: 80 0D 01 02 [21:47:40]Write to MH i2c: E2 08 00 FA 22 80 0D 01 02 00 00 00 00 95 [21:47:40]Write i2c OK [21:47:40]MH_I2C_Read... [21:47:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:47:40]Read from MH i2c: E2 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 03 00 [21:47:40]MH_I2C_Read... [21:47:40]Read from MH i2c: E2 03 00 FA 22 00 90 00 90 [21:47:40]RAPDU: 90 00 [21:47:40]wFMCommunicate OK [21:47:40]wFMCommunicate request_size=255 [21:47:40]MH_SAM_APDU [21:47:40]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 01 F6 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:47:40]Write to MH i2c: E2 02 01 FB 22 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 01 F6 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 30 [21:47:40]Write i2c OK [21:47:40]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 FB 22 00 90 00 91 [21:47:41]RAPDU: 90 00 [21:47:41]wFMCommunicate OK [21:47:41]wFMCommunicate request_size=30 [21:47:41]MH_SAM_APDU [21:47:41]CAPDU: 80 0D 02 02 19 30 38 37 34 39 33 35 10 04 04 00 36 A8 00 00 35 04 06 00 F1 06 33 BE F1 28 [21:47:41]Write to MH i2c: E2 21 00 FC 22 80 0D 02 02 19 00 30 38 37 34 39 33 35 10 04 04 00 36 A8 00 00 35 04 06 00 F1 06 33 BE F1 28 00 00 74 [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 03 00 FC 22 00 90 00 92 [21:47:41]RAPDU: 90 00 [21:47:41]wFMCommunicate OK [21:47:41]wFMCommunicate request_size=4 [21:47:41]MH_SAM_APDU [21:47:41]CAPDU: 80 0D 03 02 [21:47:41]Write to MH i2c: E2 08 00 FD 22 80 0D 03 02 00 00 00 00 9A [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 0B 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 0B 00 FD 22 00 07 D7 77 BC 1A DC 55 23 90 00 1A [21:47:41]RAPDU: 07 D7 77 BC 1A DC 55 23 90 00 [21:47:41]wFMCommunicate OK [21:47:41]SAM_PROTO_SignData done [21:47:41]FM_MakeSignedData done [21:47:41]CreateOFDProtocolMessage [21:47:41]wFMCommunicate request_size=4 [21:47:41]MH_SAM_APDU [21:47:41]CAPDU: 80 11 00 00 [21:47:41]Write to MH i2c: E2 08 00 FE 22 80 11 00 00 00 00 00 00 9A [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:41]Read from MH i2c: E2 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 17 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: E2 17 00 FE 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 F1 [21:47:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:47:41]wFMCommunicate OK [21:47:41]CreateOFDProtocolMessage done [21:47:41]OFDSenderStorePacket 43062 [21:47:41]StoreOFDPacket docnum=43062 [21:47:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 49 08 1B 01 3D 6E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 01 F6 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 36 A8 00 00 35 04 06 00 F1 06 33 BE F1 28 07 D7 77 BC 1A DC 55 23 [21:47:41]CheckFolder [21:47:41]dirname=/storage/ofd_packets [21:47:41]CheckFolder done [21:47:41]ProducePacketName [21:47:41]name=ofd_packets/00043062 [21:47:41]NVStorageSaveData ofd_packets/00043062 [21:47:41]File name is /storage/ofd_packets/00043062 [21:47:41]Write 321 bytes [21:47:41]NVStorageSaveData done [21:47:41]OFDSenderStorePacket done [21:47:41]KKMCreateOFDPacket done [21:47:41]NVStorageSaveData kkm_last_timestamp [21:47:41]File name is /storage/kkm_last_timestamp [21:47:41]Write 4 bytes [21:47:41]NVStorageSaveData done [21:47:41]ExternCall_PrintAddStr [21:47:41]wPrintStart [21:47:41]Write to MH i2c: 01 00 00 FF 22 21 [21:47:41]Write i2c OK [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: 01 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: 01 07 00 [21:47:41]MH_I2C_Read... [21:47:41]Read from MH i2c: 01 07 00 FF 22 00 00 00 00 00 FF 0F 36 [21:47:41]RasterBufferAndPrint [21:47:41]line Счет N : (3)300190 [21:47:41]line ИНН: 02508201610067 [21:47:41]line Контрольно-Кассовый Чек [21:47:41]line ПРОДАЖА [21:47:41]line Товар: 47802995 [21:47:41]line Сигареты Winston XS Silver [21:47:41]line 1.000 * 140.00 [21:47:41]line = 140.00 [21:47:41]line НДС 12% НСП 1% [21:47:41]line > о реализуемом товаре [21:47:41]line ИТОГО: 140.00 [21:47:41]line НСП 1% : 1.24 [21:47:41]line НДС 12% : 14.87 [21:47:41]line Наличными: 140.00 [21:47:41]line Безнал.: 0.00 [21:47:41]line Место: АЗС № 71 "Партнер Нефть" [21:47:41]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [21:47:41]line СНО: Общий режим [21:47:41]line Чек 107 13.07.2024 21:47 [21:47:41]line Смена: 445 ФФД: 1.0 [21:47:41]line ЗНМ: 0300000153 [21:47:41]line РНМ: 0000000000091176 [21:47:41]line Версия ККМ: 001 [21:47:41]line ФМ: 0000000000874935 [21:47:41]line ФД: 43062 [21:47:41]line ФПД: 265008940249384 [21:47:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T214745&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43062&fm=265008940249384&tin=02508201610067®Number=0000000000091176&sum=14000 [21:47:41]line 0 [21:47:41]written 0, free lines is 4095 [21:47:41]OFD Sender: Processing packet 43062 [packets to send 31, broken 30] [21:47:41]ProducePacketName [21:47:41]name=ofd_packets/00043062 [21:47:41]OFD Sender: To server: pG, [21:47:41]CommunicateWithHost lk.salyk.kg:30040 [21:47:41]ConnectInit lk.salyk.kg [21:47:41]Connected sock=10 [21:47:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 23 01 00 00 49 08 1B 01 3D 6E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 01 F6 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 36 A8 00 00 35 04 06 00 F1 06 33 BE F1 28 07 D7 77 BC 1A DC 55 23 [21:47:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 37 F5 47 00 4B AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 36 A8 00 00 F4 03 04 00 FA A1 92 66 B6 04 01 00 00 C8 70 F7 61 5E 4F E6 5F [21:47:41]CommunicateWithHost err = 0 [21:47:41]CheckOFDResponse [21:47:41]1017 (14) - 77093643461234 [21:47:41]1041 (16) - 0000000000874935 [21:47:41]1040 (4) - 43062 [21:47:41]1012 (4) - 13.07.2024 15:49 [21:47:41]1206 (1) - 0 [21:47:41]OFD Sender: Remove packet 43062 [21:47:41]ProducePacketName [21:47:41]name=ofd_packets/00043062 [21:47:41]NVStorageDeleteData [21:47:42]Write to MH i2c: 01 00 00 27 23 4A [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 07 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: 01 07 00 27 23 00 00 00 00 00 16 0D 74 [21:47:42]RasterBufferAndPrint [21:47:42]line [21:47:42]line [21:47:42]line [21:47:42]line [21:47:42]line [21:47:42]written 0, free lines is 3354 [21:47:42]MH_Cut [21:47:42]Write to MH i2c: D1 01 00 2E 23 01 23 [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: D1 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: D1 01 00 [21:47:42]MH_I2C_Read... [21:47:42]Read from MH i2c: D1 01 00 2E 23 00 22 [21:47:42]Write to MH i2c: 01 00 00 2F 23 52 [21:47:42]Write i2c OK [21:47:42]MH_I2C_Read... [21:47:42]OFD Sender: No OFD packet to send [21:47:42]*** Cut start [21:47:42]*** Partial cut [21:47:42]*** CUTSNS_PIN = 1 [21:47:42]*** CUTSNS_PIN = 0 [21:47:43]*** Brake cut motor [21:47:43]Read from MH i2c: 01 [21:47:43]MH_I2C_Read... [21:47:43]*** Stop cut motor [21:47:43]*** Cut end [21:47:43]Read from MH i2c: 01 07 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: 01 07 00 2F 23 00 00 00 00 00 FF 0F 67 [21:47:43]process_action close_receipt done [21:47:43]requested_data is exist [21:47:43]produce_requested_data [21:47:43]requested_item fm.sn is exist - process it [21:47:43]wFMCommunicate request_size=4 [21:47:43]MH_SAM_APDU [21:47:43]CAPDU: 80 11 00 00 [21:47:43]Write to MH i2c: E2 08 00 30 23 80 11 00 00 00 00 00 00 CD [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:43]Read from MH i2c: E2 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 17 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 17 00 30 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 24 [21:47:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [21:47:43]wFMCommunicate OK [21:47:43]requested_item fd.num is exist - process it [21:47:43]SAM_PROTO_GetFieldsCounters [21:47:43]wFMCommunicate request_size=4 [21:47:43]MH_SAM_APDU [21:47:43]CAPDU: 80 13 00 00 [21:47:43]Write to MH i2c: E2 08 00 31 23 80 13 00 00 00 00 00 00 D0 [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:47:43]Read from MH i2c: E2 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 62 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 62 00 31 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 36 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [21:47:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 36 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:47:43]wFMCommunicate OK [21:47:43]SAM_PROTO_GetFieldsCounters done [21:47:43]requested_item shift.num is exist - process it [21:47:43]requested_item shift.opened is exist - process it [21:47:43]req_shift_opened [21:47:43]FM_GetShiftState [21:47:43]SAM_PROTO_GetShiftState [21:47:43]wFMCommunicate request_size=4 [21:47:43]MH_SAM_APDU [21:47:43]CAPDU: 80 13 01 00 [21:47:43]Write to MH i2c: E2 08 00 32 23 80 13 01 00 00 00 00 00 D2 [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:43]Read from MH i2c: E2 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 0E 00 [21:47:43]MH_I2C_Read... [21:47:43]Read from MH i2c: E2 0E 00 32 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 69 [21:47:43]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [21:47:43]wFMCommunicate OK [21:47:43]SAM_PROTO_GetShiftState done [21:47:43]FM_GetShiftState done [21:47:43]req_shift_opened done [21:47:43]requested_item shift.open_date is exist - process it [21:47:43]req_shift_open_date [21:47:43]req_shift_open_date done [21:47:43]requested_item shift.sale.total is exist - process it [21:47:43]SAM_PROTO_GetShiftData [21:47:43]wFMCommunicate request_size=4 [21:47:43]MH_SAM_APDU [21:47:43]CAPDU: 80 13 02 00 [21:47:43]Write to MH i2c: E2 08 00 33 23 80 13 02 00 00 00 00 00 D4 [21:47:43]Write i2c OK [21:47:43]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 33 23 00 AE 04 AA 04 AA 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 60 23 1D 70 04 03 00 10 8B 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1D 18 03 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 F5 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 18 [21:47:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 60 23 1D 70 04 03 00 10 8B 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1D 18 03 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 F5 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:47:44]wFMCommunicate OK [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 17 00 00 [21:47:44]Write to MH i2c: E2 08 00 34 23 80 17 00 00 00 00 00 00 D7 [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 34 23 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F9 [21:47:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [21:47:44]wFMCommunicate OK [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 17 00 00 [21:47:44]Write to MH i2c: E2 08 00 35 23 80 17 00 00 00 00 00 00 D8 [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 35 23 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 8F [21:47:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [21:47:44]wFMCommunicate OK [21:47:44]wFMCommunicate request_size=4 [21:47:44]MH_SAM_APDU [21:47:44]CAPDU: 80 17 00 00 [21:47:44]Write to MH i2c: E2 08 00 36 23 80 17 00 00 00 00 00 00 D9 [21:47:44]Write i2c OK [21:47:44]MH_I2C_Read... [21:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:47:44]Read from MH i2c: E2 [21:47:44]MH_I2C_Read... [21:47:44]Read from MH i2c: E2 FD 00 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 FD 00 36 23 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 4B [21:47:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [21:47:45]wFMCommunicate OK [21:47:45]wFMCommunicate request_size=4 [21:47:45]MH_SAM_APDU [21:47:45]CAPDU: 80 17 00 00 [21:47:45]Write to MH i2c: E2 08 00 37 23 80 17 00 00 00 00 00 00 DA [21:47:45]Write i2c OK [21:47:45]MH_I2C_Read... [21:47:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:47:45]Read from MH i2c: E2 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 CB 00 [21:47:45]MH_I2C_Read... [21:47:45]Read from MH i2c: E2 CB 00 37 23 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [21:47:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:47:45]wFMCommunicate OK [21:47:45]SAM_PROTO_GetShiftData done [21:47:45]requested_item shift.sale.total_cash is exist - process it [21:47:45]requested_item shift.sale_refund.total is exist - process it [21:47:45]requested_item shift.sale_refund.total_cash is exist - process it [21:47:45]produce_requested_data done [21:47:45]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43062,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19096.00,"shift.sale.total_cash":16740.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [21:47:45]process_action_free close_receipt [21:47:45]json_value_free [21:47:45]json_value_free done [21:47:45]process_json_proto returns [21:47:45]Send response to host [21:47:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43062,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19096.00,"shift.sale.total_cash":16740.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [21:47:45]free response buf [21:47:45]execute_script done [21:47:45]execute_script returns [21:47:45]free content buf [21:47:45]Sock 7.Close socket [21:47:45]Sock 7.Thread stoped [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:44]accept exits with 9 [22:02:44]New connection [22:02:44]New thread 3067387236 created [22:02:44]Thread 3067530596 joined [22:02:44]Waiting for new connection... [22:02:44] Sock 9.Parse request [22:02:44]Sock 9.Check first char [22:02:44]Sock 9.First char is OK [22:02:44]request: POST /json_proto HTTP/1.0 [22:02:44]Method: POST [22:02:44]URL: /json_proto [22:02:44]Method is POST - this is cgi request [22:02:44]url: /json_proto [22:02:44]query_string will be loaded in cgi processing [22:02:44]execute_cgi json_proto POST (null) [22:02:44]execute_cgi path=json_proto method=POST [22:02:44]POST find Content-Length [22:02:44]Host: 172.17.38.197:8080 [22:02:44]Content-Length: 803 [22:02:44]Content-Type: application/json [22:02:44] [22:02:44]POST finish read [22:02:44]Found Content-Length = 803 [22:02:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300191", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:02:44]execute_script... [22:02:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300191", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:02:44]POST & json_proto [22:02:44]process_json_proto [22:02:44]json parsed OK: [22:02:44]protocol is kg_v1.0 [22:02:44]action value=close_receipt [22:02:44]process_action close_receipt [22:02:44]cmd_close_receipt [22:02:44]MH_GetDate [22:02:44]Write to MH i2c: F0 00 00 38 23 4A [22:02:44]Write i2c OK [22:02:44]MH_I2C_Read... [22:02:44]Read from MH i2c: F0 [22:02:44]MH_I2C_Read... [22:02:44]Read from MH i2c: F0 09 00 [22:02:44]MH_I2C_Read... [22:02:44]Read from MH i2c: F0 09 00 38 23 00 8A F9 92 66 1E 0D 88 66 E7 [22:02:44]GetLastDocTimeStamp 1720907265 [22:02:44]current date 1720908170 [22:02:44]FM_GetShiftState [22:02:44]SAM_PROTO_GetShiftState [22:02:44]wFMCommunicate request_size=4 [22:02:44]MH_SAM_APDU [22:02:44]CAPDU: 80 13 01 00 [22:02:44]Write to MH i2c: E2 08 00 39 23 80 13 01 00 00 00 00 00 D9 [22:02:44]Write i2c OK [22:02:44]MH_I2C_Read... [22:02:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:02:44]Read from MH i2c: E2 [22:02:44]MH_I2C_Read... [22:02:44]Read from MH i2c: E2 0E 00 [22:02:44]MH_I2C_Read... [22:02:44]Read from MH i2c: E2 0E 00 39 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 70 [22:02:44]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:02:44]wFMCommunicate OK [22:02:44]SAM_PROTO_GetShiftState done [22:02:44]FM_GetShiftState done [22:02:44]opened in 1720829646 [22:02:44]opened+sec_in_day 1720916046 [22:02:44]quantity*price = 9500 [22:02:44]sum+1 = 9501 [22:02:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 108 13.07.2024 22:02 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43063 ФПД: 193148571838263 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220250&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43063&fm=193148571838263&tin=02508201610067®Number=0000000000091176&sum=9500 0 [22:02:45]StoreToDocumentArchive [22:02:45]shift 445 fd 43063 [22:02:45]save to /storage/0445/doc_00043063 [22:02:45]save last doc name /storage/0445/doc_00043063 to /storage/kkm_last_doc_name [22:02:45]save OK [22:02:45]Clear old archive folders... [22:02:45]ProcessDocumentItem done err = 0, tmpTLVsize=302 [22:02:45]tlvbuf is 01573740 [22:02:45]SAM_PROTO_ClearQueue [22:02:45]wFMCommunicate request_size=4 [22:02:45]MH_SAM_APDU [22:02:45]CAPDU: 80 09 00 00 [22:02:45]Write to MH i2c: E2 08 00 46 23 80 09 00 00 00 00 00 00 DB [22:02:45]Write i2c OK [22:02:45]MH_I2C_Read... [22:02:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:02:45]Read from MH i2c: E2 [22:02:45]MH_I2C_Read... [22:02:45]Read from MH i2c: E2 03 00 [22:02:45]MH_I2C_Read... [22:02:45]Read from MH i2c: E2 03 00 46 23 00 90 00 DD [22:02:45]RAPDU: 90 00 [22:02:45]wFMCommunicate OK [22:02:45]SAM_PROTO_ClearQueue done [22:02:45]KKMCreateOFDPacket [22:02:45]OFDProtocolAddRootSTLVToBuf [22:02:45]FM_MakeSignedData [22:02:45]FM_MakeSignedData [22:02:45]SAM_PROTO_SignData [22:02:45]wFMCommunicate request_size=4 [22:02:45]MH_SAM_APDU [22:02:45]CAPDU: 80 0D 01 02 [22:02:45]Write to MH i2c: E2 08 00 47 23 80 0D 01 02 00 00 00 00 E3 [22:02:45]Write i2c OK [22:02:45]MH_I2C_Read... [22:02:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:02:45]Read from MH i2c: E2 [22:02:45]MH_I2C_Read... [22:02:45]Read from MH i2c: E2 03 00 [22:02:45]MH_I2C_Read... [22:02:45]Read from MH i2c: E2 03 00 47 23 00 90 00 DE [22:02:45]RAPDU: 90 00 [22:02:45]wFMCommunicate OK [22:02:45]wFMCommunicate request_size=255 [22:02:45]MH_SAM_APDU [22:02:45]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 8A F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 [22:02:45]Write to MH i2c: E2 02 01 48 23 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 8A F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 00 00 AA [22:02:45]Write i2c OK [22:02:45]MH_I2C_Read... [22:02:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:02:46]Read from MH i2c: E2 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 03 00 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 03 00 48 23 00 90 00 DF [22:02:46]RAPDU: 90 00 [22:02:46]wFMCommunicate OK [22:02:46]wFMCommunicate request_size=61 [22:02:46]MH_SAM_APDU [22:02:46]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 37 A8 00 00 35 04 06 00 AF AA E8 03 67 37 [22:02:46]Write to MH i2c: E2 40 00 49 23 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 37 A8 00 00 35 04 06 00 AF AA E8 03 67 37 00 00 DF [22:02:46]Write i2c OK [22:02:46]MH_I2C_Read... [22:02:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:02:46]Read from MH i2c: E2 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 03 00 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 03 00 49 23 00 90 00 E0 [22:02:46]RAPDU: 90 00 [22:02:46]wFMCommunicate OK [22:02:46]wFMCommunicate request_size=4 [22:02:46]MH_SAM_APDU [22:02:46]CAPDU: 80 0D 03 02 [22:02:46]Write to MH i2c: E2 08 00 4A 23 80 0D 03 02 00 00 00 00 E8 [22:02:46]Write i2c OK [22:02:46]MH_I2C_Read... [22:02:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:02:46]Read from MH i2c: E2 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 0B 00 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 0B 00 4A 23 00 6D 39 7F DC 6C A7 86 57 90 00 DA [22:02:46]RAPDU: 6D 39 7F DC 6C A7 86 57 90 00 [22:02:46]wFMCommunicate OK [22:02:46]SAM_PROTO_SignData done [22:02:46]FM_MakeSignedData done [22:02:46]CreateOFDProtocolMessage [22:02:46]wFMCommunicate request_size=4 [22:02:46]MH_SAM_APDU [22:02:46]CAPDU: 80 11 00 00 [22:02:46]Write to MH i2c: E2 08 00 4B 23 80 11 00 00 00 00 00 00 E8 [22:02:46]Write i2c OK [22:02:46]MH_I2C_Read... [22:02:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:02:46]Read from MH i2c: E2 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 17 00 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: E2 17 00 4B 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 3F [22:02:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:02:46]wFMCommunicate OK [22:02:46]CreateOFDProtocolMessage done [22:02:46]OFDSenderStorePacket 43063 [22:02:46]StoreOFDPacket docnum=43063 [22:02:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 31 6F 3A 01 4F 18 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 8A F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 37 A8 00 00 35 04 06 00 AF AA E8 03 67 37 6D 39 7F DC 6C A7 86 57 [22:02:46]CheckFolder [22:02:46]dirname=/storage/ofd_packets [22:02:46]CheckFolder done [22:02:46]ProducePacketName [22:02:46]name=ofd_packets/00043063 [22:02:46]NVStorageSaveData ofd_packets/00043063 [22:02:46]File name is /storage/ofd_packets/00043063 [22:02:46]Write 352 bytes [22:02:46]NVStorageSaveData done [22:02:46]OFDSenderStorePacket done [22:02:46]KKMCreateOFDPacket done [22:02:46]NVStorageSaveData kkm_last_timestamp [22:02:46]File name is /storage/kkm_last_timestamp [22:02:46]Write 4 bytes [22:02:46]NVStorageSaveData done [22:02:46]ExternCall_PrintAddStr [22:02:46]wPrintStart [22:02:46]Write to MH i2c: 01 00 00 4C 23 6F [22:02:46]Write i2c OK [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: 01 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: 01 07 00 [22:02:46]MH_I2C_Read... [22:02:46]Read from MH i2c: 01 07 00 4C 23 00 00 00 00 00 FF 0F 84 [22:02:46]RasterBufferAndPrint [22:02:46]line Счет N : (3)300191 [22:02:46]line ИНН: 02508201610067 [22:02:46]line Контрольно-Кассовый Чек [22:02:46]line ПРОДАЖА [22:02:46]line Товар: 4700000482740 [22:02:46]line Напиток Nitro Fr газ апельсин ж/б 0,45л [22:02:46]line 1.000 * 95.00 [22:02:46]line = 95.00 [22:02:46]line НДС 12% НСП 1% [22:02:46]line > о реализуемом товаре [22:02:46]line ИТОГО: 95.00 [22:02:46]line НСП 1% : 0.84 [22:02:46]line НДС 12% : 10.09 [22:02:46]line Наличными: 95.00 [22:02:46]line Безнал.: 0.00 [22:02:46]line Место: АЗС № 71 "Партнер Нефть" [22:02:46]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [22:02:46]line СНО: Общий режим [22:02:46]line Чек 108 13.07.2024 22:02 [22:02:46]line Смена: 445 ФФД: 1.0 [22:02:46]line ЗНМ: 0300000153 [22:02:46]line РНМ: 0000000000091176 [22:02:46]line Версия ККМ: 001 [22:02:46]line ФМ: 0000000000874935 [22:02:46]line ФД: 43063 [22:02:46]line ФПД: 193148571838263 [22:02:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220250&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43063&fm=193148571838263&tin=02508201610067®Number=0000000000091176&sum=9500 [22:02:46]line 0 [22:02:46]OFD Sender: Processing packet 43063 [packets to send 31, broken 30] [22:02:46]ProducePacketName [22:02:46]name=ofd_packets/00043063 [22:02:46]OFD Sender: To server: pG, [22:02:46]CommunicateWithHost lk.salyk.kg:30040 [22:02:46]ConnectInit lk.salyk.kg [22:02:46]written 0, free lines is 4095 [22:02:46]Connected sock=10 [22:02:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 42 01 00 00 31 6F 3A 01 4F 18 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 8A F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 37 A8 00 00 35 04 06 00 AF AA E8 03 67 37 6D 39 7F DC 6C A7 86 57 [22:02:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 25 28 47 00 E1 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 37 A8 00 00 F4 03 04 00 83 A5 92 66 B6 04 01 00 00 48 D8 32 0D BD 04 08 32 [22:02:47]CommunicateWithHost err = 0 [22:02:47]CheckOFDResponse [22:02:47]1017 (14) - 77093643461234 [22:02:47]1041 (16) - 0000000000874935 [22:02:47]1040 (4) - 43063 [22:02:47]1012 (4) - 13.07.2024 16:04 [22:02:47]1206 (1) - 0 [22:02:47]OFD Sender: Remove packet 43063 [22:02:47]ProducePacketName [22:02:47]name=ofd_packets/00043063 [22:02:47]NVStorageDeleteData [22:02:47]Write to MH i2c: 01 00 00 75 23 98 [22:02:47]Write i2c OK [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: 01 [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: 01 07 00 [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: 01 07 00 75 23 00 00 00 00 00 FF 0C AA [22:02:47]RasterBufferAndPrint [22:02:47]line [22:02:47]line [22:02:47]line [22:02:47]line [22:02:47]line [22:02:47]written 0, free lines is 3333 [22:02:47]MH_Cut [22:02:47]Write to MH i2c: D1 01 00 7C 23 01 71 [22:02:47]Write i2c OK [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: D1 [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: D1 01 00 [22:02:47]MH_I2C_Read... [22:02:47]Read from MH i2c: D1 01 00 7C 23 00 70 [22:02:47]Write to MH i2c: 01 00 00 7D 23 A0 [22:02:47]Write i2c OK [22:02:47]MH_I2C_Read... [22:02:47]OFD Sender: No OFD packet to send [22:02:47]*** Cut start [22:02:47]*** Partial cut [22:02:47]*** CUTSNS_PIN = 1 [22:02:47]*** CUTSNS_PIN = 0 [22:02:48]*** Brake cut motor [22:02:48]Read from MH i2c: 01 [22:02:48]MH_I2C_Read... [22:02:48]*** Stop cut motor [22:02:48]*** Cut end [22:02:48]Read from MH i2c: 01 07 00 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: 01 07 00 7D 23 00 00 00 00 00 FF 0F B5 [22:02:48]process_action close_receipt done [22:02:48]requested_data is exist [22:02:48]produce_requested_data [22:02:48]requested_item fm.sn is exist - process it [22:02:48]wFMCommunicate request_size=4 [22:02:48]MH_SAM_APDU [22:02:48]CAPDU: 80 11 00 00 [22:02:48]Write to MH i2c: E2 08 00 7E 23 80 11 00 00 00 00 00 00 1B [22:02:48]Write i2c OK [22:02:48]MH_I2C_Read... [22:02:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:02:48]Read from MH i2c: E2 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 17 00 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 17 00 7E 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 72 [22:02:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:02:48]wFMCommunicate OK [22:02:48]requested_item fd.num is exist - process it [22:02:48]SAM_PROTO_GetFieldsCounters [22:02:48]wFMCommunicate request_size=4 [22:02:48]MH_SAM_APDU [22:02:48]CAPDU: 80 13 00 00 [22:02:48]Write to MH i2c: E2 08 00 7F 23 80 13 00 00 00 00 00 00 1E [22:02:48]Write i2c OK [22:02:48]MH_I2C_Read... [22:02:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:02:48]Read from MH i2c: E2 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 62 00 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 62 00 7F 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 37 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6C 00 00 00 5E 04 04 00 6C 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [22:02:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 37 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6C 00 00 00 5E 04 04 00 6C 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:02:48]wFMCommunicate OK [22:02:48]SAM_PROTO_GetFieldsCounters done [22:02:48]requested_item shift.num is exist - process it [22:02:48]requested_item shift.opened is exist - process it [22:02:48]req_shift_opened [22:02:48]FM_GetShiftState [22:02:48]SAM_PROTO_GetShiftState [22:02:48]wFMCommunicate request_size=4 [22:02:48]MH_SAM_APDU [22:02:48]CAPDU: 80 13 01 00 [22:02:48]Write to MH i2c: E2 08 00 80 23 80 13 01 00 00 00 00 00 20 [22:02:48]Write i2c OK [22:02:48]MH_I2C_Read... [22:02:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:02:48]Read from MH i2c: E2 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 0E 00 [22:02:48]MH_I2C_Read... [22:02:48]Read from MH i2c: E2 0E 00 80 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B7 [22:02:48]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:02:48]wFMCommunicate OK [22:02:48]SAM_PROTO_GetShiftState done [22:02:48]FM_GetShiftState done [22:02:48]req_shift_opened done [22:02:48]requested_item shift.open_date is exist - process it [22:02:48]req_shift_open_date [22:02:48]req_shift_open_date done [22:02:48]requested_item shift.sale.total is exist - process it [22:02:48]SAM_PROTO_GetShiftData [22:02:48]wFMCommunicate request_size=4 [22:02:48]MH_SAM_APDU [22:02:48]CAPDU: 80 13 02 00 [22:02:48]Write to MH i2c: E2 08 00 81 23 80 13 02 00 00 00 00 00 22 [22:02:48]Write i2c OK [22:02:48]MH_I2C_Read... [22:02:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:02:49]Read from MH i2c: E2 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 81 23 00 AE 04 AA 04 AA 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 7C 48 1D 70 04 03 00 2C B0 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0E 1C 03 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 49 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 34 [22:02:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 7C 48 1D 70 04 03 00 2C B0 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0E 1C 03 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 49 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [22:02:49]wFMCommunicate OK [22:02:49]wFMCommunicate request_size=4 [22:02:49]MH_SAM_APDU [22:02:49]CAPDU: 80 17 00 00 [22:02:49]Write to MH i2c: E2 08 00 82 23 80 17 00 00 00 00 00 00 25 [22:02:49]Write i2c OK [22:02:49]MH_I2C_Read... [22:02:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:02:49]Read from MH i2c: E2 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 82 23 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 47 [22:02:49]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:02:49]wFMCommunicate OK [22:02:49]wFMCommunicate request_size=4 [22:02:49]MH_SAM_APDU [22:02:49]CAPDU: 80 17 00 00 [22:02:49]Write to MH i2c: E2 08 00 83 23 80 17 00 00 00 00 00 00 26 [22:02:49]Write i2c OK [22:02:49]MH_I2C_Read... [22:02:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:02:49]Read from MH i2c: E2 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 [22:02:49]MH_I2C_Read... [22:02:49]Read from MH i2c: E2 FD 00 83 23 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 DD [22:02:49]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:02:49]wFMCommunicate OK [22:02:49]wFMCommunicate request_size=4 [22:02:49]MH_SAM_APDU [22:02:49]CAPDU: 80 17 00 00 [22:02:49]Write to MH i2c: E2 08 00 84 23 80 17 00 00 00 00 00 00 27 [22:02:49]Write i2c OK [22:02:49]MH_I2C_Read... [22:02:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:02:50]Read from MH i2c: E2 [22:02:50]MH_I2C_Read... [22:02:50]Read from MH i2c: E2 FD 00 [22:02:50]MH_I2C_Read... [22:02:50]Read from MH i2c: E2 FD 00 84 23 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 99 [22:02:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:02:50]wFMCommunicate OK [22:02:50]wFMCommunicate request_size=4 [22:02:50]MH_SAM_APDU [22:02:50]CAPDU: 80 17 00 00 [22:02:50]Write to MH i2c: E2 08 00 85 23 80 17 00 00 00 00 00 00 28 [22:02:50]Write i2c OK [22:02:50]MH_I2C_Read... [22:02:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:02:50]Read from MH i2c: E2 [22:02:50]MH_I2C_Read... [22:02:50]Read from MH i2c: E2 CB 00 [22:02:50]MH_I2C_Read... [22:02:50]Read from MH i2c: E2 CB 00 85 23 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 11 [22:02:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:02:50]wFMCommunicate OK [22:02:50]SAM_PROTO_GetShiftData done [22:02:50]requested_item shift.sale.total_cash is exist - process it [22:02:50]requested_item shift.sale_refund.total is exist - process it [22:02:50]requested_item shift.sale_refund.total_cash is exist - process it [22:02:50]produce_requested_data done [22:02:50]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43063,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19191.00,"shift.sale.total_cash":16835.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [22:02:50]process_action_free close_receipt [22:02:50]json_value_free [22:02:50]json_value_free done [22:02:50]process_json_proto returns [22:02:50]Send response to host [22:02:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43063,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19191.00,"shift.sale.total_cash":16835.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [22:02:50]free response buf [22:02:50]execute_script done [22:02:50]execute_script returns [22:02:50]free content buf [22:02:50]Sock 9.Close socket [22:02:50]Sock 9.Thread stoped [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:05]accept exits with 7 [22:03:05]New connection [22:03:05]New thread 3067530596 created [22:03:05]Thread 3067387236 joined [22:03:05]Waiting for new connection... [22:03:05] Sock 7.Parse request [22:03:05]Sock 7.Check first char [22:03:05]Sock 7.First char is OK [22:03:05]request: POST /json_proto HTTP/1.0 [22:03:05]Method: POST [22:03:05]URL: /json_proto [22:03:05]Method is POST - this is cgi request [22:03:05]url: /json_proto [22:03:05]query_string will be loaded in cgi processing [22:03:05]execute_cgi json_proto POST (null) [22:03:05]execute_cgi path=json_proto method=POST [22:03:05]POST find Content-Length [22:03:05]Host: 172.17.38.197:8080 [22:03:05]Content-Length: 832 [22:03:05]Content-Type: application/json [22:03:05] [22:03:05]POST finish read [22:03:05]Found Content-Length = 832 [22:03:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300192", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:03:05]execute_script... [22:03:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300192", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:03:05]POST & json_proto [22:03:05]process_json_proto [22:03:05]json parsed OK: [22:03:05]protocol is kg_v1.0 [22:03:05]action value=close_receipt [22:03:05]process_action close_receipt [22:03:05]cmd_close_receipt [22:03:05]MH_GetDate [22:03:05]Write to MH i2c: F0 00 00 86 23 98 [22:03:05]Write i2c OK [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: F0 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: F0 09 00 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: F0 09 00 86 23 00 9F F9 92 66 1E 0D 88 66 4A [22:03:05]GetLastDocTimeStamp 1720908170 [22:03:05]current date 1720908191 [22:03:05]FM_GetShiftState [22:03:05]SAM_PROTO_GetShiftState [22:03:05]wFMCommunicate request_size=4 [22:03:05]MH_SAM_APDU [22:03:05]CAPDU: 80 13 01 00 [22:03:05]Write to MH i2c: E2 08 00 87 23 80 13 01 00 00 00 00 00 27 [22:03:05]Write i2c OK [22:03:05]MH_I2C_Read... [22:03:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:05]Read from MH i2c: E2 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: E2 0E 00 [22:03:05]MH_I2C_Read... [22:03:05]Read from MH i2c: E2 0E 00 87 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 BE [22:03:05]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:03:05]wFMCommunicate OK [22:03:05]SAM_PROTO_GetShiftState done [22:03:05]FM_GetShiftState done [22:03:05]opened in 1720829646 [22:03:05]opened+sec_in_day 1720916046 [22:03:05]quantity*price = 6000 [22:03:05]sum+1 = 6001 [22:03:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 109 13.07.2024 22:03 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43064 ФПД: 193992740869206 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220311&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43064&fm=193992740869206&tin=02508201610067®Number=0000000000091176&sum=6000 0 [22:03:06]StoreToDocumentArchive [22:03:06]shift 445 fd 43064 [22:03:06]save to /storage/0445/doc_00043064 [22:03:06]save last doc name /storage/0445/doc_00043064 to /storage/kkm_last_doc_name [22:03:06]save OK [22:03:06]Clear old archive folders... [22:03:06]ProcessDocumentItem done err = 0, tmpTLVsize=303 [22:03:06]tlvbuf is 015B1880 [22:03:06]SAM_PROTO_ClearQueue [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 09 00 00 [22:03:06]Write to MH i2c: E2 08 00 94 23 80 09 00 00 00 00 00 00 29 [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:06]Read from MH i2c: E2 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 03 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 03 00 94 23 00 90 00 2B [22:03:06]RAPDU: 90 00 [22:03:06]wFMCommunicate OK [22:03:06]SAM_PROTO_ClearQueue done [22:03:06]KKMCreateOFDPacket [22:03:06]OFDProtocolAddRootSTLVToBuf [22:03:06]FM_MakeSignedData [22:03:06]FM_MakeSignedData [22:03:06]SAM_PROTO_SignData [22:03:06]wFMCommunicate request_size=4 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 0D 01 02 [22:03:06]Write to MH i2c: E2 08 00 95 23 80 0D 01 02 00 00 00 00 31 [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:06]Read from MH i2c: E2 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 03 00 [22:03:06]MH_I2C_Read... [22:03:06]Read from MH i2c: E2 03 00 95 23 00 90 00 2C [22:03:06]RAPDU: 90 00 [22:03:06]wFMCommunicate OK [22:03:06]wFMCommunicate request_size=255 [22:03:06]MH_SAM_APDU [22:03:06]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 9F F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D [22:03:06]Write to MH i2c: E2 02 01 96 23 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 9F F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 00 00 CC [22:03:06]Write i2c OK [22:03:06]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 03 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 03 00 96 23 00 90 00 2D [22:03:07]RAPDU: 90 00 [22:03:07]wFMCommunicate OK [22:03:07]wFMCommunicate request_size=62 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 38 A8 00 00 35 04 06 00 B0 6F 74 68 94 56 [22:03:07]Write to MH i2c: E2 41 00 97 23 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 38 A8 00 00 35 04 06 00 B0 6F 74 68 94 56 00 00 37 [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 03 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 03 00 97 23 00 90 00 2E [22:03:07]RAPDU: 90 00 [22:03:07]wFMCommunicate OK [22:03:07]wFMCommunicate request_size=4 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 0D 03 02 [22:03:07]Write to MH i2c: E2 08 00 98 23 80 0D 03 02 00 00 00 00 36 [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 0B 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 0B 00 98 23 00 20 02 75 59 28 B9 EF 2B 90 00 22 [22:03:07]RAPDU: 20 02 75 59 28 B9 EF 2B 90 00 [22:03:07]wFMCommunicate OK [22:03:07]SAM_PROTO_SignData done [22:03:07]FM_MakeSignedData done [22:03:07]CreateOFDProtocolMessage [22:03:07]wFMCommunicate request_size=4 [22:03:07]MH_SAM_APDU [22:03:07]CAPDU: 80 11 00 00 [22:03:07]Write to MH i2c: E2 08 00 99 23 80 11 00 00 00 00 00 00 36 [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:07]Read from MH i2c: E2 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 17 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: E2 17 00 99 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 8D [22:03:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:03:07]wFMCommunicate OK [22:03:07]CreateOFDProtocolMessage done [22:03:07]OFDSenderStorePacket 43064 [22:03:07]StoreOFDPacket docnum=43064 [22:03:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 9B 1A 3B 01 F6 72 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 9F F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 38 A8 00 00 35 04 06 00 B0 6F 74 68 94 56 20 02 75 59 28 B9 EF 2B [22:03:07]CheckFolder [22:03:07]dirname=/storage/ofd_packets [22:03:07]CheckFolder done [22:03:07]ProducePacketName [22:03:07]name=ofd_packets/00043064 [22:03:07]NVStorageSaveData ofd_packets/00043064 [22:03:07]File name is /storage/ofd_packets/00043064 [22:03:07]Write 353 bytes [22:03:07]NVStorageSaveData done [22:03:07]OFDSenderStorePacket done [22:03:07]KKMCreateOFDPacket done [22:03:07]NVStorageSaveData kkm_last_timestamp [22:03:07]File name is /storage/kkm_last_timestamp [22:03:07]Write 4 bytes [22:03:07]NVStorageSaveData done [22:03:07]ExternCall_PrintAddStr [22:03:07]wPrintStart [22:03:07]Write to MH i2c: 01 00 00 9A 23 BD [22:03:07]Write i2c OK [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: 01 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: 01 07 00 [22:03:07]MH_I2C_Read... [22:03:07]Read from MH i2c: 01 07 00 9A 23 00 00 00 00 00 FF 0F D2 [22:03:07]RasterBufferAndPrint [22:03:07]line Счет N : (3)300192 [22:03:07]line ИНН: 02508201610067 [22:03:07]line Контрольно-Кассовый Чек [22:03:07]line ПРОДАЖА [22:03:07]line Товар: 4700000160792 [22:03:07]line Снек Курут классический (круглый) [22:03:07]line 1.000 * 60.00 [22:03:07]line = 60.00 [22:03:07]line НДС 12% НСП 1% [22:03:07]line > о реализуемом товаре [22:03:07]line ИТОГО: 60.00 [22:03:07]line НСП 1% : 0.53 [22:03:07]line НДС 12% : 6.37 [22:03:07]line Наличными: 60.00 [22:03:07]line Безнал.: 0.00 [22:03:07]line Место: АЗС № 71 "Партнер Нефть" [22:03:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [22:03:07]line СНО: Общий режим [22:03:07]line Чек 109 13.07.2024 22:03 [22:03:07]line Смена: 445 ФФД: 1.0 [22:03:07]line ЗНМ: 0300000153 [22:03:07]line РНМ: 0000000000091176 [22:03:07]line Версия ККМ: 001 [22:03:07]line ФМ: 0000000000874935 [22:03:07]line ФД: 43064 [22:03:07]line ФПД: 193992740869206 [22:03:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220311&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43064&fm=193992740869206&tin=02508201610067®Number=0000000000091176&sum=6000 [22:03:07]line 0 [22:03:07]OFD Sender: Processing packet 43064 [packets to send 31, broken 30] [22:03:07]ProducePacketName [22:03:07]name=ofd_packets/00043064 [22:03:07]OFD Sender: To server: pG, [22:03:07]CommunicateWithHost lk.salyk.kg:30040 [22:03:07]ConnectInit lk.salyk.kg [22:03:07]written 0, free lines is 4095 [22:03:07]Connected sock=10 [22:03:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 43 01 00 00 9B 1A 3B 01 F6 72 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 9F F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 38 A8 00 00 35 04 06 00 B0 6F 74 68 94 56 20 02 75 59 28 B9 EF 2B [22:03:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 C1 28 47 00 BC D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 38 A8 00 00 F4 03 04 00 98 A5 92 66 B6 04 01 00 00 54 F8 B5 9D F5 63 2D B6 [22:03:08]CommunicateWithHost err = 0 [22:03:08]CheckOFDResponse [22:03:08]1017 (14) - 77093643461234 [22:03:08]1041 (16) - 0000000000874935 [22:03:08]1040 (4) - 43064 [22:03:08]1012 (4) - 13.07.2024 16:04 [22:03:08]1206 (1) - 0 [22:03:08]OFD Sender: Remove packet 43064 [22:03:08]ProducePacketName [22:03:08]name=ofd_packets/00043064 [22:03:08]NVStorageDeleteData [22:03:08]Write to MH i2c: 01 00 00 C3 23 E6 [22:03:08]Write i2c OK [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: 01 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: 01 07 00 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: 01 07 00 C3 23 00 00 00 00 00 00 0D FA [22:03:08]RasterBufferAndPrint [22:03:08]line [22:03:08]line [22:03:08]line [22:03:08]line [22:03:08]line [22:03:08]written 0, free lines is 3334 [22:03:08]MH_Cut [22:03:08]Write to MH i2c: D1 01 00 CA 23 01 BF [22:03:08]Write i2c OK [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: D1 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: D1 01 00 [22:03:08]MH_I2C_Read... [22:03:08]Read from MH i2c: D1 01 00 CA 23 00 BE [22:03:08]Write to MH i2c: 01 00 00 CB 23 EE [22:03:08]Write i2c OK [22:03:08]MH_I2C_Read... [22:03:08]OFD Sender: No OFD packet to send [22:03:08]*** Cut start [22:03:08]*** Partial cut [22:03:08]*** CUTSNS_PIN = 1 [22:03:08]*** CUTSNS_PIN = 0 [22:03:09]*** Brake cut motor [22:03:09]Read from MH i2c: 01 [22:03:09]MH_I2C_Read... [22:03:09]*** Stop cut motor [22:03:09]*** Cut end [22:03:09]Read from MH i2c: 01 07 00 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: 01 07 00 CB 23 00 00 00 00 00 FF 0F 03 [22:03:09]process_action close_receipt done [22:03:09]requested_data is exist [22:03:09]produce_requested_data [22:03:09]requested_item fm.sn is exist - process it [22:03:09]wFMCommunicate request_size=4 [22:03:09]MH_SAM_APDU [22:03:09]CAPDU: 80 11 00 00 [22:03:09]Write to MH i2c: E2 08 00 CC 23 80 11 00 00 00 00 00 00 69 [22:03:09]Write i2c OK [22:03:09]MH_I2C_Read... [22:03:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:09]Read from MH i2c: E2 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 17 00 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 17 00 CC 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C0 [22:03:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:03:09]wFMCommunicate OK [22:03:09]requested_item fd.num is exist - process it [22:03:09]SAM_PROTO_GetFieldsCounters [22:03:09]wFMCommunicate request_size=4 [22:03:09]MH_SAM_APDU [22:03:09]CAPDU: 80 13 00 00 [22:03:09]Write to MH i2c: E2 08 00 CD 23 80 13 00 00 00 00 00 00 6C [22:03:09]Write i2c OK [22:03:09]MH_I2C_Read... [22:03:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:09]Read from MH i2c: E2 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 62 00 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 62 00 CD 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 38 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6D 00 00 00 5E 04 04 00 6D 00 00 00 57 04 04 00 6E 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [22:03:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 38 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6D 00 00 00 5E 04 04 00 6D 00 00 00 57 04 04 00 6E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:09]wFMCommunicate OK [22:03:09]SAM_PROTO_GetFieldsCounters done [22:03:09]requested_item shift.num is exist - process it [22:03:09]requested_item shift.opened is exist - process it [22:03:09]req_shift_opened [22:03:09]FM_GetShiftState [22:03:09]SAM_PROTO_GetShiftState [22:03:09]wFMCommunicate request_size=4 [22:03:09]MH_SAM_APDU [22:03:09]CAPDU: 80 13 01 00 [22:03:09]Write to MH i2c: E2 08 00 CE 23 80 13 01 00 00 00 00 00 6E [22:03:09]Write i2c OK [22:03:09]MH_I2C_Read... [22:03:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:09]Read from MH i2c: E2 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 0E 00 [22:03:09]MH_I2C_Read... [22:03:09]Read from MH i2c: E2 0E 00 CE 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 05 [22:03:09]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:03:09]wFMCommunicate OK [22:03:09]SAM_PROTO_GetShiftState done [22:03:09]FM_GetShiftState done [22:03:09]req_shift_opened done [22:03:09]requested_item shift.open_date is exist - process it [22:03:09]req_shift_open_date [22:03:09]req_shift_open_date done [22:03:09]requested_item shift.sale.total is exist - process it [22:03:09]SAM_PROTO_GetShiftData [22:03:09]wFMCommunicate request_size=4 [22:03:09]MH_SAM_APDU [22:03:09]CAPDU: 80 13 02 00 [22:03:09]Write to MH i2c: E2 08 00 CF 23 80 13 02 00 00 00 00 00 70 [22:03:09]Write i2c OK [22:03:09]MH_I2C_Read... [22:03:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:03:10]Read from MH i2c: E2 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 CF 23 00 AE 04 AA 04 AA 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 EC 5F 1D 70 04 03 00 9C C7 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8B 1E 03 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 7E 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 46 [22:03:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 EC 5F 1D 70 04 03 00 9C C7 19 72 04 03 00 50 98 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8B 1E 03 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 7E 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [22:03:10]wFMCommunicate OK [22:03:10]wFMCommunicate request_size=4 [22:03:10]MH_SAM_APDU [22:03:10]CAPDU: 80 17 00 00 [22:03:10]Write to MH i2c: E2 08 00 D0 23 80 17 00 00 00 00 00 00 73 [22:03:10]Write i2c OK [22:03:10]MH_I2C_Read... [22:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:10]Read from MH i2c: E2 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 D0 23 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 95 [22:03:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:03:10]wFMCommunicate OK [22:03:10]wFMCommunicate request_size=4 [22:03:10]MH_SAM_APDU [22:03:10]CAPDU: 80 17 00 00 [22:03:10]Write to MH i2c: E2 08 00 D1 23 80 17 00 00 00 00 00 00 74 [22:03:10]Write i2c OK [22:03:10]MH_I2C_Read... [22:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:10]Read from MH i2c: E2 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 [22:03:10]MH_I2C_Read... [22:03:10]Read from MH i2c: E2 FD 00 D1 23 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2B [22:03:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:03:10]wFMCommunicate OK [22:03:10]wFMCommunicate request_size=4 [22:03:10]MH_SAM_APDU [22:03:10]CAPDU: 80 17 00 00 [22:03:10]Write to MH i2c: E2 08 00 D2 23 80 17 00 00 00 00 00 00 75 [22:03:10]Write i2c OK [22:03:10]MH_I2C_Read... [22:03:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:03:11]Read from MH i2c: E2 [22:03:11]MH_I2C_Read... [22:03:11]Read from MH i2c: E2 FD 00 [22:03:11]MH_I2C_Read... [22:03:11]Read from MH i2c: E2 FD 00 D2 23 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E7 [22:03:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:03:11]wFMCommunicate OK [22:03:11]wFMCommunicate request_size=4 [22:03:11]MH_SAM_APDU [22:03:11]CAPDU: 80 17 00 00 [22:03:11]Write to MH i2c: E2 08 00 D3 23 80 17 00 00 00 00 00 00 76 [22:03:11]Write i2c OK [22:03:11]MH_I2C_Read... [22:03:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:03:11]Read from MH i2c: E2 [22:03:11]MH_I2C_Read... [22:03:11]Read from MH i2c: E2 CB 00 [22:03:11]MH_I2C_Read... [22:03:11]Read from MH i2c: E2 CB 00 D3 23 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5F [22:03:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:03:11]wFMCommunicate OK [22:03:11]SAM_PROTO_GetShiftData done [22:03:11]requested_item shift.sale.total_cash is exist - process it [22:03:11]requested_item shift.sale_refund.total is exist - process it [22:03:11]requested_item shift.sale_refund.total_cash is exist - process it [22:03:11]produce_requested_data done [22:03:11]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43064,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19251.00,"shift.sale.total_cash":16895.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [22:03:11]process_action_free close_receipt [22:03:11]json_value_free [22:03:11]json_value_free done [22:03:11]process_json_proto returns [22:03:11]Send response to host [22:03:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43064,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19251.00,"shift.sale.total_cash":16895.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [22:03:11]free response buf [22:03:11]execute_script done [22:03:11]execute_script returns [22:03:11]free content buf [22:03:11]Sock 7.Close socket [22:03:11]Sock 7.Thread stoped [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]OFD Sender: No OFD packet to send [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:31]accept exits with 9 [22:04:31]New connection [22:04:31]New thread 3067387236 created [22:04:31]Thread 3067530596 joined [22:04:31]Waiting for new connection... [22:04:31] Sock 9.Parse request [22:04:31]Sock 9.Check first char [22:04:31]Sock 9.First char is OK [22:04:31]request: POST /json_proto HTTP/1.0 [22:04:31]Method: POST [22:04:31]URL: /json_proto [22:04:31]Method is POST - this is cgi request [22:04:31]url: /json_proto [22:04:31]query_string will be loaded in cgi processing [22:04:31]execute_cgi json_proto POST (null) [22:04:31]execute_cgi path=json_proto method=POST [22:04:31]POST find Content-Length [22:04:31]Host: 172.17.38.197:8080 [22:04:31]Content-Length: 1337 [22:04:31]Content-Type: application/json [22:04:31] [22:04:31]POST finish read [22:04:31]Found Content-Length = 1337 [22:04:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300193", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 202.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:04:31]execute_script... [22:04:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300193", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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" : 202.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:04:31]POST & json_proto [22:04:31]process_json_proto [22:04:31]json parsed OK: [22:04:31]protocol is kg_v1.0 [22:04:31]action value=close_receipt [22:04:31]process_action close_receipt [22:04:31]cmd_close_receipt [22:04:31]MH_GetDate [22:04:31]Write to MH i2c: F0 00 00 D4 23 E6 [22:04:31]Write i2c OK [22:04:31]MH_I2C_Read... [22:04:31]Read from MH i2c: F0 [22:04:31]MH_I2C_Read... [22:04:31]Read from MH i2c: F0 09 00 [22:04:31]MH_I2C_Read... [22:04:31]Read from MH i2c: F0 09 00 D4 23 00 F5 F9 92 66 1E 0D 88 66 EE [22:04:31]GetLastDocTimeStamp 1720908191 [22:04:31]current date 1720908277 [22:04:31]FM_GetShiftState [22:04:31]SAM_PROTO_GetShiftState [22:04:31]wFMCommunicate request_size=4 [22:04:31]MH_SAM_APDU [22:04:31]CAPDU: 80 13 01 00 [22:04:31]Write to MH i2c: E2 08 00 D5 23 80 13 01 00 00 00 00 00 75 [22:04:31]Write i2c OK [22:04:31]MH_I2C_Read... [22:04:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:31]Read from MH i2c: E2 [22:04:31]MH_I2C_Read... [22:04:31]Read from MH i2c: E2 0E 00 [22:04:31]MH_I2C_Read... [22:04:31]Read from MH i2c: E2 0E 00 D5 23 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 0C [22:04:31]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:04:31]wFMCommunicate OK [22:04:31]SAM_PROTO_GetShiftState done [22:04:31]FM_GetShiftState done [22:04:31]opened in 1720829646 [22:04:31]opened+sec_in_day 1720916046 [22:04:31]quantity*price = 9500 [22:04:31]sum+1 = 9501 [22:04:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 202.00 НСП 1% : 1.79 НДС 12% : 21.45 Наличными: 0.00 Безнал.: 202.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 110 13.07.2024 22:04 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43065 ФПД: 236451039842537 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220437&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43065&fm=236451039842537&tin=02508201610067®Number=0000000000091176&sum=20200 0 [22:04:32]StoreToDocumentArchive [22:04:32]shift 445 fd 43065 [22:04:32]save to /storage/0445/doc_00043065 [22:04:32]save last doc name /storage/0445/doc_00043065 to /storage/kkm_last_doc_name [22:04:32]save OK [22:04:32]Clear old archive folders... [22:04:32]ProcessDocumentItem done err = 0, tmpTLVsize=432 [22:04:32]tlvbuf is 015B1CD0 [22:04:32]SAM_PROTO_ClearQueue [22:04:32]wFMCommunicate request_size=4 [22:04:32]MH_SAM_APDU [22:04:32]CAPDU: 80 09 00 00 [22:04:32]Write to MH i2c: E2 08 00 E2 23 80 09 00 00 00 00 00 00 77 [22:04:32]Write i2c OK [22:04:32]MH_I2C_Read... [22:04:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:04:32]Read from MH i2c: E2 [22:04:32]MH_I2C_Read... [22:04:32]Read from MH i2c: E2 03 00 [22:04:32]MH_I2C_Read... [22:04:32]Read from MH i2c: E2 03 00 E2 23 00 90 00 79 [22:04:32]RAPDU: 90 00 [22:04:32]wFMCommunicate OK [22:04:32]SAM_PROTO_ClearQueue done [22:04:32]KKMCreateOFDPacket [22:04:32]OFDProtocolAddRootSTLVToBuf [22:04:32]FM_MakeSignedData [22:04:32]FM_MakeSignedData [22:04:32]SAM_PROTO_SignData [22:04:32]wFMCommunicate request_size=4 [22:04:32]MH_SAM_APDU [22:04:32]CAPDU: 80 0D 01 02 [22:04:32]Write to MH i2c: E2 08 00 E3 23 80 0D 01 02 00 00 00 00 7F [22:04:32]Write i2c OK [22:04:32]MH_I2C_Read... [22:04:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:04:33]Read from MH i2c: E2 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 E3 23 00 90 00 7A [22:04:33]RAPDU: 90 00 [22:04:33]wFMCommunicate OK [22:04:33]wFMCommunicate request_size=255 [22:04:33]MH_SAM_APDU [22:04:33]CAPDU: 80 0D 02 02 FA 03 00 B0 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 [22:04:33]Write to MH i2c: E2 02 01 E4 23 80 0D 02 02 FA 00 03 00 B0 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 00 00 78 [22:04:33]Write i2c OK [22:04:33]MH_I2C_Read... [22:04:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:33]Read from MH i2c: E2 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 E4 23 00 90 00 7B [22:04:33]RAPDU: 90 00 [22:04:33]wFMCommunicate OK [22:04:33]wFMCommunicate request_size=191 [22:04:33]MH_SAM_APDU [22:04:33]CAPDU: 80 0D 02 02 BA CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 F5 F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 39 A8 00 00 35 04 06 00 D7 0D 0C 3C 90 E9 [22:04:33]Write to MH i2c: E2 C2 00 E5 23 80 0D 02 02 BA 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 F5 F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 39 A8 00 00 35 04 06 00 D7 0D 0C 3C 90 E9 00 00 04 [22:04:33]Write i2c OK [22:04:33]MH_I2C_Read... [22:04:33]OFD Sender: No OFD packet to send [22:04:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:33]Read from MH i2c: E2 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 03 00 E5 23 00 90 00 7C [22:04:33]RAPDU: 90 00 [22:04:33]wFMCommunicate OK [22:04:33]wFMCommunicate request_size=4 [22:04:33]MH_SAM_APDU [22:04:33]CAPDU: 80 0D 03 02 [22:04:33]Write to MH i2c: E2 08 00 E6 23 80 0D 03 02 00 00 00 00 84 [22:04:33]Write i2c OK [22:04:33]MH_I2C_Read... [22:04:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:04:33]Read from MH i2c: E2 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 0B 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 0B 00 E6 23 00 E1 56 B1 40 BE 21 FE 0C 90 00 96 [22:04:33]RAPDU: E1 56 B1 40 BE 21 FE 0C 90 00 [22:04:33]wFMCommunicate OK [22:04:33]SAM_PROTO_SignData done [22:04:33]FM_MakeSignedData done [22:04:33]CreateOFDProtocolMessage [22:04:33]wFMCommunicate request_size=4 [22:04:33]MH_SAM_APDU [22:04:33]CAPDU: 80 11 00 00 [22:04:33]Write to MH i2c: E2 08 00 E7 23 80 11 00 00 00 00 00 00 84 [22:04:33]Write i2c OK [22:04:33]MH_I2C_Read... [22:04:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:33]Read from MH i2c: E2 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 17 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: E2 17 00 E7 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 DB [22:04:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:04:33]wFMCommunicate OK [22:04:33]CreateOFDProtocolMessage done [22:04:33]OFDSenderStorePacket 43065 [22:04:33]StoreOFDPacket docnum=43065 [22:04:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 C4 01 00 00 F0 27 BC 01 90 FB 5A 03 01 00 03 00 B0 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 F5 F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 39 A8 00 00 35 04 06 00 D7 0D 0C 3C 90 E9 E1 56 B1 40 BE 21 FE 0C [22:04:33]CheckFolder [22:04:33]dirname=/storage/ofd_packets [22:04:33]CheckFolder done [22:04:33]ProducePacketName [22:04:33]name=ofd_packets/00043065 [22:04:33]NVStorageSaveData ofd_packets/00043065 [22:04:33]File name is /storage/ofd_packets/00043065 [22:04:33]Write 482 bytes [22:04:33]NVStorageSaveData done [22:04:33]OFDSenderStorePacket done [22:04:33]KKMCreateOFDPacket done [22:04:33]NVStorageSaveData kkm_last_timestamp [22:04:33]File name is /storage/kkm_last_timestamp [22:04:33]Write 4 bytes [22:04:33]NVStorageSaveData done [22:04:33]ExternCall_PrintAddStr [22:04:33]wPrintStart [22:04:33]Write to MH i2c: 01 00 00 E8 23 0B [22:04:33]Write i2c OK [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: 01 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: 01 07 00 [22:04:33]MH_I2C_Read... [22:04:33]Read from MH i2c: 01 07 00 E8 23 00 00 00 00 00 FF 0F 20 [22:04:33]RasterBufferAndPrint [22:04:33]line Счет N : (3)300193 [22:04:33]line ИНН: 02508201610067 [22:04:33]line Контрольно-Кассовый Чек [22:04:33]line ПРОДАЖА [22:04:33]line Товар: 4700000480302 [22:04:33]line Напиток энерг Nitro манго-клуб 0.45 ж/б [22:04:33]line 1.000 * 95.00 [22:04:33]line = 95.00 [22:04:33]line НДС 12% НСП 1% [22:04:33]line > о реализуемом товаре [22:04:33]line Товар: 5449000189356 [22:04:33]line Холодный чай Fuse манго ананас 1л [22:04:33]line 1.000 * 107.00 [22:04:33]line = 107.00 [22:04:33]line НДС 12% НСП 1% [22:04:33]line > о реализуемом товаре [22:04:33]line ИТОГО: 202.00 [22:04:33]line НСП 1% : 1.79 [22:04:33]line НДС 12% : 21.45 [22:04:33]line Наличными: 0.00 [22:04:33]line Безнал.: 202.00 [22:04:33]line Место: АЗС № 71 "Партнер Нефть" [22:04:33]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [22:04:33]line СНО: Общий режим [22:04:33]line Чек 110 13.07.2024 22:04 [22:04:33]line Смена: 445 ФФД: 1.0 [22:04:33]line ЗНМ: 0300000153 [22:04:33]line РНМ: 0000000000091176 [22:04:33]line Версия ККМ: 001 [22:04:33]line Платежная система: АКБ Кыргызстан [22:04:33]line ФМ: 0000000000874935 [22:04:33]line ФД: 43065 [22:04:33]line ФПД: 236451039842537 [22:04:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T220437&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43065&fm=236451039842537&tin=02508201610067®Number=0000000000091176&sum=20200 [22:04:33]line 0 [22:04:33]written 0, free lines is 4095 [22:04:34]OFD Sender: Processing packet 43065 [packets to send 31, broken 30] [22:04:34]ProducePacketName [22:04:34]name=ofd_packets/00043065 [22:04:34]OFD Sender: To server: pG, [22:04:34]CommunicateWithHost lk.salyk.kg:30040 [22:04:34]ConnectInit lk.salyk.kg [22:04:34]Connected sock=10 [22:04:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 C4 01 00 00 F0 27 BC 01 90 FB 5A 03 01 00 03 00 B0 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 F5 F9 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 39 A8 00 00 35 04 06 00 D7 0D 0C 3C 90 E9 E1 56 B1 40 BE 21 FE 0C [22:04:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 57 8B 47 00 95 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 39 A8 00 00 F4 03 04 00 EE A5 92 66 B6 04 01 00 00 3F D7 30 E0 26 A8 6F 4D [22:04:34]CommunicateWithHost err = 0 [22:04:34]CheckOFDResponse [22:04:34]1017 (14) - 77093643461234 [22:04:34]1041 (16) - 0000000000874935 [22:04:34]1040 (4) - 43065 [22:04:34]1012 (4) - 13.07.2024 16:06 [22:04:34]1206 (1) - 0 [22:04:34]OFD Sender: Remove packet 43065 [22:04:34]ProducePacketName [22:04:34]name=ofd_packets/00043065 [22:04:34]NVStorageDeleteData [22:04:34]Write to MH i2c: 01 00 00 1A 24 3E [22:04:34]Write i2c OK [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: 01 [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: 01 07 00 [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: 01 07 00 1A 24 00 00 00 00 00 66 0C B7 [22:04:34]RasterBufferAndPrint [22:04:34]line [22:04:34]line [22:04:34]line [22:04:34]line [22:04:34]line [22:04:34]written 0, free lines is 3182 [22:04:34]MH_Cut [22:04:34]Write to MH i2c: D1 01 00 21 24 01 17 [22:04:34]Write i2c OK [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: D1 [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: D1 01 00 [22:04:34]MH_I2C_Read... [22:04:34]Read from MH i2c: D1 01 00 21 24 00 16 [22:04:34]Write to MH i2c: 01 00 00 22 24 46 [22:04:34]Write i2c OK [22:04:34]MH_I2C_Read... [22:04:34]OFD Sender: No OFD packet to send [22:04:35]*** Cut start [22:04:35]*** Partial cut [22:04:35]*** CUTSNS_PIN = 1 [22:04:35]*** CUTSNS_PIN = 0 [22:04:35]*** Brake cut motor [22:04:35]Read from MH i2c: 01 [22:04:35]MH_I2C_Read... [22:04:35]*** Stop cut motor [22:04:35]*** Cut end [22:04:35]Read from MH i2c: 01 07 00 [22:04:35]MH_I2C_Read... [22:04:35]Read from MH i2c: 01 07 00 22 24 00 00 00 00 00 FF 0F 5B [22:04:35]process_action close_receipt done [22:04:35]requested_data is exist [22:04:35]produce_requested_data [22:04:35]requested_item fm.sn is exist - process it [22:04:35]wFMCommunicate request_size=4 [22:04:35]MH_SAM_APDU [22:04:35]CAPDU: 80 11 00 00 [22:04:35]Write to MH i2c: E2 08 00 23 24 80 11 00 00 00 00 00 00 C1 [22:04:35]Write i2c OK [22:04:35]MH_I2C_Read... [22:04:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:36]Read from MH i2c: E2 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 17 00 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 17 00 23 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 18 [22:04:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:04:36]wFMCommunicate OK [22:04:36]requested_item fd.num is exist - process it [22:04:36]SAM_PROTO_GetFieldsCounters [22:04:36]wFMCommunicate request_size=4 [22:04:36]MH_SAM_APDU [22:04:36]CAPDU: 80 13 00 00 [22:04:36]Write to MH i2c: E2 08 00 24 24 80 13 00 00 00 00 00 00 C4 [22:04:36]Write i2c OK [22:04:36]MH_I2C_Read... [22:04:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:04:36]Read from MH i2c: E2 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 62 00 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 62 00 24 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 39 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6E 00 00 00 5E 04 04 00 6E 00 00 00 57 04 04 00 6F 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [22:04:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 39 A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6E 00 00 00 5E 04 04 00 6E 00 00 00 57 04 04 00 6F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:04:36]wFMCommunicate OK [22:04:36]SAM_PROTO_GetFieldsCounters done [22:04:36]requested_item shift.num is exist - process it [22:04:36]requested_item shift.opened is exist - process it [22:04:36]req_shift_opened [22:04:36]FM_GetShiftState [22:04:36]SAM_PROTO_GetShiftState [22:04:36]wFMCommunicate request_size=4 [22:04:36]MH_SAM_APDU [22:04:36]CAPDU: 80 13 01 00 [22:04:36]Write to MH i2c: E2 08 00 25 24 80 13 01 00 00 00 00 00 C6 [22:04:36]Write i2c OK [22:04:36]MH_I2C_Read... [22:04:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:36]Read from MH i2c: E2 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 0E 00 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 0E 00 25 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 5D [22:04:36]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:04:36]wFMCommunicate OK [22:04:36]SAM_PROTO_GetShiftState done [22:04:36]FM_GetShiftState done [22:04:36]req_shift_opened done [22:04:36]requested_item shift.open_date is exist - process it [22:04:36]req_shift_open_date [22:04:36]req_shift_open_date done [22:04:36]requested_item shift.sale.total is exist - process it [22:04:36]SAM_PROTO_GetShiftData [22:04:36]wFMCommunicate request_size=4 [22:04:36]MH_SAM_APDU [22:04:36]CAPDU: 80 13 02 00 [22:04:36]Write to MH i2c: E2 08 00 26 24 80 13 02 00 00 00 00 00 C8 [22:04:36]Write i2c OK [22:04:36]MH_I2C_Read... [22:04:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:04:36]Read from MH i2c: E2 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 FD 00 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 FD 00 26 24 00 AE 04 AA 04 AA 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 D4 AE 1D 70 04 03 00 9C C7 19 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EC 26 03 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 31 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2B [22:04:36]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 D4 AE 1D 70 04 03 00 9C C7 19 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EC 26 03 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 31 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [22:04:36]wFMCommunicate OK [22:04:36]wFMCommunicate request_size=4 [22:04:36]MH_SAM_APDU [22:04:36]CAPDU: 80 17 00 00 [22:04:36]Write to MH i2c: E2 08 00 27 24 80 17 00 00 00 00 00 00 CB [22:04:36]Write i2c OK [22:04:36]MH_I2C_Read... [22:04:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:04:36]Read from MH i2c: E2 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 FD 00 [22:04:36]MH_I2C_Read... [22:04:36]Read from MH i2c: E2 FD 00 27 24 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 ED [22:04:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:04:37]wFMCommunicate OK [22:04:37]wFMCommunicate request_size=4 [22:04:37]MH_SAM_APDU [22:04:37]CAPDU: 80 17 00 00 [22:04:37]Write to MH i2c: E2 08 00 28 24 80 17 00 00 00 00 00 00 CC [22:04:37]Write i2c OK [22:04:37]MH_I2C_Read... [22:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:04:37]Read from MH i2c: E2 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 FD 00 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 FD 00 28 24 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 83 [22:04:37]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:04:37]wFMCommunicate OK [22:04:37]wFMCommunicate request_size=4 [22:04:37]MH_SAM_APDU [22:04:37]CAPDU: 80 17 00 00 [22:04:37]Write to MH i2c: E2 08 00 29 24 80 17 00 00 00 00 00 00 CD [22:04:37]Write i2c OK [22:04:37]MH_I2C_Read... [22:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:04:37]Read from MH i2c: E2 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 FD 00 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 FD 00 29 24 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3F [22:04:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:04:37]wFMCommunicate OK [22:04:37]wFMCommunicate request_size=4 [22:04:37]MH_SAM_APDU [22:04:37]CAPDU: 80 17 00 00 [22:04:37]Write to MH i2c: E2 08 00 2A 24 80 17 00 00 00 00 00 00 CE [22:04:37]Write i2c OK [22:04:37]MH_I2C_Read... [22:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:04:37]Read from MH i2c: E2 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 CB 00 [22:04:37]MH_I2C_Read... [22:04:37]Read from MH i2c: E2 CB 00 2A 24 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [22:04:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:04:37]wFMCommunicate OK [22:04:37]SAM_PROTO_GetShiftData done [22:04:37]requested_item shift.sale.total_cash is exist - process it [22:04:37]requested_item shift.sale_refund.total is exist - process it [22:04:37]requested_item shift.sale_refund.total_cash is exist - process it [22:04:37]produce_requested_data done [22:04:37]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43065,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19453.00,"shift.sale.total_cash":16895.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [22:04:37]process_action_free close_receipt [22:04:37]json_value_free [22:04:37]json_value_free done [22:04:37]process_json_proto returns [22:04:37]Send response to host [22:04:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43065,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19453.00,"shift.sale.total_cash":16895.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [22:04:37]free response buf [22:04:37]execute_script done [22:04:37]execute_script returns [22:04:37]free content buf [22:04:37]Sock 9.Close socket [22:04:37]Sock 9.Thread stoped [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:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:28]accept exits with 7 [22:13:28]New connection [22:13:28]New thread 3067530596 created [22:13:28]Thread 3067387236 joined [22:13:28]Waiting for new connection... [22:13:28] Sock 7.Parse request [22:13:28]Sock 7.Check first char [22:13:28]Sock 7.First char is OK [22:13:28]request: POST /json_proto HTTP/1.0 [22:13:28]Method: POST [22:13:28]URL: /json_proto [22:13:28]Method is POST - this is cgi request [22:13:28]url: /json_proto [22:13:28]query_string will be loaded in cgi processing [22:13:28]execute_cgi json_proto POST (null) [22:13:28]execute_cgi path=json_proto method=POST [22:13:28]POST find Content-Length [22:13:28]Host: 172.17.38.197:8080 [22:13:28]Content-Length: 1003 [22:13:28]Content-Type: application/json [22:13:28] [22:13:28]POST finish read [22:13:28]Found Content-Length = 1003 [22:13:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300194", "tax_sys" : 0, "items" : [ { "code": "48745093", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M LOUNGE MIX", "price" : 121.00, "quantity" : 1.000, "sum" : 121.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:13:28]execute_script... [22:13:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300194", "tax_sys" : 0, "items" : [ { "code": "48745093", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M LOUNGE MIX", "price" : 121.00, "quantity" : 1.000, "sum" : 121.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:13:28]POST & json_proto [22:13:28]process_json_proto [22:13:28]json parsed OK: [22:13:28]protocol is kg_v1.0 [22:13:28]action value=close_receipt [22:13:28]process_action close_receipt [22:13:28]cmd_close_receipt [22:13:28]MH_GetDate [22:13:28]Write to MH i2c: F0 00 00 2B 24 3E [22:13:28]Write i2c OK [22:13:28]MH_I2C_Read... [22:13:28]Read from MH i2c: F0 [22:13:28]MH_I2C_Read... [22:13:28]Read from MH i2c: F0 09 00 [22:13:28]MH_I2C_Read... [22:13:28]Read from MH i2c: F0 09 00 2B 24 00 0E FC 92 66 1E 0D 88 66 62 [22:13:28]GetLastDocTimeStamp 1720908277 [22:13:28]current date 1720908814 [22:13:28]FM_GetShiftState [22:13:28]SAM_PROTO_GetShiftState [22:13:28]wFMCommunicate request_size=4 [22:13:28]MH_SAM_APDU [22:13:28]CAPDU: 80 13 01 00 [22:13:28]Write to MH i2c: E2 08 00 2C 24 80 13 01 00 00 00 00 00 CD [22:13:28]Write i2c OK [22:13:28]MH_I2C_Read... [22:13:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:28]Read from MH i2c: E2 [22:13:28]MH_I2C_Read... [22:13:28]Read from MH i2c: E2 0E 00 [22:13:28]MH_I2C_Read... [22:13:28]Read from MH i2c: E2 0E 00 2C 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 64 [22:13:28]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:13:28]wFMCommunicate OK [22:13:28]SAM_PROTO_GetShiftState done [22:13:28]FM_GetShiftState done [22:13:28]opened in 1720829646 [22:13:28]opened+sec_in_day 1720916046 [22:13:28]quantity*price = 12100 [22:13:28]sum+1 = 12101 [22:13:28]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 188.00 НСП 1% : 1.66 НДС 12% : 19.96 Наличными: 188.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 111 13.07.2024 22:13 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43066 ФПД: 277152907299248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221334&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43066&fm=277152907299248&tin=02508201610067®Number=0000000000091176&sum=18800 0 [22:13:29]StoreToDocumentArchive [22:13:29]shift 445 fd 43066 [22:13:29]save to /storage/0445/doc_00043066 [22:13:29]save last doc name /storage/0445/doc_00043066 to /storage/kkm_last_doc_name [22:13:29]save OK [22:13:29]Clear old archive folders... [22:13:29]ProcessDocumentItem done err = 0, tmpTLVsize=382 [22:13:29]tlvbuf is 015CC580 [22:13:29]SAM_PROTO_ClearQueue [22:13:29]wFMCommunicate request_size=4 [22:13:29]MH_SAM_APDU [22:13:29]CAPDU: 80 09 00 00 [22:13:29]Write to MH i2c: E2 08 00 39 24 80 09 00 00 00 00 00 00 CF [22:13:29]Write i2c OK [22:13:29]MH_I2C_Read... [22:13:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:13:29]Read from MH i2c: E2 [22:13:29]MH_I2C_Read... [22:13:29]Read from MH i2c: E2 03 00 [22:13:29]MH_I2C_Read... [22:13:29]Read from MH i2c: E2 03 00 39 24 00 90 00 D1 [22:13:29]RAPDU: 90 00 [22:13:29]wFMCommunicate OK [22:13:29]SAM_PROTO_ClearQueue done [22:13:29]KKMCreateOFDPacket [22:13:29]OFDProtocolAddRootSTLVToBuf [22:13:29]FM_MakeSignedData [22:13:29]FM_MakeSignedData [22:13:29]SAM_PROTO_SignData [22:13:29]wFMCommunicate request_size=4 [22:13:29]MH_SAM_APDU [22:13:29]CAPDU: 80 0D 01 02 [22:13:29]Write to MH i2c: E2 08 00 3A 24 80 0D 01 02 00 00 00 00 D7 [22:13:29]Write i2c OK [22:13:29]MH_I2C_Read... [22:13:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:13:29]Read from MH i2c: E2 [22:13:29]MH_I2C_Read... [22:13:29]Read from MH i2c: E2 03 00 [22:13:29]MH_I2C_Read... [22:13:29]Read from MH i2c: E2 03 00 3A 24 00 90 00 D2 [22:13:29]RAPDU: 90 00 [22:13:29]wFMCommunicate OK [22:13:29]wFMCommunicate request_size=255 [22:13:29]MH_SAM_APDU [22:13:29]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 35 30 39 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 4F 55 4E 47 45 20 4D 49 58 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 2F 00 00 00 00 13 04 06 00 44 2F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 [22:13:29]Write to MH i2c: E2 02 01 3B 24 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 35 30 39 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 4F 55 4E 47 45 20 4D 49 58 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 2F 00 00 00 00 13 04 06 00 44 2F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 CC [22:13:29]Write i2c OK [22:13:29]MH_I2C_Read... [22:13:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:30]Read from MH i2c: E2 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 03 00 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 03 00 3B 24 00 90 00 D3 [22:13:30]RAPDU: 90 00 [22:13:30]wFMCommunicate OK [22:13:30]wFMCommunicate request_size=141 [22:13:30]MH_SAM_APDU [22:13:30]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 0E FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3A A8 00 00 35 04 06 00 FC 11 B0 96 89 B0 [22:13:30]Write to MH i2c: E2 90 00 3C 24 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 0E FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3A A8 00 00 35 04 06 00 FC 11 B0 96 89 B0 00 00 43 [22:13:30]Write i2c OK [22:13:30]MH_I2C_Read... [22:13:30]OFD Sender: No OFD packet to send [22:13:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:30]Read from MH i2c: E2 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 03 00 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 03 00 3C 24 00 90 00 D4 [22:13:30]RAPDU: 90 00 [22:13:30]wFMCommunicate OK [22:13:30]wFMCommunicate request_size=4 [22:13:30]MH_SAM_APDU [22:13:30]CAPDU: 80 0D 03 02 [22:13:30]Write to MH i2c: E2 08 00 3D 24 80 0D 03 02 00 00 00 00 DC [22:13:30]Write i2c OK [22:13:30]MH_I2C_Read... [22:13:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:13:30]Read from MH i2c: E2 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 0B 00 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 0B 00 3D 24 00 F6 FA D0 B0 FE 38 F8 19 90 00 94 [22:13:30]RAPDU: F6 FA D0 B0 FE 38 F8 19 90 00 [22:13:30]wFMCommunicate OK [22:13:30]SAM_PROTO_SignData done [22:13:30]FM_MakeSignedData done [22:13:30]CreateOFDProtocolMessage [22:13:30]wFMCommunicate request_size=4 [22:13:30]MH_SAM_APDU [22:13:30]CAPDU: 80 11 00 00 [22:13:30]Write to MH i2c: E2 08 00 3E 24 80 11 00 00 00 00 00 00 DC [22:13:30]Write i2c OK [22:13:30]MH_I2C_Read... [22:13:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:30]Read from MH i2c: E2 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 17 00 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: E2 17 00 3E 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 33 [22:13:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:13:30]wFMCommunicate OK [22:13:30]CreateOFDProtocolMessage done [22:13:30]OFDSenderStorePacket 43066 [22:13:30]StoreOFDPacket docnum=43066 [22:13:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 92 01 00 00 F5 8B 8A 01 4B A1 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 35 30 39 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 4F 55 4E 47 45 20 4D 49 58 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 2F 00 00 00 00 13 04 06 00 44 2F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 0E FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3A A8 00 00 35 04 06 00 FC 11 B0 96 89 B0 F6 FA D0 B0 FE 38 F8 19 [22:13:30]CheckFolder [22:13:30]dirname=/storage/ofd_packets [22:13:30]CheckFolder done [22:13:30]ProducePacketName [22:13:30]name=ofd_packets/00043066 [22:13:30]NVStorageSaveData ofd_packets/00043066 [22:13:30]File name is /storage/ofd_packets/00043066 [22:13:30]Write 432 bytes [22:13:30]NVStorageSaveData done [22:13:30]OFDSenderStorePacket done [22:13:30]KKMCreateOFDPacket done [22:13:30]NVStorageSaveData kkm_last_timestamp [22:13:30]File name is /storage/kkm_last_timestamp [22:13:30]Write 4 bytes [22:13:30]NVStorageSaveData done [22:13:30]ExternCall_PrintAddStr [22:13:30]wPrintStart [22:13:30]Write to MH i2c: 01 00 00 3F 24 63 [22:13:30]Write i2c OK [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: 01 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: 01 07 00 [22:13:30]MH_I2C_Read... [22:13:30]Read from MH i2c: 01 07 00 3F 24 00 00 00 00 00 FF 0F 78 [22:13:30]RasterBufferAndPrint [22:13:30]line Счет N : (3)300194 [22:13:30]line ИНН: 02508201610067 [22:13:30]line Контрольно-Кассовый Чек [22:13:30]line ПРОДАЖА [22:13:30]line Товар: 48745093 [22:13:30]line Сигареты L&M LOUNGE MIX [22:13:30]line 1.000 * 121.00 [22:13:30]line = 121.00 [22:13:30]line НДС 12% НСП 1% [22:13:30]line > о реализуемом товаре [22:13:30]line Товар: 6931280300549 [22:13:30]line Зажигалка Cricket ПН пьезо [22:13:30]line 1.000 * 67.00 [22:13:30]line = 67.00 [22:13:30]line НДС 12% НСП 1% [22:13:30]line > о реализуемом товаре [22:13:30]line ИТОГО: 188.00 [22:13:30]line НСП 1% : 1.66 [22:13:30]line НДС 12% : 19.96 [22:13:30]line Наличными: 188.00 [22:13:30]line Безнал.: 0.00 [22:13:30]line Место: АЗС № 71 "Партнер Нефть" [22:13:30]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [22:13:30]line СНО: Общий режим [22:13:30]line Чек 111 13.07.2024 22:13 [22:13:30]line Смена: 445 ФФД: 1.0 [22:13:30]line ЗНМ: 0300000153 [22:13:30]line РНМ: 0000000000091176 [22:13:30]line Версия ККМ: 001 [22:13:30]line ФМ: 0000000000874935 [22:13:30]line ФД: 43066 [22:13:30]line ФПД: 277152907299248 [22:13:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221334&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43066&fm=277152907299248&tin=02508201610067®Number=0000000000091176&sum=18800 [22:13:30]OFD Sender: Processing packet 43066 [packets to send 31, broken 30] [22:13:30]ProducePacketName [22:13:30]name=ofd_packets/00043066 [22:13:30]OFD Sender: To server: pG, [22:13:30]CommunicateWithHost lk.salyk.kg:30040 [22:13:30]ConnectInit lk.salyk.kg [22:13:30]line 0 [22:13:30]written 0, free lines is 4095 [22:13:30]Connected sock=10 [22:13:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 92 01 00 00 F5 8B 8A 01 4B A1 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 35 30 39 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 4F 55 4E 47 45 20 4D 49 58 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 2F 00 00 00 00 13 04 06 00 44 2F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 0E FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3A A8 00 00 35 04 06 00 FC 11 B0 96 89 B0 F6 FA D0 B0 FE 38 F8 19 [22:13:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 BA F3 47 00 3E 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3A A8 00 00 F4 03 04 00 07 A8 92 66 B6 04 01 00 00 83 DE 12 9C DE 59 59 2F [22:13:31]CommunicateWithHost err = 0 [22:13:31]CheckOFDResponse [22:13:31]1017 (14) - 77093643461234 [22:13:31]1041 (16) - 0000000000874935 [22:13:31]1040 (4) - 43066 [22:13:31]1012 (4) - 13.07.2024 16:15 [22:13:31]1206 (1) - 0 [22:13:31]OFD Sender: Remove packet 43066 [22:13:31]ProducePacketName [22:13:31]name=ofd_packets/00043066 [22:13:31]NVStorageDeleteData [22:13:31]Write to MH i2c: 01 00 00 6D 24 91 [22:13:31]Write i2c OK [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: 01 [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: 01 07 00 [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: 01 07 00 6D 24 00 00 00 00 00 BB 0C 5F [22:13:31]RasterBufferAndPrint [22:13:31]line [22:13:31]line [22:13:31]line [22:13:31]line [22:13:31]line [22:13:31]written 0, free lines is 3267 [22:13:31]MH_Cut [22:13:31]Write to MH i2c: D1 01 00 74 24 01 6A [22:13:31]Write i2c OK [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: D1 [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: D1 01 00 [22:13:31]MH_I2C_Read... [22:13:31]Read from MH i2c: D1 01 00 74 24 00 69 [22:13:31]Write to MH i2c: 01 00 00 75 24 99 [22:13:31]Write i2c OK [22:13:31]MH_I2C_Read... [22:13:31]OFD Sender: No OFD packet to send [22:13:32]*** Cut start [22:13:32]*** Partial cut [22:13:32]*** CUTSNS_PIN = 1 [22:13:32]*** CUTSNS_PIN = 0 [22:13:32]*** Brake cut motor [22:13:32]Read from MH i2c: 01 [22:13:32]MH_I2C_Read... [22:13:32]*** Stop cut motor [22:13:32]*** Cut end [22:13:32]Read from MH i2c: 01 07 00 [22:13:32]MH_I2C_Read... [22:13:32]Read from MH i2c: 01 07 00 75 24 00 00 00 00 00 FF 0F AE [22:13:32]process_action close_receipt done [22:13:32]requested_data is exist [22:13:32]produce_requested_data [22:13:32]requested_item fm.sn is exist - process it [22:13:32]wFMCommunicate request_size=4 [22:13:32]MH_SAM_APDU [22:13:32]CAPDU: 80 11 00 00 [22:13:32]Write to MH i2c: E2 08 00 76 24 80 11 00 00 00 00 00 00 14 [22:13:32]Write i2c OK [22:13:32]MH_I2C_Read... [22:13:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:32]Read from MH i2c: E2 [22:13:32]MH_I2C_Read... [22:13:32]Read from MH i2c: E2 17 00 [22:13:32]MH_I2C_Read... [22:13:32]Read from MH i2c: E2 17 00 76 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 6B [22:13:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:13:32]wFMCommunicate OK [22:13:32]requested_item fd.num is exist - process it [22:13:32]SAM_PROTO_GetFieldsCounters [22:13:32]wFMCommunicate request_size=4 [22:13:32]MH_SAM_APDU [22:13:32]CAPDU: 80 13 00 00 [22:13:32]Write to MH i2c: E2 08 00 77 24 80 13 00 00 00 00 00 00 17 [22:13:32]Write i2c OK [22:13:32]MH_I2C_Read... [22:13:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:13:32]Read from MH i2c: E2 [22:13:32]MH_I2C_Read... [22:13:32]Read from MH i2c: E2 62 00 [22:13:32]MH_I2C_Read... [22:13:32]Read from MH i2c: E2 62 00 77 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3A A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [22:13:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3A A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:13:32]wFMCommunicate OK [22:13:32]SAM_PROTO_GetFieldsCounters done [22:13:32]requested_item shift.num is exist - process it [22:13:32]requested_item shift.opened is exist - process it [22:13:32]req_shift_opened [22:13:32]FM_GetShiftState [22:13:32]SAM_PROTO_GetShiftState [22:13:32]wFMCommunicate request_size=4 [22:13:32]MH_SAM_APDU [22:13:32]CAPDU: 80 13 01 00 [22:13:32]Write to MH i2c: E2 08 00 78 24 80 13 01 00 00 00 00 00 19 [22:13:32]Write i2c OK [22:13:32]MH_I2C_Read... [22:13:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:33]Read from MH i2c: E2 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 0E 00 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 0E 00 78 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B0 [22:13:33]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:13:33]wFMCommunicate OK [22:13:33]SAM_PROTO_GetShiftState done [22:13:33]FM_GetShiftState done [22:13:33]req_shift_opened done [22:13:33]requested_item shift.open_date is exist - process it [22:13:33]req_shift_open_date [22:13:33]req_shift_open_date done [22:13:33]requested_item shift.sale.total is exist - process it [22:13:33]SAM_PROTO_GetShiftData [22:13:33]wFMCommunicate request_size=4 [22:13:33]MH_SAM_APDU [22:13:33]CAPDU: 80 13 02 00 [22:13:33]Write to MH i2c: E2 08 00 79 24 80 13 02 00 00 00 00 00 1B [22:13:33]Write i2c OK [22:13:33]MH_I2C_Read... [22:13:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:13:33]Read from MH i2c: E2 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 FD 00 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 FD 00 79 24 00 AE 04 AA 04 AA 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 44 F8 1D 70 04 03 00 0C 11 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B8 2E 03 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 D7 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6F [22:13:33]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 44 F8 1D 70 04 03 00 0C 11 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B8 2E 03 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 D7 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [22:13:33]wFMCommunicate OK [22:13:33]wFMCommunicate request_size=4 [22:13:33]MH_SAM_APDU [22:13:33]CAPDU: 80 17 00 00 [22:13:33]Write to MH i2c: E2 08 00 7A 24 80 17 00 00 00 00 00 00 1E [22:13:33]Write i2c OK [22:13:33]MH_I2C_Read... [22:13:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:13:33]Read from MH i2c: E2 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 FD 00 [22:13:33]MH_I2C_Read... [22:13:33]Read from MH i2c: E2 FD 00 7A 24 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 40 [22:13:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:13:33]wFMCommunicate OK [22:13:33]wFMCommunicate request_size=4 [22:13:33]MH_SAM_APDU [22:13:33]CAPDU: 80 17 00 00 [22:13:33]Write to MH i2c: E2 08 00 7B 24 80 17 00 00 00 00 00 00 1F [22:13:33]Write i2c OK [22:13:33]MH_I2C_Read... [22:13:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:13:34]Read from MH i2c: E2 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 FD 00 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 FD 00 7B 24 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D6 [22:13:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:13:34]wFMCommunicate OK [22:13:34]wFMCommunicate request_size=4 [22:13:34]MH_SAM_APDU [22:13:34]CAPDU: 80 17 00 00 [22:13:34]Write to MH i2c: E2 08 00 7C 24 80 17 00 00 00 00 00 00 20 [22:13:34]Write i2c OK [22:13:34]MH_I2C_Read... [22:13:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:13:34]Read from MH i2c: E2 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 FD 00 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 FD 00 7C 24 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 92 [22:13:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:13:34]wFMCommunicate OK [22:13:34]wFMCommunicate request_size=4 [22:13:34]MH_SAM_APDU [22:13:34]CAPDU: 80 17 00 00 [22:13:34]Write to MH i2c: E2 08 00 7D 24 80 17 00 00 00 00 00 00 21 [22:13:34]Write i2c OK [22:13:34]MH_I2C_Read... [22:13:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:13:34]Read from MH i2c: E2 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 CB 00 [22:13:34]MH_I2C_Read... [22:13:34]Read from MH i2c: E2 CB 00 7D 24 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [22:13:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:13:34]wFMCommunicate OK [22:13:34]SAM_PROTO_GetShiftData done [22:13:34]requested_item shift.sale.total_cash is exist - process it [22:13:34]requested_item shift.sale_refund.total is exist - process it [22:13:34]requested_item shift.sale_refund.total_cash is exist - process it [22:13:34]produce_requested_data done [22:13:34]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43066,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19641.00,"shift.sale.total_cash":17083.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [22:13:34]process_action_free close_receipt [22:13:34]json_value_free [22:13:34]json_value_free done [22:13:34]process_json_proto returns [22:13:34]Send response to host [22:13:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43066,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19641.00,"shift.sale.total_cash":17083.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [22:13:34]free response buf [22:13:34]execute_script done [22:13:34]execute_script returns [22:13:34]free content buf [22:13:34]Sock 7.Close socket [22:13:34]Sock 7.Thread stoped [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]accept exits with 9 [22:14:36]New connection [22:14:36]New thread 3067387236 created [22:14:36]Thread 3067530596 joined [22:14:36]Waiting for new connection... [22:14:36] Sock 9.Parse request [22:14:36]Sock 9.Check first char [22:14:36]Sock 9.First char is OK [22:14:36]request: POST /json_proto HTTP/1.0 [22:14:36]Method: POST [22:14:36]URL: /json_proto [22:14:36]Method is POST - this is cgi request [22:14:36]url: /json_proto [22:14:36]query_string will be loaded in cgi processing [22:14:36]execute_cgi json_proto POST (null) [22:14:36]execute_cgi path=json_proto method=POST [22:14:36]POST find Content-Length [22:14:36]Host: 172.17.38.197:8080 [22:14:36]Content-Length: 721 [22:14:36]Content-Type: application/json [22:14:36] [22:14:36]POST finish read [22:14:36]Found Content-Length = 721 [22:14:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300195", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:14:36]execute_script... [22:14:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300195", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:14:36]POST & json_proto [22:14:36]process_json_proto [22:14:36]json parsed OK: [22:14:36]protocol is kg_v1.0 [22:14:36]action value=close_receipt [22:14:36]process_action close_receipt [22:14:36]cmd_close_receipt [22:14:36]MH_GetDate [22:14:36]Write to MH i2c: F0 00 00 7E 24 91 [22:14:36]Write i2c OK [22:14:36]MH_I2C_Read... [22:14:36]Read from MH i2c: F0 [22:14:36]MH_I2C_Read... [22:14:36]Read from MH i2c: F0 09 00 [22:14:36]MH_I2C_Read... [22:14:36]Read from MH i2c: F0 09 00 7E 24 00 52 FC 92 66 1E 0D 88 66 F9 [22:14:36]GetLastDocTimeStamp 1720908814 [22:14:36]current date 1720908882 [22:14:36]FM_GetShiftState [22:14:36]SAM_PROTO_GetShiftState [22:14:36]wFMCommunicate request_size=4 [22:14:36]MH_SAM_APDU [22:14:36]CAPDU: 80 13 01 00 [22:14:36]Write to MH i2c: E2 08 00 7F 24 80 13 01 00 00 00 00 00 20 [22:14:36]Write i2c OK [22:14:36]MH_I2C_Read... [22:14:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:36]Read from MH i2c: E2 [22:14:36]MH_I2C_Read... [22:14:36]Read from MH i2c: E2 0E 00 [22:14:36]MH_I2C_Read... [22:14:36]Read from MH i2c: E2 0E 00 7F 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 B7 [22:14:36]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:14:36]wFMCommunicate OK [22:14:36]SAM_PROTO_GetShiftState done [22:14:36]FM_GetShiftState done [22:14:36]opened in 1720829646 [22:14:36]opened+sec_in_day 1720916046 [22:14:36]quantity*price = 14000 [22:14:36]sum+1 = 14001 [22:14:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 112 13.07.2024 22:14 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43067 ФПД: 280135819959358 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221442&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43067&fm=280135819959358&tin=02508201610067®Number=0000000000091176&sum=14000 0 [22:14:37]StoreToDocumentArchive [22:14:37]shift 445 fd 43067 [22:14:37]save to /storage/0445/doc_00043067 [22:14:37]save last doc name /storage/0445/doc_00043067 to /storage/kkm_last_doc_name [22:14:37]save OK [22:14:37]Clear old archive folders... [22:14:37]ProcessDocumentItem done err = 0, tmpTLVsize=269 [22:14:37]tlvbuf is B6FE2A60 [22:14:37]SAM_PROTO_ClearQueue [22:14:37]wFMCommunicate request_size=4 [22:14:37]MH_SAM_APDU [22:14:37]CAPDU: 80 09 00 00 [22:14:37]Write to MH i2c: E2 08 00 8C 24 80 09 00 00 00 00 00 00 22 [22:14:37]Write i2c OK [22:14:37]MH_I2C_Read... [22:14:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:14:37]Read from MH i2c: E2 [22:14:37]MH_I2C_Read... [22:14:37]Read from MH i2c: E2 03 00 [22:14:37]MH_I2C_Read... [22:14:37]Read from MH i2c: E2 03 00 8C 24 00 90 00 24 [22:14:37]RAPDU: 90 00 [22:14:37]wFMCommunicate OK [22:14:37]SAM_PROTO_ClearQueue done [22:14:37]KKMCreateOFDPacket [22:14:37]OFDProtocolAddRootSTLVToBuf [22:14:37]FM_MakeSignedData [22:14:37]FM_MakeSignedData [22:14:37]SAM_PROTO_SignData [22:14:37]wFMCommunicate request_size=4 [22:14:37]MH_SAM_APDU [22:14:37]CAPDU: 80 0D 01 02 [22:14:37]Write to MH i2c: E2 08 00 8D 24 80 0D 01 02 00 00 00 00 2A [22:14:37]Write i2c OK [22:14:37]MH_I2C_Read... [22:14:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:14:37]Read from MH i2c: E2 [22:14:37]MH_I2C_Read... [22:14:37]Read from MH i2c: E2 03 00 [22:14:37]MH_I2C_Read... [22:14:37]Read from MH i2c: E2 03 00 8D 24 00 90 00 25 [22:14:37]RAPDU: 90 00 [22:14:37]wFMCommunicate OK [22:14:37]wFMCommunicate request_size=255 [22:14:37]MH_SAM_APDU [22:14:37]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 52 FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [22:14:37]Write to MH i2c: E2 02 01 8E 24 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 52 FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 88 [22:14:37]Write i2c OK [22:14:37]MH_I2C_Read... [22:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:38]Read from MH i2c: E2 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 03 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 03 00 8E 24 00 90 00 26 [22:14:38]RAPDU: 90 00 [22:14:38]wFMCommunicate OK [22:14:38]wFMCommunicate request_size=28 [22:14:38]MH_SAM_APDU [22:14:38]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 3B A8 00 00 35 04 06 00 FE C8 34 09 9C 3E [22:14:38]Write to MH i2c: E2 1F 00 8F 24 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 3B A8 00 00 35 04 06 00 FE C8 34 09 9C 3E 00 00 7E [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:38]Read from MH i2c: E2 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 03 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 03 00 8F 24 00 90 00 27 [22:14:38]RAPDU: 90 00 [22:14:38]wFMCommunicate OK [22:14:38]wFMCommunicate request_size=4 [22:14:38]MH_SAM_APDU [22:14:38]CAPDU: 80 0D 03 02 [22:14:38]Write to MH i2c: E2 08 00 90 24 80 0D 03 02 00 00 00 00 2F [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:14:38]Read from MH i2c: E2 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 0B 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 0B 00 90 24 00 35 8A 86 B3 34 20 8A 20 90 00 26 [22:14:38]RAPDU: 35 8A 86 B3 34 20 8A 20 90 00 [22:14:38]wFMCommunicate OK [22:14:38]SAM_PROTO_SignData done [22:14:38]FM_MakeSignedData done [22:14:38]CreateOFDProtocolMessage [22:14:38]wFMCommunicate request_size=4 [22:14:38]MH_SAM_APDU [22:14:38]CAPDU: 80 11 00 00 [22:14:38]Write to MH i2c: E2 08 00 91 24 80 11 00 00 00 00 00 00 2F [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:38]Read from MH i2c: E2 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 17 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: E2 17 00 91 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 86 [22:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:14:38]wFMCommunicate OK [22:14:38]CreateOFDProtocolMessage done [22:14:38]OFDSenderStorePacket 43067 [22:14:38]StoreOFDPacket docnum=43067 [22:14:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 A4 5A 19 01 86 24 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 52 FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3B A8 00 00 35 04 06 00 FE C8 34 09 9C 3E 35 8A 86 B3 34 20 8A 20 [22:14:38]CheckFolder [22:14:38]dirname=/storage/ofd_packets [22:14:38]CheckFolder done [22:14:38]ProducePacketName [22:14:38]name=ofd_packets/00043067 [22:14:38]NVStorageSaveData ofd_packets/00043067 [22:14:38]File name is /storage/ofd_packets/00043067 [22:14:38]Write 319 bytes [22:14:38]NVStorageSaveData done [22:14:38]OFDSenderStorePacket done [22:14:38]KKMCreateOFDPacket done [22:14:38]NVStorageSaveData kkm_last_timestamp [22:14:38]File name is /storage/kkm_last_timestamp [22:14:38]Write 4 bytes [22:14:38]NVStorageSaveData done [22:14:38]ExternCall_PrintAddStr [22:14:38]wPrintStart [22:14:38]Write to MH i2c: 01 00 00 92 24 B6 [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 07 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 07 00 92 24 00 00 00 00 00 FF 0F CB [22:14:38]RasterBufferAndPrint [22:14:38]line Счет N : (3)300195 [22:14:38]line ИНН: 02508201610067 [22:14:38]line Контрольно-Кассовый Чек [22:14:38]line ПРОДАЖА [22:14:38]line Товар: 47803008 [22:14:38]line Сигареты Winston XS Blue [22:14:38]line 1.000 * 140.00 [22:14:38]line = 140.00 [22:14:38]line НДС 12% НСП 1% [22:14:38]line > о реализуемом товаре [22:14:38]line ИТОГО: 140.00 [22:14:38]line НСП 1% : 1.24 [22:14:38]line НДС 12% : 14.87 [22:14:38]line Наличными: 140.00 [22:14:38]line Безнал.: 0.00 [22:14:38]line Место: АЗС № 71 "Партнер Нефть" [22:14:38]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [22:14:38]line СНО: Общий режим [22:14:38]line Чек 112 13.07.2024 22:14 [22:14:38]line Смена: 445 ФФД: 1.0 [22:14:38]line ЗНМ: 0300000153 [22:14:38]line РНМ: 0000000000091176 [22:14:38]line Версия ККМ: 001 [22:14:38]line ФМ: 0000000000874935 [22:14:38]line ФД: 43067 [22:14:38]line ФПД: 280135819959358 [22:14:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T221442&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43067&fm=280135819959358&tin=02508201610067®Number=0000000000091176&sum=14000 [22:14:38]line 0 [22:14:38]written 0, free lines is 4095 [22:14:38]OFD Sender: Processing packet 43067 [packets to send 31, broken 30] [22:14:38]ProducePacketName [22:14:38]name=ofd_packets/00043067 [22:14:38]OFD Sender: To server: pG, [22:14:38]CommunicateWithHost lk.salyk.kg:30040 [22:14:38]ConnectInit lk.salyk.kg [22:14:38]Connected sock=10 [22:14:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 A4 5A 19 01 86 24 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 52 FC 92 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3B A8 00 00 35 04 06 00 FE C8 34 09 9C 3E 35 8A 86 B3 34 20 8A 20 [22:14:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 BD 0D 47 00 75 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 38 37 34 39 33 35 10 04 04 00 3B A8 00 00 F4 03 04 00 4B A8 92 66 B6 04 01 00 00 E9 13 47 AC BB A0 9A B6 [22:14:38]CommunicateWithHost err = 0 [22:14:38]CheckOFDResponse [22:14:38]1017 (14) - 77093643461234 [22:14:38]1041 (16) - 0000000000874935 [22:14:38]1040 (4) - 43067 [22:14:38]1012 (4) - 13.07.2024 16:16 [22:14:38]1206 (1) - 0 [22:14:38]OFD Sender: Remove packet 43067 [22:14:38]ProducePacketName [22:14:38]name=ofd_packets/00043067 [22:14:38]NVStorageDeleteData [22:14:38]Write to MH i2c: 01 00 00 BA 24 DE [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 07 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: 01 07 00 BA 24 00 00 00 00 00 05 0D F7 [22:14:38]RasterBufferAndPrint [22:14:38]line [22:14:38]line [22:14:38]line [22:14:38]line [22:14:38]line [22:14:38]written 0, free lines is 3340 [22:14:38]MH_Cut [22:14:38]Write to MH i2c: D1 01 00 C1 24 01 B7 [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: D1 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: D1 01 00 [22:14:38]MH_I2C_Read... [22:14:38]Read from MH i2c: D1 01 00 C1 24 00 B6 [22:14:38]Write to MH i2c: 01 00 00 C2 24 E6 [22:14:38]Write i2c OK [22:14:38]MH_I2C_Read... [22:14:39]OFD Sender: No OFD packet to send [22:14:39]*** Cut start [22:14:39]*** Partial cut [22:14:39]*** CUTSNS_PIN = 1 [22:14:39]*** CUTSNS_PIN = 0 [22:14:39]*** Brake cut motor [22:14:40]Read from MH i2c: 01 [22:14:40]MH_I2C_Read... [22:14:40]*** Stop cut motor [22:14:40]*** Cut end [22:14:40]Read from MH i2c: 01 07 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: 01 07 00 C2 24 00 00 00 00 00 FF 0F FB [22:14:40]process_action close_receipt done [22:14:40]requested_data is exist [22:14:40]produce_requested_data [22:14:40]requested_item fm.sn is exist - process it [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 11 00 00 [22:14:40]Write to MH i2c: E2 08 00 C3 24 80 11 00 00 00 00 00 00 61 [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 17 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 17 00 C3 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B8 [22:14:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [22:14:40]wFMCommunicate OK [22:14:40]requested_item fd.num is exist - process it [22:14:40]SAM_PROTO_GetFieldsCounters [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 13 00 00 [22:14:40]Write to MH i2c: E2 08 00 C4 24 80 13 00 00 00 00 00 00 64 [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 62 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 62 00 C4 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3B A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [22:14:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3B A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:14:40]wFMCommunicate OK [22:14:40]SAM_PROTO_GetFieldsCounters done [22:14:40]requested_item shift.num is exist - process it [22:14:40]requested_item shift.opened is exist - process it [22:14:40]req_shift_opened [22:14:40]FM_GetShiftState [22:14:40]SAM_PROTO_GetShiftState [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 13 01 00 [22:14:40]Write to MH i2c: E2 08 00 C5 24 80 13 01 00 00 00 00 00 66 [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 0E 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 0E 00 C5 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 FD [22:14:40]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [22:14:40]wFMCommunicate OK [22:14:40]SAM_PROTO_GetShiftState done [22:14:40]FM_GetShiftState done [22:14:40]req_shift_opened done [22:14:40]requested_item shift.open_date is exist - process it [22:14:40]req_shift_open_date [22:14:40]req_shift_open_date done [22:14:40]requested_item shift.sale.total is exist - process it [22:14:40]SAM_PROTO_GetShiftData [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 13 02 00 [22:14:40]Write to MH i2c: E2 08 00 C6 24 80 13 02 00 00 00 00 00 68 [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 FD 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 FD 00 C6 24 00 AE 04 AA 04 AA 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 F4 2E 1E 70 04 03 00 BC 47 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 87 34 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DD [22:14:40]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 F4 2E 1E 70 04 03 00 BC 47 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 87 34 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 53 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [22:14:40]wFMCommunicate OK [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 17 00 00 [22:14:40]Write to MH i2c: E2 08 00 C7 24 80 17 00 00 00 00 00 00 6B [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 C7 24 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 8D [22:14:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:14:41]wFMCommunicate OK [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 17 00 00 [22:14:41]Write to MH i2c: E2 08 00 C8 24 80 17 00 00 00 00 00 00 6C [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 C8 24 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 23 [22:14:41]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:14:41]wFMCommunicate OK [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 17 00 00 [22:14:41]Write to MH i2c: E2 08 00 C9 24 80 17 00 00 00 00 00 00 6D [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 FD 00 C9 24 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 DF [22:14:41]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:14:41]wFMCommunicate OK [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 17 00 00 [22:14:41]Write to MH i2c: E2 08 00 CA 24 80 17 00 00 00 00 00 00 6E [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 CB 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 CB 00 CA 24 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 57 [22:14:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:14:41]wFMCommunicate OK [22:14:41]SAM_PROTO_GetShiftData done [22:14:41]requested_item shift.sale.total_cash is exist - process it [22:14:41]requested_item shift.sale_refund.total is exist - process it [22:14:41]requested_item shift.sale_refund.total_cash is exist - process it [22:14:41]produce_requested_data done [22:14:41]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43067,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19781.00,"shift.sale.total_cash":17223.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [22:14:41]process_action_free close_receipt [22:14:41]json_value_free [22:14:41]json_value_free done [22:14:41]process_json_proto returns [22:14:41]Send response to host [22:14:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43067,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":19781.00,"shift.sale.total_cash":17223.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [22:14:41]free response buf [22:14:41]execute_script done [22:14:41]execute_script returns [22:14:41]free content buf [22:14:41]Sock 9.Close socket [22:14:41]Sock 9.Thread stoped [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:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]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:45]OFD Sender: No OFD packet to send [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:15]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49: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:21]OFD Sender: No OFD packet to send [23:06:26]OFD Sender: No OFD packet to send [23:06:31]OFD Sender: No OFD packet to send [23:06:36]OFD Sender: No OFD packet to send [23:06:41]OFD Sender: No OFD packet to send [23:06:46]OFD Sender: No OFD packet to send [23:06:51]OFD Sender: No OFD packet to send [23:06:56]OFD Sender: No OFD packet to send [23:07:01]OFD Sender: No OFD packet to send [23:07:06]OFD Sender: No OFD packet to send [23:07:11]OFD Sender: No OFD packet to send [23:07:16]OFD Sender: No OFD packet to send [23:07:21]OFD Sender: No OFD packet to send [23:07:26]OFD Sender: No OFD packet to send [23:07:31]OFD Sender: No OFD packet to send [23:07:36]OFD Sender: No OFD packet to send [23:07:41]OFD Sender: No OFD packet to send [23:07:46]OFD Sender: No OFD packet to send [23:07:51]OFD Sender: No OFD packet to send [23:07:56]OFD Sender: No OFD packet to send [23:08:01]OFD Sender: No OFD packet to send [23:08:06]OFD Sender: No OFD packet to send [23:08:11]OFD Sender: No OFD packet to send [23:08:16]OFD Sender: No OFD packet to send [23:08:21]OFD Sender: No OFD packet to send [23:08:26]OFD Sender: No OFD packet to send [23:08:31]OFD Sender: No OFD packet to send [23:08:36]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:54]accept exits with 7 [23:08:54]New connection [23:08:54]New thread 3067530596 created [23:08:54]Thread 3067387236 joined [23:08:54]Waiting for new connection... [23:08:54] Sock 7.Parse request [23:08:54]Sock 7.Check first char [23:08:54]Sock 7.First char is OK [23:08:54]request: POST /json_proto HTTP/1.0 [23:08:54]Method: POST [23:08:54]URL: /json_proto [23:08:54]Method is POST - this is cgi request [23:08:54]url: /json_proto [23:08:54]query_string will be loaded in cgi processing [23:08:54]execute_cgi json_proto POST (null) [23:08:54]execute_cgi path=json_proto method=POST [23:08:54]POST find Content-Length [23:08:54]Host: 172.17.38.197:8080 [23:08:54]Content-Length: 836 [23:08:54]Content-Type: application/json [23:08:54] [23:08:54]POST finish read [23:08:54]Found Content-Length = 836 [23:08:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300196", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:08:54]execute_script... [23:08:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300196", "tax_sys" : 0, "items" : [ { "code": "47000405990016", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:08:54]POST & json_proto [23:08:54]process_json_proto [23:08:54]json parsed OK: [23:08:54]protocol is kg_v1.0 [23:08:54]action value=close_receipt [23:08:54]process_action close_receipt [23:08:54]cmd_close_receipt [23:08:54]MH_GetDate [23:08:54]Write to MH i2c: F0 00 00 CB 24 DE [23:08:54]Write i2c OK [23:08:54]MH_I2C_Read... [23:08:54]Read from MH i2c: F0 [23:08:54]MH_I2C_Read... [23:08:54]Read from MH i2c: F0 09 00 [23:08:54]MH_I2C_Read... [23:08:54]Read from MH i2c: F0 09 00 CB 24 00 0C 09 93 66 1E 0D 88 66 0E [23:08:54]GetLastDocTimeStamp 1720908882 [23:08:54]current date 1720912140 [23:08:54]FM_GetShiftState [23:08:54]SAM_PROTO_GetShiftState [23:08:54]wFMCommunicate request_size=4 [23:08:54]MH_SAM_APDU [23:08:54]CAPDU: 80 13 01 00 [23:08:54]Write to MH i2c: E2 08 00 CC 24 80 13 01 00 00 00 00 00 6D [23:08:54]Write i2c OK [23:08:54]MH_I2C_Read... [23:08:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:08:54]Read from MH i2c: E2 [23:08:54]MH_I2C_Read... [23:08:54]Read from MH i2c: E2 0E 00 [23:08:54]MH_I2C_Read... [23:08:54]Read from MH i2c: E2 0E 00 CC 24 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 04 [23:08:54]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:08:54]wFMCommunicate OK [23:08:54]SAM_PROTO_GetShiftState done [23:08:54]FM_GetShiftState done [23:08:54]opened in 1720829646 [23:08:54]opened+sec_in_day 1720916046 [23:08:54]quantity*price = 39500 [23:08:54]sum+1 = 39501 [23:08:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 113 13.07.2024 23:09 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43068 ФПД: 212907742701653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T230900&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43068&fm=212907742701653&tin=02508201610067®Number=0000000000091176&sum=39500 0 [23:08:55]StoreToDocumentArchive [23:08:55]shift 445 fd 43068 [23:08:55]save to /storage/0445/doc_00043068 [23:08:55]save last doc name /storage/0445/doc_00043068 to /storage/kkm_last_doc_name [23:08:55]save OK [23:08:55]Clear old archive folders... [23:08:55]ProcessDocumentItem done err = 0, tmpTLVsize=304 [23:08:55]tlvbuf is 015E6730 [23:08:55]SAM_PROTO_ClearQueue [23:08:55]wFMCommunicate request_size=4 [23:08:55]MH_SAM_APDU [23:08:55]CAPDU: 80 09 00 00 [23:08:55]Write to MH i2c: E2 08 00 D9 24 80 09 00 00 00 00 00 00 6F [23:08:55]Write i2c OK [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 03 00 [23:08:55]MH_I2C_Read... [23:08:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:08:55]Read from MH i2c: E2 03 00 D9 24 00 90 00 71 [23:08:55]RAPDU: 90 00 [23:08:55]wFMCommunicate OK [23:08:55]SAM_PROTO_ClearQueue done [23:08:55]KKMCreateOFDPacket [23:08:55]OFDProtocolAddRootSTLVToBuf [23:08:55]FM_MakeSignedData [23:08:55]FM_MakeSignedData [23:08:55]SAM_PROTO_SignData [23:08:55]wFMCommunicate request_size=4 [23:08:55]MH_SAM_APDU [23:08:55]CAPDU: 80 0D 01 02 [23:08:55]Write to MH i2c: E2 08 00 DA 24 80 0D 01 02 00 00 00 00 77 [23:08:55]Write i2c OK [23:08:55]MH_I2C_Read... [23:08:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:08:55]Read from MH i2c: E2 [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 03 00 [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 03 00 DA 24 00 90 00 72 [23:08:55]RAPDU: 90 00 [23:08:55]wFMCommunicate OK [23:08:55]wFMCommunicate request_size=255 [23:08:55]MH_SAM_APDU [23:08:55]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 0C 09 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 [23:08:55]Write to MH i2c: E2 02 01 DB 24 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 0C 09 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 00 00 7A [23:08:55]Write i2c OK [23:08:55]MH_I2C_Read... [23:08:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:08:55]Read from MH i2c: E2 [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 03 00 [23:08:55]MH_I2C_Read... [23:08:55]Read from MH i2c: E2 03 00 DB 24 00 90 00 73 [23:08:55]RAPDU: 90 00 [23:08:55]wFMCommunicate OK [23:08:55]wFMCommunicate request_size=63 [23:08:55]MH_SAM_APDU [23:08:55]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3C A8 00 00 35 04 06 00 C1 A3 72 5F A8 55 [23:08:55]Write to MH i2c: E2 42 00 DC 24 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3C A8 00 00 35 04 06 00 C1 A3 72 5F A8 55 00 00 DD [23:08:55]Write i2c OK [23:08:55]MH_I2C_Read... [23:08:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:08:56]Read from MH i2c: E2 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 03 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 03 00 DC 24 00 90 00 74 [23:08:56]RAPDU: 90 00 [23:08:56]wFMCommunicate OK [23:08:56]wFMCommunicate request_size=4 [23:08:56]MH_SAM_APDU [23:08:56]CAPDU: 80 0D 03 02 [23:08:56]Write to MH i2c: E2 08 00 DD 24 80 0D 03 02 00 00 00 00 7C [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:08:56]Read from MH i2c: E2 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 0B 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 0B 00 DD 24 00 B5 E4 00 DC A9 60 41 E1 90 00 1D [23:08:56]RAPDU: B5 E4 00 DC A9 60 41 E1 90 00 [23:08:56]wFMCommunicate OK [23:08:56]SAM_PROTO_SignData done [23:08:56]FM_MakeSignedData done [23:08:56]CreateOFDProtocolMessage [23:08:56]wFMCommunicate request_size=4 [23:08:56]MH_SAM_APDU [23:08:56]CAPDU: 80 11 00 00 [23:08:56]Write to MH i2c: E2 08 00 DE 24 80 11 00 00 00 00 00 00 7C [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:08:56]Read from MH i2c: E2 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 17 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: E2 17 00 DE 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D3 [23:08:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:08:56]wFMCommunicate OK [23:08:56]CreateOFDProtocolMessage done [23:08:56]OFDSenderStorePacket 43068 [23:08:56]StoreOFDPacket docnum=43068 [23:08:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 44 01 00 00 BF C9 3C 01 59 F6 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 0C 09 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3C A8 00 00 35 04 06 00 C1 A3 72 5F A8 55 B5 E4 00 DC A9 60 41 E1 [23:08:56]CheckFolder [23:08:56]dirname=/storage/ofd_packets [23:08:56]CheckFolder done [23:08:56]ProducePacketName [23:08:56]name=ofd_packets/00043068 [23:08:56]NVStorageSaveData ofd_packets/00043068 [23:08:56]File name is /storage/ofd_packets/00043068 [23:08:56]Write 354 bytes [23:08:56]NVStorageSaveData done [23:08:56]OFDSenderStorePacket done [23:08:56]KKMCreateOFDPacket done [23:08:56]NVStorageSaveData kkm_last_timestamp [23:08:56]File name is /storage/kkm_last_timestamp [23:08:56]Write 4 bytes [23:08:56]NVStorageSaveData done [23:08:56]ExternCall_PrintAddStr [23:08:56]wPrintStart [23:08:56]Write to MH i2c: 01 00 00 DF 24 03 [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 07 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 07 00 DF 24 00 00 00 00 00 FF 0F 18 [23:08:56]RasterBufferAndPrint [23:08:56]line Счет N : (3)300196 [23:08:56]line ИНН: 02508201610067 [23:08:56]line Контрольно-Кассовый Чек [23:08:56]line ПРОДАЖА [23:08:56]line Товар: 47000405990016 [23:08:56]line Уголь древесный Партнер Нефть 3кг [23:08:56]line 1.000 * 395.00 [23:08:56]line = 395.00 [23:08:56]line НДС 12% НСП 1% [23:08:56]line > о реализуемом товаре [23:08:56]line ИТОГО: 395.00 [23:08:56]line НСП 1% : 3.50 [23:08:56]line НДС 12% : 41.95 [23:08:56]line Наличными: 395.00 [23:08:56]line Безнал.: 0.00 [23:08:56]line Место: АЗС № 71 "Партнер Нефть" [23:08:56]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [23:08:56]line СНО: Общий режим [23:08:56]line Чек 113 13.07.2024 23:09 [23:08:56]line Смена: 445 ФФД: 1.0 [23:08:56]line ЗНМ: 0300000153 [23:08:56]line РНМ: 0000000000091176 [23:08:56]line Версия ККМ: 001 [23:08:56]line ФМ: 0000000000874935 [23:08:56]line ФД: 43068 [23:08:56]line ФПД: 212907742701653 [23:08:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T230900&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43068&fm=212907742701653&tin=02508201610067®Number=0000000000091176&sum=39500 [23:08:56]line 0 [23:08:56]OFD Sender: Processing packet 43068 [packets to send 31, broken 30] [23:08:56]ProducePacketName [23:08:56]name=ofd_packets/00043068 [23:08:56]OFD Sender: To server: pG, [23:08:56]CommunicateWithHost lk.salyk.kg:30040 [23:08:56]ConnectInit lk.salyk.kg [23:08:56]written 0, free lines is 4095 [23:08:56]Connected sock=10 [23:08:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 44 01 00 00 BF C9 3C 01 59 F6 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0E 00 34 37 30 30 30 34 30 35 39 39 30 30 31 36 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 0C 09 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3C A8 00 00 35 04 06 00 C1 A3 72 5F A8 55 B5 E4 00 DC A9 60 41 E1 [23:08:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 4C 7D 47 00 89 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3C A8 00 00 F4 03 04 00 05 B5 92 66 B6 04 01 00 00 D0 5A BE F4 44 B8 49 C0 [23:08:56]CommunicateWithHost err = 0 [23:08:56]CheckOFDResponse [23:08:56]1017 (14) - 77093643461234 [23:08:56]1041 (16) - 0000000000874935 [23:08:56]1040 (4) - 43068 [23:08:56]1012 (4) - 13.07.2024 17:10 [23:08:56]1206 (1) - 0 [23:08:56]OFD Sender: Remove packet 43068 [23:08:56]ProducePacketName [23:08:56]name=ofd_packets/00043068 [23:08:56]NVStorageDeleteData [23:08:56]Write to MH i2c: 01 00 00 08 25 2D [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 07 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: 01 07 00 08 25 00 00 00 00 00 E0 0C 20 [23:08:56]RasterBufferAndPrint [23:08:56]line [23:08:56]line [23:08:56]line [23:08:56]line [23:08:56]line [23:08:56]written 0, free lines is 3302 [23:08:56]MH_Cut [23:08:56]Write to MH i2c: D1 01 00 0F 25 01 06 [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: D1 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: D1 01 00 [23:08:56]MH_I2C_Read... [23:08:56]Read from MH i2c: D1 01 00 0F 25 00 05 [23:08:56]Write to MH i2c: 01 00 00 10 25 35 [23:08:56]Write i2c OK [23:08:56]MH_I2C_Read... [23:08:57]OFD Sender: No OFD packet to send [23:08:57]*** Cut start [23:08:57]*** Partial cut [23:08:57]*** CUTSNS_PIN = 1 [23:08:57]*** CUTSNS_PIN = 0 [23:08:57]*** Brake cut motor [23:08:58]Read from MH i2c: 01 [23:08:58]MH_I2C_Read... [23:08:58]*** Stop cut motor [23:08:58]*** Cut end [23:08:58]Read from MH i2c: 01 07 00 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: 01 07 00 10 25 00 00 00 00 00 FF 0F 4A [23:08:58]process_action close_receipt done [23:08:58]requested_data is exist [23:08:58]produce_requested_data [23:08:58]requested_item fm.sn is exist - process it [23:08:58]wFMCommunicate request_size=4 [23:08:58]MH_SAM_APDU [23:08:58]CAPDU: 80 11 00 00 [23:08:58]Write to MH i2c: E2 08 00 11 25 80 11 00 00 00 00 00 00 B0 [23:08:58]Write i2c OK [23:08:58]MH_I2C_Read... [23:08:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:08:58]Read from MH i2c: E2 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 17 00 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 17 00 11 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 07 [23:08:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:08:58]wFMCommunicate OK [23:08:58]requested_item fd.num is exist - process it [23:08:58]SAM_PROTO_GetFieldsCounters [23:08:58]wFMCommunicate request_size=4 [23:08:58]MH_SAM_APDU [23:08:58]CAPDU: 80 13 00 00 [23:08:58]Write to MH i2c: E2 08 00 12 25 80 13 00 00 00 00 00 00 B3 [23:08:58]Write i2c OK [23:08:58]MH_I2C_Read... [23:08:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:08:58]Read from MH i2c: E2 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 62 00 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 62 00 12 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3C A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [23:08:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3C A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:08:58]wFMCommunicate OK [23:08:58]SAM_PROTO_GetFieldsCounters done [23:08:58]requested_item shift.num is exist - process it [23:08:58]requested_item shift.opened is exist - process it [23:08:58]req_shift_opened [23:08:58]FM_GetShiftState [23:08:58]SAM_PROTO_GetShiftState [23:08:58]wFMCommunicate request_size=4 [23:08:58]MH_SAM_APDU [23:08:58]CAPDU: 80 13 01 00 [23:08:58]Write to MH i2c: E2 08 00 13 25 80 13 01 00 00 00 00 00 B5 [23:08:58]Write i2c OK [23:08:58]MH_I2C_Read... [23:08:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:08:58]Read from MH i2c: E2 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 0E 00 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 0E 00 13 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 4C [23:08:58]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:08:58]wFMCommunicate OK [23:08:58]SAM_PROTO_GetShiftState done [23:08:58]FM_GetShiftState done [23:08:58]req_shift_opened done [23:08:58]requested_item shift.open_date is exist - process it [23:08:58]req_shift_open_date [23:08:58]req_shift_open_date done [23:08:58]requested_item shift.sale.total is exist - process it [23:08:58]SAM_PROTO_GetShiftData [23:08:58]wFMCommunicate request_size=4 [23:08:58]MH_SAM_APDU [23:08:58]CAPDU: 80 13 02 00 [23:08:58]Write to MH i2c: E2 08 00 14 25 80 13 02 00 00 00 00 00 B7 [23:08:58]Write i2c OK [23:08:58]MH_I2C_Read... [23:08:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:08:58]Read from MH i2c: E2 [23:08:58]MH_I2C_Read... [23:08:58]Read from MH i2c: E2 FD 00 [23:08:58]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 14 25 00 AE 04 AA 04 AA 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 40 C9 1E 70 04 03 00 08 E2 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EA 44 03 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 B1 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 CE [23:08:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 40 C9 1E 70 04 03 00 08 E2 1A 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EA 44 03 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 B1 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:08:59]wFMCommunicate OK [23:08:59]wFMCommunicate request_size=4 [23:08:59]MH_SAM_APDU [23:08:59]CAPDU: 80 17 00 00 [23:08:59]Write to MH i2c: E2 08 00 15 25 80 17 00 00 00 00 00 00 BA [23:08:59]Write i2c OK [23:08:59]MH_I2C_Read... [23:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:59]Read from MH i2c: E2 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 15 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DC [23:08:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:08:59]wFMCommunicate OK [23:08:59]wFMCommunicate request_size=4 [23:08:59]MH_SAM_APDU [23:08:59]CAPDU: 80 17 00 00 [23:08:59]Write to MH i2c: E2 08 00 16 25 80 17 00 00 00 00 00 00 BB [23:08:59]Write i2c OK [23:08:59]MH_I2C_Read... [23:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:59]Read from MH i2c: E2 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 16 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 72 [23:08:59]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:08:59]wFMCommunicate OK [23:08:59]wFMCommunicate request_size=4 [23:08:59]MH_SAM_APDU [23:08:59]CAPDU: 80 17 00 00 [23:08:59]Write to MH i2c: E2 08 00 17 25 80 17 00 00 00 00 00 00 BC [23:08:59]Write i2c OK [23:08:59]MH_I2C_Read... [23:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:59]Read from MH i2c: E2 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 [23:08:59]MH_I2C_Read... [23:08:59]Read from MH i2c: E2 FD 00 17 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2E [23:08:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:08:59]wFMCommunicate OK [23:08:59]wFMCommunicate request_size=4 [23:08:59]MH_SAM_APDU [23:08:59]CAPDU: 80 17 00 00 [23:08:59]Write to MH i2c: E2 08 00 18 25 80 17 00 00 00 00 00 00 BD [23:08:59]Write i2c OK [23:08:59]MH_I2C_Read... [23:09:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:09:00]Read from MH i2c: E2 [23:09:00]MH_I2C_Read... [23:09:00]Read from MH i2c: E2 CB 00 [23:09:00]MH_I2C_Read... [23:09:00]Read from MH i2c: E2 CB 00 18 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [23:09:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:09:00]wFMCommunicate OK [23:09:00]SAM_PROTO_GetShiftData done [23:09:00]requested_item shift.sale.total_cash is exist - process it [23:09:00]requested_item shift.sale_refund.total is exist - process it [23:09:00]requested_item shift.sale_refund.total_cash is exist - process it [23:09:00]produce_requested_data done [23:09:00]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43068,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":20176.00,"shift.sale.total_cash":17618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [23:09:00]process_action_free close_receipt [23:09:00]json_value_free [23:09:00]json_value_free done [23:09:00]process_json_proto returns [23:09:00]Send response to host [23:09:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43068,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":20176.00,"shift.sale.total_cash":17618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [23:09:00]free response buf [23:09:00]execute_script done [23:09:00]execute_script returns [23:09:00]free content buf [23:09:00]Sock 7.Close socket [23:09:00]Sock 7.Thread stoped [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:43]OFD Sender: No OFD packet to send [23:21:48]OFD Sender: No OFD packet to send [23:21:53]OFD Sender: No OFD packet to send [23:21:58]OFD Sender: No OFD packet to send [23:22:03]OFD Sender: No OFD packet to send [23:22:08]OFD Sender: No OFD packet to send [23:22:13]OFD Sender: No OFD packet to send [23:22:18]OFD Sender: No OFD packet to send [23:22:23]OFD Sender: No OFD packet to send [23:22:28]OFD Sender: No OFD packet to send [23:22:33]OFD Sender: No OFD packet to send [23:22:38]OFD Sender: No OFD packet to send [23:22:43]OFD Sender: No OFD packet to send [23:22:48]OFD Sender: No OFD packet to send [23:22:53]OFD Sender: No OFD packet to send [23:22:58]OFD Sender: No OFD packet to send [23:23:03]OFD Sender: No OFD packet to send [23:23:08]OFD Sender: No OFD packet to send [23:23:13]OFD Sender: No OFD packet to send [23:23:18]OFD Sender: No OFD packet to send [23:23:23]OFD Sender: No OFD packet to send [23:23:28]OFD Sender: No OFD packet to send [23:23:33]OFD Sender: No OFD packet to send [23:23:38]OFD Sender: No OFD packet to send [23:23:43]OFD Sender: No OFD packet to send [23:23:48]OFD Sender: No OFD packet to send [23:23:53]OFD Sender: No OFD packet to send [23:23:58]OFD Sender: No OFD packet to send [23:24:03]OFD Sender: No OFD packet to send [23:24:08]OFD Sender: No OFD packet to send [23:24:13]OFD Sender: No OFD packet to send [23:24:18]OFD Sender: No OFD packet to send [23:24:23]OFD Sender: No OFD packet to send [23:24:28]OFD Sender: No OFD packet to send [23:24:33]OFD Sender: No OFD packet to send [23:24:38]OFD Sender: No OFD packet to send [23:24:43]OFD Sender: No OFD packet to send [23:24:48]OFD Sender: No OFD packet to send [23:24:53]OFD Sender: No OFD packet to send [23:24:58]OFD Sender: No OFD packet to send [23:25:03]OFD Sender: No OFD packet to send [23:25:08]OFD Sender: No OFD packet to send [23:25:13]OFD Sender: No OFD packet to send [23:25:18]OFD Sender: No OFD packet to send [23:25:23]OFD Sender: No OFD packet to send [23:25:28]OFD Sender: No OFD packet to send [23:25:33]OFD Sender: No OFD packet to send [23:25:38]OFD Sender: No OFD packet to send [23:25:43]OFD Sender: No OFD packet to send [23:25:48]OFD Sender: No OFD packet to send [23:25:53]OFD Sender: No OFD packet to send [23:25:58]OFD Sender: No OFD packet to send [23:26:03]OFD Sender: No OFD packet to send [23:26:08]OFD Sender: No OFD packet to send [23:26:13]OFD Sender: No OFD packet to send [23:26:18]OFD Sender: No OFD packet to send [23:26:23]OFD Sender: No OFD packet to send [23:26:28]OFD Sender: No OFD packet to send [23:26:33]OFD Sender: No OFD packet to send [23:26:38]OFD Sender: No OFD packet to send [23:26:43]OFD Sender: No OFD packet to send [23:26:48]OFD Sender: No OFD packet to send [23:26:53]OFD Sender: No OFD packet to send [23:26:58]OFD Sender: No OFD packet to send [23:27:03]OFD Sender: No OFD packet to send [23:27:08]OFD Sender: No OFD packet to send [23:27:13]OFD Sender: No OFD packet to send [23:27:18]OFD Sender: No OFD packet to send [23:27:23]OFD Sender: No OFD packet to send [23:27:28]OFD Sender: No OFD packet to send [23:27:33]OFD Sender: No OFD packet to send [23:27:38]OFD Sender: No OFD packet to send [23:27:43]OFD Sender: No OFD packet to send [23:27:48]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:25]accept exits with 9 [23:38:25]New connection [23:38:25]New thread 3067387236 created [23:38:25]Thread 3067530596 joined [23:38:25]Waiting for new connection... [23:38:25] Sock 9.Parse request [23:38:25]Sock 9.Check first char [23:38:25]Sock 9.First char is OK [23:38:25]request: POST /json_proto HTTP/1.0 [23:38:25]Method: POST [23:38:25]URL: /json_proto [23:38:25]Method is POST - this is cgi request [23:38:25]url: /json_proto [23:38:25]query_string will be loaded in cgi processing [23:38:25]execute_cgi json_proto POST (null) [23:38:25]execute_cgi path=json_proto method=POST [23:38:25]POST find Content-Length [23:38:25]Host: 172.17.38.197:8080 [23:38:25]Content-Length: 726 [23:38:25]Content-Type: application/json [23:38:25] [23:38:25]POST finish read [23:38:25]Found Content-Length = 726 [23:38:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300197", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:38:25]execute_script... [23:38:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300197", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:38:25]POST & json_proto [23:38:25]process_json_proto [23:38:25]json parsed OK: [23:38:25]protocol is kg_v1.0 [23:38:25]action value=close_receipt [23:38:25]process_action close_receipt [23:38:25]cmd_close_receipt [23:38:25]MH_GetDate [23:38:25]Write to MH i2c: F0 00 00 19 25 2D [23:38:25]Write i2c OK [23:38:25]MH_I2C_Read... [23:38:25]Read from MH i2c: F0 [23:38:25]MH_I2C_Read... [23:38:25]Read from MH i2c: F0 09 00 [23:38:25]MH_I2C_Read... [23:38:25]Read from MH i2c: F0 09 00 19 25 00 F7 0F 93 66 1E 0D 88 66 4E [23:38:25]GetLastDocTimeStamp 1720912140 [23:38:25]current date 1720913911 [23:38:25]FM_GetShiftState [23:38:25]SAM_PROTO_GetShiftState [23:38:25]wFMCommunicate request_size=4 [23:38:25]MH_SAM_APDU [23:38:25]CAPDU: 80 13 01 00 [23:38:25]Write to MH i2c: E2 08 00 1A 25 80 13 01 00 00 00 00 00 BC [23:38:25]Write i2c OK [23:38:25]MH_I2C_Read... [23:38:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:25]Read from MH i2c: E2 [23:38:25]MH_I2C_Read... [23:38:25]Read from MH i2c: E2 0E 00 [23:38:25]MH_I2C_Read... [23:38:25]Read from MH i2c: E2 0E 00 1A 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 53 [23:38:25]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:38:25]wFMCommunicate OK [23:38:25]SAM_PROTO_GetShiftState done [23:38:25]FM_GetShiftState done [23:38:25]opened in 1720829646 [23:38:25]opened+sec_in_day 1720916046 [23:38:25]quantity*price = 15100 [23:38:25]sum+1 = 15101 [23:38:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 114 13.07.2024 23:38 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43069 ФПД: 212419058156864 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T233831&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43069&fm=212419058156864&tin=02508201610067®Number=0000000000091176&sum=15100 0 [23:38:26]StoreToDocumentArchive [23:38:26]shift 445 fd 43069 [23:38:26]save to /storage/0445/doc_00043069 [23:38:26]save last doc name /storage/0445/doc_00043069 to /storage/kkm_last_doc_name [23:38:26]save OK [23:38:26]Clear old archive folders... [23:38:26]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:38:26]tlvbuf is 01586A50 [23:38:26]SAM_PROTO_ClearQueue [23:38:26]wFMCommunicate request_size=4 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 09 00 00 [23:38:26]Write to MH i2c: E2 08 00 27 25 80 09 00 00 00 00 00 00 BE [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 27 25 00 90 00 C0 [23:38:26]RAPDU: 90 00 [23:38:26]wFMCommunicate OK [23:38:26]SAM_PROTO_ClearQueue done [23:38:26]KKMCreateOFDPacket [23:38:26]OFDProtocolAddRootSTLVToBuf [23:38:26]FM_MakeSignedData [23:38:26]FM_MakeSignedData [23:38:26]SAM_PROTO_SignData [23:38:26]wFMCommunicate request_size=4 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 0D 01 02 [23:38:26]Write to MH i2c: E2 08 00 28 25 80 0D 01 02 00 00 00 00 C6 [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 28 25 00 90 00 C1 [23:38:26]RAPDU: 90 00 [23:38:26]wFMCommunicate OK [23:38:26]wFMCommunicate request_size=255 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 F7 0F 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [23:38:26]Write to MH i2c: E2 02 01 29 25 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 F7 0F 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 BD [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 29 25 00 90 00 C2 [23:38:26]RAPDU: 90 00 [23:38:26]wFMCommunicate OK [23:38:26]wFMCommunicate request_size=33 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3D A8 00 00 35 04 06 00 C1 31 AA 81 45 40 [23:38:26]Write to MH i2c: E2 24 00 2A 25 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3D A8 00 00 35 04 06 00 C1 31 AA 81 45 40 00 00 E3 [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 03 00 2A 25 00 90 00 C3 [23:38:26]RAPDU: 90 00 [23:38:26]wFMCommunicate OK [23:38:26]wFMCommunicate request_size=4 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 0D 03 02 [23:38:26]Write to MH i2c: E2 08 00 2B 25 80 0D 03 02 00 00 00 00 CB [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 0B 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 0B 00 2B 25 00 AB EC 9E 84 34 84 FC 00 90 00 39 [23:38:26]RAPDU: AB EC 9E 84 34 84 FC 00 90 00 [23:38:26]wFMCommunicate OK [23:38:26]SAM_PROTO_SignData done [23:38:26]FM_MakeSignedData done [23:38:26]CreateOFDProtocolMessage [23:38:26]wFMCommunicate request_size=4 [23:38:26]MH_SAM_APDU [23:38:26]CAPDU: 80 11 00 00 [23:38:26]Write to MH i2c: E2 08 00 2C 25 80 11 00 00 00 00 00 00 CB [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:26]Read from MH i2c: E2 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 17 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: E2 17 00 2C 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 22 [23:38:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:38:26]wFMCommunicate OK [23:38:26]CreateOFDProtocolMessage done [23:38:26]OFDSenderStorePacket 43069 [23:38:26]StoreOFDPacket docnum=43069 [23:38:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 AF 95 1E 01 66 AE 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 F7 0F 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3D A8 00 00 35 04 06 00 C1 31 AA 81 45 40 AB EC 9E 84 34 84 FC 00 [23:38:26]CheckFolder [23:38:26]dirname=/storage/ofd_packets [23:38:26]CheckFolder done [23:38:26]ProducePacketName [23:38:26]name=ofd_packets/00043069 [23:38:26]NVStorageSaveData ofd_packets/00043069 [23:38:26]File name is /storage/ofd_packets/00043069 [23:38:26]Write 324 bytes [23:38:26]NVStorageSaveData done [23:38:26]OFDSenderStorePacket done [23:38:26]KKMCreateOFDPacket done [23:38:26]NVStorageSaveData kkm_last_timestamp [23:38:26]File name is /storage/kkm_last_timestamp [23:38:26]Write 4 bytes [23:38:26]NVStorageSaveData done [23:38:26]ExternCall_PrintAddStr [23:38:26]wPrintStart [23:38:26]Write to MH i2c: 01 00 00 2D 25 52 [23:38:26]Write i2c OK [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: 01 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: 01 07 00 [23:38:26]MH_I2C_Read... [23:38:26]Read from MH i2c: 01 07 00 2D 25 00 00 00 00 00 FF 0F 67 [23:38:26]RasterBufferAndPrint [23:38:26]line Счет N : (3)300197 [23:38:26]line ИНН: 02508201610067 [23:38:26]line Контрольно-Кассовый Чек [23:38:26]line ПРОДАЖА [23:38:26]line Товар: 48741958 [23:38:26]line Сигареты Parliament Aqua Blue [23:38:26]line 1.000 * 151.00 [23:38:26]line = 151.00 [23:38:26]line НДС 12% НСП 1% [23:38:26]line > о реализуемом товаре [23:38:26]line ИТОГО: 151.00 [23:38:26]line НСП 1% : 1.34 [23:38:26]line НДС 12% : 16.03 [23:38:26]line Наличными: 151.00 [23:38:26]line Безнал.: 0.00 [23:38:26]line Место: АЗС № 71 "Партнер Нефть" [23:38:26]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [23:38:26]line СНО: Общий режим [23:38:26]line Чек 114 13.07.2024 23:38 [23:38:26]line Смена: 445 ФФД: 1.0 [23:38:26]line ЗНМ: 0300000153 [23:38:26]line РНМ: 0000000000091176 [23:38:26]line Версия ККМ: 001 [23:38:26]line ФМ: 0000000000874935 [23:38:26]line ФД: 43069 [23:38:26]line ФПД: 212419058156864 [23:38:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T233831&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43069&fm=212419058156864&tin=02508201610067®Number=0000000000091176&sum=15100 [23:38:27]OFD Sender: Processing packet 43069 [packets to send 31, broken 30] [23:38:27]ProducePacketName [23:38:27]name=ofd_packets/00043069 [23:38:27]OFD Sender: To server: pG, [23:38:27]CommunicateWithHost lk.salyk.kg:30040 [23:38:27]ConnectInit lk.salyk.kg [23:38:27]line 0 [23:38:27]written 0, free lines is 4095 [23:38:27]Connected sock=10 [23:38:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 AF 95 1E 01 66 AE 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 F7 0F 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3D A8 00 00 35 04 06 00 C1 31 AA 81 45 40 AB EC 9E 84 34 84 FC 00 [23:38:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 A9 40 47 00 93 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3D A8 00 00 F4 03 04 00 F0 BB 92 66 B6 04 01 00 00 17 C8 8B 81 8C E5 8A 75 [23:38:27]CommunicateWithHost err = 0 [23:38:27]CheckOFDResponse [23:38:27]1017 (14) - 77093643461234 [23:38:27]1041 (16) - 0000000000874935 [23:38:27]1040 (4) - 43069 [23:38:27]1012 (4) - 13.07.2024 17:40 [23:38:27]1206 (1) - 0 [23:38:27]OFD Sender: Remove packet 43069 [23:38:27]ProducePacketName [23:38:27]name=ofd_packets/00043069 [23:38:27]NVStorageDeleteData [23:38:27]Write to MH i2c: 01 00 00 56 25 7B [23:38:27]Write i2c OK [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: 01 [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: 01 07 00 [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: 01 07 00 56 25 00 00 00 00 00 DF 0C 6D [23:38:27]RasterBufferAndPrint [23:38:27]line [23:38:27]line [23:38:27]line [23:38:27]line [23:38:27]line [23:38:27]written 0, free lines is 3304 [23:38:27]MH_Cut [23:38:27]Write to MH i2c: D1 01 00 5D 25 01 54 [23:38:27]Write i2c OK [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: D1 [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: D1 01 00 [23:38:27]MH_I2C_Read... [23:38:27]Read from MH i2c: D1 01 00 5D 25 00 53 [23:38:27]Write to MH i2c: 01 00 00 5E 25 83 [23:38:27]Write i2c OK [23:38:27]MH_I2C_Read... [23:38:28]OFD Sender: No OFD packet to send [23:38:28]*** Cut start [23:38:28]*** Partial cut [23:38:28]*** CUTSNS_PIN = 1 [23:38:28]*** CUTSNS_PIN = 0 [23:38:28]*** Brake cut motor [23:38:29]Read from MH i2c: 01 [23:38:29]MH_I2C_Read... [23:38:29]*** Stop cut motor [23:38:29]*** Cut end [23:38:29]Read from MH i2c: 01 07 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: 01 07 00 5E 25 00 00 00 00 00 FF 0F 98 [23:38:29]process_action close_receipt done [23:38:29]requested_data is exist [23:38:29]produce_requested_data [23:38:29]requested_item fm.sn is exist - process it [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 11 00 00 [23:38:29]Write to MH i2c: E2 08 00 5F 25 80 11 00 00 00 00 00 00 FE [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:29]Read from MH i2c: E2 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 17 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 17 00 5F 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 55 [23:38:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:38:29]wFMCommunicate OK [23:38:29]requested_item fd.num is exist - process it [23:38:29]SAM_PROTO_GetFieldsCounters [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 13 00 00 [23:38:29]Write to MH i2c: E2 08 00 60 25 80 13 00 00 00 00 00 00 01 [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:38:29]Read from MH i2c: E2 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 62 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 62 00 60 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3D A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [23:38:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3D A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:38:29]wFMCommunicate OK [23:38:29]SAM_PROTO_GetFieldsCounters done [23:38:29]requested_item shift.num is exist - process it [23:38:29]requested_item shift.opened is exist - process it [23:38:29]req_shift_opened [23:38:29]FM_GetShiftState [23:38:29]SAM_PROTO_GetShiftState [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 13 01 00 [23:38:29]Write to MH i2c: E2 08 00 61 25 80 13 01 00 00 00 00 00 03 [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:29]Read from MH i2c: E2 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 0E 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 0E 00 61 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 9A [23:38:29]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:38:29]wFMCommunicate OK [23:38:29]SAM_PROTO_GetShiftState done [23:38:29]FM_GetShiftState done [23:38:29]req_shift_opened done [23:38:29]requested_item shift.open_date is exist - process it [23:38:29]req_shift_open_date [23:38:29]req_shift_open_date done [23:38:29]requested_item shift.sale.total is exist - process it [23:38:29]SAM_PROTO_GetShiftData [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 13 02 00 [23:38:29]Write to MH i2c: E2 08 00 62 25 80 13 02 00 00 00 00 00 05 [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:38:29]Read from MH i2c: E2 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 FD 00 [23:38:29]MH_I2C_Read... [23:38:29]Read from MH i2c: E2 FD 00 62 25 00 AE 04 AA 04 AA 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 3C 04 1F 70 04 03 00 04 1D 1B 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2D 4B 03 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 37 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 5F [23:38:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 3C 04 1F 70 04 03 00 04 1D 1B 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2D 4B 03 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 37 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:38:29]wFMCommunicate OK [23:38:29]wFMCommunicate request_size=4 [23:38:29]MH_SAM_APDU [23:38:29]CAPDU: 80 17 00 00 [23:38:29]Write to MH i2c: E2 08 00 63 25 80 17 00 00 00 00 00 00 08 [23:38:29]Write i2c OK [23:38:29]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 63 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 2A [23:38:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:38:30]wFMCommunicate OK [23:38:30]wFMCommunicate request_size=4 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 17 00 00 [23:38:30]Write to MH i2c: E2 08 00 64 25 80 17 00 00 00 00 00 00 09 [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 64 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 C0 [23:38:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:38:30]wFMCommunicate OK [23:38:30]wFMCommunicate request_size=4 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 17 00 00 [23:38:30]Write to MH i2c: E2 08 00 65 25 80 17 00 00 00 00 00 00 0A [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 FD 00 65 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 7C [23:38:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:38:30]wFMCommunicate OK [23:38:30]wFMCommunicate request_size=4 [23:38:30]MH_SAM_APDU [23:38:30]CAPDU: 80 17 00 00 [23:38:30]Write to MH i2c: E2 08 00 66 25 80 17 00 00 00 00 00 00 0B [23:38:30]Write i2c OK [23:38:30]MH_I2C_Read... [23:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:38:30]Read from MH i2c: E2 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 CB 00 [23:38:30]MH_I2C_Read... [23:38:30]Read from MH i2c: E2 CB 00 66 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F4 [23:38:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:38:30]wFMCommunicate OK [23:38:30]SAM_PROTO_GetShiftData done [23:38:30]requested_item shift.sale.total_cash is exist - process it [23:38:30]requested_item shift.sale_refund.total is exist - process it [23:38:30]requested_item shift.sale_refund.total_cash is exist - process it [23:38:30]produce_requested_data done [23:38:30]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43069,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":20327.00,"shift.sale.total_cash":17769.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [23:38:30]process_action_free close_receipt [23:38:30]json_value_free [23:38:30]json_value_free done [23:38:30]process_json_proto returns [23:38:30]Send response to host [23:38:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43069,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":20327.00,"shift.sale.total_cash":17769.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [23:38:30]free response buf [23:38:31]execute_script done [23:38:31]execute_script returns [23:38:31]free content buf [23:38:31]Sock 9.Close socket [23:38:31]Sock 9.Thread stoped [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:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:48]OFD Sender: No OFD packet to send [23:49:53]OFD Sender: No OFD packet to send [23:49:58]OFD Sender: No OFD packet to send [23:50:03]OFD Sender: No OFD packet to send [23:50:08]OFD Sender: No OFD packet to send [23:50:13]OFD Sender: No OFD packet to send [23:50:18]OFD Sender: No OFD packet to send [23:50:23]OFD Sender: No OFD packet to send [23:50:28]OFD Sender: No OFD packet to send [23:50:33]OFD Sender: No OFD packet to send [23:50:38]OFD Sender: No OFD packet to send [23:50:43]OFD Sender: No OFD packet to send [23:50:48]OFD Sender: No OFD packet to send [23:50:53]OFD Sender: No OFD packet to send [23:50:58]OFD Sender: No OFD packet to send [23:51:03]OFD Sender: No OFD packet to send [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:38]OFD Sender: No OFD packet to send [23:51:43]OFD Sender: No OFD packet to send [23:51:48]OFD Sender: No OFD packet to send [23:51:53]OFD Sender: No OFD packet to send [23:51:58]OFD Sender: No OFD packet to send [23:52:03]OFD Sender: No OFD packet to send [23:52:08]OFD Sender: No OFD packet to send [23:52:13]OFD Sender: No OFD packet to send [23:52:18]OFD Sender: No OFD packet to send [23:52:23]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:23]accept exits with 7 [23:58:23]New connection [23:58:23]New thread 3067530596 created [23:58:23]Thread 3067387236 joined [23:58:23]Waiting for new connection... [23:58:23] Sock 7.Parse request [23:58:23]Sock 7.Check first char [23:58:23]Sock 7.First char is OK [23:58:23]request: POST /json_proto HTTP/1.0 [23:58:23]Method: POST [23:58:23]URL: /json_proto [23:58:23]Method is POST - this is cgi request [23:58:23]url: /json_proto [23:58:23]query_string will be loaded in cgi processing [23:58:23]execute_cgi json_proto POST (null) [23:58:23]execute_cgi path=json_proto method=POST [23:58:23]POST find Content-Length [23:58:23]Host: 172.17.38.197:8080 [23:58:23]Content-Length: 782 [23:58:23]Content-Type: application/json [23:58:23] [23:58:23]POST finish read [23:58:23]Found Content-Length = 782 [23:58:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300198", "tax_sys" : 0, "items" : [ { "code": "4700001060176", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,5\u043B", "price" : 830.00, "quantity" : 1.000, "sum" : 830.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 830.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:58:23]execute_script... [23:58:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300198", "tax_sys" : 0, "items" : [ { "code": "4700001060176", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,5\u043B", "price" : 830.00, "quantity" : 1.000, "sum" : 830.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 830.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:58:23]POST & json_proto [23:58:23]process_json_proto [23:58:23]json parsed OK: [23:58:23]protocol is kg_v1.0 [23:58:23]action value=close_receipt [23:58:23]process_action close_receipt [23:58:23]cmd_close_receipt [23:58:23]MH_GetDate [23:58:23]Write to MH i2c: F0 00 00 67 25 7B [23:58:23]Write i2c OK [23:58:23]MH_I2C_Read... [23:58:23]Read from MH i2c: F0 [23:58:23]MH_I2C_Read... [23:58:23]Read from MH i2c: F0 09 00 [23:58:23]MH_I2C_Read... [23:58:23]Read from MH i2c: F0 09 00 67 25 00 A5 14 93 66 1E 0D 88 66 4F [23:58:23]GetLastDocTimeStamp 1720913911 [23:58:23]current date 1720915109 [23:58:23]FM_GetShiftState [23:58:23]SAM_PROTO_GetShiftState [23:58:23]wFMCommunicate request_size=4 [23:58:23]MH_SAM_APDU [23:58:23]CAPDU: 80 13 01 00 [23:58:23]Write to MH i2c: E2 08 00 68 25 80 13 01 00 00 00 00 00 0A [23:58:23]Write i2c OK [23:58:23]MH_I2C_Read... [23:58:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:23]Read from MH i2c: E2 [23:58:23]MH_I2C_Read... [23:58:23]Read from MH i2c: E2 0E 00 [23:58:23]MH_I2C_Read... [23:58:23]Read from MH i2c: E2 0E 00 68 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 A1 [23:58:23]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:58:23]wFMCommunicate OK [23:58:23]SAM_PROTO_GetShiftState done [23:58:23]FM_GetShiftState done [23:58:23]opened in 1720829646 [23:58:23]opened+sec_in_day 1720916046 [23:58:23]quantity*price = 83000 [23:58:23]sum+1 = 83001 [23:58:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 830.00 НСП 1% : 7.34 НДС 12% : 88.14 Наличными: 830.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 115 13.07.2024 23:58 Смена: 445 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43070 ФПД: 82526825722152 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T235829&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43070&fm=82526825722152&tin=02508201610067®Number=0000000000091176&sum=83000 0 [23:58:24]StoreToDocumentArchive [23:58:24]shift 445 fd 43070 [23:58:24]save to /storage/0445/doc_00043070 [23:58:24]save last doc name /storage/0445/doc_00043070 to /storage/kkm_last_doc_name [23:58:24]save OK [23:58:24]Clear old archive folders... [23:58:24]ProcessDocumentItem done err = 0, tmpTLVsize=286 [23:58:24]tlvbuf is B6E35010 [23:58:24]SAM_PROTO_ClearQueue [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 09 00 00 [23:58:24]Write to MH i2c: E2 08 00 75 25 80 09 00 00 00 00 00 00 0C [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:24]Read from MH i2c: E2 03 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 75 25 00 90 00 0E [23:58:24]RAPDU: 90 00 [23:58:24]wFMCommunicate OK [23:58:24]SAM_PROTO_ClearQueue done [23:58:24]KKMCreateOFDPacket [23:58:24]OFDProtocolAddRootSTLVToBuf [23:58:24]FM_MakeSignedData [23:58:24]FM_MakeSignedData [23:58:24]SAM_PROTO_SignData [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 0D 01 02 [23:58:24]Write to MH i2c: E2 08 00 76 25 80 0D 01 02 00 00 00 00 14 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 76 25 00 90 00 0F [23:58:24]RAPDU: 90 00 [23:58:24]wFMCommunicate OK [23:58:24]wFMCommunicate request_size=255 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 44 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 22 00 00 00 00 07 04 06 00 38 44 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 A5 14 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 [23:58:24]Write to MH i2c: E2 02 01 77 25 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 44 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 22 00 00 00 00 07 04 06 00 38 44 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 A5 14 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 00 00 15 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 77 25 00 90 00 10 [23:58:24]RAPDU: 90 00 [23:58:24]wFMCommunicate OK [23:58:24]wFMCommunicate request_size=45 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 0D 02 02 28 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3E A8 00 00 35 04 06 00 4B 0E C6 21 B1 28 [23:58:24]Write to MH i2c: E2 30 00 78 25 80 0D 02 02 28 00 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3E A8 00 00 35 04 06 00 4B 0E C6 21 B1 28 00 00 73 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 03 00 78 25 00 90 00 11 [23:58:24]RAPDU: 90 00 [23:58:24]wFMCommunicate OK [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 0D 03 02 [23:58:24]Write to MH i2c: E2 08 00 79 25 80 0D 03 02 00 00 00 00 19 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 0B 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 0B 00 79 25 00 A6 1E A4 5D 38 D7 39 56 90 00 7D [23:58:24]RAPDU: A6 1E A4 5D 38 D7 39 56 90 00 [23:58:24]wFMCommunicate OK [23:58:24]SAM_PROTO_SignData done [23:58:24]FM_MakeSignedData done [23:58:24]CreateOFDProtocolMessage [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 11 00 00 [23:58:24]Write to MH i2c: E2 08 00 7A 25 80 11 00 00 00 00 00 00 19 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 17 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 17 00 7A 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 70 [23:58:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:58:24]wFMCommunicate OK [23:58:24]CreateOFDProtocolMessage done [23:58:24]OFDSenderStorePacket 43070 [23:58:24]StoreOFDPacket docnum=43070 [23:58:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 32 01 00 00 A8 0E 2A 01 CC CC 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 44 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 22 00 00 00 00 07 04 06 00 38 44 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 A5 14 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3E A8 00 00 35 04 06 00 4B 0E C6 21 B1 28 A6 1E A4 5D 38 D7 39 56 [23:58:24]CheckFolder [23:58:24]dirname=/storage/ofd_packets [23:58:24]CheckFolder done [23:58:24]ProducePacketName [23:58:24]name=ofd_packets/00043070 [23:58:24]NVStorageSaveData ofd_packets/00043070 [23:58:24]File name is /storage/ofd_packets/00043070 [23:58:24]Write 336 bytes [23:58:24]NVStorageSaveData done [23:58:24]OFDSenderStorePacket done [23:58:24]KKMCreateOFDPacket done [23:58:24]NVStorageSaveData kkm_last_timestamp [23:58:24]File name is /storage/kkm_last_timestamp [23:58:24]Write 4 bytes [23:58:24]NVStorageSaveData done [23:58:24]ExternCall_PrintAddStr [23:58:24]wPrintStart [23:58:24]Write to MH i2c: 01 00 00 7B 25 A0 [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: 01 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: 01 07 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: 01 07 00 7B 25 00 00 00 00 00 FF 0F B5 [23:58:24]RasterBufferAndPrint [23:58:24]line Счет N : (3)300198 [23:58:24]line ИНН: 02508201610067 [23:58:24]line Контрольно-Кассовый Чек [23:58:24]line ПРОДАЖА [23:58:24]line Товар: 4700001060176 [23:58:24]line Коньяк КВ Кыргызстан 0,5л [23:58:24]line 1.000 * 830.00 [23:58:24]line = 830.00 [23:58:24]line НДС 12% НСП 1% [23:58:24]line > о реализуемом товаре [23:58:24]line ИТОГО: 830.00 [23:58:24]line НСП 1% : 7.34 [23:58:24]line НДС 12% : 88.14 [23:58:24]line Наличными: 830.00 [23:58:24]line Безнал.: 0.00 [23:58:24]line Место: АЗС № 71 "Партнер Нефть" [23:58:24]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [23:58:24]line СНО: Общий режим [23:58:24]line Чек 115 13.07.2024 23:58 [23:58:24]line Смена: 445 ФФД: 1.0 [23:58:24]line ЗНМ: 0300000153 [23:58:24]line РНМ: 0000000000091176 [23:58:24]line Версия ККМ: 001 [23:58:24]line ФМ: 0000000000874935 [23:58:24]line ФД: 43070 [23:58:24]line ФПД: 82526825722152 [23:58:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T235829&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43070&fm=82526825722152&tin=02508201610067®Number=0000000000091176&sum=83000 [23:58:25]line 0 [23:58:25]OFD Sender: Processing packet 43070 [packets to send 31, broken 30] [23:58:25]ProducePacketName [23:58:25]name=ofd_packets/00043070 [23:58:25]OFD Sender: To server: pG, [23:58:25]CommunicateWithHost lk.salyk.kg:30040 [23:58:25]ConnectInit lk.salyk.kg [23:58:25]written 0, free lines is 4095 [23:58:25]Connected sock=11 [23:58:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 32 01 00 00 A8 0E 2A 01 CC CC 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 44 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 22 00 00 00 00 07 04 06 00 38 44 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 A5 14 93 66 0E 04 04 00 BD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3E A8 00 00 35 04 06 00 4B 0E C6 21 B1 28 A6 1E A4 5D 38 D7 39 56 [23:58:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 29 BB 47 00 A3 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 38 37 34 39 33 35 10 04 04 00 3E A8 00 00 F4 03 04 00 9E C0 92 66 B6 04 01 00 00 F0 37 FB 6B FB B2 1D A4 [23:58:25]CommunicateWithHost err = 0 [23:58:25]CheckOFDResponse [23:58:25]1017 (14) - 77093643461234 [23:58:25]1041 (16) - 0000000000874935 [23:58:25]1040 (4) - 43070 [23:58:25]1012 (4) - 13.07.2024 17:59 [23:58:25]1206 (1) - 0 [23:58:25]OFD Sender: Remove packet 43070 [23:58:25]ProducePacketName [23:58:25]name=ofd_packets/00043070 [23:58:25]NVStorageDeleteData [23:58:25]Write to MH i2c: 01 00 00 A3 25 C8 [23:58:25]Write i2c OK [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: 01 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: 01 07 00 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: 01 07 00 A3 25 00 00 00 00 00 11 0D ED [23:58:25]RasterBufferAndPrint [23:58:25]line [23:58:25]line [23:58:25]line [23:58:25]line [23:58:25]line [23:58:25]written 0, free lines is 3353 [23:58:25]MH_Cut [23:58:25]Write to MH i2c: D1 01 00 AA 25 01 A1 [23:58:25]Write i2c OK [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: D1 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: D1 01 00 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: D1 01 00 AA 25 00 A0 [23:58:25]Write to MH i2c: 01 00 00 AB 25 D0 [23:58:25]Write i2c OK [23:58:25]MH_I2C_Read... [23:58:26]OFD Sender: No OFD packet to send [23:58:26]*** Cut start [23:58:26]*** Partial cut [23:58:26]*** CUTSNS_PIN = 1 [23:58:26]*** CUTSNS_PIN = 0 [23:58:26]*** Brake cut motor [23:58:26]Read from MH i2c: 01 [23:58:26]MH_I2C_Read... [23:58:26]*** Stop cut motor [23:58:26]*** Cut end [23:58:26]Read from MH i2c: 01 07 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: 01 07 00 AB 25 00 00 00 00 00 FF 0F E5 [23:58:26]process_action close_receipt done [23:58:26]requested_data is exist [23:58:26]produce_requested_data [23:58:26]requested_item fm.sn is exist - process it [23:58:26]wFMCommunicate request_size=4 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 11 00 00 [23:58:26]Write to MH i2c: E2 08 00 AC 25 80 11 00 00 00 00 00 00 4B [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 17 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 17 00 AC 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A2 [23:58:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:58:27]wFMCommunicate OK [23:58:27]requested_item fd.num is exist - process it [23:58:27]SAM_PROTO_GetFieldsCounters [23:58:27]wFMCommunicate request_size=4 [23:58:27]MH_SAM_APDU [23:58:27]CAPDU: 80 13 00 00 [23:58:27]Write to MH i2c: E2 08 00 AD 25 80 13 00 00 00 00 00 00 4E [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 62 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 62 00 AD 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [23:58:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:27]wFMCommunicate OK [23:58:27]SAM_PROTO_GetFieldsCounters done [23:58:27]requested_item shift.num is exist - process it [23:58:27]requested_item shift.opened is exist - process it [23:58:27]req_shift_opened [23:58:27]FM_GetShiftState [23:58:27]SAM_PROTO_GetShiftState [23:58:27]wFMCommunicate request_size=4 [23:58:27]MH_SAM_APDU [23:58:27]CAPDU: 80 13 01 00 [23:58:27]Write to MH i2c: E2 08 00 AE 25 80 13 01 00 00 00 00 00 50 [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 0E 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 0E 00 AE 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 E7 [23:58:27]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:58:27]wFMCommunicate OK [23:58:27]SAM_PROTO_GetShiftState done [23:58:27]FM_GetShiftState done [23:58:27]req_shift_opened done [23:58:27]requested_item shift.open_date is exist - process it [23:58:27]req_shift_open_date [23:58:27]req_shift_open_date done [23:58:27]requested_item shift.sale.total is exist - process it [23:58:27]SAM_PROTO_GetShiftData [23:58:27]wFMCommunicate request_size=4 [23:58:27]MH_SAM_APDU [23:58:27]CAPDU: 80 13 02 00 [23:58:27]Write to MH i2c: E2 08 00 AF 25 80 13 02 00 00 00 00 00 52 [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 FD 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 FD 00 AF 25 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 19 [23:58:27]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:58:27]wFMCommunicate OK [23:58:27]wFMCommunicate request_size=4 [23:58:27]MH_SAM_APDU [23:58:27]CAPDU: 80 17 00 00 [23:58:27]Write to MH i2c: E2 08 00 B0 25 80 17 00 00 00 00 00 00 55 [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 FD 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 FD 00 B0 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 77 [23:58:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:28]wFMCommunicate OK [23:58:28]wFMCommunicate request_size=4 [23:58:28]MH_SAM_APDU [23:58:28]CAPDU: 80 17 00 00 [23:58:28]Write to MH i2c: E2 08 00 B1 25 80 17 00 00 00 00 00 00 56 [23:58:28]Write i2c OK [23:58:28]MH_I2C_Read... [23:58:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:28]Read from MH i2c: E2 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 FD 00 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 FD 00 B1 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0D [23:58:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:58:28]wFMCommunicate OK [23:58:28]wFMCommunicate request_size=4 [23:58:28]MH_SAM_APDU [23:58:28]CAPDU: 80 17 00 00 [23:58:28]Write to MH i2c: E2 08 00 B2 25 80 17 00 00 00 00 00 00 57 [23:58:28]Write i2c OK [23:58:28]MH_I2C_Read... [23:58:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:28]Read from MH i2c: E2 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 FD 00 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 FD 00 B2 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C9 [23:58:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:58:28]wFMCommunicate OK [23:58:28]wFMCommunicate request_size=4 [23:58:28]MH_SAM_APDU [23:58:28]CAPDU: 80 17 00 00 [23:58:28]Write to MH i2c: E2 08 00 B3 25 80 17 00 00 00 00 00 00 58 [23:58:28]Write i2c OK [23:58:28]MH_I2C_Read... [23:58:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:28]Read from MH i2c: E2 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 CB 00 [23:58:28]MH_I2C_Read... [23:58:28]Read from MH i2c: E2 CB 00 B3 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [23:58:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:28]wFMCommunicate OK [23:58:28]SAM_PROTO_GetShiftData done [23:58:28]requested_item shift.sale.total_cash is exist - process it [23:58:28]requested_item shift.sale_refund.total is exist - process it [23:58:28]requested_item shift.sale_refund.total_cash is exist - process it [23:58:28]produce_requested_data done [23:58:28]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [23:58:28]process_action_free close_receipt [23:58:28]json_value_free [23:58:28]json_value_free done [23:58:28]process_json_proto returns [23:58:28]Send response to host [23:58:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [23:58:28]free response buf [23:58:28]execute_script done [23:58:28]execute_script returns [23:58:28]free content buf [23:58:28]Sock 7.Close socket [23:58:28]Sock 7.Thread stoped [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:50]accept exits with 9 [23:59:50]New connection [23:59:50]New thread 3067387236 created [23:59:50]Thread 3067530596 joined [23:59:50]Waiting for new connection... [23:59:50] Sock 9.Parse request [23:59:50]Sock 9.Check first char [23:59:50]Sock 9.First char is OK [23:59:50]request: POST /json_proto HTTP/1.0 [23:59:50]Method: POST [23:59:50]URL: /json_proto [23:59:50]Method is POST - this is cgi request [23:59:50]url: /json_proto [23:59:50]query_string will be loaded in cgi processing [23:59:50]execute_cgi json_proto POST (null) [23:59:50]execute_cgi path=json_proto method=POST [23:59:50]POST find Content-Length [23:59:50]Host: 172.17.38.197:8080 [23:59:50]Content-Length: 215 [23:59:50]Content-Type: application/json [23:59:50] [23:59:50]POST finish read [23:59:50]Found Content-Length = 215 [23:59:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:50]execute_script... [23:59:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:50]POST & json_proto [23:59:50]process_json_proto [23:59:50]json parsed OK: [23:59:50]protocol is kg_v1.0 [23:59:50]action value=get_value [23:59:50]process_action get_value [23:59:50]cmd_get_value [23:59:50]process_action get_value done [23:59:50]requested_data is exist [23:59:50]produce_requested_data [23:59:50]requested_item kkm.sn is exist - process it [23:59:50]requested_item kkm.ver is exist - process it [23:59:50]requested_item fm.sn is exist - process it [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 11 00 00 [23:59:50]Write to MH i2c: E2 08 00 B4 25 80 11 00 00 00 00 00 00 53 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 17 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 17 00 B4 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 AA [23:59:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:59:50]wFMCommunicate OK [23:59:50]requested_item fd.num is exist - process it [23:59:50]SAM_PROTO_GetFieldsCounters [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 13 00 00 [23:59:50]Write to MH i2c: E2 08 00 B5 25 80 13 00 00 00 00 00 00 56 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 62 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 62 00 B5 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [23:59:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_GetFieldsCounters done [23:59:51]requested_item shift.num is exist - process it [23:59:51]requested_item shift.opened is exist - process it [23:59:51]req_shift_opened [23:59:51]FM_GetShiftState [23:59:51]SAM_PROTO_GetShiftState [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 01 00 [23:59:51]Write to MH i2c: E2 08 00 B6 25 80 13 01 00 00 00 00 00 58 [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0E 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 0E 00 B6 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 EF [23:59:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_GetShiftState done [23:59:51]FM_GetShiftState done [23:59:51]req_shift_opened done [23:59:51]requested_item shift.open_date is exist - process it [23:59:51]req_shift_open_date [23:59:51]req_shift_open_date done [23:59:51]produce_requested_data done [23:59:51]produce_requested_data return {"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646} [23:59:51]process_action_free get_value [23:59:51]json_value_free [23:59:51]json_value_free done [23:59:51]process_json_proto returns [23:59:51]Send response to host [23:59:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646}}} [23:59:51]free response buf [23:59:51]execute_script done [23:59:51]execute_script returns [23:59:51]free content buf [23:59:51]Sock 9.Close socket [23:59:51]Sock 9.Thread stoped [23:59:51]accept exits with 7 [23:59:51]New connection [23:59:51]New thread 3067530596 created [23:59:51]Thread 3067387236 joined [23:59:51]Waiting for new connection... [23:59:51] Sock 7.Parse request [23:59:51]Sock 7.Check first char [23:59:51]Sock 7.First char is OK [23:59:51]request: POST /json_proto HTTP/1.0 [23:59:51]Method: POST [23:59:51]URL: /json_proto [23:59:51]Method is POST - this is cgi request [23:59:51]url: /json_proto [23:59:51]query_string will be loaded in cgi processing [23:59:51]execute_cgi json_proto POST (null) [23:59:51]execute_cgi path=json_proto method=POST [23:59:51]POST find Content-Length [23:59:51]Host: 172.17.38.197:8080 [23:59:51]Content-Length: 331 [23:59:51]Content-Type: application/json [23:59:51] [23:59:51]POST finish read [23:59:51]Found Content-Length = 331 [23:59:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:51]execute_script... [23:59:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:51]POST & json_proto [23:59:51]process_json_proto [23:59:51]json parsed OK: [23:59:51]protocol is kg_v1.0 [23:59:51]action value=get_value [23:59:51]process_action get_value [23:59:51]cmd_get_value [23:59:51]process_action get_value done [23:59:51]requested_data is exist [23:59:51]produce_requested_data [23:59:51]requested_item fm.sale.total is exist - process it [23:59:51]SAM_PROTO_GetFMData [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 03 00 [23:59:51]Write to MH i2c: E2 08 00 B7 25 80 13 03 00 00 00 00 00 5B [23:59:51]OFD Sender: No OFD packet to send [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 B7 25 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 85 [23:59:51]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 17 00 00 [23:59:51]Write to MH i2c: E2 08 00 B8 25 80 17 00 00 00 00 00 00 5D [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 B8 25 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 94 [23:59:52]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 B9 25 80 17 00 00 00 00 00 00 5E [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 B9 25 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [23:59:52]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 BA 25 80 17 00 00 00 00 00 00 5F [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 BA 25 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 90 00 D9 [23:59:52]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 BB 25 80 17 00 00 00 00 00 00 60 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 DC 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 DC 00 BB 25 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 44 [23:59:52]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:52]wFMCommunicate OK [23:59:52]SAM_PROTO_GetFMData done [23:59:52]requested_item fm.sale_refund.total is exist - process it [23:59:52]requested_item fm.buy.total is exist - process it [23:59:52]requested_item shift.sale.total is exist - process it [23:59:52]SAM_PROTO_GetShiftData [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 13 02 00 [23:59:52]Write to MH i2c: E2 08 00 BC 25 80 13 02 00 00 00 00 00 5F [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 BC 25 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 26 [23:59:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 BD 25 80 17 00 00 00 00 00 00 62 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 BD 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 84 [23:59:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 BE 25 80 17 00 00 00 00 00 00 63 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 BE 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1A [23:59:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 17 00 00 [23:59:54]Write to MH i2c: E2 08 00 BF 25 80 17 00 00 00 00 00 00 64 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 BF 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D6 [23:59:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 17 00 00 [23:59:54]Write to MH i2c: E2 08 00 C0 25 80 17 00 00 00 00 00 00 65 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 CB 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 CB 00 C0 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4E [23:59:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftData done [23:59:54]requested_item shift.sale.total_cash is exist - process it [23:59:54]requested_item shift.sale_refund.total is exist - process it [23:59:54]requested_item shift.sale_refund.total_cash is exist - process it [23:59:54]requested_item shift.buy.total is exist - process it [23:59:54]requested_item shift.buy.total_cash is exist - process it [23:59:54]produce_requested_data done [23:59:54]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:54]process_action_free get_value [23:59:54]json_value_free [23:59:54]json_value_free done [23:59:54]process_json_proto returns [23:59:54]Send response to host [23:59:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:54]free response buf [23:59:54]execute_script done [23:59:54]execute_script returns [23:59:54]free content buf [23:59:54]Sock 7.Close socket [23:59:54]Sock 7.Thread stoped [23:59:54]accept exits with 9 [23:59:54]New connection [23:59:54]New thread 3067387236 created [23:59:54]Thread 3067530596 joined [23:59:54]Waiting for new connection... [23:59:54] Sock 9.Parse request [23:59:54]Sock 9.Check first char [23:59:54]Sock 9.First char is OK [23:59:54]request: POST /json_proto HTTP/1.0 [23:59:54]Method: POST [23:59:54]URL: /json_proto [23:59:54]Method is POST - this is cgi request [23:59:54]url: /json_proto [23:59:54]query_string will be loaded in cgi processing [23:59:54]execute_cgi json_proto POST (null) [23:59:54]execute_cgi path=json_proto method=POST [23:59:54]POST find Content-Length [23:59:54]Host: 172.17.38.197:8080 [23:59:54]Content-Length: 331 [23:59:54]Content-Type: application/json [23:59:54] [23:59:54]POST finish read [23:59:54]Found Content-Length = 331 [23:59:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:54]execute_script... [23:59:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:54]POST & json_proto [23:59:54]process_json_proto [23:59:54]json parsed OK: [23:59:54]protocol is kg_v1.0 [23:59:54]action value=get_value [23:59:54]process_action get_value [23:59:54]cmd_get_value [23:59:54]process_action get_value done [23:59:54]requested_data is exist [23:59:54]produce_requested_data [23:59:54]requested_item fm.sale.total is exist - process it [23:59:54]SAM_PROTO_GetFMData [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 03 00 [23:59:54]Write to MH i2c: E2 08 00 C1 25 80 13 03 00 00 00 00 00 65 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 C1 25 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 8F [23:59:55]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 C2 25 80 17 00 00 00 00 00 00 67 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 C2 25 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 9E [23:59:55]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 C3 25 80 17 00 00 00 00 00 00 68 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 C3 25 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0C [23:59:55]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 C4 25 80 17 00 00 00 00 00 00 69 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 C4 25 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 90 00 E3 [23:59:56]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=4 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 17 00 00 [23:59:56]Write to MH i2c: E2 08 00 C5 25 80 17 00 00 00 00 00 00 6A [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 DC 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 DC 00 C5 25 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4E [23:59:56]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:56]wFMCommunicate OK [23:59:56]SAM_PROTO_GetFMData done [23:59:56]requested_item fm.sale_refund.total is exist - process it [23:59:56]requested_item fm.buy.total is exist - process it [23:59:56]requested_item shift.sale.total is exist - process it [23:59:56]SAM_PROTO_GetShiftData [23:59:56]wFMCommunicate request_size=4 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 13 02 00 [23:59:56]Write to MH i2c: E2 08 00 C6 25 80 13 02 00 00 00 00 00 69 [23:59:56]OFD Sender: No OFD packet to send [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 FD 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 FD 00 C6 25 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 30 [23:59:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=4 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 17 00 00 [23:59:57]Write to MH i2c: E2 08 00 C7 25 80 17 00 00 00 00 00 00 6C [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 FD 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 FD 00 C7 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 8E [23:59:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=4 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 17 00 00 [23:59:57]Write to MH i2c: E2 08 00 C8 25 80 17 00 00 00 00 00 00 6D [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 C8 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 24 [23:59:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:59:58]wFMCommunicate OK [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 17 00 00 [23:59:58]Write to MH i2c: E2 08 00 C9 25 80 17 00 00 00 00 00 00 6E [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 C9 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E0 [23:59:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:59:58]wFMCommunicate OK [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 17 00 00 [23:59:58]Write to MH i2c: E2 08 00 CA 25 80 17 00 00 00 00 00 00 6F [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 CB 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 CB 00 CA 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 58 [23:59:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:59]wFMCommunicate OK [23:59:59]SAM_PROTO_GetShiftData done [23:59:59]requested_item shift.sale.total_cash is exist - process it [23:59:59]requested_item shift.sale_refund.total is exist - process it [23:59:59]requested_item shift.sale_refund.total_cash is exist - process it [23:59:59]requested_item shift.buy.total is exist - process it [23:59:59]requested_item shift.buy.total_cash is exist - process it [23:59:59]produce_requested_data done [23:59:59]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:59]process_action_free get_value [23:59:59]json_value_free [23:59:59]json_value_free done [23:59:59]process_json_proto returns [23:59:59]Send response to host [23:59:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:59]free response buf [23:59:59]execute_script done [23:59:59]execute_script returns [23:59:59]free content buf [23:59:59]Sock 9.Close socket [23:59:59]Sock 9.Thread stoped [23:59:59]accept exits with 7 [23:59:59]New connection [23:59:59]New thread 3067530596 created [23:59:59]Thread 3067387236 joined [23:59:59]Waiting for new connection... [23:59:59] Sock 7.Parse request [23:59:59]Sock 7.Check first char [23:59:59]Sock 7.First char is OK [23:59:59]request: POST /json_proto HTTP/1.0 [23:59:59]Method: POST [23:59:59]URL: /json_proto [23:59:59]Method is POST - this is cgi request [23:59:59]url: /json_proto [23:59:59]query_string will be loaded in cgi processing [23:59:59]execute_cgi json_proto POST (null) [23:59:59]execute_cgi path=json_proto method=POST [23:59:59]POST find Content-Length [23:59:59]Host: 172.17.38.197:8080 [23:59:59]Content-Length: 268 [23:59:59]Content-Type: application/json [23:59:59] [23:59:59]POST finish read [23:59:59]Found Content-Length = 268 [23:59:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0443\u0440\u0430\u0442\u043A\u0443\u043B\u043E\u0432 \u0411." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:59]execute_script... [23:59:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0443\u0440\u0430\u0442\u043A\u0443\u043B\u043E\u0432 \u0411." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:59]POST & json_proto [23:59:59]process_json_proto [23:59:59]json parsed OK: [23:59:59]protocol is kg_v1.0 [23:59:59]action value=x_report [23:59:59]process_action x_report [23:59:59]cmd_x_report [23:59:59]MH_GetDate [23:59:59]Write to MH i2c: F0 00 00 CB 25 DF [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 09 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 09 00 CB 25 00 05 15 93 66 1E 0D 88 66 14 [23:59:59]GetLastDocTimeStamp 1720915109 [23:59:59]current date 1720915205 [23:59:59]FM_GetShiftState [23:59:59]SAM_PROTO_GetShiftState [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 13 01 00 [23:59:59]Write to MH i2c: E2 08 00 CC 25 80 13 01 00 00 00 00 00 6E [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 0E 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 0E 00 CC 25 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 05 [23:59:59]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [23:59:59]wFMCommunicate OK [23:59:59]SAM_PROTO_GetShiftState done [23:59:59]FM_GetShiftState done [23:59:59]KKMCreateXReportDocument [23:59:59]Load OK [23:59:59]Malloc new data [23:59:59]MH_GetDate [23:59:59]Write to MH i2c: F0 00 00 CD 25 E1 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 09 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: F0 09 00 CD 25 00 05 15 93 66 1E 0D 88 66 16 [23:59:59]Malloc new data [23:59:59]Malloc new data [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 11 00 00 [23:59:59]Write to MH i2c: E2 08 00 CE 25 80 11 00 00 00 00 00 00 6D [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 17 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 17 00 CE 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 C4 [23:59:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [23:59:59]wFMCommunicate OK [23:59:59]SAM_PROTO_GetFieldsCounters [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 13 00 00 [23:59:59]Write to MH i2c: E2 08 00 CF 25 80 13 00 00 00 00 00 00 70 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 62 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 62 00 CF 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [23:59:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:59]wFMCommunicate OK [23:59:59]SAM_PROTO_GetFieldsCounters done [23:59:59]Malloc new data [23:59:59]Malloc new data [23:59:59]Malloc new data [23:59:59]KKMCreateXReportDocument OK [23:59:59]KKMSetXReportData OK [23:59:59]KKMPrepareXReportFMData [23:59:59]SAM_PROTO_GetShiftData [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 13 02 00 [23:59:59]Write to MH i2c: E2 08 00 D0 25 80 13 02 00 00 00 00 00 73 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [00:00:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:00]Read from MH i2c: E2 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 D0 25 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 3A [00:00:00]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:00]wFMCommunicate OK [00:00:00]wFMCommunicate request_size=4 [00:00:00]MH_SAM_APDU [00:00:00]CAPDU: 80 17 00 00 [00:00:00]Write to MH i2c: E2 08 00 D1 25 80 17 00 00 00 00 00 00 76 [00:00:00]Write i2c OK [00:00:00]MH_I2C_Read... [00:00:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:00]Read from MH i2c: E2 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 D1 25 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 98 [00:00:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:00]wFMCommunicate OK [00:00:00]wFMCommunicate request_size=4 [00:00:00]MH_SAM_APDU [00:00:00]CAPDU: 80 17 00 00 [00:00:00]Write to MH i2c: E2 08 00 D2 25 80 17 00 00 00 00 00 00 77 [00:00:00]Write i2c OK [00:00:00]MH_I2C_Read... [00:00:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 FD 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 FD 00 D2 25 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2E [00:00:01]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:01]wFMCommunicate OK [00:00:01]wFMCommunicate request_size=4 [00:00:01]MH_SAM_APDU [00:00:01]CAPDU: 80 17 00 00 [00:00:01]Write to MH i2c: E2 08 00 D3 25 80 17 00 00 00 00 00 00 78 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 FD 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 FD 00 D3 25 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 EA [00:00:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:01]wFMCommunicate OK [00:00:01]wFMCommunicate request_size=4 [00:00:01]MH_SAM_APDU [00:00:01]CAPDU: 80 17 00 00 [00:00:01]Write to MH i2c: E2 08 00 D4 25 80 17 00 00 00 00 00 00 79 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]OFD Sender: No OFD packet to send [00:00:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 CB 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 CB 00 D4 25 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 62 [00:00:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:02]wFMCommunicate OK [00:00:02]SAM_PROTO_GetShiftData done [00:00:02]1194 (1194) - счетчики итогов смены [00:00:02] 1134 (4) - 115 - количество чеков со всеми признаками расчетов [00:00:02] 1129 (155) - счетчики операций «приход» [00:00:02] 1135 (4) - 115 - количество чеков по признаку расчетов [00:00:02] 1201 (3) - 21157.00 - общая итоговая сумма в чеках [00:00:02] 1136 (3) - 18599.00 - итоговая сумма в чеках наличными [00:00:02] 1138 (3) - 2558.00 - итоговая сумма в чеках безналичными [00:00:02] 1024 (122) - суммы налогов [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 0% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1006 (12) - суммы НДС [00:00:02] 1010 (1) - 12% - код ставки НДС [00:00:02] 1011 (3) - 2246.67 - сумма НДС по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (11) - суммы НСП [00:00:02] 1014 (1) - 1% - код ставки НСП [00:00:02] 1015 (2) - 187.09 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 2% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 3% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 5% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1130 (141) - счетчики операций «возврат прихода» [00:00:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:02] 1024 (117) - суммы налогов [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 0% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 12% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 2% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 3% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 5% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1131 (141) - счетчики операций «расход» [00:00:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:02] 1024 (117) - суммы налогов [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 0% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 12% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 2% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 3% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 5% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1132 (141) - счетчики операций «возврат расхода» [00:00:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:02] 1024 (117) - суммы налогов [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 0% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1006 (9) - суммы НДС [00:00:02] 1010 (1) - 12% - код ставки НДС [00:00:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 2% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 3% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 5% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 0,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1007 (9) - суммы НСП [00:00:02] 1014 (1) - 1,50% - код ставки НСП [00:00:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:02] 1133 (588) - - счетчики коррекции - не используются [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1194 (04AA) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1134 (046E) [00:00:02]Malloc new data [00:00:02]Processing tag 1129 (0469) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1135 (046F) [00:00:02]Malloc new data [00:00:02]Processing tag 1201 (04B1) [00:00:02]Malloc new data [00:00:02]Processing tag 1136 (0470) [00:00:02]Malloc new data [00:00:02]Processing tag 1138 (0472) [00:00:02]Malloc new data [00:00:02]Processing tag 1024 (0400) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1130 (046A) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1135 (046F) [00:00:02]Malloc new data [00:00:02]Processing tag 1201 (04B1) [00:00:02]Malloc new data [00:00:02]Processing tag 1136 (0470) [00:00:02]Malloc new data [00:00:02]Processing tag 1138 (0472) [00:00:02]Malloc new data [00:00:02]Processing tag 1024 (0400) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1131 (046B) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1135 (046F) [00:00:02]Malloc new data [00:00:02]Processing tag 1201 (04B1) [00:00:02]Malloc new data [00:00:02]Processing tag 1136 (0470) [00:00:02]Malloc new data [00:00:02]Processing tag 1138 (0472) [00:00:02]Malloc new data [00:00:02]Processing tag 1024 (0400) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1006 (03EE) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1010 (03F2) [00:00:02]Malloc new data [00:00:02]Processing tag 1011 (03F3) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1007 (03EF) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1014 (03F6) [00:00:02]Malloc new data [00:00:02]Processing tag 1015 (03F7) [00:00:02]Malloc new data [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]SetTLVBufToDocument err=0 [00:00:02]Processing tag 1132 (046C) [00:00:02]Load OK [00:00:02]SetTLVBufToDocument [00:00:02]Processing tag 1135 (046F) [00:00:02]Malloc new data [00:00:03]Processing tag 1201 (04B1) [00:00:03]Malloc new data [00:00:03]Processing tag 1136 (0470) [00:00:03]Malloc new data [00:00:03]Processing tag 1138 (0472) [00:00:03]Malloc new data [00:00:03]Processing tag 1024 (0400) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1006 (03EE) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1010 (03F2) [00:00:03]Malloc new data [00:00:03]Processing tag 1011 (03F3) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1006 (03EE) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1010 (03F2) [00:00:03]Malloc new data [00:00:03]Processing tag 1011 (03F3) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1007 (03EF) [00:00:03]Load OK [00:00:03]SetTLVBufToDocument [00:00:03]Processing tag 1014 (03F6) [00:00:03]Malloc new data [00:00:03]Processing tag 1015 (03F7) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]SetTLVBufToDocument err=0 [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Processing tag 1133 (046D) [00:00:03]Malloc new data [00:00:03]SetTLVBufToDocument err=0 [00:00:03]SetTLVBufToDocument err=0 [00:00:03]Malloc new data [00:00:03]SAM_PROTO_GetFMData [00:00:03]wFMCommunicate request_size=4 [00:00:03]MH_SAM_APDU [00:00:03]CAPDU: 80 13 03 00 [00:00:03]Write to MH i2c: E2 08 00 D5 25 80 13 03 00 00 00 00 00 79 [00:00:03]Write i2c OK [00:00:03]MH_I2C_Read... [00:00:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:03]Read from MH i2c: E2 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 FD 00 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 FD 00 D5 25 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 A3 [00:00:03]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:04]wFMCommunicate OK [00:00:04]wFMCommunicate request_size=4 [00:00:04]MH_SAM_APDU [00:00:04]CAPDU: 80 17 00 00 [00:00:04]Write to MH i2c: E2 08 00 D6 25 80 17 00 00 00 00 00 00 7B [00:00:04]Write i2c OK [00:00:04]MH_I2C_Read... [00:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:04]Read from MH i2c: E2 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 FD 00 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 FD 00 D6 25 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 B2 [00:00:04]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:00:04]wFMCommunicate OK [00:00:04]wFMCommunicate request_size=4 [00:00:04]MH_SAM_APDU [00:00:04]CAPDU: 80 17 00 00 [00:00:04]Write to MH i2c: E2 08 00 D7 25 80 17 00 00 00 00 00 00 7C [00:00:04]Write i2c OK [00:00:04]MH_I2C_Read... [00:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:04]Read from MH i2c: E2 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 FD 00 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 FD 00 D7 25 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 20 [00:00:04]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:00:05]wFMCommunicate OK [00:00:05]wFMCommunicate request_size=4 [00:00:05]MH_SAM_APDU [00:00:05]CAPDU: 80 17 00 00 [00:00:05]Write to MH i2c: E2 08 00 D8 25 80 17 00 00 00 00 00 00 7D [00:00:05]Write i2c OK [00:00:05]MH_I2C_Read... [00:00:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:05]Read from MH i2c: E2 [00:00:05]MH_I2C_Read... [00:00:05]Read from MH i2c: E2 FD 00 [00:00:05]MH_I2C_Read... [00:00:05]Read from MH i2c: E2 FD 00 D8 25 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 90 00 F7 [00:00:05]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:05]wFMCommunicate OK [00:00:05]wFMCommunicate request_size=4 [00:00:05]MH_SAM_APDU [00:00:05]CAPDU: 80 17 00 00 [00:00:05]Write to MH i2c: E2 08 00 D9 25 80 17 00 00 00 00 00 00 7E [00:00:05]Write i2c OK [00:00:05]MH_I2C_Read... [00:00:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:00:05]Read from MH i2c: E2 [00:00:05]MH_I2C_Read... [00:00:05]Read from MH i2c: E2 DC 00 [00:00:05]MH_I2C_Read... [00:00:05]Read from MH i2c: E2 DC 00 D9 25 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 62 [00:00:06]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:06]wFMCommunicate OK [00:00:06]SAM_PROTO_GetFMData done [00:00:06]FM_GetFMData:85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 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 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 OFD Sender: No OFD packet to send [00:00:06]00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:07]oper:6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:07]total:E2 13 2B 46 [00:00:07]Malloc new data [00:00:07]oper:6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 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 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:07]total:A4 00 E2 [00:00:07]Malloc new data [00:00:07]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:00:07]total: [00:00:07]Malloc new data [00:00:07]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:00:07]total: [00:00:07]Malloc new data [00:00:07]KKMPrepareXReportFMData err=0 [00:00:07]Х отчет ИНН: 02508201610067 Кассир: Тураткулов Б. 14.07.2024 00:00 Смена: 266 РНМ: 0000000000091176 ЗНМ: 0300000153 СНО: Общий режим Всего чеков: 115 ИТОГИ ПРИХОД Чеков: 115 Общий итог: 21157.00 Итого наличными: 18599.00 Итого безнал.: 2558.00 НДС 0% : 0.00 НДС 12% : 2246.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 187.09 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 18599.00 НС Приход: 11772282.58 НС Возвр.Прихода: 148113.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874935 [00:00:07]StoreToDocumentArchive [00:00:07]MH_GetDate [00:00:07]Write to MH i2c: F0 00 00 DA 25 EE [00:00:07]Write i2c OK [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: F0 [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: F0 09 00 [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: F0 09 00 DA 25 00 0D 15 93 66 1E 0D 88 66 2B [00:00:07]shift 266 fd 1720915213 [00:00:07]Create dir for shift 0266 [00:00:07]save to /storage/0266/doc_1720915213 [00:00:07]save last doc name /storage/0266/doc_1720915213 to /storage/kkm_last_doc_name [00:00:07]save OK [00:00:07]Clear old archive folders... [00:00:07]NVStorageSaveData kkm_last_timestamp [00:00:07]File name is /storage/kkm_last_timestamp [00:00:07]Write 4 bytes [00:00:07]NVStorageSaveData done [00:00:07]ExternCall_PrintAddStr [00:00:07]wPrintStart [00:00:07]Write to MH i2c: 01 00 00 DB 25 00 [00:00:07]Write i2c OK [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: 01 [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: 01 07 00 [00:00:07]MH_I2C_Read... [00:00:07]Read from MH i2c: 01 07 00 DB 25 00 00 00 00 00 FF 0F 15 [00:00:07]RasterBufferAndPrint [00:00:07]line Х отчет [00:00:07]line ИНН: 02508201610067 [00:00:07]line Кассир: Тураткулов Б. [00:00:07]line 14.07.2024 00:00 [00:00:07]line Смена: 266 [00:00:07]line РНМ: 0000000000091176 [00:00:07]line ЗНМ: 0300000153 [00:00:07]line СНО: Общий режим [00:00:07]line Всего чеков: 115 [00:00:07]line ИТОГИ ПРИХОД [00:00:07]line Чеков: 115 [00:00:07]line Общий итог: 21157.00 [00:00:07]line Итого наличными: 18599.00 [00:00:07]line Итого безнал.: 2558.00 [00:00:07]line НДС 0% : 0.00 [00:00:07]line НДС 12% : 2246.67 [00:00:07]line НСП 0% : 0.00 [00:00:07]line НСП 1,50% : 0.00 [00:00:07]line НСП 0,50% : 0.00 [00:00:07]line НСП 5% : 0.00 [00:00:07]line НСП 3% : 0.00 [00:00:07]line НСП 2% : 0.00 [00:00:07]line НСП 1% : 187.09 [00:00:07]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:07]line Чеков: 0 [00:00:07]line Общий итог: 0.00 [00:00:07]line Итого наличными: 0.00 [00:00:07]line Итого безнал.: 0.00 [00:00:07]line НДС 0% : 0.00 [00:00:07]line НДС 12% : 0.00 [00:00:07]line НСП 0% : 0.00 [00:00:07]line НСП 1,50% : 0.00 [00:00:07]line НСП 0,50% : 0.00 [00:00:07]line НСП 5% : 0.00 [00:00:07]line НСП 3% : 0.00 [00:00:07]line НСП 2% : 0.00 [00:00:07]line НСП 1% : 0.00 [00:00:07]line ИТОГИ РАСХОД [00:00:07]line Чеков: 0 [00:00:07]line Общий итог: 0.00 [00:00:07]line Итого наличными: 0.00 [00:00:07]line Итого безнал.: 0.00 [00:00:07]line НДС 0% : 0.00 [00:00:07]line НДС 12% : 0.00 [00:00:07]line НСП 0% : 0.00 [00:00:07]line НСП 1,50% : 0.00 [00:00:07]line НСП 0,50% : 0.00 [00:00:07]line НСП 5% : 0.00 [00:00:07]line НСП 3% : 0.00 [00:00:07]line НСП 2% : 0.00 [00:00:07]line НСП 1% : 0.00 [00:00:07]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:07]line Чеков: 0 [00:00:07]line Общий итог: 0.00 [00:00:07]line Итого наличными: 0.00 [00:00:07]line Итого безнал.: 0.00 [00:00:07]line НДС 0% : 0.00 [00:00:07]line НДС 12% : 0.00 [00:00:07]line НСП 0% : 0.00 [00:00:07]line НСП 1,50% : 0.00 [00:00:07]line НСП 0,50% : 0.00 [00:00:07]line НСП 5% : 0.00 [00:00:07]line НСП 3% : 0.00 [00:00:07]line НСП 2% : 0.00 [00:00:07]line НСП 1% : 0.00 [00:00:07]line Сумма внесений: 0.00 [00:00:07]line Сумма выплат: 0.00 [00:00:07]line Нал. в кассе: 18599.00 [00:00:07]line НС Приход: 11772282.58 [00:00:07]line НС Возвр.Прихода: 148113.00 [00:00:07]line НС Расход: 0.00 [00:00:07]line НС Возвр.Расхода: 0.00 [00:00:07]line ФМ: 0000000000874935 [00:00:07]written 0, free lines is 4095 [00:00:08]Write to MH i2c: 01 00 00 26 26 4C [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 01 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 01 07 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 01 07 00 26 26 00 00 00 00 00 B8 0A 15 [00:00:08]RasterBufferAndPrint [00:00:08]line [00:00:08]line [00:00:08]line [00:00:08]line [00:00:08]line [00:00:08]written 0, free lines is 2781 [00:00:08]MH_Cut [00:00:08]Write to MH i2c: D1 01 00 2D 26 01 25 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: D1 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: D1 01 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: D1 01 00 2D 26 00 24 [00:00:08]Write to MH i2c: 01 00 00 2E 26 54 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:09]*** Cut start [00:00:09]*** Partial cut [00:00:09]*** CUTSNS_PIN = 1 [00:00:09]*** CUTSNS_PIN = 0 [00:00:09]*** Brake cut motor [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]*** Stop cut motor [00:00:10]*** Cut end [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 2E 26 00 00 00 00 00 FF 0F 69 [00:00:10]process_action x_report done [00:00:10]requested_data is exist [00:00:10]produce_requested_data [00:00:10]requested_item fd.num is exist - process it [00:00:10]SAM_PROTO_GetFieldsCounters [00:00:10]wFMCommunicate request_size=4 [00:00:10]MH_SAM_APDU [00:00:10]CAPDU: 80 13 00 00 [00:00:10]Write to MH i2c: E2 08 00 2F 26 80 13 00 00 00 00 00 00 D1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:10]Read from MH i2c: E2 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 62 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 62 00 2F 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [00:00:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:10]wFMCommunicate OK [00:00:10]SAM_PROTO_GetFieldsCounters done [00:00:10]requested_item shift.num is exist - process it [00:00:10]requested_item shift.opened is exist - process it [00:00:10]req_shift_opened [00:00:10]FM_GetShiftState [00:00:10]SAM_PROTO_GetShiftState [00:00:10]wFMCommunicate request_size=4 [00:00:10]MH_SAM_APDU [00:00:10]CAPDU: 80 13 01 00 [00:00:10]Write to MH i2c: E2 08 00 30 26 80 13 01 00 00 00 00 00 D3 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:10]Read from MH i2c: E2 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 0E 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 0E 00 30 26 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6A [00:00:10]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [00:00:10]wFMCommunicate OK [00:00:10]SAM_PROTO_GetShiftState done [00:00:10]FM_GetShiftState done [00:00:10]req_shift_opened done [00:00:10]requested_item shift.open_date is exist - process it [00:00:10]req_shift_open_date [00:00:10]req_shift_open_date done [00:00:10]produce_requested_data done [00:00:10]produce_requested_data return {"fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646} [00:00:10]process_action_free x_report [00:00:10]json_value_free [00:00:10]json_value_free done [00:00:10]process_json_proto returns [00:00:10]Send response to host [00:00:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646}}} [00:00:10]free response buf [00:00:10]execute_script done [00:00:10]execute_script returns [00:00:10]free content buf [00:00:10]Sock 7.Close socket [00:00:10]Sock 7.Thread stoped [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:42]accept exits with 9 [00:00:42]New connection [00:00:42]New thread 3067387236 created [00:00:42]Thread 3067530596 joined [00:00:42]Waiting for new connection... [00:00:42] Sock 9.Parse request [00:00:42]Sock 9.Check first char [00:00:42]Sock 9.First char is OK [00:00:42]request: POST /json_proto HTTP/1.0 [00:00:42]Method: POST [00:00:42]URL: /json_proto [00:00:42]Method is POST - this is cgi request [00:00:42]url: /json_proto [00:00:42]query_string will be loaded in cgi processing [00:00:42]execute_cgi json_proto POST (null) [00:00:42]execute_cgi path=json_proto method=POST [00:00:42]POST find Content-Length [00:00:42]Host: 172.17.38.197:8080 [00:00:42]Content-Length: 215 [00:00:42]Content-Type: application/json [00:00:42] [00:00:42]POST finish read [00:00:42]Found Content-Length = 215 [00:00:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:42]execute_script... [00:00:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:42]POST & json_proto [00:00:42]process_json_proto [00:00:42]json parsed OK: [00:00:42]protocol is kg_v1.0 [00:00:42]action value=get_value [00:00:42]process_action get_value [00:00:42]cmd_get_value [00:00:42]process_action get_value done [00:00:42]requested_data is exist [00:00:42]produce_requested_data [00:00:42]requested_item kkm.sn is exist - process it [00:00:42]requested_item kkm.ver is exist - process it [00:00:42]requested_item fm.sn is exist - process it [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 11 00 00 [00:00:42]Write to MH i2c: E2 08 00 31 26 80 11 00 00 00 00 00 00 D1 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 17 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 17 00 31 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 28 [00:00:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [00:00:42]wFMCommunicate OK [00:00:42]requested_item fd.num is exist - process it [00:00:42]SAM_PROTO_GetFieldsCounters [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 13 00 00 [00:00:42]Write to MH i2c: E2 08 00 32 26 80 13 00 00 00 00 00 00 D4 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 62 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 62 00 32 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [00:00:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3E A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:42]wFMCommunicate OK [00:00:42]SAM_PROTO_GetFieldsCounters done [00:00:42]requested_item shift.num is exist - process it [00:00:42]requested_item shift.opened is exist - process it [00:00:42]req_shift_opened [00:00:42]FM_GetShiftState [00:00:42]SAM_PROTO_GetShiftState [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 13 01 00 [00:00:42]Write to MH i2c: E2 08 00 33 26 80 13 01 00 00 00 00 00 D6 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 0E 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 0E 00 33 26 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 6D [00:00:42]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [00:00:42]wFMCommunicate OK [00:00:42]SAM_PROTO_GetShiftState done [00:00:42]FM_GetShiftState done [00:00:42]req_shift_opened done [00:00:42]requested_item shift.open_date is exist - process it [00:00:42]req_shift_open_date [00:00:42]req_shift_open_date done [00:00:42]produce_requested_data done [00:00:42]produce_requested_data return {"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646} [00:00:42]process_action_free get_value [00:00:42]json_value_free [00:00:42]json_value_free done [00:00:42]process_json_proto returns [00:00:42]Send response to host [00:00:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43070,"shift.num":445,"shift.opened":1,"shift.open_date":1720829646}}} [00:00:42]free response buf [00:00:42]execute_script done [00:00:42]execute_script returns [00:00:42]free content buf [00:00:42]Sock 9.Close socket [00:00:42]Sock 9.Thread stoped [00:00:42]accept exits with 7 [00:00:42]New connection [00:00:42]New thread 3067530596 created [00:00:42]Thread 3067387236 joined [00:00:42]Waiting for new connection... [00:00:42] Sock 7.Parse request [00:00:42]Sock 7.Check first char [00:00:42]Sock 7.First char is OK [00:00:42]request: POST /json_proto HTTP/1.0 [00:00:42]Method: POST [00:00:42]URL: /json_proto [00:00:42]Method is POST - this is cgi request [00:00:42]url: /json_proto [00:00:42]query_string will be loaded in cgi processing [00:00:42]execute_cgi json_proto POST (null) [00:00:42]execute_cgi path=json_proto method=POST [00:00:42]POST find Content-Length [00:00:42]Host: 172.17.38.197:8080 [00:00:42]Content-Length: 331 [00:00:42]Content-Type: application/json [00:00:42] [00:00:42]POST finish read [00:00:42]Found Content-Length = 331 [00:00:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:42]execute_script... [00:00:42]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:00:42]POST & json_proto [00:00:42]process_json_proto [00:00:42]json parsed OK: [00:00:42]protocol is kg_v1.0 [00:00:42]action value=get_value [00:00:42]process_action get_value [00:00:42]cmd_get_value [00:00:42]process_action get_value done [00:00:42]requested_data is exist [00:00:42]produce_requested_data [00:00:42]requested_item fm.sale.total is exist - process it [00:00:42]SAM_PROTO_GetFMData [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 13 03 00 [00:00:42]Write to MH i2c: E2 08 00 34 26 80 13 03 00 00 00 00 00 D9 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 34 26 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 03 [00:00:42]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:42]wFMCommunicate OK [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 17 00 00 [00:00:42]Write to MH i2c: E2 08 00 35 26 80 17 00 00 00 00 00 00 DB [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 35 26 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 12 [00:00:43]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 36 26 80 17 00 00 00 00 00 00 DC [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 36 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 80 [00:00:43]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 37 26 80 17 00 00 00 00 00 00 DD [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 37 26 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 90 00 57 [00:00:43]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 38 26 80 17 00 00 00 00 00 00 DE [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 DC 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 DC 00 38 26 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C2 [00:00:44]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:44]wFMCommunicate OK [00:00:44]SAM_PROTO_GetFMData done [00:00:44]requested_item fm.sale_refund.total is exist - process it [00:00:44]requested_item fm.buy.total is exist - process it [00:00:44]requested_item shift.sale.total is exist - process it [00:00:44]SAM_PROTO_GetShiftData [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 13 02 00 [00:00:44]Write to MH i2c: E2 08 00 39 26 80 13 02 00 00 00 00 00 DD [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 39 26 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A4 [00:00:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 3A 26 80 17 00 00 00 00 00 00 E0 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 3A 26 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 02 [00:00:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 17 00 00 [00:00:45]Write to MH i2c: E2 08 00 3B 26 80 17 00 00 00 00 00 00 E1 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 3B 26 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 98 [00:00:45]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 17 00 00 [00:00:45]Write to MH i2c: E2 08 00 3C 26 80 17 00 00 00 00 00 00 E2 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 FD 00 3C 26 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 54 [00:00:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 17 00 00 [00:00:45]Write to MH i2c: E2 08 00 3D 26 80 17 00 00 00 00 00 00 E3 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 CB 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 CB 00 3D 26 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CC [00:00:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:46]wFMCommunicate OK [00:00:46]SAM_PROTO_GetShiftData done [00:00:46]requested_item shift.sale.total_cash is exist - process it [00:00:46]requested_item shift.sale_refund.total is exist - process it [00:00:46]requested_item shift.sale_refund.total_cash is exist - process it [00:00:46]requested_item shift.buy.total is exist - process it [00:00:46]requested_item shift.buy.total_cash is exist - process it [00:00:46]produce_requested_data done [00:00:46]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:00:46]process_action_free get_value [00:00:46]json_value_free [00:00:46]json_value_free done [00:00:46]process_json_proto returns [00:00:46]Send response to host [00:00:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:00:46]free response buf [00:00:46]execute_script done [00:00:46]execute_script returns [00:00:46]free content buf [00:00:46]Sock 7.Close socket [00:00:46]Sock 7.Thread stoped [00:00:46]accept exits with 9 [00:00:46]New connection [00:00:46]New thread 3067387236 created [00:00:46]Thread 3067530596 joined [00:00:46]Waiting for new connection... [00:00:46] Sock 9.Parse request [00:00:46]Sock 9.Check first char [00:00:46]Sock 9.First char is OK [00:00:46]request: POST /json_proto HTTP/1.0 [00:00:46]Method: POST [00:00:46]URL: /json_proto [00:00:46]Method is POST - this is cgi request [00:00:46]url: /json_proto [00:00:46]query_string will be loaded in cgi processing [00:00:46]execute_cgi json_proto POST (null) [00:00:46]execute_cgi path=json_proto method=POST [00:00:46]POST find Content-Length [00:00:46]Host: 172.17.38.197:8080 [00:00:46]Content-Length: 331 [00:00:46]Content-Type: application/json [00:00:46] [00:00:46]POST finish read [00:00:46]Found Content-Length = 331 [00:00:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:46]execute_script... [00:00:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:46]POST & json_proto [00:00:46]process_json_proto [00:00:46]json parsed OK: [00:00:46]protocol is kg_v1.0 [00:00:46]action value=get_value [00:00:46]process_action get_value [00:00:46]cmd_get_value [00:00:46]process_action get_value done [00:00:46]requested_data is exist [00:00:46]produce_requested_data [00:00:46]requested_item fm.sale.total is exist - process it [00:00:46]SAM_PROTO_GetFMData [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 13 03 00 [00:00:46]Write to MH i2c: E2 08 00 3E 26 80 13 03 00 00 00 00 00 E3 [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 3E 26 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 0D [00:00:46]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:46]wFMCommunicate OK [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 17 00 00 [00:00:46]Write to MH i2c: E2 08 00 3F 26 80 17 00 00 00 00 00 00 E5 [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:47]OFD Sender: No OFD packet to send [00:00:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 3F 26 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 1C [00:00:47]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:00:47]wFMCommunicate OK [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 17 00 00 [00:00:47]Write to MH i2c: E2 08 00 40 26 80 17 00 00 00 00 00 00 E6 [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 40 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8A [00:00:47]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:00:47]wFMCommunicate OK [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 17 00 00 [00:00:47]Write to MH i2c: E2 08 00 41 26 80 17 00 00 00 00 00 00 E7 [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 41 26 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 90 00 61 [00:00:48]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:48]wFMCommunicate OK [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 17 00 00 [00:00:48]Write to MH i2c: E2 08 00 42 26 80 17 00 00 00 00 00 00 E8 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 DC 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 DC 00 42 26 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CC [00:00:48]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:48]wFMCommunicate OK [00:00:48]SAM_PROTO_GetFMData done [00:00:48]requested_item fm.sale_refund.total is exist - process it [00:00:48]requested_item fm.buy.total is exist - process it [00:00:48]requested_item shift.sale.total is exist - process it [00:00:48]SAM_PROTO_GetShiftData [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 13 02 00 [00:00:48]Write to MH i2c: E2 08 00 43 26 80 13 02 00 00 00 00 00 E7 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 43 26 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AE [00:00:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:49]wFMCommunicate OK [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 44 26 80 17 00 00 00 00 00 00 EA [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 FD 00 44 26 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 0C [00:00:49]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:49]wFMCommunicate OK [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 45 26 80 17 00 00 00 00 00 00 EB [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 45 26 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 A2 [00:00:50]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 46 26 80 17 00 00 00 00 00 00 EC [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 46 26 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 5E [00:00:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 47 26 80 17 00 00 00 00 00 00 ED [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 CB 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 CB 00 47 26 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D6 [00:00:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:51]wFMCommunicate OK [00:00:51]SAM_PROTO_GetShiftData done [00:00:51]requested_item shift.sale.total_cash is exist - process it [00:00:51]requested_item shift.sale_refund.total is exist - process it [00:00:51]requested_item shift.sale_refund.total_cash is exist - process it [00:00:51]requested_item shift.buy.total is exist - process it [00:00:51]requested_item shift.buy.total_cash is exist - process it [00:00:51]produce_requested_data done [00:00:51]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:00:51]process_action_free get_value [00:00:51]json_value_free [00:00:51]json_value_free done [00:00:51]process_json_proto returns [00:00:51]Send response to host [00:00:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:00:51]free response buf [00:00:51]execute_script done [00:00:51]execute_script returns [00:00:51]free content buf [00:00:51]Sock 9.Close socket [00:00:51]Sock 9.Thread stoped [00:00:51]accept exits with 7 [00:00:51]New connection [00:00:51]New thread 3067530596 created [00:00:51]Thread 3067387236 joined [00:00:51]Waiting for new connection... [00:00:51] Sock 7.Parse request [00:00:51]Sock 7.Check first char [00:00:51]Sock 7.First char is OK [00:00:51]request: POST /json_proto HTTP/1.0 [00:00:51]Method: POST [00:00:51]URL: /json_proto [00:00:51]Method is POST - this is cgi request [00:00:51]url: /json_proto [00:00:51]query_string will be loaded in cgi processing [00:00:51]execute_cgi json_proto POST (null) [00:00:51]execute_cgi path=json_proto method=POST [00:00:51]POST find Content-Length [00:00:51]Host: 172.17.38.197:8080 [00:00:51]Content-Length: 271 [00:00:51]Content-Type: application/json [00:00:51] [00:00:51]POST finish read [00:00:51]Found Content-Length = 271 [00:00:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0443\u0440\u0430\u0442\u043A\u0443\u043B\u043E\u0432 \u0411." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:51]execute_script... [00:00:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0443\u0440\u0430\u0442\u043A\u0443\u043B\u043E\u0432 \u0411." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:51]POST & json_proto [00:00:51]process_json_proto [00:00:51]json parsed OK: [00:00:51]protocol is kg_v1.0 [00:00:51]action value=close_shift [00:00:51]process_action close_shift [00:00:51]cmd_close_shift [00:00:51]MH_GetDate [00:00:51]Write to MH i2c: F0 00 00 48 26 5D [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 09 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 09 00 48 26 00 39 15 93 66 1E 0D 88 66 C6 [00:00:51]GetLastDocTimeStamp 1720915205 [00:00:51]current date 1720915257 [00:00:51]FM_GetShiftState [00:00:51]SAM_PROTO_GetShiftState [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 13 01 00 [00:00:51]Write to MH i2c: E2 08 00 49 26 80 13 01 00 00 00 00 00 EC [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 0E 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 0E 00 49 26 00 09 00 01 CE C6 91 66 00 00 00 00 90 00 83 [00:00:51]RAPDU: 09 00 01 CE C6 91 66 00 00 00 00 90 00 [00:00:51]wFMCommunicate OK [00:00:51]SAM_PROTO_GetShiftState done [00:00:51]FM_GetShiftState done [00:00:51]KKMCreateCloseShiftDocument [00:00:51]Load OK [00:00:51]Malloc new data [00:00:51]MH_GetDate [00:00:51]Write to MH i2c: F0 00 00 4A 26 5F [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 09 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: F0 09 00 4A 26 00 39 15 93 66 1E 0D 88 66 C8 [00:00:51]Malloc new data [00:00:51]Malloc new data [00:00:51]Malloc new data [00:00:51]Malloc new data [00:00:51]KKMCreateCloseShiftDocument OK [00:00:51]KKMSetCloseShiftData OK [00:00:51]ProcessDocumentItem done err = 0, tmpTLVsize=74 [00:00:51]tlvbuf is 016E8C10 [00:00:51]KKMLoadAndSignCloseShiftData [00:00:51]SAM_PROTO_ProcessDocument [00:00:51]wFMCommunicate request_size=9 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 15 01 00 04 05 00 4A 00 [00:00:51]Write to MH i2c: E2 0C 00 4B 26 80 15 01 00 04 00 05 00 4A 00 00 00 47 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 4B 26 00 90 00 E5 [00:00:51]RAPDU: 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=23 [00:00:51]MH_SAM_APDU [00:00:51]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:00:51]Write to MH i2c: E2 1A 00 4C 26 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 E7 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 4C 26 00 90 00 E6 [00:00:51]RAPDU: 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=33 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 15 02 00 1C FD 03 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E [00:00:51]Write to MH i2c: E2 24 00 4D 26 80 15 02 00 1C 00 FD 03 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E 00 00 55 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 4D 26 00 90 00 E7 [00:00:51]RAPDU: 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=13 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 15 02 00 08 F4 03 04 00 39 15 93 66 [00:00:51]Write to MH i2c: E2 10 00 4E 26 80 15 02 00 08 00 F4 03 04 00 39 15 93 66 00 00 46 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 4E 26 00 90 00 E8 [00:00:51]RAPDU: 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=25 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 [00:00:51]Write to MH i2c: E2 1C 00 4F 26 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 00 00 56 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 03 00 4F 26 00 90 00 E9 [00:00:51]RAPDU: 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 15 03 00 [00:00:51]Write to MH i2c: E2 08 00 50 26 80 15 03 00 00 00 00 00 F7 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:52]OFD Sender: No OFD packet to send [00:00:52]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 50 26 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 EE [00:00:52]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:00:52]wFMCommunicate OK [00:00:52]SAM_PROTO_ProcessDocument answer len = 1265 [00:00:52]SAM_PROTO_ProcessDocument remain to read = 1017 [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 51 26 80 17 00 00 00 00 00 00 F7 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 51 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 40 [00:00:53]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:53]wFMCommunicate OK [00:00:53]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:53]SAM_PROTO_ProcessDocument remain to read = 767 [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 52 26 80 17 00 00 00 00 00 00 F8 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 52 26 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 5A [00:00:53]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:53]wFMCommunicate OK [00:00:53]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:53]SAM_PROTO_ProcessDocument remain to read = 517 [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 53 26 80 17 00 00 00 00 00 00 F9 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 53 26 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 83 [00:00:54]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:00:54]wFMCommunicate OK [00:00:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:54]SAM_PROTO_ProcessDocument remain to read = 267 [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 54 26 80 17 00 00 00 00 00 00 FA [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 54 26 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 C2 [00:00:54]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:55]wFMCommunicate OK [00:00:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:55]SAM_PROTO_ProcessDocument remain to read = 17 [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 55 26 80 17 00 00 00 00 00 00 FB [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 14 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 14 00 55 26 00 01 00 06 F7 03 00 00 35 04 06 00 86 1F 12 E3 E3 7A 90 00 37 [00:00:55]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 86 1F 12 E3 E3 7A 90 00 [00:00:55]wFMCommunicate OK [00:00:55]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:00:55]SAM_PROTO_ProcessDocument done [00:00:55]1209 (1) - 1.0 - номер версии ФФД [00:00:55]1041 (16) - 0000000000874935 - номер ФМ [00:00:55]1040 (4) - 43071 - номер ФД [00:00:55]1038 (4) - 445 - номер смены [00:00:55]1118 (4) - 115 - количество кассовых чеков за смену [00:00:55]1111 (4) - 117 - общее количество ФД за смену [00:00:55]1194 (1194) - счетчики итогов смены [00:00:55] 1134 (4) - 115 - количество чеков со всеми признаками расчетов [00:00:55] 1129 (155) - счетчики операций «приход» [00:00:55] 1135 (4) - 115 - количество чеков по признаку расчетов [00:00:55] 1201 (3) - 21157.00 - общая итоговая сумма в чеках [00:00:55] 1136 (3) - 18599.00 - итоговая сумма в чеках наличными [00:00:55] 1138 (3) - 2558.00 - итоговая сумма в чеках безналичными [00:00:55] 1024 (122) - суммы налогов [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 0% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1006 (12) - суммы НДС [00:00:55] 1010 (1) - 12% - код ставки НДС [00:00:55] 1011 (3) - 2246.67 - сумма НДС по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (11) - суммы НСП [00:00:55] 1014 (1) - 1% - код ставки НСП [00:00:55] 1015 (2) - 187.09 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 2% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 3% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 5% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1130 (141) - счетчики операций «возврат прихода» [00:00:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:55] 1024 (117) - суммы налогов [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 0% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 12% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 2% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 3% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 5% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1131 (141) - счетчики операций «расход» [00:00:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:55] 1024 (117) - суммы налогов [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 0% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 12% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 2% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 3% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 5% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1132 (141) - счетчики операций «возврат расхода» [00:00:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:55] 1024 (117) - суммы налогов [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 0% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1006 (9) - суммы НДС [00:00:55] 1010 (1) - 12% - код ставки НДС [00:00:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 2% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 3% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 5% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 0,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1007 (9) - суммы НСП [00:00:55] 1014 (1) - 1,50% - код ставки НСП [00:00:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:55] 1133 (588) - - счетчики коррекции - не используются [00:00:55]1077 (6) - 147468019032954 - ФПД [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1209 (04B9) [00:00:55]Malloc new data [00:00:55]Processing tag 1041 (0411) [00:00:55]Processing tag 1040 (0410) [00:00:55]Malloc new data [00:00:55]Processing tag 1038 (040E) [00:00:55]Malloc new data [00:00:55]Processing tag 1118 (045E) [00:00:55]Malloc new data [00:00:55]Processing tag 1111 (0457) [00:00:55]Malloc new data [00:00:55]Processing tag 1194 (04AA) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1134 (046E) [00:00:55]Malloc new data [00:00:55]Processing tag 1129 (0469) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1135 (046F) [00:00:55]Malloc new data [00:00:55]Processing tag 1201 (04B1) [00:00:55]Malloc new data [00:00:55]Processing tag 1136 (0470) [00:00:55]Malloc new data [00:00:55]Processing tag 1138 (0472) [00:00:55]Malloc new data [00:00:55]Processing tag 1024 (0400) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1006 (03EE) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1010 (03F2) [00:00:55]Malloc new data [00:00:55]Processing tag 1011 (03F3) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1006 (03EE) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1010 (03F2) [00:00:55]Malloc new data [00:00:55]Processing tag 1011 (03F3) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]SetTLVBufToDocument err=0 [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1130 (046A) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1135 (046F) [00:00:55]Malloc new data [00:00:55]Processing tag 1201 (04B1) [00:00:55]Malloc new data [00:00:55]Processing tag 1136 (0470) [00:00:55]Malloc new data [00:00:55]Processing tag 1138 (0472) [00:00:55]Malloc new data [00:00:55]Processing tag 1024 (0400) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1006 (03EE) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1010 (03F2) [00:00:55]Malloc new data [00:00:55]Processing tag 1011 (03F3) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1006 (03EE) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1010 (03F2) [00:00:55]Malloc new data [00:00:55]Processing tag 1011 (03F3) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:55]Processing tag 1007 (03EF) [00:00:55]Load OK [00:00:55]SetTLVBufToDocument [00:00:55]Processing tag 1014 (03F6) [00:00:55]Malloc new data [00:00:55]Processing tag 1015 (03F7) [00:00:55]Malloc new data [00:00:55]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1131 (046B) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1135 (046F) [00:00:56]Malloc new data [00:00:56]Processing tag 1201 (04B1) [00:00:56]Malloc new data [00:00:56]Processing tag 1136 (0470) [00:00:56]Malloc new data [00:00:56]Processing tag 1138 (0472) [00:00:56]Malloc new data [00:00:56]Processing tag 1024 (0400) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1132 (046C) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1135 (046F) [00:00:56]Malloc new data [00:00:56]Processing tag 1201 (04B1) [00:00:56]Malloc new data [00:00:56]Processing tag 1136 (0470) [00:00:56]Malloc new data [00:00:56]Processing tag 1138 (0472) [00:00:56]Malloc new data [00:00:56]Processing tag 1024 (0400) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1006 (03EE) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1010 (03F2) [00:00:56]Malloc new data [00:00:56]Processing tag 1011 (03F3) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1007 (03EF) [00:00:56]Load OK [00:00:56]SetTLVBufToDocument [00:00:56]Processing tag 1014 (03F6) [00:00:56]Malloc new data [00:00:56]Processing tag 1015 (03F7) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1133 (046D) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Processing tag 1077 (0435) [00:00:56]Malloc new data [00:00:56]SetTLVBufToDocument err=0 [00:00:56]Malloc new data [00:00:56]SAM_PROTO_GetFMData [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 13 03 00 [00:00:56]Write to MH i2c: E2 08 00 56 26 80 13 03 00 00 00 00 00 FB [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 56 26 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 25 [00:00:56]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 17 00 00 [00:00:56]Write to MH i2c: E2 08 00 57 26 80 17 00 00 00 00 00 00 FD [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 57 26 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 OFD Sender: No OFD packet to send [00:00:57]00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [00:00:57]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:00:57]wFMCommunicate OK [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 17 00 00 [00:00:57]Write to MH i2c: E2 08 00 58 26 80 17 00 00 00 00 00 00 FE [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 58 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A2 [00:00:58]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 59 26 80 17 00 00 00 00 00 00 FF [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 59 26 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 90 00 79 [00:00:58]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 5A 26 80 17 00 00 00 00 00 00 00 [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 DC 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 DC 00 5A 26 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E4 [00:00:59]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_GetFMData done [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]KKMLoadAndSignCloseShiftData err=0 [00:00:59]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Тураткулов Б. 14.07.2024 00:00 Смена: 445 РНМ: 0000000000091176 ЗНМ: 0300000153 СНО: Общий режим Чеков за смену: 115 ФД за смену: 117 Всего чеков: 115 ИТОГИ ПРИХОД Чеков: 115 Общий итог: 21157.00 Итого наличными: 18599.00 Итого безнал.: 2558.00 НДС 0% : 0.00 НДС 12% : 2246.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 187.09 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 18599.00 НС Приход: 11772282.58 НС Возвр.Прихода: 148113.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 43071 ФМ: 0000000000874935 ФПД: 147468019032954 [00:00:59]StoreToDocumentArchive [00:00:59]shift 445 fd 43071 [00:00:59]save to /storage/0445/doc_00043071 [00:00:59]save last doc name /storage/0445/doc_00043071 to /storage/kkm_last_doc_name [00:00:59]save OK [00:00:59]Clear old archive folders... [00:00:59]Remove dir /storage/0266 [00:00:59]opendir ok [00:00:59]file . [00:00:59]file .. [00:00:59]file doc_1720915213 [00:00:59]remove file /storage/0266/doc_1720915213 [00:00:59]remove dir /storage/0266 [00:00:59]NVStorageSaveData kkm_registers [00:00:59]File name is /storage/kkm_registers [00:00:59]Write 24 bytes [00:00:59]NVStorageSaveData done [00:00:59]NVStorageSaveData kkm_registers [00:00:59]File name is /storage/kkm_registers [00:00:59]Write 24 bytes [00:00:59]NVStorageSaveData done [00:00:59]ProcessDocumentItem done err = 0, tmpTLVsize=1382 [00:00:59]tlvbuf is 0170E950 [00:00:59]SAM_PROTO_ClearQueue [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 09 00 00 [00:00:59]Write to MH i2c: E2 08 00 5B 26 80 09 00 00 00 00 00 00 F3 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 5B 26 00 90 00 F5 [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_ClearQueue done [00:00:59]KKMCreateOFDPacket [00:00:59]OFDProtocolAddRootSTLVToBuf [00:00:59]FM_MakeSignedData [00:00:59]FM_MakeSignedData [00:00:59]SAM_PROTO_SignData [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 0D 01 02 [00:00:59]Write to MH i2c: E2 08 00 5C 26 80 0D 01 02 00 00 00 00 FB [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 5C 26 00 90 00 F6 [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=255 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 0D 02 02 FA 05 00 66 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 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E F4 03 04 00 39 15 93 66 0E 04 04 00 BD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 D5 04 6E 04 04 00 73 00 00 00 69 04 A2 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 [00:00:59]Write to MH i2c: E2 02 01 5D 26 80 0D 02 02 FA 00 05 00 66 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 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E F4 03 04 00 39 15 93 66 0E 04 04 00 BD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 D5 04 6E 04 04 00 73 00 00 00 69 04 A2 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 00 0E [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 03 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 03 00 5D 26 00 90 00 F7 [00:01:00]RAPDU: 90 00 [00:01:00]wFMCommunicate OK [00:01:00]wFMCommunicate request_size=255 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 0D 02 02 FA 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 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:01:00]Write to MH i2c: E2 02 01 5E 26 80 0D 02 02 FA 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 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 00 C9 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 5E 26 00 90 00 F8 [00:01:01]RAPDU: 90 00 [00:01:01]wFMCommunicate OK [00:01:01]wFMCommunicate request_size=255 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 [00:01:01]Write to MH i2c: E2 02 01 5F 26 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 00 C5 [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 03 00 5F 26 00 90 00 F9 [00:01:01]RAPDU: 90 00 [00:01:01]wFMCommunicate OK [00:01:01]wFMCommunicate request_size=255 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 0D 02 02 FA 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:01:01]Write to MH i2c: E2 02 01 60 26 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 C5 [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 03 00 60 26 00 90 00 FA [00:01:02]RAPDU: 90 00 [00:01:02]wFMCommunicate OK [00:01:02]wFMCommunicate request_size=255 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 OFD Sender: No OFD packet to send [00:01:02]F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 [00:01:02]Write to MH i2c: E2 02 01 61 26 80 0D 02 02 FA 00 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 00 00 8B [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 61 26 00 90 00 FB [00:01:03]RAPDU: 90 00 [00:01:03]wFMCommunicate OK [00:01:03]wFMCommunicate request_size=141 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 0D 02 02 88 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 86 1F 12 E3 E3 7A [00:01:03]Write to MH i2c: E2 90 00 62 26 80 0D 02 02 88 00 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 86 1F 12 E3 E3 7A 00 00 26 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 03 00 62 26 00 90 00 FC [00:01:03]RAPDU: 90 00 [00:01:03]wFMCommunicate OK [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 0D 03 02 [00:01:03]Write to MH i2c: E2 08 00 63 26 80 0D 03 02 00 00 00 00 04 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 0B 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 0B 00 63 26 00 AD BC F9 B5 50 F1 31 44 90 00 D2 [00:01:03]RAPDU: AD BC F9 B5 50 F1 31 44 90 00 [00:01:03]wFMCommunicate OK [00:01:03]SAM_PROTO_SignData done [00:01:03]FM_MakeSignedData done [00:01:03]CreateOFDProtocolMessage [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 11 00 00 [00:01:03]Write to MH i2c: E2 08 00 64 26 80 11 00 00 00 00 00 00 04 [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 17 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 17 00 64 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 5B [00:01:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [00:01:03]wFMCommunicate OK [00:01:03]CreateOFDProtocolMessage done [00:01:03]OFDSenderStorePacket 43071 [00:01:03]StoreOFDPacket docnum=43071 [00:01:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 7A 05 00 00 C4 00 72 05 1B 9D 5A 05 01 00 05 00 66 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 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E F4 03 04 00 39 15 93 66 0E 04 04 00 BD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 D5 04 6E 04 04 00 73 00 00 00 69 04 A2 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 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 3F A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 86 1F 12 E3 E3 7A AD BC F9 B5 50 F1 31 44 [00:01:04]CheckFolder [00:01:04]dirname=/storage/ofd_packets [00:01:04]CheckFolder done [00:01:04]ProducePacketName [00:01:04]name=ofd_packets/00043071 [00:01:04]NVStorageSaveData ofd_packets/00043071 [00:01:04]File name is /storage/ofd_packets/00043071 [00:01:04]Write 1432 bytes [00:01:04]NVStorageSaveData done [00:01:04]OFDSenderStorePacket done [00:01:04]KKMCreateOFDPacket done [00:01:04]NVStorageSaveData kkm_last_timestamp [00:01:04]File name is /storage/kkm_last_timestamp [00:01:04]Write 4 bytes [00:01:04]NVStorageSaveData done [00:01:04]ExternCall_PrintAddStr [00:01:04]wPrintStart [00:01:04]Write to MH i2c: 01 00 00 65 26 8B [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: 01 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: 01 07 00 [00:01:04]MH_I2C_Read... [00:01:04]OFD Sender: Processing packet 43071 [packets to send 31, broken 30] [00:01:04]ProducePacketName [00:01:04]name=ofd_packets/00043071 [00:01:04]OFD Sender: To server: pG, [00:01:04]CommunicateWithHost lk.salyk.kg:30040 [00:01:04]ConnectInit lk.salyk.kg [00:01:04]Read from MH i2c: 01 07 00 65 26 00 00 00 00 00 FF 0F A0 [00:01:04]RasterBufferAndPrint [00:01:04]line Отчет о закрытии смены [00:01:04]line ФФД: 1.0 [00:01:04]line ИНН: 02508201610067 [00:01:04]line Кассир: Тураткулов Б. [00:01:04]line 14.07.2024 00:00 [00:01:04]line Смена: 445 [00:01:04]line РНМ: 0000000000091176 [00:01:04]line ЗНМ: 0300000153 [00:01:04]line СНО: Общий режим [00:01:04]line Чеков за смену: 115 [00:01:04]line ФД за смену: 117 [00:01:04]line Всего чеков: 115 [00:01:04]line ИТОГИ ПРИХОД [00:01:04]line Чеков: 115 [00:01:04]line Общий итог: 21157.00 [00:01:04]line Итого наличными: 18599.00 [00:01:04]line Итого безнал.: 2558.00 [00:01:04]line НДС 0% : 0.00 [00:01:04]line НДС 12% : 2246.67 [00:01:04]line НСП 0% : 0.00 [00:01:04]line НСП 1,50% : 0.00 [00:01:04]line НСП 0,50% : 0.00 [00:01:04]line НСП 5% : 0.00 [00:01:04]line НСП 3% : 0.00 [00:01:04]line НСП 2% : 0.00 [00:01:04]line НСП 1% : 187.09 [00:01:04]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:04]line Чеков: 0 [00:01:04]line Общий итог: 0.00 [00:01:04]line Итого наличными: 0.00 [00:01:04]line Итого безнал.: 0.00 [00:01:04]line НДС 0% : 0.00 [00:01:04]line НДС 12% : 0.00 [00:01:04]line НСП 0% : 0.00 [00:01:04]line НСП 1,50% : 0.00 [00:01:04]line НСП 0,50% : 0.00 [00:01:04]line НСП 5% : 0.00 [00:01:04]line НСП 3% : 0.00 [00:01:04]line НСП 2% : 0.00 [00:01:04]line НСП 1% : 0.00 [00:01:04]line ИТОГИ РАСХОД [00:01:04]line Чеков: 0 [00:01:04]line Общий итог: 0.00 [00:01:04]line Итого наличными: 0.00 [00:01:04]line Итого безнал.: 0.00 [00:01:04]line НДС 0% : 0.00 [00:01:04]line НДС 12% : 0.00 [00:01:04]line НСП 0% : 0.00 [00:01:04]line НСП 1,50% : 0.00 [00:01:04]line НСП 0,50% : 0.00 [00:01:04]line НСП 5% : 0.00 [00:01:04]line НСП 3% : 0.00 [00:01:04]line НСП 2% : 0.00 [00:01:04]line НСП 1% : 0.00 [00:01:04]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:04]line Чеков: 0 [00:01:04]line Общий итог: 0.00 [00:01:04]line Итого наличными: 0.00 [00:01:04]line Итого безнал.: 0.00 [00:01:04]line НДС 0% : 0.00 [00:01:04]line НДС 12% : 0.00 [00:01:04]line НСП 0% : 0.00 [00:01:04]line НСП 1,50% : 0.00 [00:01:04]line НСП 0,50% : 0.00 [00:01:04]line НСП 5% : 0.00 [00:01:04]line НСП 3% : 0.00 [00:01:04]line НСП 2% : 0.00 [00:01:04]line НСП 1% : 0.00 [00:01:04]line Сумма внесений: 0.00 [00:01:04]line Сумма выплат: 0.00 [00:01:04]line Нал. в кассе: 18599.00 [00:01:04]line НС Приход: 11772282.58 [00:01:04]line НС Возвр.Прихода: 148113.00 [00:01:04]line НС Расход: 0.00 [00:01:04]line НС Возвр.Расхода: 0.00 [00:01:04]line ФД: 43071 [00:01:04]line ФМ: 0000000000874935 [00:01:04]line ФПД: 147468019032954 [00:01:04]written 0, free lines is 4095 [00:01:04]Connected sock=10 [00:01:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 7A 05 00 00 C4 00 72 05 1B 9D 5A 05 01 00 05 00 66 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 18 00 D0 A2 D1 83 D1 80 D0 B0 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 20 D0 91 2E F4 03 04 00 39 15 93 66 0E 04 04 00 BD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 AA 04 D5 04 6E 04 04 00 73 00 00 00 69 04 A2 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 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 Write to MH i2c: EF 01 03 00 0A 00 00 B5 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 26 02 DB 78 [00:01:05]04 Write i2c OK [00:01:05]04 MH_I2C_Read... [00:01:05]00 00 00 Read from MH i2c: 00 01 00 [00:01:05]79 MH_I2C_Read... [00:01:05]04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 Read from MH i2c: 04 01 00 07 00 00 72 [00:01:05]04 MH_I2C_Read... [00:01:05]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 Read from MH i2c: F6 01 07 03 00 01 B5 00 26 05 00 F7 00 03 00 00 00 00 00 C9 EF 0A 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 B5 04 [00:01:05]8D RasterBufferAndPrint [00:01:05]00 line [00:01:05]6F line [00:01:05]04 line [00:01:05]04 00 00 00 00 00 B1 04 00 00 70 04 00 line [00:01:05]00 line [00:01:05]72 04 written 0, free lines is 3171 [00:01:05]00 00 00 04 75 00 EE 03 09 00 F2 03 MH_Cut [00:01:05]01 Write to MH i2c: 00 D1 00 01 00 F3 BC 03 26 00 01 00 B4 EE [00:01:05]03 09 00 F2 03 01 00 01 F3 03 00 00 EF Write i2c OK [00:01:05]03 MH_I2C_Read... [00:01:05]09 Read from MH i2c: 00 F6 03 01 00 00 F7 03 00 D1 00 [00:01:05]EF MH_I2C_Read... [00:01:05]03 Read from MH i2c: 09 D1 00 01 00 [00:01:05]MH_I2C_Read... [00:01:05]F6 03 01 00 01 F7 03 00 Read from MH i2c: 00 D1 EF 03 09 00 F6 03 01 00 02 F7 01 03 00 00 00 EF 03 09 00 F6 03 01 00 BC 03 26 00 B3 [00:01:05]Write to MH i2c: 01 00 00 BD 26 F7 E3 [00:01:05]Write i2c OK [00:01:05]03 MH_I2C_Read... [00:01:05]00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 86 1F 12 E3 E3 7A AD BC F9 B5 50 F1 31 44 [00:01:06]*** Cut start [00:01:06]*** Partial cut [00:01:06]*** CUTSNS_PIN = 1 [00:01:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 8B CB 47 00 7D 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 *** CUTSNS_PIN = 0 [00:01:06]30 30 30 30 38 37 34 39 33 35 10 04 04 00 3F A8 00 00 F4 03 04 00 3E C1 92 66 B6 04 01 00 00 9C DA A6 1B A3 D1 72 0A [00:01:06]*** Brake cut motor [00:01:06]CommunicateWithHost err = 0 [00:01:06]CheckOFDResponse [00:01:06]1017 (14) - 77093643461234 [00:01:06]1041 (16) - 0000000000874935 [00:01:06]1040 (4) - 43071 [00:01:06]1012 (4) - 13.07.2024 18:02 [00:01:06]1206 (1) - 0 [00:01:06]OFD Sender: Remove packet 43071 [00:01:06]ProducePacketName [00:01:06]name=ofd_packets/00043071 [00:01:06]NVStorageDeleteData [00:01:06]Read from MH i2c: 01 [00:01:06]MH_I2C_Read... [00:01:06]*** Stop cut motor [00:01:06]*** Cut end [00:01:06]Read from MH i2c: 01 07 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: 01 07 00 BD 26 00 00 00 00 00 FF 0F F8 [00:01:06]process_action close_shift done [00:01:06]requested_data is exist [00:01:06]produce_requested_data [00:01:06]requested_item fd.num is exist - process it [00:01:06]SAM_PROTO_GetFieldsCounters [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 13 00 00 [00:01:06]Write to MH i2c: E2 08 00 BE 26 80 13 00 00 00 00 00 00 60 [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 62 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 62 00 BE 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [00:01:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 OFD Sender: No OFD packet to send [00:01:07]34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetFieldsCounters done [00:01:07]requested_item shift.num is exist - process it [00:01:07]requested_item shift.opened is exist - process it [00:01:07]req_shift_opened [00:01:07]FM_GetShiftState [00:01:07]SAM_PROTO_GetShiftState [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 01 00 [00:01:07]Write to MH i2c: E2 08 00 BF 26 80 13 01 00 00 00 00 00 62 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 BF 26 00 09 00 00 00 00 00 00 00 00 00 00 90 00 6D [00:01:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetShiftState done [00:01:07]FM_GetShiftState done [00:01:07]req_shift_opened done [00:01:07]requested_item shift.open_date is exist - process it [00:01:07]req_shift_open_date [00:01:07]FM_GetShiftState [00:01:07]SAM_PROTO_GetShiftState [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 01 00 [00:01:07]Write to MH i2c: E2 08 00 C0 26 80 13 01 00 00 00 00 00 63 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 C0 26 00 09 00 00 00 00 00 00 00 00 00 00 90 00 6E [00:01:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetShiftState done [00:01:07]FM_GetShiftState done [00:01:07]req_shift_open_date done [00:01:07]produce_requested_data done [00:01:07]produce_requested_data return {"fd.num":43071,"shift.num":445,"shift.opened":0,"shift.open_date":0} [00:01:07]process_action_free close_shift [00:01:07]json_value_free [00:01:07]json_value_free done [00:01:07]process_json_proto returns [00:01:07]Send response to host [00:01:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":43071,"shift.num":445,"shift.opened":0,"shift.open_date":0}}} [00:01:07]free response buf [00:01:07]execute_script done [00:01:07]execute_script returns [00:01:07]free content buf [00:01:07]Sock 7.Close socket [00:01:07]Sock 7.Thread stoped [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]accept exits with 9 [00:13:52]New connection [00:13:52]New thread 3067387236 created [00:13:52]Thread 3067530596 joined [00:13:52]Waiting for new connection... [00:13:52] Sock 9.Parse request [00:13:52]Sock 9.Check first char [00:13:52]Sock 9.First char is OK [00:13:52]request: POST /json_proto HTTP/1.0 [00:13:52]Method: POST [00:13:52]URL: /json_proto [00:13:52]Method is POST - this is cgi request [00:13:52]url: /json_proto [00:13:52]query_string will be loaded in cgi processing [00:13:52]execute_cgi json_proto POST (null) [00:13:52]execute_cgi path=json_proto method=POST [00:13:52]POST find Content-Length [00:13:52]Host: 172.17.38.197:8080 [00:13:52]Content-Length: 215 [00:13:52]Content-Type: application/json [00:13:52] [00:13:52]POST finish read [00:13:52]Found Content-Length = 215 [00:13:52]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:13:52]execute_script... [00:13:52]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:13:52]POST & json_proto [00:13:52]process_json_proto [00:13:52]json parsed OK: [00:13:52]protocol is kg_v1.0 [00:13:52]action value=get_value [00:13:52]process_action get_value [00:13:52]cmd_get_value [00:13:52]process_action get_value done [00:13:52]requested_data is exist [00:13:52]produce_requested_data [00:13:52]requested_item kkm.sn is exist - process it [00:13:52]requested_item kkm.ver is exist - process it [00:13:52]requested_item fm.sn is exist - process it [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 11 00 00 [00:13:52]Write to MH i2c: E2 08 00 C1 26 80 11 00 00 00 00 00 00 61 [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:52]Read from MH i2c: E2 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 17 00 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 17 00 C1 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B8 [00:13:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [00:13:52]wFMCommunicate OK [00:13:52]requested_item fd.num is exist - process it [00:13:52]SAM_PROTO_GetFieldsCounters [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 13 00 00 [00:13:52]Write to MH i2c: E2 08 00 C2 26 80 13 00 00 00 00 00 00 64 [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]OFD Sender: No OFD packet to send [00:13:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:13:52]Read from MH i2c: E2 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 62 00 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 62 00 C2 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [00:13:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 3F A8 00 00 0E 04 04 00 BD 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:13:52]wFMCommunicate OK [00:13:52]SAM_PROTO_GetFieldsCounters done [00:13:52]requested_item shift.num is exist - process it [00:13:52]requested_item shift.opened is exist - process it [00:13:52]req_shift_opened [00:13:52]FM_GetShiftState [00:13:52]SAM_PROTO_GetShiftState [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 13 01 00 [00:13:52]Write to MH i2c: E2 08 00 C3 26 80 13 01 00 00 00 00 00 66 [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:52]Read from MH i2c: E2 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 0E 00 [00:13:52]MH_I2C_Read... [00:13:52]Read from MH i2c: E2 0E 00 C3 26 00 09 00 00 00 00 00 00 00 00 00 00 90 00 71 [00:13:52]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:52]wFMCommunicate OK [00:13:52]SAM_PROTO_GetShiftState done [00:13:52]FM_GetShiftState done [00:13:52]req_shift_opened done [00:13:52]requested_item shift.open_date is exist - process it [00:13:52]req_shift_open_date [00:13:52]FM_GetShiftState [00:13:52]SAM_PROTO_GetShiftState [00:13:52]wFMCommunicate request_size=4 [00:13:52]MH_SAM_APDU [00:13:52]CAPDU: 80 13 01 00 [00:13:52]Write to MH i2c: E2 08 00 C4 26 80 13 01 00 00 00 00 00 67 [00:13:52]Write i2c OK [00:13:52]MH_I2C_Read... [00:13:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:53]Read from MH i2c: E2 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 0E 00 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 0E 00 C4 26 00 09 00 00 00 00 00 00 00 00 00 00 90 00 72 [00:13:53]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:53]wFMCommunicate OK [00:13:53]SAM_PROTO_GetShiftState done [00:13:53]FM_GetShiftState done [00:13:53]req_shift_open_date done [00:13:53]produce_requested_data done [00:13:53]produce_requested_data return {"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43071,"shift.num":445,"shift.opened":0,"shift.open_date":0} [00:13:53]process_action_free get_value [00:13:53]json_value_free [00:13:53]json_value_free done [00:13:53]process_json_proto returns [00:13:53]Send response to host [00:13:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000153","kkm.ver":"001","fm.sn":"0000000000874935","fd.num":43071,"shift.num":445,"shift.opened":0,"shift.open_date":0}}} [00:13:53]free response buf [00:13:53]execute_script done [00:13:53]execute_script returns [00:13:53]free content buf [00:13:53]Sock 9.Close socket [00:13:53]Sock 9.Thread stoped [00:13:53]accept exits with 10 [00:13:53]New connection [00:13:53]New thread 3067530596 created [00:13:53]Thread 3067387236 joined [00:13:53]Waiting for new connection... [00:13:53] Sock 10.Parse request [00:13:53]Sock 10.Check first char [00:13:53]Sock 10.First char is OK [00:13:53]request: POST /json_proto HTTP/1.0 [00:13:53]Method: POST [00:13:53]URL: /json_proto [00:13:53]Method is POST - this is cgi request [00:13:53]url: /json_proto [00:13:53]query_string will be loaded in cgi processing [00:13:53]execute_cgi json_proto POST (null) [00:13:53]execute_cgi path=json_proto method=POST [00:13:53]POST find Content-Length [00:13:53]Host: 172.17.38.197:8080 [00:13:53]Content-Length: 331 [00:13:53]Content-Type: application/json [00:13:53] [00:13:53]POST finish read [00:13:53]Found Content-Length = 331 [00:13:53]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:13:53]execute_script... [00:13:53]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:13:53]POST & json_proto [00:13:53]process_json_proto [00:13:53]json parsed OK: [00:13:53]protocol is kg_v1.0 [00:13:53]action value=get_value [00:13:53]process_action get_value [00:13:53]cmd_get_value [00:13:53]process_action get_value done [00:13:53]requested_data is exist [00:13:53]produce_requested_data [00:13:53]requested_item fm.sale.total is exist - process it [00:13:53]SAM_PROTO_GetFMData [00:13:53]wFMCommunicate request_size=4 [00:13:53]MH_SAM_APDU [00:13:53]CAPDU: 80 13 03 00 [00:13:53]Write to MH i2c: E2 08 00 C5 26 80 13 03 00 00 00 00 00 6A [00:13:53]Write i2c OK [00:13:53]MH_I2C_Read... [00:13:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:13:53]Read from MH i2c: E2 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 [00:13:53]MH_I2C_Read... [00:13:53]Read from MH i2c: E2 FD 00 C5 26 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 94 [00:13:53]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:13:53]wFMCommunicate OK [00:13:53]wFMCommunicate request_size=4 [00:13:53]MH_SAM_APDU [00:13:53]CAPDU: 80 17 00 00 [00:13:53]Write to MH i2c: E2 08 00 C6 26 80 17 00 00 00 00 00 00 6C [00:13:53]Write i2c OK [00:13:53]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 C6 26 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 A3 [00:13:54]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:13:54]wFMCommunicate OK [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 17 00 00 [00:13:54]Write to MH i2c: E2 08 00 C7 26 80 17 00 00 00 00 00 00 6D [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 C7 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [00:13:54]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:13:54]wFMCommunicate OK [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 17 00 00 [00:13:54]Write to MH i2c: E2 08 00 C8 26 80 17 00 00 00 00 00 00 6E [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 FD 00 C8 26 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 90 00 E8 [00:13:54]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:13:54]wFMCommunicate OK [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 17 00 00 [00:13:54]Write to MH i2c: E2 08 00 C9 26 80 17 00 00 00 00 00 00 6F [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:13:54]Read from MH i2c: E2 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 DC 00 [00:13:54]MH_I2C_Read... [00:13:54]Read from MH i2c: E2 DC 00 C9 26 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 53 [00:13:54]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:54]wFMCommunicate OK [00:13:54]SAM_PROTO_GetFMData done [00:13:54]requested_item fm.sale_refund.total is exist - process it [00:13:54]requested_item fm.buy.total is exist - process it [00:13:54]requested_item shift.sale.total is exist - process it [00:13:54]SAM_PROTO_GetShiftData [00:13:54]wFMCommunicate request_size=4 [00:13:54]MH_SAM_APDU [00:13:54]CAPDU: 80 13 02 00 [00:13:54]Write to MH i2c: E2 08 00 CA 26 80 13 02 00 00 00 00 00 6E [00:13:54]Write i2c OK [00:13:54]MH_I2C_Read... [00:13:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 CA 26 00 AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 35 [00:13:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 74 48 20 70 04 03 00 3C 61 1C 72 04 03 00 38 E7 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 9B 6D 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:13:55]wFMCommunicate OK [00:13:55]wFMCommunicate request_size=4 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 17 00 00 [00:13:55]Write to MH i2c: E2 08 00 CB 26 80 17 00 00 00 00 00 00 71 [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 CB 26 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 93 [00:13:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:13:55]wFMCommunicate OK [00:13:55]wFMCommunicate request_size=4 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 17 00 00 [00:13:55]Write to MH i2c: E2 08 00 CC 26 80 17 00 00 00 00 00 00 72 [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:55]Read from MH i2c: E2 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 [00:13:55]MH_I2C_Read... [00:13:55]Read from MH i2c: E2 FD 00 CC 26 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 29 [00:13:55]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:13:55]wFMCommunicate OK [00:13:55]wFMCommunicate request_size=4 [00:13:55]MH_SAM_APDU [00:13:55]CAPDU: 80 17 00 00 [00:13:55]Write to MH i2c: E2 08 00 CD 26 80 17 00 00 00 00 00 00 73 [00:13:55]Write i2c OK [00:13:55]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 FD 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 FD 00 CD 26 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E5 [00:13:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:13:56]wFMCommunicate OK [00:13:56]wFMCommunicate request_size=4 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 17 00 00 [00:13:56]Write to MH i2c: E2 08 00 CE 26 80 17 00 00 00 00 00 00 74 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 CB 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 CB 00 CE 26 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5D [00:13:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:13:56]wFMCommunicate OK [00:13:56]SAM_PROTO_GetShiftData done [00:13:56]requested_item shift.sale.total_cash is exist - process it [00:13:56]requested_item shift.sale_refund.total is exist - process it [00:13:56]requested_item shift.sale_refund.total_cash is exist - process it [00:13:56]requested_item shift.buy.total is exist - process it [00:13:56]requested_item shift.buy.total_cash is exist - process it [00:13:56]produce_requested_data done [00:13:56]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:13:56]process_action_free get_value [00:13:56]json_value_free [00:13:56]json_value_free done [00:13:56]process_json_proto returns [00:13:56]Send response to host [00:13:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.00,"fm.buy.total":0.00,"shift.sale.total":21157.00,"shift.sale.total_cash":18599.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:13:56]free response buf [00:13:56]execute_script done [00:13:56]execute_script returns [00:13:56]free content buf [00:13:56]Sock 10.Close socket [00:13:56]Sock 10.Thread stoped [00:13:56]accept exits with 7 [00:13:56]New connection [00:13:56]New thread 3067387236 created [00:13:56]Thread 3067530596 joined [00:13:56]Waiting for new connection... [00:13:56] Sock 7.Parse request [00:13:56]Sock 7.Check first char [00:13:56]Sock 7.First char is OK [00:13:56]request: POST /json_proto HTTP/1.0 [00:13:56]Method: POST [00:13:56]URL: /json_proto [00:13:56]Method is POST - this is cgi request [00:13:56]url: /json_proto [00:13:56]query_string will be loaded in cgi processing [00:13:56]execute_cgi json_proto POST (null) [00:13:56]execute_cgi path=json_proto method=POST [00:13:56]POST find Content-Length [00:13:56]Host: 172.17.38.197:8080 [00:13:56]Content-Length: 276 [00:13:56]Content-Type: application/json [00:13:56] [00:13:56]POST finish read [00:13:56]Found Content-Length = 276 [00:13:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0430\u0437\u0430\u0440\u0430\u043B\u0438\u0435\u0432\u0430 \u0421." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:56]execute_script... [00:13:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0430\u0437\u0430\u0440\u0430\u043B\u0438\u0435\u0432\u0430 \u0421." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:13:56]POST & json_proto [00:13:56]process_json_proto [00:13:56]json parsed OK: [00:13:56]protocol is kg_v1.0 [00:13:56]action value=open_shift [00:13:56]process_action open_shift [00:13:56]cmd_open_shift [00:13:56]MH_GetDate [00:13:56]Write to MH i2c: F0 00 00 CF 26 E4 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 09 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 09 00 CF 26 00 4A 18 93 66 1E 0D 88 66 61 [00:13:56]GetLastDocTimeStamp 1720915257 [00:13:56]current date 1720916042 [00:13:56]FM_GetShiftState [00:13:56]SAM_PROTO_GetShiftState [00:13:56]wFMCommunicate request_size=4 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 13 01 00 [00:13:56]Write to MH i2c: E2 08 00 D0 26 80 13 01 00 00 00 00 00 73 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 0E 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 0E 00 D0 26 00 09 00 00 00 00 00 00 00 00 00 00 90 00 7E [00:13:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:13:56]wFMCommunicate OK [00:13:56]SAM_PROTO_GetShiftState done [00:13:56]FM_GetShiftState done [00:13:56]KKMCreateOpenShiftDocument [00:13:56]Load OK [00:13:56]Malloc new data [00:13:56]MH_GetDate [00:13:56]Write to MH i2c: F0 00 00 D1 26 E6 [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 09 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: F0 09 00 D1 26 00 4A 18 93 66 1E 0D 88 66 63 [00:13:56]Malloc new data [00:13:56]KKMCreateOpenShiftDocument OK [00:13:56]KKMSetOpenShiftData OK [00:13:56]ProcessDocumentItem done err = 0, tmpTLVsize=237 [00:13:56]tlvbuf is 01674C20 [00:13:56]KKMLoadAndSignOpenShiftData [00:13:56]SAM_PROTO_ProcessDocument [00:13:56]wFMCommunicate request_size=9 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 15 01 00 04 02 00 ED 00 [00:13:56]Write to MH i2c: E2 0C 00 D2 26 80 15 01 00 04 00 02 00 ED 00 00 00 6E [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 D2 26 00 90 00 6C [00:13:56]RAPDU: 90 00 [00:13:56]wFMCommunicate OK [00:13:56]wFMCommunicate request_size=23 [00:13:56]MH_SAM_APDU [00:13:56]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:13:56]Write to MH i2c: E2 1A 00 D3 26 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 6E [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:56]Read from MH i2c: E2 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: E2 03 00 D3 26 00 90 00 6D [00:13:56]RAPDU: 90 00 [00:13:56]wFMCommunicate OK [00:13:56]wFMCommunicate request_size=35 [00:13:56]MH_SAM_APDU [00:13:56]CAPDU: 80 15 02 00 1E FD 03 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E [00:13:56]Write to MH i2c: E2 26 00 D4 26 80 15 02 00 1E 00 FD 03 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E 00 00 EE [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 D4 26 00 90 00 6E [00:13:57]RAPDU: 90 00 [00:13:57]wFMCommunicate OK [00:13:57]wFMCommunicate request_size=121 [00:13:57]MH_SAM_APDU [00:13:57]CAPDU: 80 15 02 00 74 F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 [00:13:57]Write to MH i2c: E2 7C 00 D5 26 80 15 02 00 74 00 F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 00 00 96 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 D5 26 00 90 00 6F [00:13:57]RAPDU: 90 00 [00:13:57]wFMCommunicate OK [00:13:57]wFMCommunicate request_size=50 [00:13:57]MH_SAM_APDU [00:13:57]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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:13:57]Write to MH i2c: E2 35 00 D6 26 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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 F3 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 D6 26 00 90 00 70 [00:13:57]RAPDU: 90 00 [00:13:57]wFMCommunicate OK [00:13:57]wFMCommunicate request_size=13 [00:13:57]MH_SAM_APDU [00:13:57]CAPDU: 80 15 02 00 08 F4 03 04 00 4A 18 93 66 [00:13:57]Write to MH i2c: E2 10 00 D7 26 80 15 02 00 08 00 F4 03 04 00 4A 18 93 66 00 00 E3 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 D7 26 00 90 00 71 [00:13:57]RAPDU: 90 00 [00:13:57]wFMCommunicate OK [00:13:57]wFMCommunicate request_size=25 [00:13:57]MH_SAM_APDU [00:13:57]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 [00:13:57]Write to MH i2c: E2 1C 00 D8 26 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 00 00 DF [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 03 00 D8 26 00 90 00 72 [00:13:57]RAPDU: 90 00 [00:13:57]wFMCommunicate OK [00:13:57]wFMCommunicate request_size=4 [00:13:57]MH_SAM_APDU [00:13:57]CAPDU: 80 15 03 00 [00:13:57]Write to MH i2c: E2 08 00 D9 26 80 15 03 00 00 00 00 00 80 [00:13:57]Write i2c OK [00:13:57]MH_I2C_Read... [00:13:57]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:13:57]Read from MH i2c: E2 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 38 00 [00:13:57]MH_I2C_Read... [00:13:57]Read from MH i2c: E2 38 00 D9 26 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 40 A8 00 00 0E 04 04 00 BE 01 00 00 35 04 06 00 76 5A AF 1F F4 32 90 00 BB [00:13:57]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 40 A8 00 00 0E 04 04 00 BE 01 00 00 35 04 06 00 76 5A AF 1F F4 32 90 00 [00:13:57]wFMCommunicate OK [00:13:57]SAM_PROTO_ProcessDocument answer len = 51 [00:13:57]SAM_PROTO_ProcessDocument done [00:13:57]SetTLVBufToDocument [00:13:57]Processing tag 1209 (04B9) [00:13:57]Malloc new data [00:13:57]Processing tag 1041 (0411) [00:13:57]Processing tag 1040 (0410) [00:13:57]Malloc new data [00:13:57]Processing tag 1038 (040E) [00:13:57]Malloc new data [00:13:57]Processing tag 1077 (0435) [00:13:57]Malloc new data [00:13:57]SetTLVBufToDocument err=0 [00:13:57]KKMLoadAndSignOpenShiftData store KKM data [00:13:57]KKMLoadAndSignOpenShiftData err=0 [00:13:57]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Назаралиева С. Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 Место: АЗС № 71 "Партнер Нефть" 14.07.2024 00:14 Смена: 446 РНМ: 0000000000091176 ЗНМ: 0300000153 ФД: 43072 ФМ: 0000000000874935 ФПД: 130131857241138 [00:13:57]StoreToDocumentArchive [00:13:57]shift 446 fd 43072 [00:13:57]Create dir for shift 0446 [00:13:57]save to /storage/0446/doc_00043072 [00:13:57]save last doc name /storage/0446/doc_00043072 to /storage/kkm_last_doc_name [00:13:57]save OK [00:13:57]Clear old archive folders... [00:13:57]Remove dir /storage/0445 [00:13:57]opendir ok [00:13:57]file . [00:13:57]file .. [00:13:57]file doc_00042955 [00:13:57]remove file /storage/0445/doc_00042955 [00:13:57]file doc_00042956 [00:13:57]remove file /storage/0445/doc_00042956 [00:13:57]file doc_00042957 [00:13:57]remove file /storage/0445/doc_00042957 [00:13:57]file doc_00042958 [00:13:57]remove file /storage/0445/doc_00042958 [00:13:57]file doc_00042959 [00:13:57]remove file /storage/0445/doc_00042959 [00:13:57]file doc_00042960 [00:13:57]remove file /storage/0445/doc_00042960 [00:13:57]file doc_00042961 [00:13:57]remove file /storage/0445/doc_00042961 [00:13:57]file doc_00042962 [00:13:57]remove file /storage/0445/doc_00042962 [00:13:57]file doc_00042963 [00:13:57]remove file /storage/0445/doc_00042963 [00:13:57]file doc_00042964 [00:13:57]remove file /storage/0445/doc_00042964 [00:13:57]file doc_00042965 [00:13:57]remove file /storage/0445/doc_00042965 [00:13:57]file doc_00042966 [00:13:57]remove file /storage/0445/doc_00042966 [00:13:57]file doc_00042967 [00:13:57]remove file /storage/0445/doc_00042967 [00:13:57]file doc_00042968 [00:13:57]remove file /storage/0445/doc_00042968 [00:13:57]file doc_00042969 [00:13:57]remove file /storage/0445/doc_00042969 [00:13:57]file doc_00042970 [00:13:57]remove file /storage/0445/doc_00042970 [00:13:57]file doc_00042971 [00:13:57]remove file /storage/0445/doc_00042971 [00:13:57]file doc_00042972 [00:13:57]remove file /storage/0445/doc_00042972 [00:13:57]file doc_00042973 [00:13:57]remove file /storage/0445/doc_00042973 [00:13:57]file doc_00042974 [00:13:57]remove file /storage/0445/doc_00042974 [00:13:57]file doc_00042975 [00:13:57]remove file /storage/0445/doc_00042975 [00:13:57]file doc_00042976 [00:13:57]remove file /storage/0445/doc_00042976 [00:13:57]file doc_00042977 [00:13:57]remove file /storage/0445/doc_00042977 [00:13:57]file doc_00042978 [00:13:57]remove file /storage/0445/doc_00042978 [00:13:57]file doc_00042979 [00:13:57]remove file /storage/0445/doc_00042979 [00:13:57]file doc_00042980 [00:13:57]remove file /storage/0445/doc_00042980 [00:13:57]file doc_00042981 [00:13:57]remove file /storage/0445/doc_00042981 [00:13:57]file doc_00042982 [00:13:57]remove file /storage/0445/doc_00042982 [00:13:57]file doc_00042983 [00:13:57]remove file /storage/0445/doc_00042983 [00:13:57]file doc_00042984 [00:13:57]remove file /storage/0445/doc_00042984 [00:13:57]file doc_00042985 [00:13:57]remove file /storage/0445/doc_00042985 [00:13:57]file doc_00042986 [00:13:57]remove file /storage/0445/doc_00042986 [00:13:57]file doc_00042987 [00:13:57]remove file /storage/0445/doc_00042987 [00:13:57]file doc_00042988 [00:13:57]remove file /storage/0445/doc_00042988 [00:13:57]file doc_00042989 [00:13:57]remove file /storage/0445/doc_00042989 [00:13:57]file doc_00042990 [00:13:57]remove file /storage/0445/doc_00042990 [00:13:57]file doc_00042991 [00:13:57]remove file /storage/0445/doc_00042991 [00:13:57]file doc_00042992 [00:13:57]remove file /storage/0445/doc_00042992 [00:13:57]file doc_00042993 [00:13:57]remove file /storage/0445/doc_00042993 [00:13:57]file doc_00042994 [00:13:57]remove file /storage/0445/doc_00042994 [00:13:57]file doc_00042995 [00:13:57]remove file /storage/0445/doc_00042995 [00:13:57]file doc_00042996 [00:13:57]remove file /storage/0445/doc_00042996 [00:13:57]file doc_00042997 [00:13:57]remove file /storage/0445/doc_00042997 [00:13:57]file doc_00042998 [00:13:57]remove file /storage/0445/doc_00042998 [00:13:57]file doc_00042999 [00:13:57]remove file /storage/0445/doc_00042999 [00:13:57]file doc_00043000 [00:13:57]remove file /storage/0445/doc_00043000 [00:13:57]file doc_00043001 [00:13:57]remove file /storage/0445/doc_00043001 [00:13:57]file doc_00043002 [00:13:57]remove file /storage/0445/doc_00043002 [00:13:57]file doc_00043003 [00:13:57]remove file /storage/0445/doc_00043003 [00:13:57]file doc_00043004 [00:13:57]remove file /storage/0445/doc_00043004 [00:13:57]file doc_00043005 [00:13:57]remove file /storage/0445/doc_00043005 [00:13:57]file doc_00043006 [00:13:57]remove file /storage/0445/doc_00043006 [00:13:57]file doc_00043007 [00:13:57]remove file /storage/0445/doc_00043007 [00:13:57]file doc_00043008 [00:13:57]remove file /storage/0445/doc_00043008 [00:13:57]file doc_00043009 [00:13:57]remove file /storage/0445/doc_00043009 [00:13:57]file doc_00043010 [00:13:57]remove file /storage/0445/doc_00043010 [00:13:57]file doc_00043011 [00:13:57]remove file /storage/0445/doc_00043011 [00:13:57]file doc_00043012 [00:13:57]remove file /storage/0445/doc_00043012 [00:13:57]file doc_00043013 [00:13:57]remove file /storage/0445/doc_00043013 [00:13:57]OFD Sender: No OFD packet to send [00:13:57]file doc_00043014 [00:13:57]remove file /storage/0445/doc_00043014 [00:13:57]file doc_00043015 [00:13:57]remove file /storage/0445/doc_00043015 [00:13:57]file doc_00043016 [00:13:57]remove file /storage/0445/doc_00043016 [00:13:57]file doc_00043017 [00:13:57]remove file /storage/0445/doc_00043017 [00:13:57]file doc_00043018 [00:13:57]remove file /storage/0445/doc_00043018 [00:13:57]file doc_00043019 [00:13:57]remove file /storage/0445/doc_00043019 [00:13:57]file doc_00043020 [00:13:57]remove file /storage/0445/doc_00043020 [00:13:57]file doc_00043021 [00:13:57]remove file /storage/0445/doc_00043021 [00:13:57]file doc_00043022 [00:13:57]remove file /storage/0445/doc_00043022 [00:13:57]file doc_00043023 [00:13:57]remove file /storage/0445/doc_00043023 [00:13:57]file doc_00043024 [00:13:57]remove file /storage/0445/doc_00043024 [00:13:57]file doc_00043025 [00:13:57]remove file /storage/0445/doc_00043025 [00:13:57]file doc_00043026 [00:13:57]remove file /storage/0445/doc_00043026 [00:13:57]file doc_00043027 [00:13:57]remove file /storage/0445/doc_00043027 [00:13:57]file doc_00043028 [00:13:57]remove file /storage/0445/doc_00043028 [00:13:57]file doc_00043029 [00:13:57]remove file /storage/0445/doc_00043029 [00:13:57]file doc_00043030 [00:13:57]remove file /storage/0445/doc_00043030 [00:13:57]file doc_00043031 [00:13:57]remove file /storage/0445/doc_00043031 [00:13:57]file doc_00043032 [00:13:57]remove file /storage/0445/doc_00043032 [00:13:57]file doc_00043033 [00:13:57]remove file /storage/0445/doc_00043033 [00:13:57]file doc_00043034 [00:13:57]remove file /storage/0445/doc_00043034 [00:13:57]file doc_00043035 [00:13:58]remove file /storage/0445/doc_00043035 [00:13:58]file doc_00043036 [00:13:58]remove file /storage/0445/doc_00043036 [00:13:58]file doc_00043037 [00:13:58]remove file /storage/0445/doc_00043037 [00:13:58]file doc_00043038 [00:13:58]remove file /storage/0445/doc_00043038 [00:13:58]file doc_00043039 [00:13:58]remove file /storage/0445/doc_00043039 [00:13:58]file doc_00043040 [00:13:58]remove file /storage/0445/doc_00043040 [00:13:58]file doc_00043041 [00:13:58]remove file /storage/0445/doc_00043041 [00:13:58]file doc_00043042 [00:13:58]remove file /storage/0445/doc_00043042 [00:13:58]file doc_00043043 [00:13:58]remove file /storage/0445/doc_00043043 [00:13:58]file doc_00043044 [00:13:58]remove file /storage/0445/doc_00043044 [00:13:58]file doc_00043045 [00:13:58]remove file /storage/0445/doc_00043045 [00:13:58]file doc_00043046 [00:13:58]remove file /storage/0445/doc_00043046 [00:13:58]file doc_00043047 [00:13:58]remove file /storage/0445/doc_00043047 [00:13:58]file doc_00043048 [00:13:58]remove file /storage/0445/doc_00043048 [00:13:58]file doc_00043049 [00:13:58]remove file /storage/0445/doc_00043049 [00:13:58]file doc_00043050 [00:13:58]remove file /storage/0445/doc_00043050 [00:13:58]file doc_00043051 [00:13:58]remove file /storage/0445/doc_00043051 [00:13:58]file doc_00043052 [00:13:58]remove file /storage/0445/doc_00043052 [00:13:58]file doc_00043053 [00:13:58]remove file /storage/0445/doc_00043053 [00:13:58]file doc_00043054 [00:13:58]remove file /storage/0445/doc_00043054 [00:13:58]file doc_00043055 [00:13:58]remove file /storage/0445/doc_00043055 [00:13:58]file doc_00043056 [00:13:58]remove file /storage/0445/doc_00043056 [00:13:58]file doc_00043057 [00:13:58]remove file /storage/0445/doc_00043057 [00:13:58]file doc_00043058 [00:13:58]remove file /storage/0445/doc_00043058 [00:13:58]file doc_00043059 [00:13:58]remove file /storage/0445/doc_00043059 [00:13:58]file doc_00043060 [00:13:58]remove file /storage/0445/doc_00043060 [00:13:58]file doc_00043061 [00:13:58]remove file /storage/0445/doc_00043061 [00:13:58]file doc_00043062 [00:13:58]remove file /storage/0445/doc_00043062 [00:13:58]file doc_00043063 [00:13:58]remove file /storage/0445/doc_00043063 [00:13:58]file doc_00043064 [00:13:58]remove file /storage/0445/doc_00043064 [00:13:58]file doc_00043065 [00:13:58]remove file /storage/0445/doc_00043065 [00:13:58]file doc_00043066 [00:13:58]remove file /storage/0445/doc_00043066 [00:13:58]file doc_00043067 [00:13:58]remove file /storage/0445/doc_00043067 [00:13:58]file doc_00043068 [00:13:58]remove file /storage/0445/doc_00043068 [00:13:58]file doc_00043069 [00:13:58]remove file /storage/0445/doc_00043069 [00:13:58]file doc_00043070 [00:13:58]remove file /storage/0445/doc_00043070 [00:13:58]file doc_00043071 [00:13:58]remove file /storage/0445/doc_00043071 [00:13:58]remove dir /storage/0445 [00:13:58]ProcessDocumentItem done err = 0, tmpTLVsize=288 [00:13:58]tlvbuf is 015C2D50 [00:13:58]SAM_PROTO_ClearQueue [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 09 00 00 [00:13:58]Write to MH i2c: E2 08 00 DA 26 80 09 00 00 00 00 00 00 72 [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:13:58]Read from MH i2c: E2 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 03 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 03 00 DA 26 00 90 00 74 [00:13:58]RAPDU: 90 00 [00:13:58]wFMCommunicate OK [00:13:58]SAM_PROTO_ClearQueue done [00:13:58]KKMCreateOFDPacket [00:13:58]OFDProtocolAddRootSTLVToBuf [00:13:58]FM_MakeSignedData [00:13:58]FM_MakeSignedData [00:13:58]SAM_PROTO_SignData [00:13:58]wFMCommunicate request_size=4 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 0D 01 02 [00:13:58]Write to MH i2c: E2 08 00 DB 26 80 0D 01 02 00 00 00 00 7A [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:13:58]Read from MH i2c: E2 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 03 00 [00:13:58]MH_I2C_Read... [00:13:58]Read from MH i2c: E2 03 00 DB 26 00 90 00 75 [00:13:58]RAPDU: 90 00 [00:13:58]wFMCommunicate OK [00:13:58]wFMCommunicate request_size=255 [00:13:58]MH_SAM_APDU [00:13:58]CAPDU: 80 0D 02 02 FA 02 00 20 01 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 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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 4A 18 93 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [00:13:58]Write to MH i2c: E2 02 01 DC 26 80 0D 02 02 FA 00 02 00 20 01 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 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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 4A 18 93 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 41 [00:13:58]Write i2c OK [00:13:58]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 03 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 03 00 DC 26 00 90 00 76 [00:13:59]RAPDU: 90 00 [00:13:59]wFMCommunicate OK [00:13:59]wFMCommunicate request_size=47 [00:13:59]MH_SAM_APDU [00:13:59]CAPDU: 80 0D 02 02 2A 31 31 37 36 10 04 04 00 40 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 76 5A AF 1F F4 32 [00:13:59]Write to MH i2c: E2 32 00 DD 26 80 0D 02 02 2A 00 31 31 37 36 10 04 04 00 40 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 76 5A AF 1F F4 32 00 00 EC [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 03 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 03 00 DD 26 00 90 00 77 [00:13:59]RAPDU: 90 00 [00:13:59]wFMCommunicate OK [00:13:59]wFMCommunicate request_size=4 [00:13:59]MH_SAM_APDU [00:13:59]CAPDU: 80 0D 03 02 [00:13:59]Write to MH i2c: E2 08 00 DE 26 80 0D 03 02 00 00 00 00 7F [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 0B 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 0B 00 DE 26 00 24 70 9D EE B8 4E 47 39 90 00 25 [00:13:59]RAPDU: 24 70 9D EE B8 4E 47 39 90 00 [00:13:59]wFMCommunicate OK [00:13:59]SAM_PROTO_SignData done [00:13:59]FM_MakeSignedData done [00:13:59]CreateOFDProtocolMessage [00:13:59]wFMCommunicate request_size=4 [00:13:59]MH_SAM_APDU [00:13:59]CAPDU: 80 11 00 00 [00:13:59]Write to MH i2c: E2 08 00 DF 26 80 11 00 00 00 00 00 00 7F [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:13:59]Read from MH i2c: E2 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 17 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: E2 17 00 DF 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D6 [00:13:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [00:13:59]wFMCommunicate OK [00:13:59]CreateOFDProtocolMessage done [00:13:59]OFDSenderStorePacket 43072 [00:13:59]StoreOFDPacket docnum=43072 [00:13:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 34 01 00 00 D6 13 2C 01 1E B2 5A 02 01 00 02 00 20 01 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 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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 4A 18 93 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 40 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 76 5A AF 1F F4 32 24 70 9D EE B8 4E 47 39 [00:13:59]CheckFolder [00:13:59]dirname=/storage/ofd_packets [00:13:59]CheckFolder done [00:13:59]ProducePacketName [00:13:59]name=ofd_packets/00043072 [00:13:59]NVStorageSaveData ofd_packets/00043072 [00:13:59]File name is /storage/ofd_packets/00043072 [00:13:59]Write 338 bytes [00:13:59]NVStorageSaveData done [00:13:59]OFDSenderStorePacket done [00:13:59]KKMCreateOFDPacket done [00:13:59]NVStorageSaveData kkm_last_timestamp [00:13:59]File name is /storage/kkm_last_timestamp [00:13:59]Write 4 bytes [00:13:59]NVStorageSaveData done [00:13:59]ExternCall_PrintAddStr [00:13:59]wPrintStart [00:13:59]Write to MH i2c: 01 00 00 E0 26 06 [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 07 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 07 00 E0 26 00 00 00 00 00 FF 0F 1B [00:13:59]RasterBufferAndPrint [00:13:59]line Отчет об открытии смены [00:13:59]line ФФД: 1.0 [00:13:59]line ИНН: 02508201610067 [00:13:59]line Кассир: Назаралиева С. [00:13:59]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [00:13:59]line Место: АЗС № 71 "Партнер Нефть" [00:13:59]line 14.07.2024 00:14 [00:13:59]line Смена: 446 [00:13:59]line РНМ: 0000000000091176 [00:13:59]line ЗНМ: 0300000153 [00:13:59]line ФД: 43072 [00:13:59]line ФМ: 0000000000874935 [00:13:59]line ФПД: 130131857241138 [00:13:59]written 0, free lines is 4095 [00:13:59]OFD Sender: Processing packet 43072 [packets to send 31, broken 30] [00:13:59]ProducePacketName [00:13:59]name=ofd_packets/00043072 [00:13:59]OFD Sender: To server: pG, [00:13:59]CommunicateWithHost lk.salyk.kg:30040 [00:13:59]ConnectInit lk.salyk.kg [00:13:59]Connected sock=10 [00:13:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 34 01 00 00 D6 13 2C 01 1E B2 5A 02 01 00 02 00 20 01 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 1A 00 D0 9D D0 B0 D0 B7 D0 B0 D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A1 2E F1 03 70 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 2D D0 90 D0 B4 D1 8B D1 80 2C 20 D1 83 D0 BB 2E 20 D0 9B D0 B5 D0 BD D0 B8 D0 BD D0 B0 20 37 39 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A2 D0 B0 D1 80 D0 B0 D0 B7 2C 20 34 32 2E 36 30 31 34 34 32 2C 20 37 31 2E 35 38 33 36 31 38 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 31 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 4A 18 93 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 40 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 35 04 06 00 76 5A AF 1F F4 32 24 70 9D EE B8 4E 47 39 [00:13:59]Write to MH i2c: 01 00 00 F2 26 18 [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 07 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: 01 07 00 F2 26 00 00 00 00 00 60 0E 8D [00:13:59]RasterBufferAndPrint [00:13:59]line [00:13:59]line [00:13:59]line [00:13:59]line [00:13:59]line [00:13:59]written 0, free lines is 3695 [00:13:59]MH_Cut [00:13:59]Write to MH i2c: D1 01 00 F9 26 01 F1 [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: D1 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: D1 01 00 [00:13:59]MH_I2C_Read... [00:13:59]Read from MH i2c: D1 01 00 F9 26 00 F0 [00:13:59]Write to MH i2c: 01 00 00 FA 26 20 [00:13:59]Write i2c OK [00:13:59]MH_I2C_Read... [00:13:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 DE 58 47 00 82 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 38 37 34 39 33 35 10 04 04 00 40 A8 00 00 F4 03 04 00 44 C4 92 66 B6 04 01 00 00 9A CB 06 E4 C7 00 BD B3 [00:13:59]CommunicateWithHost err = 0 [00:13:59]CheckOFDResponse [00:13:59]1017 (14) - 77093643461234 [00:13:59]1041 (16) - 0000000000874935 [00:13:59]1040 (4) - 43072 [00:13:59]1012 (4) - 13.07.2024 18:15 [00:13:59]1206 (1) - 0 [00:13:59]OFD Sender: Remove packet 43072 [00:13:59]ProducePacketName [00:13:59]name=ofd_packets/00043072 [00:13:59]NVStorageDeleteData [00:14:00]*** Cut start [00:14:00]*** Partial cut [00:14:00]*** CUTSNS_PIN = 1 [00:14:00]*** CUTSNS_PIN = 0 [00:14:00]OFD Sender: No OFD packet to send [00:14:00]*** Brake cut motor [00:14:00]Read from MH i2c: 01 [00:14:00]MH_I2C_Read... [00:14:00]*** Stop cut motor [00:14:00]*** Cut end [00:14:00]Read from MH i2c: 01 07 00 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: 01 07 00 FA 26 00 00 00 00 00 FF 0F 35 [00:14:00]process_action open_shift done [00:14:00]requested_data is exist [00:14:00]produce_requested_data [00:14:00]requested_item fd.num is exist - process it [00:14:00]SAM_PROTO_GetFieldsCounters [00:14:00]wFMCommunicate request_size=4 [00:14:00]MH_SAM_APDU [00:14:00]CAPDU: 80 13 00 00 [00:14:00]Write to MH i2c: E2 08 00 FB 26 80 13 00 00 00 00 00 00 9D [00:14:00]Write i2c OK [00:14:00]MH_I2C_Read... [00:14:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:00]Read from MH i2c: E2 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 62 00 [00:14:00]MH_I2C_Read... [00:14:00]Read from MH i2c: E2 62 00 FB 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 40 A8 00 00 0E 04 04 00 BE 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 68 [00:14:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 40 A8 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:00]wFMCommunicate OK [00:14:00]SAM_PROTO_GetFieldsCounters done [00:14:00]requested_item shift.num is exist - process it [00:14:00]requested_item shift.opened is exist - process it [00:14:00]req_shift_opened [00:14:00]FM_GetShiftState [00:14:00]SAM_PROTO_GetShiftState [00:14:00]wFMCommunicate request_size=4 [00:14:00]MH_SAM_APDU [00:14:00]CAPDU: 80 13 01 00 [00:14:00]Write to MH i2c: E2 08 00 FC 26 80 13 01 00 00 00 00 00 9F [00:14:00]Write i2c OK [00:14:00]MH_I2C_Read... [00:14:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:01]Read from MH i2c: E2 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 0E 00 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 0E 00 FC 26 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 06 [00:14:01]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [00:14:01]wFMCommunicate OK [00:14:01]SAM_PROTO_GetShiftState done [00:14:01]FM_GetShiftState done [00:14:01]req_shift_opened done [00:14:01]requested_item shift.open_date is exist - process it [00:14:01]req_shift_open_date [00:14:01]req_shift_open_date done [00:14:01]produce_requested_data done [00:14:01]produce_requested_data return {"fd.num":43072,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042} [00:14:01]process_action_free open_shift [00:14:01]json_value_free [00:14:01]json_value_free done [00:14:01]process_json_proto returns [00:14:01]Send response to host [00:14:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":43072,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042}}} [00:14:01]free response buf [00:14:01]execute_script done [00:14:01]execute_script returns [00:14:01]free content buf [00:14:01]Sock 7.Close socket [00:14:01]Sock 7.Thread stoped [00:14:01]accept exits with 9 [00:14:01]New connection [00:14:01]New thread 3067530596 created [00:14:01]Thread 3067387236 joined [00:14:01]Waiting for new connection... [00:14:01] Sock 9.Parse request [00:14:01]Sock 9.Check first char [00:14:01]Sock 9.First char is OK [00:14:01]request: POST /json_proto HTTP/1.0 [00:14:01]Method: POST [00:14:01]URL: /json_proto [00:14:01]Method is POST - this is cgi request [00:14:01]url: /json_proto [00:14:01]query_string will be loaded in cgi processing [00:14:01]execute_cgi json_proto POST (null) [00:14:01]execute_cgi path=json_proto method=POST [00:14:01]POST find Content-Length [00:14:01]Host: 172.17.38.197:8080 [00:14:01]Content-Length: 331 [00:14:01]Content-Type: application/json [00:14:01] [00:14:01]POST finish read [00:14:01]Found Content-Length = 331 [00:14: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:14:01]execute_script... [00:14: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:14:01]POST & json_proto [00:14:01]process_json_proto [00:14:01]json parsed OK: [00:14:01]protocol is kg_v1.0 [00:14:01]action value=get_value [00:14:01]process_action get_value [00:14:01]cmd_get_value [00:14:01]process_action get_value done [00:14:01]requested_data is exist [00:14:01]produce_requested_data [00:14:01]requested_item fm.sale.total is exist - process it [00:14:01]SAM_PROTO_GetFMData [00:14:01]wFMCommunicate request_size=4 [00:14:01]MH_SAM_APDU [00:14:01]CAPDU: 80 13 03 00 [00:14:01]Write to MH i2c: E2 08 00 FD 26 80 13 03 00 00 00 00 00 A2 [00:14:01]Write i2c OK [00:14:01]MH_I2C_Read... [00:14:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:01]Read from MH i2c: E2 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 FD 00 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 FD 00 FD 26 00 BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 CC [00:14:01]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 A4 00 00 69 04 A0 00 6F 04 04 00 94 A4 00 00 B1 04 04 00 E2 13 2B 46 70 04 04 00 A9 F6 60 42 72 04 04 00 39 1D CA 03 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B2 C4 73 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 68 ED 9E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 A4 00 E2 70 04 03 00 A4 00 E2 72 04 00 00 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 89 00 18 EF 03 09 00 F6 03 01 00 00 90 00 [00:14:01]wFMCommunicate OK [00:14:01]wFMCommunicate request_size=4 [00:14:01]MH_SAM_APDU [00:14:01]CAPDU: 80 17 00 00 [00:14:01]Write to MH i2c: E2 08 00 FE 26 80 17 00 00 00 00 00 00 A4 [00:14:01]Write i2c OK [00:14:01]MH_I2C_Read... [00:14:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:01]Read from MH i2c: E2 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 FD 00 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: E2 FD 00 FE 26 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 DB [00:14:02]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 05 00 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:14:02]wFMCommunicate OK [00:14:02]wFMCommunicate request_size=4 [00:14:02]MH_SAM_APDU [00:14:02]CAPDU: 80 17 00 00 [00:14:02]Write to MH i2c: E2 08 00 FF 26 80 17 00 00 00 00 00 00 A5 [00:14:02]Write i2c OK [00:14:02]MH_I2C_Read... [00:14:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:02]Read from MH i2c: E2 [00:14:02]MH_I2C_Read... [00:14:02]Read from MH i2c: E2 FD 00 [00:14:02]MH_I2C_Read... [00:14:02]Read from MH i2c: E2 FD 00 FF 26 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 49 [00:14:02]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:14:02]wFMCommunicate OK [00:14:02]wFMCommunicate request_size=4 [00:14:02]MH_SAM_APDU [00:14:02]CAPDU: 80 17 00 00 [00:14:02]Write to MH i2c: E2 08 00 00 27 80 17 00 00 00 00 00 00 A7 [00:14:02]Write i2c OK [00:14:02]MH_I2C_Read... [00:14:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:02]Read from MH i2c: E2 [00:14:02]MH_I2C_Read... [00:14:02]Read from MH i2c: E2 FD 00 [00:14:02]MH_I2C_Read... [00:14:02]Read from MH i2c: E2 FD 00 00 27 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 90 00 21 [00:14:03]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:03]wFMCommunicate OK [00:14:03]wFMCommunicate request_size=4 [00:14:03]MH_SAM_APDU [00:14:03]CAPDU: 80 17 00 00 [00:14:03]Write to MH i2c: E2 08 00 01 27 80 17 00 00 00 00 00 00 A8 [00:14:03]Write i2c OK [00:14:03]MH_I2C_Read... [00:14:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:14:03]Read from MH i2c: E2 [00:14:03]MH_I2C_Read... [00:14:03]Read from MH i2c: E2 DC 00 [00:14:03]MH_I2C_Read... [00:14:03]Read from MH i2c: E2 DC 00 01 27 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8C [00:14:03]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:03]wFMCommunicate OK [00:14:03]SAM_PROTO_GetFMData done [00:14:03]requested_item fm.sale_refund.total is exist - process it [00:14:03]requested_item fm.buy.total is exist - process it [00:14:03]requested_item shift.sale.total is exist - process it [00:14:03]SAM_PROTO_GetShiftData [00:14:03]wFMCommunicate request_size=4 [00:14:03]MH_SAM_APDU [00:14:03]CAPDU: 80 13 02 00 [00:14:03]Write to MH i2c: E2 08 00 02 27 80 13 02 00 00 00 00 00 A7 [00:14:03]Write i2c OK [00:14:03]MH_I2C_Read... [00:14:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:03]Read from MH i2c: E2 [00:14:03]MH_I2C_Read... [00:14:03]Read from MH i2c: E2 FD 00 [00:14:03]MH_I2C_Read... [00:14:04]Read from MH i2c: E2 FD 00 02 27 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 1A [00:14:04]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:14:04]wFMCommunicate OK [00:14:04]wFMCommunicate request_size=4 [00:14:04]MH_SAM_APDU [00:14:04]CAPDU: 80 17 00 00 [00:14:04]Write to MH i2c: E2 08 00 03 27 80 17 00 00 00 00 00 00 AA [00:14:04]Write i2c OK [00:14:04]MH_I2C_Read... [00:14:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:04]Read from MH i2c: E2 [00:14:04]MH_I2C_Read... [00:14:04]Read from MH i2c: E2 FD 00 [00:14:04]MH_I2C_Read... [00:14:04]Read from MH i2c: E2 FD 00 03 27 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 B2 [00:14:04]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:14:04]wFMCommunicate OK [00:14:04]wFMCommunicate request_size=4 [00:14:04]MH_SAM_APDU [00:14:04]CAPDU: 80 17 00 00 [00:14:04]Write to MH i2c: E2 08 00 04 27 80 17 00 00 00 00 00 00 AB [00:14:04]Write i2c OK [00:14:04]MH_I2C_Read... [00:14:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:04]Read from MH i2c: E2 [00:14:04]MH_I2C_Read... [00:14:04]Read from MH i2c: E2 FD 00 [00:14:04]MH_I2C_Read... [00:14:04]Read from MH i2c: E2 FD 00 04 27 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 7D [00:14:05]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:14:05]wFMCommunicate OK [00:14:05]wFMCommunicate request_size=4 [00:14:05]MH_SAM_APDU [00:14:05]CAPDU: 80 17 00 00 [00:14:05]Write to MH i2c: E2 08 00 05 27 80 17 00 00 00 00 00 00 AC [00:14:05]Write i2c OK [00:14:05]MH_I2C_Read... [00:14:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:05]Read from MH i2c: E2 [00:14:05]MH_I2C_Read... [00:14:05]Read from MH i2c: E2 FD 00 [00:14:05]MH_I2C_Read... [00:14:05]Read from MH i2c: E2 FD 00 05 27 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 1E [00:14:05]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 OFD Sender: No OFD packet to send [00:14:05]09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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:14:05]wFMCommunicate OK [00:14:05]wFMCommunicate request_size=4 [00:14:05]MH_SAM_APDU [00:14:05]CAPDU: 80 17 00 00 [00:14:05]Write to MH i2c: E2 08 00 06 27 80 17 00 00 00 00 00 00 AD [00:14:05]Write i2c OK [00:14:05]MH_I2C_Read... [00:14:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:14:05]Read from MH i2c: E2 [00:14:05]MH_I2C_Read... [00:14:05]Read from MH i2c: E2 BD 00 [00:14:05]MH_I2C_Read... [00:14:05]Read from MH i2c: E2 BD 00 06 27 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 93 [00:14:06]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:14:06]wFMCommunicate OK [00:14:06]SAM_PROTO_GetShiftData done [00:14:06]requested_item shift.sale.total_cash is exist - process it [00:14:06]requested_item shift.sale_refund.total is exist - process it [00:14:06]requested_item shift.sale_refund.total_cash is exist - process it [00:14:06]requested_item shift.buy.total is exist - process it [00:14:06]requested_item shift.buy.total_cash is exist - process it [00:14:06]produce_requested_data done [00:14:06]produce_requested_data return {"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.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:14:06]process_action_free get_value [00:14:06]json_value_free [00:14:06]json_value_free done [00:14:06]process_json_proto returns [00:14:06]Send response to host [00:14:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11772282.58,"fm.sale_refund.total":148113.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:14:06]free response buf [00:14:06]execute_script done [00:14:06]execute_script returns [00:14:06]free content buf [00:14:06]Sock 9.Close socket [00:14:06]Sock 9.Thread stoped [00:14:10]OFD Sender: No OFD packet to send [00:14:15]OFD Sender: No OFD packet to send [00:14:20]OFD Sender: No OFD packet to send [00:14:25]OFD Sender: No OFD packet to send [00:14:30]OFD Sender: No OFD packet to send [00:14:35]OFD Sender: No OFD packet to send [00:14:40]OFD Sender: No OFD packet to send [00:14:45]OFD Sender: No OFD packet to send [00:14:50]OFD Sender: No OFD packet to send [00:14:55]OFD Sender: No OFD packet to send [00:15:00]OFD Sender: No OFD packet to send [00:15:05]OFD Sender: No OFD packet to send [00:15:10]OFD Sender: No OFD packet to send [00:15:15]OFD Sender: No OFD packet to send [00:15:20]OFD Sender: No OFD packet to send [00:15:25]OFD Sender: No OFD packet to send [00:15:30]OFD Sender: No OFD packet to send [00:15:35]OFD Sender: No OFD packet to send [00:15:40]OFD Sender: No OFD packet to send [00:15:45]OFD Sender: No OFD packet to send [00:15:50]OFD Sender: No OFD packet to send [00:15:55]OFD Sender: No OFD packet to send [00:16:00]OFD Sender: No OFD packet to send [00:16:05]OFD Sender: No OFD packet to send [00:16:10]OFD Sender: No OFD packet to send [00:16:15]OFD Sender: No OFD packet to send [00:16:20]OFD Sender: No OFD packet to send [00:16:25]OFD Sender: No OFD packet to send [00:16:30]OFD Sender: No OFD packet to send [00:16:35]OFD Sender: No OFD packet to send [00:16:40]OFD Sender: No OFD packet to send [00:16:45]OFD Sender: No OFD packet to send [00:16:50]OFD Sender: No OFD packet to send [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20: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:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:01]OFD Sender: No OFD packet to send [00:30:06]OFD Sender: No OFD packet to send [00:30:11]OFD Sender: No OFD packet to send [00:30:16]OFD Sender: No OFD packet to send [00:30:21]OFD Sender: No OFD packet to send [00:30:26]OFD Sender: No OFD packet to send [00:30:31]OFD Sender: No OFD packet to send [00:30:36]OFD Sender: No OFD packet to send [00:30:41]OFD Sender: No OFD packet to send [00:30:46]OFD Sender: No OFD packet to send [00:30:51]OFD Sender: No OFD packet to send [00:30:56]OFD Sender: No OFD packet to send [00:31:01]OFD Sender: No OFD packet to send [00:31:06]OFD Sender: No OFD packet to send [00:31:11]OFD Sender: No OFD packet to send [00:31:16]OFD Sender: No OFD packet to send [00:31:21]OFD Sender: No OFD packet to send [00:31:26]OFD Sender: No OFD packet to send [00:31:31]OFD Sender: No OFD packet to send [00:31:36]OFD Sender: No OFD packet to send [00:31:41]OFD Sender: No OFD packet to send [00:31:46]OFD Sender: No OFD packet to send [00:31:51]OFD Sender: No OFD packet to send [00:31:56]OFD Sender: No OFD packet to send [00:32:01]OFD Sender: No OFD packet to send [00:32:06]OFD Sender: No OFD packet to send [00:32:11]OFD Sender: No OFD packet to send [00:32:16]OFD Sender: No OFD packet to send [00:32:21]OFD Sender: No OFD packet to send [00:32:26]OFD Sender: No OFD packet to send [00:32:31]OFD Sender: No OFD packet to send [00:32:36]OFD Sender: No OFD packet to send [00:32:41]OFD Sender: No OFD packet to send [00:32:46]OFD Sender: No OFD packet to send [00:32:51]OFD Sender: No OFD packet to send [00:32:56]OFD Sender: No OFD packet to send [00:33:01]OFD Sender: No OFD packet to send [00:33:06]OFD Sender: No OFD packet to send [00:33:11]OFD Sender: No OFD packet to send [00:33:16]OFD Sender: No OFD packet to send [00:33:21]OFD Sender: No OFD packet to send [00:33:26]OFD Sender: No OFD packet to send [00:33:31]OFD Sender: No OFD packet to send [00:33:36]OFD Sender: No OFD packet to send [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:34:01]OFD Sender: No OFD packet to send [00:34:06]OFD Sender: No OFD packet to send [00:34:11]OFD Sender: No OFD packet to send [00:34:16]OFD Sender: No OFD packet to send [00:34:21]OFD Sender: No OFD packet to send [00:34:26]OFD Sender: No OFD packet to send [00:34:31]OFD Sender: No OFD packet to send [00:34:36]OFD Sender: No OFD packet to send [00:34:41]OFD Sender: No OFD packet to send [00:34:46]OFD Sender: No OFD packet to send [00:34:51]OFD Sender: No OFD packet to send [00:34:56]OFD Sender: No OFD packet to send [00:35:01]OFD Sender: No OFD packet to send [00:35:06]OFD Sender: No OFD packet to send [00:35:11]OFD Sender: No OFD packet to send [00:35:16]OFD Sender: No OFD packet to send [00:35:21]OFD Sender: No OFD packet to send [00:35:26]OFD Sender: No OFD packet to send [00:35:31]OFD Sender: No OFD packet to send [00:35:36]OFD Sender: No OFD packet to send [00:35:41]OFD Sender: No OFD packet to send [00:35:46]OFD Sender: No OFD packet to send [00:35:51]OFD Sender: No OFD packet to send [00:35:56]OFD Sender: No OFD packet to send [00:36:01]OFD Sender: No OFD packet to send [00:36:06]OFD Sender: No OFD packet to send [00:36:11]OFD Sender: No OFD packet to send [00:36:16]OFD Sender: No OFD packet to send [00:36:21]OFD Sender: No OFD packet to send [00:36:26]OFD Sender: No OFD packet to send [00:36:31]OFD Sender: No OFD packet to send [00:36:36]OFD Sender: No OFD packet to send [00:36:41]OFD Sender: No OFD packet to send [00:36:46]OFD Sender: No OFD packet to send [00:36:51]OFD Sender: No OFD packet to send [00:36:56]OFD Sender: No OFD packet to send [00:37:01]OFD Sender: No OFD packet to send [00:37:06]OFD Sender: No OFD packet to send [00:37:11]OFD Sender: No OFD packet to send [00:37:16]OFD Sender: No OFD packet to send [00:37:21]OFD Sender: No OFD packet to send [00:37:26]OFD Sender: No OFD packet to send [00:37:31]OFD Sender: No OFD packet to send [00:37:36]OFD Sender: No OFD packet to send [00:37:41]OFD Sender: No OFD packet to send [00:37:46]OFD Sender: No OFD packet to send [00:37:51]OFD Sender: No OFD packet to send [00:37:56]OFD Sender: No OFD packet to send [00:38:01]OFD Sender: No OFD packet to send [00:38:06]OFD Sender: No OFD packet to send [00:38:11]OFD Sender: No OFD packet to send [00:38:16]OFD Sender: No OFD packet to send [00:38:21]OFD Sender: No OFD packet to send [00:38:26]OFD Sender: No OFD packet to send [00:38:31]OFD Sender: No OFD packet to send [00:38:36]OFD Sender: No OFD packet to send [00:38:41]OFD Sender: No OFD packet to send [00:38:46]OFD Sender: No OFD packet to send [00:38:51]OFD Sender: No OFD packet to send [00:38:56]OFD Sender: No OFD packet to send [00:39:01]OFD Sender: No OFD packet to send [00:39:06]OFD Sender: No OFD packet to send [00:39:11]OFD Sender: No OFD packet to send [00:39:16]OFD Sender: No OFD packet to send [00:39:21]OFD Sender: No OFD packet to send [00:39:26]OFD Sender: No OFD packet to send [00:39:31]OFD Sender: No OFD packet to send [00:39:36]OFD Sender: No OFD packet to send [00:39:41]OFD Sender: No OFD packet to send [00:39:46]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:32]OFD Sender: No OFD packet to send [00:50:37]OFD Sender: No OFD packet to send [00:50:42]OFD Sender: No OFD packet to send [00:50:47]OFD Sender: No OFD packet to send [00:50:52]OFD Sender: No OFD packet to send [00:50:57]OFD Sender: No OFD packet to send [00:51:02]OFD Sender: No OFD packet to send [00:51:07]OFD Sender: No OFD packet to send [00:51:12]OFD Sender: No OFD packet to send [00:51:17]OFD Sender: No OFD packet to send [00:51:22]OFD Sender: No OFD packet to send [00:51:27]OFD Sender: No OFD packet to send [00:51:32]OFD Sender: No OFD packet to send [00:51:37]OFD Sender: No OFD packet to send [00:51:42]OFD Sender: No OFD packet to send [00:51:47]OFD Sender: No OFD packet to send [00:51:52]OFD Sender: No OFD packet to send [00:51:57]OFD Sender: No OFD packet to send [00:52:02]OFD Sender: No OFD packet to send [00:52:07]OFD Sender: No OFD packet to send [00:52:12]OFD Sender: No OFD packet to send [00:52:17]OFD Sender: No OFD packet to send [00:52:22]OFD Sender: No OFD packet to send [00:52:27]OFD Sender: No OFD packet to send [00:52:32]OFD Sender: No OFD packet to send [00:52:37]OFD Sender: No OFD packet to send [00:52:42]OFD Sender: No OFD packet to send [00:52:47]OFD Sender: No OFD packet to send [00:52:52]OFD Sender: No OFD packet to send [00:52:57]OFD Sender: No OFD packet to send [00:53:02]OFD Sender: No OFD packet to send [00:53:07]OFD Sender: No OFD packet to send [00:53:12]OFD Sender: No OFD packet to send [00:53:17]OFD Sender: No OFD packet to send [00:53:22]OFD Sender: No OFD packet to send [00:53:27]OFD Sender: No OFD packet to send [00:53:32]OFD Sender: No OFD packet to send [00:53:37]OFD Sender: No OFD packet to send [00:53:42]OFD Sender: No OFD packet to send [00:53:47]OFD Sender: No OFD packet to send [00:53:52]OFD Sender: No OFD packet to send [00:53:57]OFD Sender: No OFD packet to send [00:54:02]OFD Sender: No OFD packet to send [00:54:07]OFD Sender: No OFD packet to send [00:54:12]OFD Sender: No OFD packet to send [00:54:17]OFD Sender: No OFD packet to send [00:54:22]OFD Sender: No OFD packet to send [00:54:27]OFD Sender: No OFD packet to send [00:54:32]OFD Sender: No OFD packet to send [00:54:37]OFD Sender: No OFD packet to send [00:54:42]OFD Sender: No OFD packet to send [00:54:47]OFD Sender: No OFD packet to send [00:54:52]OFD Sender: No OFD packet to send [00:54:57]OFD Sender: No OFD packet to send [00:55:02]OFD Sender: No OFD packet to send [00:55:07]OFD Sender: No OFD packet to send [00:55:12]OFD Sender: No OFD packet to send [00:55:17]OFD Sender: No OFD packet to send [00:55:22]OFD Sender: No OFD packet to send [00:55:27]OFD Sender: No OFD packet to send [00:55:32]OFD Sender: No OFD packet to send [00:55:37]OFD Sender: No OFD packet to send [00:55:42]OFD Sender: No OFD packet to send [00:55:47]OFD Sender: No OFD packet to send [00:55:52]OFD Sender: No OFD packet to send [00:55:57]OFD Sender: No OFD packet to send [00:56:02]OFD Sender: No OFD packet to send [00:56:07]OFD Sender: No OFD packet to send [00:56:12]OFD Sender: No OFD packet to send [00:56:17]OFD Sender: No OFD packet to send [00:56:22]OFD Sender: No OFD packet to send [00:56:27]OFD Sender: No OFD packet to send [00:56:32]OFD Sender: No OFD packet to send [00:56:37]OFD Sender: No OFD packet to send [00:56:42]OFD Sender: No OFD packet to send [00:56:47]OFD Sender: No OFD packet to send [00:56:52]OFD Sender: No OFD packet to send [00:56:57]OFD Sender: No OFD packet to send [00:57:02]OFD Sender: No OFD packet to send [00:57:07]OFD Sender: No OFD packet to send [00:57:12]OFD Sender: No OFD packet to send [00:57:17]OFD Sender: No OFD packet to send [00:57:22]OFD Sender: No OFD packet to send [00:57:27]OFD Sender: No OFD packet to send [00:57:32]OFD Sender: No OFD packet to send [00:57:37]OFD Sender: No OFD packet to send [00:57:42]OFD Sender: No OFD packet to send [00:57:47]OFD Sender: No OFD packet to send [00:57:52]OFD Sender: No OFD packet to send [00:57:57]OFD Sender: No OFD packet to send [00:58:02]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:47]OFD Sender: No OFD packet to send [00:58:52]OFD Sender: No OFD packet to send [00:58:57]OFD Sender: No OFD packet to send [00:59:02]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:13]OFD Sender: No OFD packet to send [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:49]accept exits with 7 [01:17:49]New connection [01:17:49]New thread 3067387236 created [01:17:49]Thread 3067530596 joined [01:17:49]Waiting for new connection... [01:17:49] Sock 7.Parse request [01:17:49]Sock 7.Check first char [01:17:49]Sock 7.First char is OK [01:17:49]request: POST /json_proto HTTP/1.0 [01:17:49]Method: POST [01:17:49]URL: /json_proto [01:17:49]Method is POST - this is cgi request [01:17:49]url: /json_proto [01:17:49]query_string will be loaded in cgi processing [01:17:49]execute_cgi json_proto POST (null) [01:17:49]execute_cgi path=json_proto method=POST [01:17:49]POST find Content-Length [01:17:49]Host: 172.17.38.197:8080 [01:17:49]Content-Length: 726 [01:17:49]Content-Type: application/json [01:17:49] [01:17:49]POST finish read [01:17:49]Found Content-Length = 726 [01:17:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300200", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:17:49]execute_script... [01:17:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300200", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:17:49]POST & json_proto [01:17:49]process_json_proto [01:17:49]json parsed OK: [01:17:49]protocol is kg_v1.0 [01:17:49]action value=close_receipt [01:17:49]process_action close_receipt [01:17:49]cmd_close_receipt [01:17:49]MH_GetDate [01:17:49]Write to MH i2c: F0 00 00 07 27 1D [01:17:49]Write i2c OK [01:17:49]MH_I2C_Read... [01:17:49]Read from MH i2c: F0 [01:17:49]MH_I2C_Read... [01:17:49]Read from MH i2c: F0 09 00 [01:17:49]MH_I2C_Read... [01:17:49]Read from MH i2c: F0 09 00 07 27 00 44 27 93 66 1E 0D 88 66 A3 [01:17:49]GetLastDocTimeStamp 1720916042 [01:17:49]current date 1720919876 [01:17:49]FM_GetShiftState [01:17:49]SAM_PROTO_GetShiftState [01:17:49]wFMCommunicate request_size=4 [01:17:49]MH_SAM_APDU [01:17:49]CAPDU: 80 13 01 00 [01:17:49]Write to MH i2c: E2 08 00 08 27 80 13 01 00 00 00 00 00 AC [01:17:49]Write i2c OK [01:17:49]MH_I2C_Read... [01:17:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:17:49]Read from MH i2c: E2 [01:17:49]MH_I2C_Read... [01:17:49]Read from MH i2c: E2 0E 00 [01:17:49]MH_I2C_Read... [01:17:49]Read from MH i2c: E2 0E 00 08 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 13 [01:17:49]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:17:49]wFMCommunicate OK [01:17:49]SAM_PROTO_GetShiftState done [01:17:49]FM_GetShiftState done [01:17:49]opened in 1720916042 [01:17:49]opened+sec_in_day 1721002442 [01:17:49]quantity*price = 15100 [01:17:49]sum+1 = 15101 [01:17:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 1 14.07.2024 01:17 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43073 ФПД: 19350813363195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011756&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43073&fm=19350813363195&tin=02508201610067®Number=0000000000091176&sum=15100 0 [01:17:51]StoreToDocumentArchive [01:17:51]shift 446 fd 43073 [01:17:51]save to /storage/0446/doc_00043073 [01:17:51]save last doc name /storage/0446/doc_00043073 to /storage/kkm_last_doc_name [01:17:51]save OK [01:17:51]Clear old archive folders... [01:17:51]ProcessDocumentItem done err = 0, tmpTLVsize=274 [01:17:51]tlvbuf is 015C8B00 [01:17:51]SAM_PROTO_ClearQueue [01:17:51]wFMCommunicate request_size=4 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 09 00 00 [01:17:51]Write to MH i2c: E2 08 00 15 27 80 09 00 00 00 00 00 00 AE [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 15 27 00 90 00 B0 [01:17:51]RAPDU: 90 00 [01:17:51]wFMCommunicate OK [01:17:51]SAM_PROTO_ClearQueue done [01:17:51]KKMCreateOFDPacket [01:17:51]OFDProtocolAddRootSTLVToBuf [01:17:51]FM_MakeSignedData [01:17:51]FM_MakeSignedData [01:17:51]SAM_PROTO_SignData [01:17:51]wFMCommunicate request_size=4 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 0D 01 02 [01:17:51]Write to MH i2c: E2 08 00 16 27 80 0D 01 02 00 00 00 00 B6 [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 16 27 00 90 00 B1 [01:17:51]RAPDU: 90 00 [01:17:51]wFMCommunicate OK [01:17:51]wFMCommunicate request_size=255 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 44 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 [01:17:51]Write to MH i2c: E2 02 01 17 27 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 44 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 00 00 A2 [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 17 27 00 90 00 B2 [01:17:51]RAPDU: 90 00 [01:17:51]wFMCommunicate OK [01:17:51]wFMCommunicate request_size=33 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 35 10 04 04 00 41 A8 00 00 35 04 06 00 11 99 76 5B 4B FB [01:17:51]Write to MH i2c: E2 24 00 18 27 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 35 10 04 04 00 41 A8 00 00 35 04 06 00 11 99 76 5B 4B FB 00 00 F6 [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 03 00 18 27 00 90 00 B3 [01:17:51]RAPDU: 90 00 [01:17:51]wFMCommunicate OK [01:17:51]wFMCommunicate request_size=4 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 0D 03 02 [01:17:51]Write to MH i2c: E2 08 00 19 27 80 0D 03 02 00 00 00 00 BB [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 0B 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 0B 00 19 27 00 FA CC E5 9A 59 C2 A3 B7 90 00 76 [01:17:51]RAPDU: FA CC E5 9A 59 C2 A3 B7 90 00 [01:17:51]wFMCommunicate OK [01:17:51]SAM_PROTO_SignData done [01:17:51]FM_MakeSignedData done [01:17:51]CreateOFDProtocolMessage [01:17:51]wFMCommunicate request_size=4 [01:17:51]MH_SAM_APDU [01:17:51]CAPDU: 80 11 00 00 [01:17:51]Write to MH i2c: E2 08 00 1A 27 80 11 00 00 00 00 00 00 BB [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:17:51]Read from MH i2c: E2 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 17 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: E2 17 00 1A 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 12 [01:17:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:17:51]wFMCommunicate OK [01:17:51]CreateOFDProtocolMessage done [01:17:51]OFDSenderStorePacket 43073 [01:17:51]StoreOFDPacket docnum=43073 [01:17:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 FE 08 1E 01 00 F2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 44 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 41 A8 00 00 35 04 06 00 11 99 76 5B 4B FB FA CC E5 9A 59 C2 A3 B7 [01:17:51]CheckFolder [01:17:51]dirname=/storage/ofd_packets [01:17:51]CheckFolder done [01:17:51]ProducePacketName [01:17:51]name=ofd_packets/00043073 [01:17:51]NVStorageSaveData ofd_packets/00043073 [01:17:51]File name is /storage/ofd_packets/00043073 [01:17:51]Write 324 bytes [01:17:51]NVStorageSaveData done [01:17:51]OFDSenderStorePacket done [01:17:51]KKMCreateOFDPacket done [01:17:51]NVStorageSaveData kkm_last_timestamp [01:17:51]File name is /storage/kkm_last_timestamp [01:17:51]Write 4 bytes [01:17:51]NVStorageSaveData done [01:17:51]ExternCall_PrintAddStr [01:17:51]wPrintStart [01:17:51]Write to MH i2c: 01 00 00 1B 27 42 [01:17:51]Write i2c OK [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: 01 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: 01 07 00 [01:17:51]MH_I2C_Read... [01:17:51]Read from MH i2c: 01 07 00 1B 27 00 00 00 00 00 FF 0F 57 [01:17:51]RasterBufferAndPrint [01:17:51]line Счет N : (3)300200 [01:17:51]line ИНН: 02508201610067 [01:17:51]line Контрольно-Кассовый Чек [01:17:51]line ПРОДАЖА [01:17:51]line Товар: 48741958 [01:17:51]line Сигареты Parliament Aqua Blue [01:17:51]line 1.000 * 151.00 [01:17:51]line = 151.00 [01:17:51]line НДС 12% НСП 1% [01:17:51]line > о реализуемом товаре [01:17:51]line ИТОГО: 151.00 [01:17:51]line НСП 1% : 1.34 [01:17:51]line НДС 12% : 16.03 [01:17:51]line Наличными: 151.00 [01:17:51]line Безнал.: 0.00 [01:17:51]line Место: АЗС № 71 "Партнер Нефть" [01:17:51]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [01:17:51]line СНО: Общий режим [01:17:51]line Чек 1 14.07.2024 01:17 [01:17:51]line Смена: 446 ФФД: 1.0 [01:17:51]line ЗНМ: 0300000153 [01:17:51]line РНМ: 0000000000091176 [01:17:51]line Версия ККМ: 001 [01:17:51]line ФМ: 0000000000874935 [01:17:51]line ФД: 43073 [01:17:51]line ФПД: 19350813363195 [01:17:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011756&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43073&fm=19350813363195&tin=02508201610067®Number=0000000000091176&sum=15100 [01:17:52]OFD Sender: Processing packet 43073 [packets to send 31, broken 30] [01:17:52]ProducePacketName [01:17:52]name=ofd_packets/00043073 [01:17:52]OFD Sender: To server: pG, [01:17:52]CommunicateWithHost lk.salyk.kg:30040 [01:17:52]ConnectInit lk.salyk.kg [01:17:52]line 0 [01:17:52]written 0, free lines is 4095 [01:17:52]Connected sock=10 [01:17:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 26 01 00 00 FE 08 1E 01 00 F2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 44 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 41 A8 00 00 35 04 06 00 11 99 76 5B 4B FB FA CC E5 9A 59 C2 A3 B7 [01:17:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 1E 91 47 00 4E 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 41 A8 00 00 F4 03 04 00 3D D3 92 66 B6 04 01 00 00 92 AC 76 0B DB 1E 95 50 [01:17:52]CommunicateWithHost err = 0 [01:17:52]CheckOFDResponse [01:17:52]1017 (14) - 77093643461234 [01:17:52]1041 (16) - 0000000000874935 [01:17:52]1040 (4) - 43073 [01:17:52]1012 (4) - 13.07.2024 19:19 [01:17:52]1206 (1) - 0 [01:17:52]OFD Sender: Remove packet 43073 [01:17:52]ProducePacketName [01:17:52]name=ofd_packets/00043073 [01:17:52]NVStorageDeleteData [01:17:52]Write to MH i2c: 01 00 00 44 27 6B [01:17:52]Write i2c OK [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: 01 [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: 01 07 00 [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: 01 07 00 44 27 00 00 00 00 00 D8 0C 56 [01:17:52]RasterBufferAndPrint [01:17:52]line [01:17:52]line [01:17:52]line [01:17:52]line [01:17:52]line [01:17:52]written 0, free lines is 3294 [01:17:52]MH_Cut [01:17:52]Write to MH i2c: D1 01 00 4B 27 01 44 [01:17:52]Write i2c OK [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: D1 [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: D1 01 00 [01:17:52]MH_I2C_Read... [01:17:52]Read from MH i2c: D1 01 00 4B 27 00 43 [01:17:52]Write to MH i2c: 01 00 00 4C 27 73 [01:17:52]Write i2c OK [01:17:52]MH_I2C_Read... [01:17:52]OFD Sender: No OFD packet to send [01:17:53]*** Cut start [01:17:53]*** Partial cut [01:17:53]*** CUTSNS_PIN = 1 [01:17:53]*** CUTSNS_PIN = 0 [01:17:53]*** Brake cut motor [01:17:53]Read from MH i2c: 01 [01:17:53]MH_I2C_Read... [01:17:53]*** Stop cut motor [01:17:53]*** Cut end [01:17:53]Read from MH i2c: 01 07 00 [01:17:53]MH_I2C_Read... [01:17:53]Read from MH i2c: 01 07 00 4C 27 00 00 00 00 00 FF 0F 88 [01:17:53]process_action close_receipt done [01:17:53]requested_data is exist [01:17:53]produce_requested_data [01:17:53]requested_item fm.sn is exist - process it [01:17:53]wFMCommunicate request_size=4 [01:17:53]MH_SAM_APDU [01:17:53]CAPDU: 80 11 00 00 [01:17:53]Write to MH i2c: E2 08 00 4D 27 80 11 00 00 00 00 00 00 EE [01:17:53]Write i2c OK [01:17:53]MH_I2C_Read... [01:17:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:17:53]Read from MH i2c: E2 [01:17:53]MH_I2C_Read... [01:17:53]Read from MH i2c: E2 17 00 [01:17:53]MH_I2C_Read... [01:17:53]Read from MH i2c: E2 17 00 4D 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 45 [01:17:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:17:53]wFMCommunicate OK [01:17:53]requested_item fd.num is exist - process it [01:17:53]SAM_PROTO_GetFieldsCounters [01:17:53]wFMCommunicate request_size=4 [01:17:53]MH_SAM_APDU [01:17:53]CAPDU: 80 13 00 00 [01:17:53]Write to MH i2c: E2 08 00 4E 27 80 13 00 00 00 00 00 00 F1 [01:17:53]Write i2c OK [01:17:53]MH_I2C_Read... [01:17:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:17:54]Read from MH i2c: E2 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 62 00 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 62 00 4E 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 41 A8 00 00 0E 04 04 00 BE 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 C0 [01:17:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 41 A8 00 00 0E 04 04 00 BE 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 [01:17:54]wFMCommunicate OK [01:17:54]SAM_PROTO_GetFieldsCounters done [01:17:54]requested_item shift.num is exist - process it [01:17:54]requested_item shift.opened is exist - process it [01:17:54]req_shift_opened [01:17:54]FM_GetShiftState [01:17:54]SAM_PROTO_GetShiftState [01:17:54]wFMCommunicate request_size=4 [01:17:54]MH_SAM_APDU [01:17:54]CAPDU: 80 13 01 00 [01:17:54]Write to MH i2c: E2 08 00 4F 27 80 13 01 00 00 00 00 00 F3 [01:17:54]Write i2c OK [01:17:54]MH_I2C_Read... [01:17:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:17:54]Read from MH i2c: E2 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 0E 00 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 0E 00 4F 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 5A [01:17:54]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:17:54]wFMCommunicate OK [01:17:54]SAM_PROTO_GetShiftState done [01:17:54]FM_GetShiftState done [01:17:54]req_shift_opened done [01:17:54]requested_item shift.open_date is exist - process it [01:17:54]req_shift_open_date [01:17:54]req_shift_open_date done [01:17:54]requested_item shift.sale.total is exist - process it [01:17:54]SAM_PROTO_GetShiftData [01:17:54]wFMCommunicate request_size=4 [01:17:54]MH_SAM_APDU [01:17:54]CAPDU: 80 13 02 00 [01:17:54]Write to MH i2c: E2 08 00 50 27 80 13 02 00 00 00 00 00 F5 [01:17:54]Write i2c OK [01:17:54]MH_I2C_Read... [01:17:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:17:54]Read from MH i2c: E2 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 FD 00 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 FD 00 50 27 00 A7 04 AA 04 A3 04 6E 04 04 00 01 00 00 00 69 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 3A 70 04 02 00 FC 3A 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 43 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 86 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D1 [01:17:54]RAPDU: A7 04 AA 04 A3 04 6E 04 04 00 01 00 00 00 69 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 3A 70 04 02 00 FC 3A 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 43 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 86 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:17:54]wFMCommunicate OK [01:17:54]wFMCommunicate request_size=4 [01:17:54]MH_SAM_APDU [01:17:54]CAPDU: 80 17 00 00 [01:17:54]Write to MH i2c: E2 08 00 51 27 80 17 00 00 00 00 00 00 F8 [01:17:54]Write i2c OK [01:17:54]MH_I2C_Read... [01:17:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:17:54]Read from MH i2c: E2 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 FD 00 [01:17:54]MH_I2C_Read... [01:17:54]Read from MH i2c: E2 FD 00 51 27 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0C [01:17:54]RAPDU: F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:17:54]wFMCommunicate OK [01:17:54]wFMCommunicate request_size=4 [01:17:54]MH_SAM_APDU [01:17:54]CAPDU: 80 17 00 00 [01:17:54]Write to MH i2c: E2 08 00 52 27 80 17 00 00 00 00 00 00 F9 [01:17:54]Write i2c OK [01:17:54]MH_I2C_Read... [01:17:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:17:55]Read from MH i2c: E2 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 FD 00 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 FD 00 52 27 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [01:17:55]RAPDU: 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:17:55]wFMCommunicate OK [01:17:55]wFMCommunicate request_size=4 [01:17:55]MH_SAM_APDU [01:17:55]CAPDU: 80 17 00 00 [01:17:55]Write to MH i2c: E2 08 00 53 27 80 17 00 00 00 00 00 00 FA [01:17:55]Write i2c OK [01:17:55]MH_I2C_Read... [01:17:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:17:55]Read from MH i2c: E2 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 FD 00 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 FD 00 53 27 00 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 90 00 79 [01:17:55]RAPDU: 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 90 00 [01:17:55]wFMCommunicate OK [01:17:55]wFMCommunicate request_size=4 [01:17:55]MH_SAM_APDU [01:17:55]CAPDU: 80 17 00 00 [01:17:55]Write to MH i2c: E2 08 00 54 27 80 17 00 00 00 00 00 00 FB [01:17:55]Write i2c OK [01:17:55]MH_I2C_Read... [01:17:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 193! [01:17:55]Read from MH i2c: E2 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 C4 00 [01:17:55]MH_I2C_Read... [01:17:55]Read from MH i2c: E2 C4 00 54 27 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DF [01:17:55]RAPDU: F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:17:55]wFMCommunicate OK [01:17:55]SAM_PROTO_GetShiftData done [01:17:55]requested_item shift.sale.total_cash is exist - process it [01:17:55]requested_item shift.sale_refund.total is exist - process it [01:17:55]requested_item shift.sale_refund.total_cash is exist - process it [01:17:55]produce_requested_data done [01:17:55]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43073,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":151.00,"shift.sale.total_cash":151.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:17:55]process_action_free close_receipt [01:17:55]json_value_free [01:17:55]json_value_free done [01:17:55]process_json_proto returns [01:17:55]Send response to host [01:17:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43073,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":151.00,"shift.sale.total_cash":151.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:17:55]free response buf [01:17:55]execute_script done [01:17:55]execute_script returns [01:17:55]free content buf [01:17:55]Sock 7.Close socket [01:17:55]Sock 7.Thread stoped [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:14]accept exits with 9 [01:18:14]New connection [01:18:14]New thread 3067530596 created [01:18:14]Thread 3067387236 joined [01:18:14]Waiting for new connection... [01:18:14] Sock 9.Parse request [01:18:14]Sock 9.Check first char [01:18:14]Sock 9.First char is OK [01:18:14]request: POST /json_proto HTTP/1.0 [01:18:14]Method: POST [01:18:14]URL: /json_proto [01:18:14]Method is POST - this is cgi request [01:18:14]url: /json_proto [01:18:14]query_string will be loaded in cgi processing [01:18:14]execute_cgi json_proto POST (null) [01:18:14]execute_cgi path=json_proto method=POST [01:18:14]POST find Content-Length [01:18:14]Host: 172.17.38.197:8080 [01:18:14]Content-Length: 974 [01:18:14]Content-Type: application/json [01:18:14] [01:18:14]POST finish read [01:18:14]Found Content-Length = 974 [01:18:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300201", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100156364", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles \u0444\u0440\u0443\u043A\u0442\u044B", "price" : 47.00, "quantity" : 1.000, "sum" : 47.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:18:14]execute_script... [01:18:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300201", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100156364", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles \u0444\u0440\u0443\u043A\u0442\u044B", "price" : 47.00, "quantity" : 1.000, "sum" : 47.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:18:14]POST & json_proto [01:18:14]process_json_proto [01:18:14]json parsed OK: [01:18:14]protocol is kg_v1.0 [01:18:14]action value=close_receipt [01:18:14]process_action close_receipt [01:18:14]cmd_close_receipt [01:18:14]MH_GetDate [01:18:14]Write to MH i2c: F0 00 00 55 27 6B [01:18:14]Write i2c OK [01:18:14]MH_I2C_Read... [01:18:14]Read from MH i2c: F0 [01:18:14]MH_I2C_Read... [01:18:14]Read from MH i2c: F0 09 00 [01:18:14]MH_I2C_Read... [01:18:14]Read from MH i2c: F0 09 00 55 27 00 5C 27 93 66 1E 0D 88 66 09 [01:18:14]GetLastDocTimeStamp 1720919876 [01:18:14]current date 1720919900 [01:18:14]FM_GetShiftState [01:18:14]SAM_PROTO_GetShiftState [01:18:14]wFMCommunicate request_size=4 [01:18:14]MH_SAM_APDU [01:18:14]CAPDU: 80 13 01 00 [01:18:14]Write to MH i2c: E2 08 00 56 27 80 13 01 00 00 00 00 00 FA [01:18:14]Write i2c OK [01:18:14]MH_I2C_Read... [01:18:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:18:14]Read from MH i2c: E2 [01:18:14]MH_I2C_Read... [01:18:14]Read from MH i2c: E2 0E 00 [01:18:14]MH_I2C_Read... [01:18:14]Read from MH i2c: E2 0E 00 56 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 61 [01:18:14]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:18:14]wFMCommunicate OK [01:18:14]SAM_PROTO_GetShiftState done [01:18:14]FM_GetShiftState done [01:18:14]opened in 1720916042 [01:18:14]opened+sec_in_day 1721002442 [01:18:14]quantity*price = 13800 [01:18:14]sum+1 = 13801 [01:18:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100156364 Драже Skittles фрукты 1.000 * 47.00 = 47.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.64 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 2 14.07.2024 01:18 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43074 ФПД: 81823766828530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011820&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43074&fm=81823766828530&tin=02508201610067®Number=0000000000091176&sum=18500 0 [01:18:15]StoreToDocumentArchive [01:18:15]shift 446 fd 43074 [01:18:15]save to /storage/0446/doc_00043074 [01:18:15]save last doc name /storage/0446/doc_00043074 to /storage/kkm_last_doc_name [01:18:15]save OK [01:18:15]Clear old archive folders... [01:18:15]ProcessDocumentItem done err = 0, tmpTLVsize=378 [01:18:15]tlvbuf is 015A0B90 [01:18:15]SAM_PROTO_ClearQueue [01:18:15]wFMCommunicate request_size=4 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 09 00 00 [01:18:15]Write to MH i2c: E2 08 00 63 27 80 09 00 00 00 00 00 00 FC [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:18:15]Read from MH i2c: E2 03 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 63 27 00 90 00 FE [01:18:15]RAPDU: 90 00 [01:18:15]wFMCommunicate OK [01:18:15]SAM_PROTO_ClearQueue done [01:18:15]KKMCreateOFDPacket [01:18:15]OFDProtocolAddRootSTLVToBuf [01:18:15]FM_MakeSignedData [01:18:15]FM_MakeSignedData [01:18:15]SAM_PROTO_SignData [01:18:15]wFMCommunicate request_size=4 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 0D 01 02 [01:18:15]Write to MH i2c: E2 08 00 64 27 80 0D 01 02 00 00 00 00 04 [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 64 27 00 90 00 FF [01:18:15]RAPDU: 90 00 [01:18:15]wFMCommunicate OK [01:18:15]wFMCommunicate request_size=255 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 31 31 31 30 30 31 35 36 33 36 34 06 04 20 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D1 84 D1 80 D1 83 D0 BA D1 82 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 12 00 00 00 00 13 04 06 00 5C 12 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 [01:18:15]Write to MH i2c: E2 02 01 65 27 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 31 31 31 30 30 31 35 36 33 36 34 06 04 20 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D1 84 D1 80 D1 83 D0 BA D1 82 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 12 00 00 00 00 13 04 06 00 5C 12 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 00 00 5D [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 65 27 00 90 00 00 [01:18:15]RAPDU: 90 00 [01:18:15]wFMCommunicate OK [01:18:15]wFMCommunicate request_size=137 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 5C 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 42 A8 00 00 35 04 06 00 4A 6B 14 8E 55 F2 [01:18:15]Write to MH i2c: E2 8C 00 66 27 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 5C 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 42 A8 00 00 35 04 06 00 4A 6B 14 8E 55 F2 00 00 43 [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 03 00 66 27 00 90 00 01 [01:18:15]RAPDU: 90 00 [01:18:15]wFMCommunicate OK [01:18:15]wFMCommunicate request_size=4 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 0D 03 02 [01:18:15]Write to MH i2c: E2 08 00 67 27 80 0D 03 02 00 00 00 00 09 [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 0B 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 0B 00 67 27 00 BD CD 15 DF 47 72 36 FF 90 00 76 [01:18:15]RAPDU: BD CD 15 DF 47 72 36 FF 90 00 [01:18:15]wFMCommunicate OK [01:18:15]SAM_PROTO_SignData done [01:18:15]FM_MakeSignedData done [01:18:15]CreateOFDProtocolMessage [01:18:15]wFMCommunicate request_size=4 [01:18:15]MH_SAM_APDU [01:18:15]CAPDU: 80 11 00 00 [01:18:15]Write to MH i2c: E2 08 00 68 27 80 11 00 00 00 00 00 00 09 [01:18:15]Write i2c OK [01:18:15]MH_I2C_Read... [01:18:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:18:15]Read from MH i2c: E2 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 17 00 [01:18:15]MH_I2C_Read... [01:18:15]Read from MH i2c: E2 17 00 68 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 60 [01:18:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:18:15]wFMCommunicate OK [01:18:15]CreateOFDProtocolMessage done [01:18:15]OFDSenderStorePacket 43074 [01:18:15]StoreOFDPacket docnum=43074 [01:18:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8E 01 00 00 38 F5 86 01 5F 7C 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 31 31 31 30 30 31 35 36 33 36 34 06 04 20 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D1 84 D1 80 D1 83 D0 BA D1 82 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 12 00 00 00 00 13 04 06 00 5C 12 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 5C 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 42 A8 00 00 35 04 06 00 4A 6B 14 8E 55 F2 BD CD 15 DF 47 72 36 FF [01:18:15]CheckFolder [01:18:15]dirname=/storage/ofd_packets [01:18:15]CheckFolder done [01:18:15]ProducePacketName [01:18:15]name=ofd_packets/00043074 [01:18:15]NVStorageSaveData ofd_packets/00043074 [01:18:15]File name is /storage/ofd_packets/00043074 [01:18:15]Write 428 bytes [01:18:15]NVStorageSaveData done [01:18:15]OFDSenderStorePacket done [01:18:15]KKMCreateOFDPacket done [01:18:15]NVStorageSaveData kkm_last_timestamp [01:18:16]File name is /storage/kkm_last_timestamp [01:18:16]Write 4 bytes [01:18:16]NVStorageSaveData done [01:18:16]ExternCall_PrintAddStr [01:18:16]wPrintStart [01:18:16]Write to MH i2c: 01 00 00 69 27 90 [01:18:16]OFD Sender: Processing packet 43074 [packets to send 31, broken 30] [01:18:16]ProducePacketName [01:18:16]name=ofd_packets/00043074 [01:18:16]OFD Sender: To server: pG, [01:18:16]CommunicateWithHost lk.salyk.kg:30040 [01:18:16]ConnectInit lk.salyk.kg [01:18:16]Write i2c OK [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 07 00 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 07 00 69 27 00 00 00 00 00 FF 0F A5 [01:18:16]RasterBufferAndPrint [01:18:16]line Счет N : (3)300201 [01:18:16]line ИНН: 02508201610067 [01:18:16]line Контрольно-Кассовый Чек [01:18:16]line ПРОДАЖА [01:18:16]line Товар: 4640030091645 [01:18:16]line Сигареты ESSE Exchange M [01:18:16]line 1.000 * 138.00 [01:18:16]line = 138.00 [01:18:16]line НДС 12% НСП 1% [01:18:16]line > о реализуемом товаре [01:18:16]line Товар: 4011100156364 [01:18:16]line Драже Skittles фрукты [01:18:16]line 1.000 * 47.00 [01:18:16]line = 47.00 [01:18:16]line НДС 12% НСП 1% [01:18:16]line > о реализуемом товаре [01:18:16]line ИТОГО: 185.00 [01:18:16]line НСП 1% : 1.64 [01:18:16]line НДС 12% : 19.64 [01:18:16]line Наличными: 185.00 [01:18:16]line Безнал.: 0.00 [01:18:16]line Место: АЗС № 71 "Партнер Нефть" [01:18:16]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [01:18:16]line СНО: Общий режим [01:18:16]line Чек 2 14.07.2024 01:18 [01:18:16]line Смена: 446 ФФД: 1.0 [01:18:16]line ЗНМ: 0300000153 [01:18:16]line РНМ: 0000000000091176 [01:18:16]line Версия ККМ: 001 [01:18:16]line ФМ: 0000000000874935 [01:18:16]line ФД: 43074 [01:18:16]line ФПД: 81823766828530 [01:18:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T011820&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43074&fm=81823766828530&tin=02508201610067®Number=0000000000091176&sum=18500 [01:18:16]line 0 [01:18:16]written 0, free lines is 4095 [01:18:16]Connected sock=10 [01:18:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 8E 01 00 00 38 F5 86 01 5F 7C 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 31 31 31 30 30 31 35 36 33 36 34 06 04 20 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 D1 84 D1 80 D1 83 D0 BA D1 82 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 12 00 00 00 00 13 04 06 00 5C 12 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 5C 27 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 42 A8 00 00 35 04 06 00 4A 6B 14 8E 55 F2 BD CD 15 DF 47 72 36 FF [01:18:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 64 C6 47 00 B7 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 42 A8 00 00 F4 03 04 00 55 D3 92 66 B6 04 01 00 00 B5 C5 7B 8C F8 87 4A 8C [01:18:16]CommunicateWithHost err = 0 [01:18:16]CheckOFDResponse [01:18:16]1017 (14) - 77093643461234 [01:18:16]1041 (16) - 0000000000874935 [01:18:16]1040 (4) - 43074 [01:18:16]1012 (4) - 13.07.2024 19:19 [01:18:16]1206 (1) - 0 [01:18:16]OFD Sender: Remove packet 43074 [01:18:16]ProducePacketName [01:18:16]name=ofd_packets/00043074 [01:18:16]NVStorageDeleteData [01:18:16]Write to MH i2c: 01 00 00 97 27 BE [01:18:16]Write i2c OK [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 07 00 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: 01 07 00 97 27 00 00 00 00 00 AF 0C 80 [01:18:16]RasterBufferAndPrint [01:18:16]line [01:18:16]line [01:18:16]line [01:18:16]line [01:18:16]line [01:18:16]written 0, free lines is 3253 [01:18:16]MH_Cut [01:18:16]Write to MH i2c: D1 01 00 9E 27 01 97 [01:18:16]Write i2c OK [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: D1 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: D1 01 00 [01:18:16]MH_I2C_Read... [01:18:16]Read from MH i2c: D1 01 00 9E 27 00 96 [01:18:16]Write to MH i2c: 01 00 00 9F 27 C6 [01:18:16]Write i2c OK [01:18:16]MH_I2C_Read... [01:18:16]OFD Sender: No OFD packet to send [01:18:17]*** Cut start [01:18:17]*** Partial cut [01:18:17]*** CUTSNS_PIN = 1 [01:18:17]*** CUTSNS_PIN = 0 [01:18:17]*** Brake cut motor [01:18:18]Read from MH i2c: 01 [01:18:18]MH_I2C_Read... [01:18:18]*** Stop cut motor [01:18:18]*** Cut end [01:18:18]Read from MH i2c: 01 07 00 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: 01 07 00 9F 27 00 00 00 00 00 FF 0F DB [01:18:18]process_action close_receipt done [01:18:18]requested_data is exist [01:18:18]produce_requested_data [01:18:18]requested_item fm.sn is exist - process it [01:18:18]wFMCommunicate request_size=4 [01:18:18]MH_SAM_APDU [01:18:18]CAPDU: 80 11 00 00 [01:18:18]Write to MH i2c: E2 08 00 A0 27 80 11 00 00 00 00 00 00 41 [01:18:18]Write i2c OK [01:18:18]MH_I2C_Read... [01:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:18:18]Read from MH i2c: E2 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 17 00 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 17 00 A0 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 98 [01:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:18:18]wFMCommunicate OK [01:18:18]requested_item fd.num is exist - process it [01:18:18]SAM_PROTO_GetFieldsCounters [01:18:18]wFMCommunicate request_size=4 [01:18:18]MH_SAM_APDU [01:18:18]CAPDU: 80 13 00 00 [01:18:18]Write to MH i2c: E2 08 00 A1 27 80 13 00 00 00 00 00 00 44 [01:18:18]Write i2c OK [01:18:18]MH_I2C_Read... [01:18:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:18:18]Read from MH i2c: E2 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 62 00 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 62 00 A1 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 42 A8 00 00 0E 04 04 00 BE 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 17 [01:18:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 42 A8 00 00 0E 04 04 00 BE 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 [01:18:18]wFMCommunicate OK [01:18:18]SAM_PROTO_GetFieldsCounters done [01:18:18]requested_item shift.num is exist - process it [01:18:18]requested_item shift.opened is exist - process it [01:18:18]req_shift_opened [01:18:18]FM_GetShiftState [01:18:18]SAM_PROTO_GetShiftState [01:18:18]wFMCommunicate request_size=4 [01:18:18]MH_SAM_APDU [01:18:18]CAPDU: 80 13 01 00 [01:18:18]Write to MH i2c: E2 08 00 A2 27 80 13 01 00 00 00 00 00 46 [01:18:18]Write i2c OK [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 [01:18:18]MH_I2C_Read... [01:18:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:18:18]Read from MH i2c: E2 0E 00 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 0E 00 A2 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 AD [01:18:18]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:18:18]wFMCommunicate OK [01:18:18]SAM_PROTO_GetShiftState done [01:18:18]FM_GetShiftState done [01:18:18]req_shift_opened done [01:18:18]requested_item shift.open_date is exist - process it [01:18:18]req_shift_open_date [01:18:18]req_shift_open_date done [01:18:18]requested_item shift.sale.total is exist - process it [01:18:18]SAM_PROTO_GetShiftData [01:18:18]wFMCommunicate request_size=4 [01:18:18]MH_SAM_APDU [01:18:18]CAPDU: 80 13 02 00 [01:18:18]Write to MH i2c: E2 08 00 A3 27 80 13 02 00 00 00 00 00 48 [01:18:18]Write i2c OK [01:18:18]MH_I2C_Read... [01:18:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:18:18]Read from MH i2c: E2 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 FD 00 [01:18:18]MH_I2C_Read... [01:18:18]Read from MH i2c: E2 FD 00 A3 27 00 A8 04 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EF 0D 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 2A 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 F7 03 00 00 EF 03 09 90 00 9E [01:18:18]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EF 0D 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 2A 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 F7 03 00 00 EF 03 09 90 00 [01:18:18]wFMCommunicate OK [01:18:18]wFMCommunicate request_size=4 [01:18:18]MH_SAM_APDU [01:18:18]CAPDU: 80 17 00 00 [01:18:18]Write to MH i2c: E2 08 00 A4 27 80 17 00 00 00 00 00 00 4B [01:18:18]Write i2c OK [01:18:18]MH_I2C_Read... [01:18:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:18:19]Read from MH i2c: E2 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 A4 27 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 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 90 00 56 [01:18:19]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:18:19]wFMCommunicate OK [01:18:19]wFMCommunicate request_size=4 [01:18:19]MH_SAM_APDU [01:18:19]CAPDU: 80 17 00 00 [01:18:19]Write to MH i2c: E2 08 00 A5 27 80 17 00 00 00 00 00 00 4C [01:18:19]Write i2c OK [01:18:19]MH_I2C_Read... [01:18:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:18:19]Read from MH i2c: E2 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 A5 27 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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 17 [01:18:19]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:18:19]wFMCommunicate OK [01:18:19]wFMCommunicate request_size=4 [01:18:19]MH_SAM_APDU [01:18:19]CAPDU: 80 17 00 00 [01:18:19]Write to MH i2c: E2 08 00 A6 27 80 17 00 00 00 00 00 00 4D [01:18:19]Write i2c OK [01:18:19]MH_I2C_Read... [01:18:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:18:19]Read from MH i2c: E2 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 FD 00 A6 27 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 C2 [01:18:19]RAPDU: F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 [01:18:19]wFMCommunicate OK [01:18:19]wFMCommunicate request_size=4 [01:18:19]MH_SAM_APDU [01:18:19]CAPDU: 80 17 00 00 [01:18:19]Write to MH i2c: E2 08 00 A7 27 80 17 00 00 00 00 00 00 4E [01:18:19]Write i2c OK [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 [01:18:19]MH_I2C_Read... [01:18:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [01:18:19]Read from MH i2c: E2 C5 00 [01:18:19]MH_I2C_Read... [01:18:19]Read from MH i2c: E2 C5 00 A7 27 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 33 [01:18:20]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:18:20]wFMCommunicate OK [01:18:20]SAM_PROTO_GetShiftData done [01:18:20]requested_item shift.sale.total_cash is exist - process it [01:18:20]requested_item shift.sale_refund.total is exist - process it [01:18:20]requested_item shift.sale_refund.total_cash is exist - process it [01:18:20]produce_requested_data done [01:18:20]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43074,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":336.00,"shift.sale.total_cash":336.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:18:20]process_action_free close_receipt [01:18:20]json_value_free [01:18:20]json_value_free done [01:18:20]process_json_proto returns [01:18:20]Send response to host [01:18:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43074,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":336.00,"shift.sale.total_cash":336.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:18:20]free response buf [01:18:20]execute_script done [01:18:20]execute_script returns [01:18:20]free content buf [01:18:20]Sock 9.Close socket [01:18:20]Sock 9.Thread stoped [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:17]OFD Sender: No OFD packet to send [01:30:22]OFD Sender: No OFD packet to send [01:30:27]OFD Sender: No OFD packet to send [01:30:32]OFD Sender: No OFD packet to send [01:30:37]OFD Sender: No OFD packet to send [01:30:42]OFD Sender: No OFD packet to send [01:30:47]OFD Sender: No OFD packet to send [01:30:52]OFD Sender: No OFD packet to send [01:30:57]OFD Sender: No OFD packet to send [01:31:02]OFD Sender: No OFD packet to send [01:31:07]OFD Sender: No OFD packet to send [01:31:12]OFD Sender: No OFD packet to send [01:31:17]OFD Sender: No OFD packet to send [01:31:22]OFD Sender: No OFD packet to send [01:31:27]OFD Sender: No OFD packet to send [01:31:32]OFD Sender: No OFD packet to send [01:31:37]OFD Sender: No OFD packet to send [01:31:42]OFD Sender: No OFD packet to send [01:31:47]OFD Sender: No OFD packet to send [01:31:52]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:34:02]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:18]OFD Sender: No OFD packet to send [01:48:23]OFD Sender: No OFD packet to send [01:48:28]OFD Sender: No OFD packet to send [01:48:33]OFD Sender: No OFD packet to send [01:48:38]OFD Sender: No OFD packet to send [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:58]OFD Sender: No OFD packet to send [01:49:03]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:13]OFD Sender: No OFD packet to send [01:49:18]OFD Sender: No OFD packet to send [01:49:23]OFD Sender: No OFD packet to send [01:49:28]OFD Sender: No OFD packet to send [01:49:33]OFD Sender: No OFD packet to send [01:49:38]OFD Sender: No OFD packet to send [01:49:43]OFD Sender: No OFD packet to send [01:49:48]OFD Sender: No OFD packet to send [01:49:53]OFD Sender: No OFD packet to send [01:49:58]OFD Sender: No OFD packet to send [01:50:03]OFD Sender: No OFD packet to send [01:50:08]OFD Sender: No OFD packet to send [01:50:13]OFD Sender: No OFD packet to send [01:50:18]OFD Sender: No OFD packet to send [01:50:23]OFD Sender: No OFD packet to send [01:50:28]OFD Sender: No OFD packet to send [01:50:33]OFD Sender: No OFD packet to send [01:50:38]OFD Sender: No OFD packet to send [01:50:43]OFD Sender: No OFD packet to send [01:50:48]OFD Sender: No OFD packet to send [01:50:53]OFD Sender: No OFD packet to send [01:50:58]OFD Sender: No OFD packet to send [01:51:03]OFD Sender: No OFD packet to send [01:51:08]OFD Sender: No OFD packet to send [01:51:13]OFD Sender: No OFD packet to send [01:51:18]OFD Sender: No OFD packet to send [01:51:23]OFD Sender: No OFD packet to send [01:51:28]OFD Sender: No OFD packet to send [01:51:33]OFD Sender: No OFD packet to send [01:51:38]OFD Sender: No OFD packet to send [01:51:43]OFD Sender: No OFD packet to send [01:51:48]OFD Sender: No OFD packet to send [01:51:53]OFD Sender: No OFD packet to send [01:51:58]OFD Sender: No OFD packet to send [01:52:03]OFD Sender: No OFD packet to send [01:52:08]OFD Sender: No OFD packet to send [01:52:13]OFD Sender: No OFD packet to send [01:52:18]OFD Sender: No OFD packet to send [01:52:23]OFD Sender: No OFD packet to send [01:52:28]OFD Sender: No OFD packet to send [01:52:33]OFD Sender: No OFD packet to send [01:52:38]OFD Sender: No OFD packet to send [01:52:43]OFD Sender: No OFD packet to send [01:52:48]OFD Sender: No OFD packet to send [01:52:53]OFD Sender: No OFD packet to send [01:52:58]OFD Sender: No OFD packet to send [01:53:03]OFD Sender: No OFD packet to send [01:53:08]OFD Sender: No OFD packet to send [01:53:13]OFD Sender: No OFD packet to send [01:53:18]OFD Sender: No OFD packet to send [01:53:23]OFD Sender: No OFD packet to send [01:53:28]OFD Sender: No OFD packet to send [01:53:33]OFD Sender: No OFD packet to send [01:53:38]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:05]accept exits with 7 [01:57:05]New connection [01:57:05]New thread 3067387236 created [01:57:05]Thread 3067530596 joined [01:57:05]Waiting for new connection... [01:57:05] Sock 7.Parse request [01:57:05]Sock 7.Check first char [01:57:05]Sock 7.First char is OK [01:57:05]request: POST /json_proto HTTP/1.0 [01:57:05]Method: POST [01:57:05]URL: /json_proto [01:57:05]Method is POST - this is cgi request [01:57:05]url: /json_proto [01:57:05]query_string will be loaded in cgi processing [01:57:05]execute_cgi json_proto POST (null) [01:57:05]execute_cgi path=json_proto method=POST [01:57:05]POST find Content-Length [01:57:05]Host: 172.17.38.197:8080 [01:57:05]Content-Length: 725 [01:57:05]Content-Type: application/json [01:57:05] [01:57:05]POST finish read [01:57:05]Found Content-Length = 725 [01:57:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300202", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:57:05]execute_script... [01:57:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300202", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:57:05]POST & json_proto [01:57:05]process_json_proto [01:57:05]json parsed OK: [01:57:05]protocol is kg_v1.0 [01:57:05]action value=close_receipt [01:57:05]process_action close_receipt [01:57:05]cmd_close_receipt [01:57:05]MH_GetDate [01:57:05]Write to MH i2c: F0 00 00 A8 27 BE [01:57:05]Write i2c OK [01:57:05]MH_I2C_Read... [01:57:05]Read from MH i2c: F0 [01:57:05]MH_I2C_Read... [01:57:05]Read from MH i2c: F0 09 00 [01:57:05]MH_I2C_Read... [01:57:05]Read from MH i2c: F0 09 00 A8 27 00 78 30 93 66 1E 0D 88 66 81 [01:57:05]GetLastDocTimeStamp 1720919900 [01:57:05]current date 1720922232 [01:57:05]FM_GetShiftState [01:57:05]SAM_PROTO_GetShiftState [01:57:05]wFMCommunicate request_size=4 [01:57:05]MH_SAM_APDU [01:57:05]CAPDU: 80 13 01 00 [01:57:05]Write to MH i2c: E2 08 00 A9 27 80 13 01 00 00 00 00 00 4D [01:57:05]Write i2c OK [01:57:05]MH_I2C_Read... [01:57:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:57:05]Read from MH i2c: E2 [01:57:05]MH_I2C_Read... [01:57:05]Read from MH i2c: E2 0E 00 [01:57:05]MH_I2C_Read... [01:57:05]Read from MH i2c: E2 0E 00 A9 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 B4 [01:57:05]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:57:05]wFMCommunicate OK [01:57:05]SAM_PROTO_GetShiftState done [01:57:05]FM_GetShiftState done [01:57:05]opened in 1720916042 [01:57:05]opened+sec_in_day 1721002442 [01:57:05]quantity*price = 14000 [01:57:05]sum+1 = 14001 [01:57:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 3 14.07.2024 01:57 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43075 ФПД: 98651223576807 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T015712&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43075&fm=98651223576807&tin=02508201610067®Number=0000000000091176&sum=14000 0 [01:57:07]StoreToDocumentArchive [01:57:07]shift 446 fd 43075 [01:57:07]save to /storage/0446/doc_00043075 [01:57:07]save last doc name /storage/0446/doc_00043075 to /storage/kkm_last_doc_name [01:57:07]save OK [01:57:07]Clear old archive folders... [01:57:07]ProcessDocumentItem done err = 0, tmpTLVsize=273 [01:57:07]tlvbuf is B6FE5230 [01:57:07]SAM_PROTO_ClearQueue [01:57:07]wFMCommunicate request_size=4 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 09 00 00 [01:57:07]Write to MH i2c: E2 08 00 B6 27 80 09 00 00 00 00 00 00 4F [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 B6 27 00 90 00 51 [01:57:07]RAPDU: 90 00 [01:57:07]wFMCommunicate OK [01:57:07]SAM_PROTO_ClearQueue done [01:57:07]KKMCreateOFDPacket [01:57:07]OFDProtocolAddRootSTLVToBuf [01:57:07]FM_MakeSignedData [01:57:07]FM_MakeSignedData [01:57:07]SAM_PROTO_SignData [01:57:07]wFMCommunicate request_size=4 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 0D 01 02 [01:57:07]Write to MH i2c: E2 08 00 B7 27 80 0D 01 02 00 00 00 00 57 [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 B7 27 00 90 00 52 [01:57:07]RAPDU: 90 00 [01:57:07]wFMCommunicate OK [01:57:07]wFMCommunicate request_size=255 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 78 30 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 [01:57:07]Write to MH i2c: E2 02 01 B8 27 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 78 30 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 00 00 AE [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 B8 27 00 90 00 53 [01:57:07]RAPDU: 90 00 [01:57:07]wFMCommunicate OK [01:57:07]wFMCommunicate request_size=32 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 35 10 04 04 00 43 A8 00 00 35 04 06 00 59 B9 07 23 50 E7 [01:57:07]Write to MH i2c: E2 23 00 B9 27 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 35 10 04 04 00 43 A8 00 00 35 04 06 00 59 B9 07 23 50 E7 00 00 19 [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 03 00 B9 27 00 90 00 54 [01:57:07]RAPDU: 90 00 [01:57:07]wFMCommunicate OK [01:57:07]wFMCommunicate request_size=4 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 0D 03 02 [01:57:07]Write to MH i2c: E2 08 00 BA 27 80 0D 03 02 00 00 00 00 5C [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 0B 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 0B 00 BA 27 00 53 63 AA 3C 6D 7F A5 22 90 00 AC [01:57:07]RAPDU: 53 63 AA 3C 6D 7F A5 22 90 00 [01:57:07]wFMCommunicate OK [01:57:07]SAM_PROTO_SignData done [01:57:07]FM_MakeSignedData done [01:57:07]CreateOFDProtocolMessage [01:57:07]wFMCommunicate request_size=4 [01:57:07]MH_SAM_APDU [01:57:07]CAPDU: 80 11 00 00 [01:57:07]Write to MH i2c: E2 08 00 BB 27 80 11 00 00 00 00 00 00 5C [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:57:07]Read from MH i2c: E2 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 17 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: E2 17 00 BB 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 B3 [01:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:57:07]wFMCommunicate OK [01:57:07]CreateOFDProtocolMessage done [01:57:07]OFDSenderStorePacket 43075 [01:57:07]StoreOFDPacket docnum=43075 [01:57:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 0F 39 1D 01 5E 2B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 78 30 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 43 A8 00 00 35 04 06 00 59 B9 07 23 50 E7 53 63 AA 3C 6D 7F A5 22 [01:57:07]CheckFolder [01:57:07]dirname=/storage/ofd_packets [01:57:07]CheckFolder done [01:57:07]ProducePacketName [01:57:07]name=ofd_packets/00043075 [01:57:07]NVStorageSaveData ofd_packets/00043075 [01:57:07]File name is /storage/ofd_packets/00043075 [01:57:07]Write 323 bytes [01:57:07]NVStorageSaveData done [01:57:07]OFDSenderStorePacket done [01:57:07]KKMCreateOFDPacket done [01:57:07]NVStorageSaveData kkm_last_timestamp [01:57:07]File name is /storage/kkm_last_timestamp [01:57:07]Write 4 bytes [01:57:07]NVStorageSaveData done [01:57:07]ExternCall_PrintAddStr [01:57:07]wPrintStart [01:57:07]Write to MH i2c: 01 00 00 BC 27 E3 [01:57:07]Write i2c OK [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: 01 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: 01 07 00 [01:57:07]MH_I2C_Read... [01:57:07]Read from MH i2c: 01 07 00 BC 27 00 00 00 00 00 FF 0F F8 [01:57:07]RasterBufferAndPrint [01:57:07]line Счет N : (3)300202 [01:57:07]line ИНН: 02508201610067 [01:57:07]line Контрольно-Кассовый Чек [01:57:07]line ПРОДАЖА [01:57:07]line Товар: 48743570 [01:57:07]line Сигареты Winston XStyle Blue [01:57:07]line 1.000 * 140.00 [01:57:07]line = 140.00 [01:57:07]line НДС 12% НСП 1% [01:57:07]line > о реализуемом товаре [01:57:07]line ИТОГО: 140.00 [01:57:07]line НСП 1% : 1.24 [01:57:07]line НДС 12% : 14.87 [01:57:07]line Наличными: 140.00 [01:57:07]line Безнал.: 0.00 [01:57:07]line Место: АЗС № 71 "Партнер Нефть" [01:57:07]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [01:57:07]line СНО: Общий режим [01:57:07]line Чек 3 14.07.2024 01:57 [01:57:07]line Смена: 446 ФФД: 1.0 [01:57:07]line ЗНМ: 0300000153 [01:57:07]line РНМ: 0000000000091176 [01:57:07]line Версия ККМ: 001 [01:57:07]line ФМ: 0000000000874935 [01:57:07]line ФД: 43075 [01:57:07]line ФПД: 98651223576807 [01:57:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T015712&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43075&fm=98651223576807&tin=02508201610067®Number=0000000000091176&sum=14000 [01:57:07]line 0 [01:57:07]OFD Sender: Processing packet 43075 [packets to send 31, broken 30] [01:57:07]ProducePacketName [01:57:07]name=ofd_packets/00043075 [01:57:07]OFD Sender: To server: pG, [01:57:07]CommunicateWithHost lk.salyk.kg:30040 [01:57:07]ConnectInit lk.salyk.kg [01:57:07]written 0, free lines is 4095 [01:57:08]Connected sock=10 [01:57:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 25 01 00 00 0F 39 1D 01 5E 2B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 78 30 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 43 A8 00 00 35 04 06 00 59 B9 07 23 50 E7 53 63 AA 3C 6D 7F A5 22 [01:57:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 E5 C6 47 00 FD 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 43 A8 00 00 F4 03 04 00 71 DC 92 66 B6 04 01 00 00 E5 9A 08 A5 73 18 31 4C [01:57:08]CommunicateWithHost err = 0 [01:57:08]CheckOFDResponse [01:57:08]1017 (14) - 77093643461234 [01:57:08]1041 (16) - 0000000000874935 [01:57:08]1040 (4) - 43075 [01:57:08]1012 (4) - 13.07.2024 19:58 [01:57:08]1206 (1) - 0 [01:57:08]OFD Sender: Remove packet 43075 [01:57:08]ProducePacketName [01:57:08]name=ofd_packets/00043075 [01:57:08]NVStorageDeleteData [01:57:08]Write to MH i2c: 01 00 00 E4 27 0B [01:57:08]Write i2c OK [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: 01 [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: 01 07 00 [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: 01 07 00 E4 27 00 00 00 00 00 FF 0C 1D [01:57:08]RasterBufferAndPrint [01:57:08]line [01:57:08]line [01:57:08]line [01:57:08]line [01:57:08]line [01:57:08]written 0, free lines is 3336 [01:57:08]MH_Cut [01:57:08]Write to MH i2c: D1 01 00 EB 27 01 E4 [01:57:08]Write i2c OK [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: D1 [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: D1 01 00 [01:57:08]MH_I2C_Read... [01:57:08]Read from MH i2c: D1 01 00 EB 27 00 E3 [01:57:08]Write to MH i2c: 01 00 00 EC 27 13 [01:57:08]Write i2c OK [01:57:08]MH_I2C_Read... [01:57:08]OFD Sender: No OFD packet to send [01:57:09]*** Cut start [01:57:09]*** Partial cut [01:57:09]*** CUTSNS_PIN = 1 [01:57:09]*** CUTSNS_PIN = 0 [01:57:09]*** Brake cut motor [01:57:09]Read from MH i2c: 01 [01:57:09]MH_I2C_Read... [01:57:09]*** Stop cut motor [01:57:09]Read from MH i2c: 01 07 00 [01:57:09]MH_I2C_Read... [01:57:09]*** Cut end [01:57:09]Read from MH i2c: 01 07 00 EC 27 00 00 00 00 00 FF 0F 28 [01:57:09]process_action close_receipt done [01:57:09]requested_data is exist [01:57:09]produce_requested_data [01:57:09]requested_item fm.sn is exist - process it [01:57:09]wFMCommunicate request_size=4 [01:57:09]MH_SAM_APDU [01:57:09]CAPDU: 80 11 00 00 [01:57:09]Write to MH i2c: E2 08 00 ED 27 80 11 00 00 00 00 00 00 8E [01:57:09]Write i2c OK [01:57:09]MH_I2C_Read... [01:57:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:57:09]Read from MH i2c: E2 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 17 00 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 17 00 ED 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 E5 [01:57:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [01:57:09]wFMCommunicate OK [01:57:09]requested_item fd.num is exist - process it [01:57:09]SAM_PROTO_GetFieldsCounters [01:57:09]wFMCommunicate request_size=4 [01:57:09]MH_SAM_APDU [01:57:09]CAPDU: 80 13 00 00 [01:57:09]Write to MH i2c: E2 08 00 EE 27 80 13 00 00 00 00 00 00 91 [01:57:09]Write i2c OK [01:57:09]MH_I2C_Read... [01:57:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:57:09]Read from MH i2c: E2 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 62 00 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 62 00 EE 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 43 A8 00 00 0E 04 04 00 BE 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 68 [01:57:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 43 A8 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:57:09]wFMCommunicate OK [01:57:09]SAM_PROTO_GetFieldsCounters done [01:57:09]requested_item shift.num is exist - process it [01:57:09]requested_item shift.opened is exist - process it [01:57:09]req_shift_opened [01:57:09]FM_GetShiftState [01:57:09]SAM_PROTO_GetShiftState [01:57:09]wFMCommunicate request_size=4 [01:57:09]MH_SAM_APDU [01:57:09]CAPDU: 80 13 01 00 [01:57:09]Write to MH i2c: E2 08 00 EF 27 80 13 01 00 00 00 00 00 93 [01:57:09]Write i2c OK [01:57:09]MH_I2C_Read... [01:57:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:57:09]Read from MH i2c: E2 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 0E 00 [01:57:09]MH_I2C_Read... [01:57:09]Read from MH i2c: E2 0E 00 EF 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 FA [01:57:09]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [01:57:09]wFMCommunicate OK [01:57:09]SAM_PROTO_GetShiftState done [01:57:09]FM_GetShiftState done [01:57:09]req_shift_opened done [01:57:09]requested_item shift.open_date is exist - process it [01:57:09]req_shift_open_date [01:57:09]req_shift_open_date done [01:57:09]requested_item shift.sale.total is exist - process it [01:57:09]SAM_PROTO_GetShiftData [01:57:09]wFMCommunicate request_size=4 [01:57:09]MH_SAM_APDU [01:57:09]CAPDU: 80 13 02 00 [01:57:09]Write to MH i2c: E2 08 00 F0 27 80 13 02 00 00 00 00 00 95 [01:57:09]Write i2c OK [01:57:09]MH_I2C_Read... [01:57:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:57:10]Read from MH i2c: E2 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 F0 27 00 A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 F0 B9 70 04 02 00 F0 B9 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BE 13 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 A6 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 F7 03 00 00 EF 03 09 90 00 0A [01:57:10]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 F0 B9 70 04 02 00 F0 B9 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BE 13 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 A6 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 F7 03 00 00 EF 03 09 90 00 [01:57:10]wFMCommunicate OK [01:57:10]wFMCommunicate request_size=4 [01:57:10]MH_SAM_APDU [01:57:10]CAPDU: 80 17 00 00 [01:57:10]Write to MH i2c: E2 08 00 F1 27 80 17 00 00 00 00 00 00 98 [01:57:10]Write i2c OK [01:57:10]MH_I2C_Read... [01:57:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:57:10]Read from MH i2c: E2 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 F1 27 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 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 90 00 A3 [01:57:10]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:57:10]wFMCommunicate OK [01:57:10]wFMCommunicate request_size=4 [01:57:10]MH_SAM_APDU [01:57:10]CAPDU: 80 17 00 00 [01:57:10]Write to MH i2c: E2 08 00 F2 27 80 17 00 00 00 00 00 00 99 [01:57:10]Write i2c OK [01:57:10]MH_I2C_Read... [01:57:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:57:10]Read from MH i2c: E2 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 [01:57:10]MH_I2C_Read... [01:57:10]Read from MH i2c: E2 FD 00 F2 27 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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 64 [01:57:10]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:57:11]wFMCommunicate OK [01:57:11]wFMCommunicate request_size=4 [01:57:11]MH_SAM_APDU [01:57:11]CAPDU: 80 17 00 00 [01:57:11]Write to MH i2c: E2 08 00 F3 27 80 17 00 00 00 00 00 00 9A [01:57:11]Write i2c OK [01:57:11]MH_I2C_Read... [01:57:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:57:11]Read from MH i2c: E2 [01:57:11]MH_I2C_Read... [01:57:11]Read from MH i2c: E2 FD 00 [01:57:11]MH_I2C_Read... [01:57:11]Read from MH i2c: E2 FD 00 F3 27 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 0F [01:57:11]RAPDU: F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 [01:57:11]wFMCommunicate OK [01:57:11]wFMCommunicate request_size=4 [01:57:11]MH_SAM_APDU [01:57:11]CAPDU: 80 17 00 00 [01:57:11]Write to MH i2c: E2 08 00 F4 27 80 17 00 00 00 00 00 00 9B [01:57:11]Write i2c OK [01:57:11]MH_I2C_Read... [01:57:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [01:57:11]Read from MH i2c: E2 [01:57:11]MH_I2C_Read... [01:57:11]Read from MH i2c: E2 C5 00 [01:57:11]MH_I2C_Read... [01:57:11]Read from MH i2c: E2 C5 00 F4 27 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 [01:57:11]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:57:11]wFMCommunicate OK [01:57:11]SAM_PROTO_GetShiftData done [01:57:11]requested_item shift.sale.total_cash is exist - process it [01:57:11]requested_item shift.sale_refund.total is exist - process it [01:57:11]requested_item shift.sale_refund.total_cash is exist - process it [01:57:11]produce_requested_data done [01:57:11]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43075,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":476.00,"shift.sale.total_cash":476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:57:11]process_action_free close_receipt [01:57:11]json_value_free [01:57:11]json_value_free done [01:57:11]process_json_proto returns [01:57:11]Send response to host [01:57:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43075,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":476.00,"shift.sale.total_cash":476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:57:11]free response buf [01:57:11]execute_script done [01:57:11]execute_script returns [01:57:11]free content buf [01:57:11]Sock 7.Close socket [01:57:11]Sock 7.Thread stoped [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:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:49]accept exits with 9 [02:04:49]New connection [02:04:49]New thread 3067530596 created [02:04:49]Thread 3067387236 joined [02:04:49]Waiting for new connection... [02:04:49] Sock 9.Parse request [02:04:49]Sock 9.Check first char [02:04:49]Sock 9.First char is OK [02:04:49]request: POST /json_proto HTTP/1.0 [02:04:49]Method: POST [02:04:49]URL: /json_proto [02:04:49]Method is POST - this is cgi request [02:04:49]url: /json_proto [02:04:49]query_string will be loaded in cgi processing [02:04:49]execute_cgi json_proto POST (null) [02:04:49]execute_cgi path=json_proto method=POST [02:04:49]POST find Content-Length [02:04:49]Host: 172.17.38.197:8080 [02:04:49]Content-Length: 983 [02:04:49]Content-Type: application/json [02:04:49] [02:04:49]POST finish read [02:04:49]Found Content-Length = 983 [02:04:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300203", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 2.000, "sum" : 800.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" : 800.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:04:49]execute_script... [02:04:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300203", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 2.000, "sum" : 800.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" : 800.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:04:49]POST & json_proto [02:04:49]process_json_proto [02:04:49]json parsed OK: [02:04:49]protocol is kg_v1.0 [02:04:49]action value=close_receipt [02:04:49]process_action close_receipt [02:04:49]cmd_close_receipt [02:04:49]MH_GetDate [02:04:49]Write to MH i2c: F0 00 00 F5 27 0B [02:04:49]Write i2c OK [02:04:49]MH_I2C_Read... [02:04:49]Read from MH i2c: F0 [02:04:49]MH_I2C_Read... [02:04:49]Read from MH i2c: F0 09 00 [02:04:49]MH_I2C_Read... [02:04:49]Read from MH i2c: F0 09 00 F5 27 00 48 32 93 66 1E 0D 88 66 A0 [02:04:49]GetLastDocTimeStamp 1720922232 [02:04:49]current date 1720922696 [02:04:49]FM_GetShiftState [02:04:49]SAM_PROTO_GetShiftState [02:04:49]wFMCommunicate request_size=4 [02:04:49]MH_SAM_APDU [02:04:49]CAPDU: 80 13 01 00 [02:04:49]Write to MH i2c: E2 08 00 F6 27 80 13 01 00 00 00 00 00 9A [02:04:49]Write i2c OK [02:04:49]MH_I2C_Read... [02:04:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:04:49]Read from MH i2c: E2 [02:04:49]MH_I2C_Read... [02:04:49]Read from MH i2c: E2 0E 00 [02:04:49]MH_I2C_Read... [02:04:49]Read from MH i2c: E2 0E 00 F6 27 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 01 [02:04:49]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:04:49]wFMCommunicate OK [02:04:49]SAM_PROTO_GetShiftState done [02:04:49]FM_GetShiftState done [02:04:49]opened in 1720916042 [02:04:49]opened+sec_in_day 1721002442 [02:04:49]quantity*price = 80000 [02:04:49]sum+1 = 80001 [02:04:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 800.00 НСП 1% : 7.08 НДС 12% : 84.96 Наличными: 0.00 Безнал.: 800.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 4 14.07.2024 02:04 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874935 ФД: 43076 ФПД: 230446613887298 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T020456&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43076&fm=230446613887298&tin=02508201610067®Number=0000000000091176&sum=80000 0 [02:04:50]StoreToDocumentArchive [02:04:50]shift 446 fd 43076 [02:04:50]save to /storage/0446/doc_00043076 [02:04:50]save last doc name /storage/0446/doc_00043076 to /storage/kkm_last_doc_name [02:04:50]save OK [02:04:50]Clear old archive folders... [02:04:50]ProcessDocumentItem done err = 0, tmpTLVsize=286 [02:04:50]tlvbuf is 015A06A0 [02:04:50]SAM_PROTO_ClearQueue [02:04:50]wFMCommunicate request_size=4 [02:04:50]MH_SAM_APDU [02:04:50]CAPDU: 80 09 00 00 [02:04:50]Write to MH i2c: E2 08 00 03 28 80 09 00 00 00 00 00 00 9D [02:04:50]Write i2c OK [02:04:50]MH_I2C_Read... [02:04:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:04:50]Read from MH i2c: E2 [02:04:50]MH_I2C_Read... [02:04:50]Read from MH i2c: E2 03 00 [02:04:50]MH_I2C_Read... [02:04:50]Read from MH i2c: E2 03 00 03 28 00 90 00 9F [02:04:50]RAPDU: 90 00 [02:04:50]wFMCommunicate OK [02:04:50]SAM_PROTO_ClearQueue done [02:04:50]KKMCreateOFDPacket [02:04:50]OFDProtocolAddRootSTLVToBuf [02:04:50]FM_MakeSignedData [02:04:50]FM_MakeSignedData [02:04:50]SAM_PROTO_SignData [02:04:50]wFMCommunicate request_size=4 [02:04:50]MH_SAM_APDU [02:04:50]CAPDU: 80 0D 01 02 [02:04:50]Write to MH i2c: E2 08 00 04 28 80 0D 01 02 00 00 00 00 A5 [02:04:50]Write i2c OK [02:04:50]MH_I2C_Read... [02:04:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:04:50]Read from MH i2c: E2 [02:04:50]MH_I2C_Read... [02:04:50]Read from MH i2c: E2 03 00 [02:04:50]MH_I2C_Read... [02:04:50]Read from MH i2c: E2 03 00 04 28 00 90 00 A0 [02:04:50]RAPDU: 90 00 [02:04:50]wFMCommunicate OK [02:04:50]wFMCommunicate request_size=255 [02:04:50]MH_SAM_APDU [02:04:50]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 80 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 32 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 [02:04:50]Write to MH i2c: E2 02 01 05 28 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 80 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 32 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 00 00 9C [02:04:51]Write i2c OK [02:04:51]MH_I2C_Read... [02:04:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:04:51]Read from MH i2c: E2 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 03 00 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 03 00 05 28 00 90 00 A1 [02:04:51]RAPDU: 90 00 [02:04:51]wFMCommunicate OK [02:04:51]wFMCommunicate request_size=45 [02:04:51]MH_SAM_APDU [02:04:51]CAPDU: 80 0D 02 02 28 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 44 A8 00 00 35 04 06 00 D1 97 08 8F 79 42 [02:04:51]Write to MH i2c: E2 30 00 06 28 80 0D 02 02 28 00 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 44 A8 00 00 35 04 06 00 D1 97 08 8F 79 42 00 00 AB [02:04:51]Write i2c OK [02:04:51]MH_I2C_Read... [02:04:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:04:51]Read from MH i2c: E2 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 03 00 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 03 00 06 28 00 90 00 A2 [02:04:51]RAPDU: 90 00 [02:04:51]wFMCommunicate OK [02:04:51]wFMCommunicate request_size=4 [02:04:51]MH_SAM_APDU [02:04:51]CAPDU: 80 0D 03 02 [02:04:51]Write to MH i2c: E2 08 00 07 28 80 0D 03 02 00 00 00 00 AA [02:04:51]Write i2c OK [02:04:51]MH_I2C_Read... [02:04:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:04:51]Read from MH i2c: E2 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 0B 00 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 0B 00 07 28 00 0D D4 FA DE 68 31 40 1D 90 00 5A [02:04:51]RAPDU: 0D D4 FA DE 68 31 40 1D 90 00 [02:04:51]wFMCommunicate OK [02:04:51]SAM_PROTO_SignData done [02:04:51]FM_MakeSignedData done [02:04:51]CreateOFDProtocolMessage [02:04:51]wFMCommunicate request_size=4 [02:04:51]MH_SAM_APDU [02:04:51]CAPDU: 80 11 00 00 [02:04:51]Write to MH i2c: E2 08 00 08 28 80 11 00 00 00 00 00 00 AA [02:04:51]Write i2c OK [02:04:51]MH_I2C_Read... [02:04:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:04:51]Read from MH i2c: E2 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 17 00 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: E2 17 00 08 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 01 [02:04:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:04:51]wFMCommunicate OK [02:04:51]CreateOFDProtocolMessage done [02:04:51]OFDSenderStorePacket 43076 [02:04:51]StoreOFDPacket docnum=43076 [02:04:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 32 01 00 00 42 06 2A 01 6F 2A 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 80 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 32 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 44 A8 00 00 35 04 06 00 D1 97 08 8F 79 42 0D D4 FA DE 68 31 40 1D [02:04:51]CheckFolder [02:04:51]dirname=/storage/ofd_packets [02:04:51]CheckFolder done [02:04:51]ProducePacketName [02:04:51]name=ofd_packets/00043076 [02:04:51]NVStorageSaveData ofd_packets/00043076 [02:04:51]File name is /storage/ofd_packets/00043076 [02:04:51]Write 336 bytes [02:04:51]NVStorageSaveData done [02:04:51]OFDSenderStorePacket done [02:04:51]KKMCreateOFDPacket done [02:04:51]NVStorageSaveData kkm_last_timestamp [02:04:51]File name is /storage/kkm_last_timestamp [02:04:51]Write 4 bytes [02:04:51]NVStorageSaveData done [02:04:51]ExternCall_PrintAddStr [02:04:51]wPrintStart [02:04:51]Write to MH i2c: 01 00 00 09 28 31 [02:04:51]Write i2c OK [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: 01 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: 01 07 00 [02:04:51]MH_I2C_Read... [02:04:51]Read from MH i2c: 01 07 00 09 28 00 00 00 00 00 FF 0F 46 [02:04:51]RasterBufferAndPrint [02:04:51]line Счет N : (3)300203 [02:04:51]line ИНН: 02508201610067 [02:04:51]line Контрольно-Кассовый Чек [02:04:51]line ПРОДАЖА [02:04:51]line Товар: 4700001060077 [02:04:51]line Коньяк КВ Кыргызстан 0,2л [02:04:51]line 2.000 * 400.00 [02:04:51]line = 800.00 [02:04:51]line НДС 12% НСП 1% [02:04:51]line > о реализуемом товаре [02:04:51]line ИТОГО: 800.00 [02:04:51]line НСП 1% : 7.08 [02:04:51]line НДС 12% : 84.96 [02:04:51]line Наличными: 0.00 [02:04:51]line Безнал.: 800.00 [02:04:51]line Место: АЗС № 71 "Партнер Нефть" [02:04:51]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [02:04:51]line СНО: Общий режим [02:04:51]line Чек 4 14.07.2024 02:04 [02:04:51]line Смена: 446 ФФД: 1.0 [02:04:51]line ЗНМ: 0300000153 [02:04:51]line РНМ: 0000000000091176 [02:04:51]line Версия ККМ: 001 [02:04:51]line Платежная система: АКБ Кыргызстан [02:04:51]line ФМ: 0000000000874935 [02:04:51]line ФД: 43076 [02:04:51]line ФПД: 230446613887298 [02:04:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T020456&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43076&fm=230446613887298&tin=02508201610067®Number=0000000000091176&sum=80000 [02:04:51]line 0 [02:04:51]OFD Sender: Processing packet 43076 [packets to send 31, broken 30] [02:04:51]ProducePacketName [02:04:51]name=ofd_packets/00043076 [02:04:51]OFD Sender: To server: pG, [02:04:51]CommunicateWithHost lk.salyk.kg:30040 [02:04:51]ConnectInit lk.salyk.kg [02:04:51]written 0, free lines is 4095 [02:04:51]Connected sock=10 [02:04:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 32 01 00 00 42 06 2A 01 6F 2A 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 80 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 48 32 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 44 A8 00 00 35 04 06 00 D1 97 08 8F 79 42 0D D4 FA DE 68 31 40 1D [02:04:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 FC 7A 47 00 20 AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 44 A8 00 00 F4 03 04 00 40 DE 92 66 B6 04 01 00 00 B0 E7 82 1C 8E 49 7D D8 [02:04:52]CommunicateWithHost err = 0 [02:04:52]CheckOFDResponse [02:04:52]1017 (14) - 77093643461234 [02:04:52]1041 (16) - 0000000000874935 [02:04:52]1040 (4) - 43076 [02:04:52]1012 (4) - 13.07.2024 20:06 [02:04:52]1206 (1) - 0 [02:04:52]OFD Sender: Remove packet 43076 [02:04:52]ProducePacketName [02:04:52]name=ofd_packets/00043076 [02:04:52]NVStorageDeleteData [02:04:52]Write to MH i2c: 01 00 00 33 28 5B [02:04:52]Write i2c OK [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: 01 [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: 01 07 00 [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: 01 07 00 33 28 00 00 00 00 00 01 0D 70 [02:04:52]RasterBufferAndPrint [02:04:52]line [02:04:52]line [02:04:52]line [02:04:52]line [02:04:52]line [02:04:52]written 0, free lines is 3335 [02:04:52]MH_Cut [02:04:52]Write to MH i2c: D1 01 00 3A 28 01 34 [02:04:52]Write i2c OK [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: D1 [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: D1 01 00 [02:04:52]MH_I2C_Read... [02:04:52]Read from MH i2c: D1 01 00 3A 28 00 33 [02:04:52]Write to MH i2c: 01 00 00 3B 28 63 [02:04:52]Write i2c OK [02:04:52]MH_I2C_Read... [02:04:52]OFD Sender: No OFD packet to send [02:04:52]*** Cut start [02:04:52]*** Partial cut [02:04:52]*** CUTSNS_PIN = 1 [02:04:53]*** CUTSNS_PIN = 0 [02:04:53]*** Brake cut motor [02:04:53]Read from MH i2c: 01 [02:04:53]MH_I2C_Read... [02:04:53]*** Stop cut motor [02:04:53]*** Cut end [02:04:53]Read from MH i2c: 01 07 00 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: 01 07 00 3B 28 00 00 00 00 00 FF 0F 78 [02:04:53]process_action close_receipt done [02:04:53]requested_data is exist [02:04:53]produce_requested_data [02:04:53]requested_item fm.sn is exist - process it [02:04:53]wFMCommunicate request_size=4 [02:04:53]MH_SAM_APDU [02:04:53]CAPDU: 80 11 00 00 [02:04:53]Write to MH i2c: E2 08 00 3C 28 80 11 00 00 00 00 00 00 DE [02:04:53]Write i2c OK [02:04:53]MH_I2C_Read... [02:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:04:53]Read from MH i2c: E2 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 17 00 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 17 00 3C 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 35 [02:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:04:53]wFMCommunicate OK [02:04:53]requested_item fd.num is exist - process it [02:04:53]SAM_PROTO_GetFieldsCounters [02:04:53]wFMCommunicate request_size=4 [02:04:53]MH_SAM_APDU [02:04:53]CAPDU: 80 13 00 00 [02:04:53]Write to MH i2c: E2 08 00 3D 28 80 13 00 00 00 00 00 00 E1 [02:04:53]Write i2c OK [02:04:53]MH_I2C_Read... [02:04:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:04:53]Read from MH i2c: E2 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 62 00 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 62 00 3D 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 44 A8 00 00 0E 04 04 00 BE 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 BC [02:04:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 44 A8 00 00 0E 04 04 00 BE 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 [02:04:53]wFMCommunicate OK [02:04:53]SAM_PROTO_GetFieldsCounters done [02:04:53]requested_item shift.num is exist - process it [02:04:53]requested_item shift.opened is exist - process it [02:04:53]req_shift_opened [02:04:53]FM_GetShiftState [02:04:53]SAM_PROTO_GetShiftState [02:04:53]wFMCommunicate request_size=4 [02:04:53]MH_SAM_APDU [02:04:53]CAPDU: 80 13 01 00 [02:04:53]Write to MH i2c: E2 08 00 3E 28 80 13 01 00 00 00 00 00 E3 [02:04:53]Write i2c OK [02:04:53]MH_I2C_Read... [02:04:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:04:53]Read from MH i2c: E2 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 0E 00 [02:04:53]MH_I2C_Read... [02:04:53]Read from MH i2c: E2 0E 00 3E 28 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 4A [02:04:53]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:04:53]wFMCommunicate OK [02:04:53]SAM_PROTO_GetShiftState done [02:04:53]FM_GetShiftState done [02:04:53]req_shift_opened done [02:04:53]requested_item shift.open_date is exist - process it [02:04:53]req_shift_open_date [02:04:53]req_shift_open_date done [02:04:53]requested_item shift.sale.total is exist - process it [02:04:53]SAM_PROTO_GetShiftData [02:04:53]wFMCommunicate request_size=4 [02:04:53]MH_SAM_APDU [02:04:53]CAPDU: 80 13 02 00 [02:04:53]Write to MH i2c: E2 08 00 3F 28 80 13 02 00 00 00 00 00 E5 [02:04:53]Write i2c OK [02:04:53]MH_I2C_Read... [02:04:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:04:54]Read from MH i2c: E2 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 3F 28 00 AC 04 AA 04 A8 04 6E 04 04 00 04 00 00 00 69 04 99 00 6F 04 04 00 04 00 00 00 B1 04 03 00 70 F2 01 70 04 02 00 F0 B9 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 34 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 6A 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 FC [02:04:54]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 04 00 00 00 69 04 99 00 6F 04 04 00 04 00 00 00 B1 04 03 00 70 F2 01 70 04 02 00 F0 B9 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 34 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 6A 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [02:04:54]wFMCommunicate OK [02:04:54]wFMCommunicate request_size=4 [02:04:54]MH_SAM_APDU [02:04:54]CAPDU: 80 17 00 00 [02:04:54]Write to MH i2c: E2 08 00 40 28 80 17 00 00 00 00 00 00 E8 [02:04:54]Write i2c OK [02:04:54]MH_I2C_Read... [02:04:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:04:54]Read from MH i2c: E2 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 40 28 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 FD [02:04:54]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [02:04:54]wFMCommunicate OK [02:04:54]wFMCommunicate request_size=4 [02:04:54]MH_SAM_APDU [02:04:54]CAPDU: 80 17 00 00 [02:04:54]Write to MH i2c: E2 08 00 41 28 80 17 00 00 00 00 00 00 E9 [02:04:54]Write i2c OK [02:04:54]MH_I2C_Read... [02:04:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:04:54]Read from MH i2c: E2 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 [02:04:54]MH_I2C_Read... [02:04:54]Read from MH i2c: E2 FD 00 41 28 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 AA [02:04:54]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [02:04:54]wFMCommunicate OK [02:04:54]wFMCommunicate request_size=4 [02:04:54]MH_SAM_APDU [02:04:54]CAPDU: 80 17 00 00 [02:04:54]Write to MH i2c: E2 08 00 42 28 80 17 00 00 00 00 00 00 EA [02:04:54]Write i2c OK [02:04:54]MH_I2C_Read... [02:04:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:04:55]Read from MH i2c: E2 [02:04:55]MH_I2C_Read... [02:04:55]Read from MH i2c: E2 FD 00 [02:04:55]MH_I2C_Read... [02:04:55]Read from MH i2c: E2 FD 00 42 28 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 5F [02:04:55]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [02:04:55]wFMCommunicate OK [02:04:55]wFMCommunicate request_size=4 [02:04:55]MH_SAM_APDU [02:04:55]CAPDU: 80 17 00 00 [02:04:55]Write to MH i2c: E2 08 00 43 28 80 17 00 00 00 00 00 00 EB [02:04:55]Write i2c OK [02:04:55]MH_I2C_Read... [02:04:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [02:04:55]Read from MH i2c: E2 [02:04:55]MH_I2C_Read... [02:04:55]Read from MH i2c: E2 C9 00 [02:04:55]MH_I2C_Read... [02:04:55]Read from MH i2c: E2 C9 00 43 28 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CF [02:04:55]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:04:55]wFMCommunicate OK [02:04:55]SAM_PROTO_GetShiftData done [02:04:55]requested_item shift.sale.total_cash is exist - process it [02:04:55]requested_item shift.sale_refund.total is exist - process it [02:04:55]requested_item shift.sale_refund.total_cash is exist - process it [02:04:55]produce_requested_data done [02:04:55]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43076,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1276.00,"shift.sale.total_cash":476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:04:55]process_action_free close_receipt [02:04:55]json_value_free [02:04:55]json_value_free done [02:04:55]process_json_proto returns [02:04:55]Send response to host [02:04:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43076,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1276.00,"shift.sale.total_cash":476.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:04:55]free response buf [02:04:55]execute_script done [02:04:55]execute_script returns [02:04:55]free content buf [02:04:55]Sock 9.Close socket [02:04:55]Sock 9.Thread stoped [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]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:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:16:58]accept exits with 7 [02:16:58]New connection [02:16:58]New thread 3067387236 created [02:16:58]Thread 3067530596 joined [02:16:58]Waiting for new connection... [02:16:58] Sock 7.Parse request [02:16:58]Sock 7.Check first char [02:16:58]Sock 7.First char is OK [02:16:58]request: POST /json_proto HTTP/1.0 [02:16:58]Method: POST [02:16:58]URL: /json_proto [02:16:58]Method is POST - this is cgi request [02:16:58]url: /json_proto [02:16:58]query_string will be loaded in cgi processing [02:16:58]execute_cgi json_proto POST (null) [02:16:58]execute_cgi path=json_proto method=POST [02:16:58]POST find Content-Length [02:16:58]Host: 172.17.38.197:8080 [02:16:58]Content-Length: 998 [02:16:58]Content-Type: application/json [02:16:58] [02:16:58]POST finish read [02:16:58]Found Content-Length = 998 [02:16:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300204", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 361.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:16:58]execute_script... [02:16:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300204", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 361.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:16:58]POST & json_proto [02:16:58]process_json_proto [02:16:58]json parsed OK: [02:16:58]protocol is kg_v1.0 [02:16:58]action value=close_receipt [02:16:58]process_action close_receipt [02:16:58]cmd_close_receipt [02:16:58]MH_GetDate [02:16:58]Write to MH i2c: F0 00 00 44 28 5B [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: F0 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: F0 09 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: F0 09 00 44 28 00 21 35 93 66 1E 0D 88 66 CC [02:16:58]GetLastDocTimeStamp 1720922696 [02:16:58]current date 1720923425 [02:16:58]FM_GetShiftState [02:16:58]SAM_PROTO_GetShiftState [02:16:58]wFMCommunicate request_size=4 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 13 01 00 [02:16:58]Write to MH i2c: E2 08 00 45 28 80 13 01 00 00 00 00 00 EA [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:16:59]Read from MH i2c: E2 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 0E 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: E2 0E 00 45 28 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 51 [02:16:59]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:16:59]wFMCommunicate OK [02:16:59]SAM_PROTO_GetShiftState done [02:16:59]FM_GetShiftState done [02:16:59]opened in 1720916042 [02:16:59]opened+sec_in_day 1721002442 [02:16:59]quantity*price = 27600 [02:16:59]sum+1 = 27601 [02:16:59]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 361.00 НСП 1% : 3.19 НДС 12% : 38.34 Наличными: 361.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 5 14.07.2024 02:17 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43077 ФПД: 249404700784206 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T021705&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43077&fm=249404700784206&tin=02508201610067®Number=0000000000091176&sum=36100 0 [02:17:00]StoreToDocumentArchive [02:17:00]shift 446 fd 43077 [02:17:00]save to /storage/0446/doc_00043077 [02:17:00]save last doc name /storage/0446/doc_00043077 to /storage/kkm_last_doc_name [02:17:00]save OK [02:17:00]Clear old archive folders... [02:17:00]ProcessDocumentItem done err = 0, tmpTLVsize=398 [02:17:00]tlvbuf is B6FE2850 [02:17:00]SAM_PROTO_ClearQueue [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 09 00 00 [02:17:00]Write to MH i2c: E2 08 00 52 28 80 09 00 00 00 00 00 00 EC [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 52 28 00 90 00 EE [02:17:00]RAPDU: 90 00 [02:17:00]wFMCommunicate OK [02:17:00]SAM_PROTO_ClearQueue done [02:17:00]KKMCreateOFDPacket [02:17:00]OFDProtocolAddRootSTLVToBuf [02:17:00]FM_MakeSignedData [02:17:00]FM_MakeSignedData [02:17:00]SAM_PROTO_SignData [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 0D 01 02 [02:17:00]Write to MH i2c: E2 08 00 53 28 80 0D 01 02 00 00 00 00 F4 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 53 28 00 90 00 EF [02:17:00]RAPDU: 90 00 [02:17:00]wFMCommunicate OK [02:17:00]wFMCommunicate request_size=255 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 8D 00 00 00 00 EB 03 26 [02:17:00]Write to MH i2c: E2 02 01 54 28 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 8D 00 00 00 00 EB 03 26 00 00 77 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 54 28 00 90 00 F0 [02:17:00]RAPDU: 90 00 [02:17:00]wFMCommunicate OK [02:17:00]wFMCommunicate request_size=157 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 0E 00 00 00 00 07 04 06 00 04 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 21 35 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 45 A8 00 00 35 04 06 00 E2 D5 0E 98 76 4E [02:17:00]Write to MH i2c: E2 A0 00 55 28 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 0E 00 00 00 00 07 04 06 00 04 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 21 35 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 45 A8 00 00 35 04 06 00 E2 D5 0E 98 76 4E 00 00 4D [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 03 00 55 28 00 90 00 F1 [02:17:00]RAPDU: 90 00 [02:17:00]wFMCommunicate OK [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 0D 03 02 [02:17:00]Write to MH i2c: E2 08 00 56 28 80 0D 03 02 00 00 00 00 F9 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 0B 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 0B 00 56 28 00 1B 1E A5 81 90 2F 07 99 90 00 B8 [02:17:00]RAPDU: 1B 1E A5 81 90 2F 07 99 90 00 [02:17:00]wFMCommunicate OK [02:17:00]SAM_PROTO_SignData done [02:17:00]FM_MakeSignedData done [02:17:00]CreateOFDProtocolMessage [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 11 00 00 [02:17:00]Write to MH i2c: E2 08 00 57 28 80 11 00 00 00 00 00 00 F9 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 17 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 17 00 57 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 50 [02:17:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:17:00]wFMCommunicate OK [02:17:00]CreateOFDProtocolMessage done [02:17:00]OFDSenderStorePacket 43077 [02:17:00]StoreOFDPacket docnum=43077 [02:17:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A2 01 00 00 AB 1C 9A 01 9F 93 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 0E 00 00 00 00 07 04 06 00 04 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 21 35 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 45 A8 00 00 35 04 06 00 E2 D5 0E 98 76 4E 1B 1E A5 81 90 2F 07 99 [02:17:00]CheckFolder [02:17:00]dirname=/storage/ofd_packets [02:17:00]CheckFolder done [02:17:00]ProducePacketName [02:17:00]name=ofd_packets/00043077 [02:17:00]NVStorageSaveData ofd_packets/00043077 [02:17:00]File name is /storage/ofd_packets/00043077 [02:17:00]Write 448 bytes [02:17:00]NVStorageSaveData done [02:17:00]OFDSenderStorePacket done [02:17:00]KKMCreateOFDPacket done [02:17:00]NVStorageSaveData kkm_last_timestamp [02:17:00]File name is /storage/kkm_last_timestamp [02:17:00]Write 4 bytes [02:17:00]NVStorageSaveData done [02:17:00]ExternCall_PrintAddStr [02:17:00]wPrintStart [02:17:00]Write to MH i2c: 01 00 00 58 28 80 [02:17:00]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]OFD Sender: Processing packet 43077 [packets to send 31, broken 30] [02:17:01]ProducePacketName [02:17:01]name=ofd_packets/00043077 [02:17:01]OFD Sender: To server: pG, [02:17:01]CommunicateWithHost lk.salyk.kg:30040 [02:17:01]ConnectInit lk.salyk.kg [02:17:01]Read from MH i2c: 01 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 07 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 07 00 58 28 00 00 00 00 00 FF 0F 95 [02:17:01]RasterBufferAndPrint [02:17:01]line Счет N : (3)300204 [02:17:01]line ИНН: 02508201610067 [02:17:01]line Контрольно-Кассовый Чек [02:17:01]line ПРОДАЖА [02:17:01]line Товар: 4640030091645 [02:17:01]line Сигареты ESSE Exchange M [02:17:01]line 2.000 * 138.00 [02:17:01]line = 276.00 [02:17:01]line НДС 12% НСП 1% [02:17:01]line > о реализуемом товаре [02:17:01]line Товар: 4600682557456 [02:17:01]line Напиток FLash up energy эн ж/б 0,5/0,45л [02:17:01]line 1.000 * 85.00 [02:17:01]line = 85.00 [02:17:01]line НДС 12% НСП 1% [02:17:01]line > о реализуемом товаре [02:17:01]line ИТОГО: 361.00 [02:17:01]line НСП 1% : 3.19 [02:17:01]line НДС 12% : 38.34 [02:17:01]line Наличными: 361.00 [02:17:01]line Безнал.: 0.00 [02:17:01]line Место: АЗС № 71 "Партнер Нефть" [02:17:01]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [02:17:01]line СНО: Общий режим [02:17:01]line Чек 5 14.07.2024 02:17 [02:17:01]line Смена: 446 ФФД: 1.0 [02:17:01]line ЗНМ: 0300000153 [02:17:01]line РНМ: 0000000000091176 [02:17:01]line Версия ККМ: 001 [02:17:01]line ФМ: 0000000000874935 [02:17:01]line ФД: 43077 [02:17:01]line ФПД: 249404700784206 [02:17:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T021705&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43077&fm=249404700784206&tin=02508201610067®Number=0000000000091176&sum=36100 [02:17:01]line 0 [02:17:01]written 0, free lines is 4095 [02:17:01]Connected sock=10 [02:17:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 A2 01 00 00 AB 1C 9A 01 9F 93 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 0E 00 00 00 00 07 04 06 00 04 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 21 35 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 45 A8 00 00 35 04 06 00 E2 D5 0E 98 76 4E 1B 1E A5 81 90 2F 07 99 [02:17:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 B7 9B 47 00 06 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 45 A8 00 00 F4 03 04 00 1A E1 92 66 B6 04 01 00 00 44 BD 95 F1 A5 0A CB 5A [02:17:01]CommunicateWithHost err = 0 [02:17:01]CheckOFDResponse [02:17:01]1017 (14) - 77093643461234 [02:17:01]1041 (16) - 0000000000874935 [02:17:01]1040 (4) - 43077 [02:17:01]1012 (4) - 13.07.2024 20:18 [02:17:01]1206 (1) - 0 [02:17:01]OFD Sender: Remove packet 43077 [02:17:01]ProducePacketName [02:17:01]name=ofd_packets/00043077 [02:17:01]NVStorageDeleteData [02:17:01]Write to MH i2c: 01 00 00 87 28 AF [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 07 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: 01 07 00 87 28 00 00 00 00 00 9D 0C 5F [02:17:01]RasterBufferAndPrint [02:17:01]line [02:17:01]line [02:17:01]line [02:17:01]line [02:17:01]line [02:17:01]written 0, free lines is 3236 [02:17:01]MH_Cut [02:17:01]Write to MH i2c: D1 01 00 8E 28 01 88 [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: D1 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: D1 01 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: D1 01 00 8E 28 00 87 [02:17:01]Write to MH i2c: 01 00 00 8F 28 B7 [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]OFD Sender: No OFD packet to send [02:17:02]*** Cut start [02:17:02]*** Partial cut [02:17:02]*** CUTSNS_PIN = 1 [02:17:02]*** CUTSNS_PIN = 0 [02:17:02]*** Brake cut motor [02:17:03]Read from MH i2c: 01 [02:17:03]MH_I2C_Read... [02:17:03]*** Stop cut motor [02:17:03]*** Cut end [02:17:03]Read from MH i2c: 01 07 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: 01 07 00 8F 28 00 00 00 00 00 FF 0F CC [02:17:03]process_action close_receipt done [02:17:03]requested_data is exist [02:17:03]produce_requested_data [02:17:03]requested_item fm.sn is exist - process it [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 11 00 00 [02:17:03]Write to MH i2c: E2 08 00 90 28 80 11 00 00 00 00 00 00 32 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 17 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 17 00 90 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 89 [02:17:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:17:03]wFMCommunicate OK [02:17:03]requested_item fd.num is exist - process it [02:17:03]SAM_PROTO_GetFieldsCounters [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 13 00 00 [02:17:03]Write to MH i2c: E2 08 00 91 28 80 13 00 00 00 00 00 00 35 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 62 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 62 00 91 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 45 A8 00 00 0E 04 04 00 BE 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 14 [02:17:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 45 A8 00 00 0E 04 04 00 BE 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 [02:17:03]wFMCommunicate OK [02:17:03]SAM_PROTO_GetFieldsCounters done [02:17:03]requested_item shift.num is exist - process it [02:17:03]requested_item shift.opened is exist - process it [02:17:03]req_shift_opened [02:17:03]FM_GetShiftState [02:17:03]SAM_PROTO_GetShiftState [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 13 01 00 [02:17:03]Write to MH i2c: E2 08 00 92 28 80 13 01 00 00 00 00 00 37 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 0E 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 0E 00 92 28 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 9E [02:17:03]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:17:03]wFMCommunicate OK [02:17:03]SAM_PROTO_GetShiftState done [02:17:03]FM_GetShiftState done [02:17:03]req_shift_opened done [02:17:03]requested_item shift.open_date is exist - process it [02:17:03]req_shift_open_date [02:17:03]req_shift_open_date done [02:17:03]requested_item shift.sale.total is exist - process it [02:17:03]SAM_PROTO_GetShiftData [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 13 02 00 [02:17:03]Write to MH i2c: E2 08 00 93 28 80 13 02 00 00 00 00 00 39 [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:17:03]Read from MH i2c: E2 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 [02:17:03]MH_I2C_Read... [02:17:03]Read from MH i2c: E2 FD 00 93 28 00 AD 04 AA 04 A9 04 6E 04 04 00 05 00 00 00 69 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 74 7F 02 70 04 03 00 F4 46 01 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E8 43 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A9 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 C3 [02:17:03]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 05 00 00 00 69 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 74 7F 02 70 04 03 00 F4 46 01 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E8 43 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A9 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:17:03]wFMCommunicate OK [02:17:03]wFMCommunicate request_size=4 [02:17:03]MH_SAM_APDU [02:17:03]CAPDU: 80 17 00 00 [02:17:03]Write to MH i2c: E2 08 00 94 28 80 17 00 00 00 00 00 00 3C [02:17:03]Write i2c OK [02:17:03]MH_I2C_Read... [02:17:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:04]Read from MH i2c: E2 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 94 28 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 4E [02:17:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:17:04]wFMCommunicate OK [02:17:04]wFMCommunicate request_size=4 [02:17:04]MH_SAM_APDU [02:17:04]CAPDU: 80 17 00 00 [02:17:04]Write to MH i2c: E2 08 00 95 28 80 17 00 00 00 00 00 00 3D [02:17:04]Write i2c OK [02:17:04]MH_I2C_Read... [02:17:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:04]Read from MH i2c: E2 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 95 28 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 01 [02:17:04]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:17:04]wFMCommunicate OK [02:17:04]wFMCommunicate request_size=4 [02:17:04]MH_SAM_APDU [02:17:04]CAPDU: 80 17 00 00 [02:17:04]Write to MH i2c: E2 08 00 96 28 80 17 00 00 00 00 00 00 3E [02:17:04]Write i2c OK [02:17:04]MH_I2C_Read... [02:17:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:04]Read from MH i2c: E2 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 [02:17:04]MH_I2C_Read... [02:17:04]Read from MH i2c: E2 FD 00 96 28 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 B3 [02:17:04]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:17:04]wFMCommunicate OK [02:17:04]wFMCommunicate request_size=4 [02:17:04]MH_SAM_APDU [02:17:04]CAPDU: 80 17 00 00 [02:17:04]Write to MH i2c: E2 08 00 97 28 80 17 00 00 00 00 00 00 3F [02:17:04]Write i2c OK [02:17:04]MH_I2C_Read... [02:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:17:05]Read from MH i2c: E2 [02:17:05]MH_I2C_Read... [02:17:05]Read from MH i2c: E2 CA 00 [02:17:05]MH_I2C_Read... [02:17:05]Read from MH i2c: E2 CA 00 97 28 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 24 [02:17:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:17:05]wFMCommunicate OK [02:17:05]SAM_PROTO_GetShiftData done [02:17:05]requested_item shift.sale.total_cash is exist - process it [02:17:05]requested_item shift.sale_refund.total is exist - process it [02:17:05]requested_item shift.sale_refund.total_cash is exist - process it [02:17:05]produce_requested_data done [02:17:05]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43077,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1637.00,"shift.sale.total_cash":837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:17:05]process_action_free close_receipt [02:17:05]json_value_free [02:17:05]json_value_free done [02:17:05]process_json_proto returns [02:17:05]Send response to host [02:17:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43077,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1637.00,"shift.sale.total_cash":837.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:17:05]free response buf [02:17:05]execute_script done [02:17:05]execute_script returns [02:17:05]free content buf [02:17:05]Sock 7.Close socket [02:17:05]Sock 7.Thread stoped [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:52]OFD Sender: No OFD packet to send [02:19:57]OFD Sender: No OFD packet to send [02:20:02]OFD Sender: No OFD packet to send [02:20:07]OFD Sender: No OFD packet to send [02:20:12]OFD Sender: No OFD packet to send [02:20:17]OFD Sender: No OFD packet to send [02:20:22]OFD Sender: No OFD packet to send [02:20:27]OFD Sender: No OFD packet to send [02:20:32]OFD Sender: No OFD packet to send [02:20:37]OFD Sender: No OFD packet to send [02:20:42]OFD Sender: No OFD packet to send [02:20:47]OFD Sender: No OFD packet to send [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:20:59]accept exits with 9 [02:20:59]New connection [02:20:59]New thread 3067530596 created [02:20:59]Thread 3067387236 joined [02:20:59]Waiting for new connection... [02:20:59] Sock 9.Parse request [02:20:59]Sock 9.Check first char [02:20:59]Sock 9.First char is OK [02:20:59]request: POST /json_proto HTTP/1.0 [02:20:59]Method: POST [02:20:59]URL: /json_proto [02:20:59]Method is POST - this is cgi request [02:20:59]url: /json_proto [02:20:59]query_string will be loaded in cgi processing [02:20:59]execute_cgi json_proto POST (null) [02:20:59]execute_cgi path=json_proto method=POST [02:20:59]POST find Content-Length [02:20:59]Host: 172.17.38.197:8080 [02:20:59]Content-Length: 734 [02:20:59]Content-Type: application/json [02:20:59] [02:20:59]POST finish read [02:20:59]Found Content-Length = 734 [02:20:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300205", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:20:59]execute_script... [02:20:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)300205", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:20:59]POST & json_proto [02:20:59]process_json_proto [02:20:59]json parsed OK: [02:20:59]protocol is kg_v1.0 [02:20:59]action value=close_receipt [02:20:59]process_action close_receipt [02:20:59]cmd_close_receipt [02:20:59]MH_GetDate [02:20:59]Write to MH i2c: F0 00 00 98 28 AF [02:20:59]Write i2c OK [02:20:59]MH_I2C_Read... [02:20:59]Read from MH i2c: F0 [02:20:59]MH_I2C_Read... [02:20:59]Read from MH i2c: F0 09 00 [02:20:59]MH_I2C_Read... [02:20:59]Read from MH i2c: F0 09 00 98 28 00 12 36 93 66 1E 0D 88 66 12 [02:20:59]GetLastDocTimeStamp 1720923425 [02:20:59]current date 1720923666 [02:20:59]FM_GetShiftState [02:20:59]SAM_PROTO_GetShiftState [02:20:59]wFMCommunicate request_size=4 [02:20:59]MH_SAM_APDU [02:20:59]CAPDU: 80 13 01 00 [02:20:59]Write to MH i2c: E2 08 00 99 28 80 13 01 00 00 00 00 00 3E [02:20:59]Write i2c OK [02:20:59]MH_I2C_Read... [02:20:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:20:59]Read from MH i2c: E2 [02:20:59]MH_I2C_Read... [02:20:59]Read from MH i2c: E2 0E 00 [02:20:59]MH_I2C_Read... [02:20:59]Read from MH i2c: E2 0E 00 99 28 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 A5 [02:20:59]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:20:59]wFMCommunicate OK [02:20:59]SAM_PROTO_GetShiftState done [02:20:59]FM_GetShiftState done [02:20:59]opened in 1720916042 [02:20:59]opened+sec_in_day 1721002442 [02:20:59]quantity*price = 5000 [02:20:59]sum+1 = 5001 [02:20:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 71 "Партнер Нефть" Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 СНО: Общий режим Чек 6 14.07.2024 02:21 Смена: 446 ФФД: 1.0 ЗНМ: 0300000153 РНМ: 0000000000091176 Версия ККМ: 001 ФМ: 0000000000874935 ФД: 43078 ФПД: 34184409369737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T022106&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43078&fm=34184409369737&tin=02508201610067®Number=0000000000091176&sum=5000 0 [02:21:00]StoreToDocumentArchive [02:21:00]shift 446 fd 43078 [02:21:00]save to /storage/0446/doc_00043078 [02:21:00]save last doc name /storage/0446/doc_00043078 to /storage/kkm_last_doc_name [02:21:00]save OK [02:21:00]Clear old archive folders... [02:21:00]ProcessDocumentItem done err = 0, tmpTLVsize=269 [02:21:00]tlvbuf is 015F5D90 [02:21:00]SAM_PROTO_ClearQueue [02:21:00]wFMCommunicate request_size=4 [02:21:00]MH_SAM_APDU [02:21:00]CAPDU: 80 09 00 00 [02:21:00]Write to MH i2c: E2 08 00 A6 28 80 09 00 00 00 00 00 00 40 [02:21:00]Write i2c OK [02:21:00]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 A6 28 00 90 00 42 [02:21:01]RAPDU: 90 00 [02:21:01]wFMCommunicate OK [02:21:01]SAM_PROTO_ClearQueue done [02:21:01]KKMCreateOFDPacket [02:21:01]OFDProtocolAddRootSTLVToBuf [02:21:01]FM_MakeSignedData [02:21:01]FM_MakeSignedData [02:21:01]SAM_PROTO_SignData [02:21:01]wFMCommunicate request_size=4 [02:21:01]MH_SAM_APDU [02:21:01]CAPDU: 80 0D 01 02 [02:21:01]Write to MH i2c: E2 08 00 A7 28 80 0D 01 02 00 00 00 00 48 [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 A7 28 00 90 00 43 [02:21:01]RAPDU: 90 00 [02:21:01]wFMCommunicate OK [02:21:01]wFMCommunicate request_size=255 [02:21:01]MH_SAM_APDU [02:21:01]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 12 36 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [02:21:01]Write to MH i2c: E2 02 01 A8 28 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 12 36 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 71 [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 A8 28 00 90 00 44 [02:21:01]RAPDU: 90 00 [02:21:01]wFMCommunicate OK [02:21:01]wFMCommunicate request_size=28 [02:21:01]MH_SAM_APDU [02:21:01]CAPDU: 80 0D 02 02 17 37 34 39 33 35 10 04 04 00 46 A8 00 00 35 04 06 00 1F 17 2D 93 CC 89 [02:21:01]Write to MH i2c: E2 1F 00 A9 28 80 0D 02 02 17 00 37 34 39 33 35 10 04 04 00 46 A8 00 00 35 04 06 00 1F 17 2D 93 CC 89 00 00 15 [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 03 00 A9 28 00 90 00 45 [02:21:01]RAPDU: 90 00 [02:21:01]wFMCommunicate OK [02:21:01]wFMCommunicate request_size=4 [02:21:01]MH_SAM_APDU [02:21:01]CAPDU: 80 0D 03 02 [02:21:01]Write to MH i2c: E2 08 00 AA 28 80 0D 03 02 00 00 00 00 4D [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 0B 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 0B 00 AA 28 00 BA E4 C0 D7 4C FD 62 F1 90 00 1F [02:21:01]RAPDU: BA E4 C0 D7 4C FD 62 F1 90 00 [02:21:01]wFMCommunicate OK [02:21:01]SAM_PROTO_SignData done [02:21:01]FM_MakeSignedData done [02:21:01]CreateOFDProtocolMessage [02:21:01]wFMCommunicate request_size=4 [02:21:01]MH_SAM_APDU [02:21:01]CAPDU: 80 11 00 00 [02:21:01]Write to MH i2c: E2 08 00 AB 28 80 11 00 00 00 00 00 00 4D [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:21:01]Read from MH i2c: E2 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 17 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: E2 17 00 AB 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 A4 [02:21:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:21:01]wFMCommunicate OK [02:21:01]CreateOFDProtocolMessage done [02:21:01]OFDSenderStorePacket 43078 [02:21:01]StoreOFDPacket docnum=43078 [02:21:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 4E 58 19 01 34 48 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 12 36 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 46 A8 00 00 35 04 06 00 1F 17 2D 93 CC 89 BA E4 C0 D7 4C FD 62 F1 [02:21:01]CheckFolder [02:21:01]dirname=/storage/ofd_packets [02:21:01]CheckFolder done [02:21:01]ProducePacketName [02:21:01]name=ofd_packets/00043078 [02:21:01]NVStorageSaveData ofd_packets/00043078 [02:21:01]File name is /storage/ofd_packets/00043078 [02:21:01]Write 319 bytes [02:21:01]NVStorageSaveData done [02:21:01]OFDSenderStorePacket done [02:21:01]KKMCreateOFDPacket done [02:21:01]NVStorageSaveData kkm_last_timestamp [02:21:01]File name is /storage/kkm_last_timestamp [02:21:01]Write 4 bytes [02:21:01]NVStorageSaveData done [02:21:01]ExternCall_PrintAddStr [02:21:01]wPrintStart [02:21:01]Write to MH i2c: 01 00 00 AC 28 D4 [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 07 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 07 00 AC 28 00 00 00 00 00 FF 0F E9 [02:21:01]RasterBufferAndPrint [02:21:01]line Счет N : (3)300205 [02:21:01]line ИНН: 02508201610067 [02:21:01]line Контрольно-Кассовый Чек [02:21:01]line ПРОДАЖА [02:21:01]line Товар: 5449000066473 [02:21:01]line Вода Бонаква 1л [02:21:01]line 1.000 * 50.00 [02:21:01]line = 50.00 [02:21:01]line НДС 12% НСП 1% [02:21:01]line > о реализуемом товаре [02:21:01]line ИТОГО: 50.00 [02:21:01]line НСП 1% : 0.44 [02:21:01]line НДС 12% : 5.31 [02:21:01]line Наличными: 50.00 [02:21:01]line Безнал.: 0.00 [02:21:01]line Место: АЗС № 71 "Партнер Нефть" [02:21:01]line Адрес: 720001, с. Кызыл-Адыр, ул. Ленина 79, трасса Талас-Тараз, 42.601442, 71.583618 [02:21:01]line СНО: Общий режим [02:21:01]line Чек 6 14.07.2024 02:21 [02:21:01]line Смена: 446 ФФД: 1.0 [02:21:01]line ЗНМ: 0300000153 [02:21:01]line РНМ: 0000000000091176 [02:21:01]line Версия ККМ: 001 [02:21:01]line ФМ: 0000000000874935 [02:21:01]line ФД: 43078 [02:21:01]line ФПД: 34184409369737 [02:21:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T022106&type=1&operation_type=1&fn_number=0000000000874935&fd_number=43078&fm=34184409369737&tin=02508201610067®Number=0000000000091176&sum=5000 [02:21:01]line 0 [02:21:01]written 0, free lines is 4095 [02:21:01]OFD Sender: Processing packet 43078 [packets to send 31, broken 30] [02:21:01]ProducePacketName [02:21:01]name=ofd_packets/00043078 [02:21:01]OFD Sender: To server: pG, [02:21:01]CommunicateWithHost lk.salyk.kg:30040 [02:21:01]ConnectInit lk.salyk.kg [02:21:01]Write to MH i2c: 01 00 00 D4 28 FC [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 07 00 [02:21:01]MH_I2C_Read... [02:21:01]Read from MH i2c: 01 07 00 D4 28 00 00 00 00 00 FC 0C 0B [02:21:01]RasterBufferAndPrint [02:21:01]line [02:21:01]line [02:21:01]line [02:21:01]line [02:21:01]line [02:21:01]written 0, free lines is 3330 [02:21:01]Connected sock=10 [02:21:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 21 01 00 00 4E 58 19 01 34 48 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 12 36 93 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 46 A8 00 00 35 04 06 00 1F 17 2D 93 CC 89 BA E4 C0 D7 4C FD 62 F1 [02:21:01]MH_Cut [02:21:01]Write to MH i2c: D1 01 00 DB 28 01 D5 [02:21:01]Write i2c OK [02:21:01]MH_I2C_Read... [02:21:02]Read from MH i2c: D1 [02:21:02]MH_I2C_Read... [02:21:02]Read from MH i2c: D1 01 00 [02:21:02]MH_I2C_Read... [02:21:02]Read from MH i2c: D1 01 00 DB 28 00 D4 [02:21:02]Write to MH i2c: 01 00 00 DC 28 04 [02:21:02]Write i2c OK [02:21:02]MH_I2C_Read... [02:21:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 4F 00 00 00 9A E0 47 00 47 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 10 04 04 00 46 A8 00 00 F4 03 04 00 0B E2 92 66 B6 04 01 00 00 21 16 50 DB DF 20 6F A8 [02:21:02]CommunicateWithHost err = 0 [02:21:02]CheckOFDResponse [02:21:02]1017 (14) - 77093643461234 [02:21:02]1041 (16) - 0000000000874935 [02:21:02]1040 (4) - 43078 [02:21:02]1012 (4) - 13.07.2024 20:22 [02:21:02]1206 (1) - 0 [02:21:02]OFD Sender: Remove packet 43078 [02:21:02]ProducePacketName [02:21:02]name=ofd_packets/00043078 [02:21:02]NVStorageDeleteData [02:21:02]*** Cut start [02:21:02]*** Partial cut [02:21:02]*** CUTSNS_PIN = 1 [02:21:02]OFD Sender: No OFD packet to send [02:21:02]*** CUTSNS_PIN = 0 [02:21:02]*** Brake cut motor [02:21:03]Read from MH i2c: 01 [02:21:03]MH_I2C_Read... [02:21:03]*** Stop cut motor [02:21:03]*** Cut end [02:21:03]Read from MH i2c: 01 07 00 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: 01 07 00 DC 28 00 00 00 00 00 FF 0F 19 [02:21:03]process_action close_receipt done [02:21:03]requested_data is exist [02:21:03]produce_requested_data [02:21:03]requested_item fm.sn is exist - process it [02:21:03]wFMCommunicate request_size=4 [02:21:03]MH_SAM_APDU [02:21:03]CAPDU: 80 11 00 00 [02:21:03]Write to MH i2c: E2 08 00 DD 28 80 11 00 00 00 00 00 00 7F [02:21:03]Write i2c OK [02:21:03]MH_I2C_Read... [02:21:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:21:03]Read from MH i2c: E2 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 17 00 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 17 00 DD 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 D6 [02:21:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 90 00 [02:21:03]wFMCommunicate OK [02:21:03]requested_item fd.num is exist - process it [02:21:03]SAM_PROTO_GetFieldsCounters [02:21:03]wFMCommunicate request_size=4 [02:21:03]MH_SAM_APDU [02:21:03]CAPDU: 80 13 00 00 [02:21:03]Write to MH i2c: E2 08 00 DE 28 80 13 00 00 00 00 00 00 82 [02:21:03]Write i2c OK [02:21:03]MH_I2C_Read... [02:21:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:21:03]Read from MH i2c: E2 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 62 00 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 62 00 DE 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 46 A8 00 00 0E 04 04 00 BE 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 65 [02:21:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 31 37 36 10 04 04 00 46 A8 00 00 0E 04 04 00 BE 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 [02:21:03]wFMCommunicate OK [02:21:03]SAM_PROTO_GetFieldsCounters done [02:21:03]requested_item shift.num is exist - process it [02:21:03]requested_item shift.opened is exist - process it [02:21:03]req_shift_opened [02:21:03]FM_GetShiftState [02:21:03]SAM_PROTO_GetShiftState [02:21:03]wFMCommunicate request_size=4 [02:21:03]MH_SAM_APDU [02:21:03]CAPDU: 80 13 01 00 [02:21:03]Write to MH i2c: E2 08 00 DF 28 80 13 01 00 00 00 00 00 84 [02:21:03]Write i2c OK [02:21:03]MH_I2C_Read... [02:21:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:21:03]Read from MH i2c: E2 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 0E 00 [02:21:03]MH_I2C_Read... [02:21:03]Read from MH i2c: E2 0E 00 DF 28 00 09 00 01 4A 18 93 66 00 00 00 00 90 00 EB [02:21:03]RAPDU: 09 00 01 4A 18 93 66 00 00 00 00 90 00 [02:21:03]wFMCommunicate OK [02:21:03]SAM_PROTO_GetShiftState done [02:21:03]FM_GetShiftState done [02:21:03]req_shift_opened done [02:21:03]requested_item shift.open_date is exist - process it [02:21:03]req_shift_open_date [02:21:03]req_shift_open_date done [02:21:03]requested_item shift.sale.total is exist - process it [02:21:03]SAM_PROTO_GetShiftData [02:21:03]wFMCommunicate request_size=4 [02:21:03]MH_SAM_APDU [02:21:03]CAPDU: 80 13 02 00 [02:21:03]Write to MH i2c: E2 08 00 E0 28 80 13 02 00 00 00 00 00 86 [02:21:03]Write i2c OK [02:21:03]MH_I2C_Read... [02:21:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:21:04]Read from MH i2c: E2 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 E0 28 00 AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 FC 92 02 70 04 03 00 7C 5A 01 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FB 45 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 D5 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 8A [02:21:04]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 FC 92 02 70 04 03 00 7C 5A 01 72 04 03 00 80 38 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FB 45 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 D5 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:21:04]wFMCommunicate OK [02:21:04]wFMCommunicate request_size=4 [02:21:04]MH_SAM_APDU [02:21:04]CAPDU: 80 17 00 00 [02:21:04]Write to MH i2c: E2 08 00 E1 28 80 17 00 00 00 00 00 00 89 [02:21:04]Write i2c OK [02:21:04]MH_I2C_Read... [02:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:21:04]Read from MH i2c: E2 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 E1 28 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 9B [02:21:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:21:04]wFMCommunicate OK [02:21:04]wFMCommunicate request_size=4 [02:21:04]MH_SAM_APDU [02:21:04]CAPDU: 80 17 00 00 [02:21:04]Write to MH i2c: E2 08 00 E2 28 80 17 00 00 00 00 00 00 8A [02:21:04]Write i2c OK [02:21:04]MH_I2C_Read... [02:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:21:04]Read from MH i2c: E2 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 E2 28 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 4E [02:21:04]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:21:04]wFMCommunicate OK [02:21:04]wFMCommunicate request_size=4 [02:21:04]MH_SAM_APDU [02:21:04]CAPDU: 80 17 00 00 [02:21:04]Write to MH i2c: E2 08 00 E3 28 80 17 00 00 00 00 00 00 8B [02:21:04]Write i2c OK [02:21:04]MH_I2C_Read... [02:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:21:04]Read from MH i2c: E2 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 [02:21:04]MH_I2C_Read... [02:21:04]Read from MH i2c: E2 FD 00 E3 28 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 00 [02:21:04]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:21:04]wFMCommunicate OK [02:21:04]wFMCommunicate request_size=4 [02:21:04]MH_SAM_APDU [02:21:04]CAPDU: 80 17 00 00 [02:21:04]Write to MH i2c: E2 08 00 E4 28 80 17 00 00 00 00 00 00 8C [02:21:04]Write i2c OK [02:21:04]MH_I2C_Read... [02:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:21:05]Read from MH i2c: E2 [02:21:05]MH_I2C_Read... [02:21:05]Read from MH i2c: E2 CA 00 [02:21:05]MH_I2C_Read... [02:21:05]Read from MH i2c: E2 CA 00 E4 28 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [02:21:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:21:05]wFMCommunicate OK [02:21:05]SAM_PROTO_GetShiftData done [02:21:05]requested_item shift.sale.total_cash is exist - process it [02:21:05]requested_item shift.sale_refund.total is exist - process it [02:21:05]requested_item shift.sale_refund.total_cash is exist - process it [02:21:05]produce_requested_data done [02:21:05]produce_requested_data return {"fm.sn":"0000000000874935","fd.num":43078,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1687.00,"shift.sale.total_cash":887.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:21:05]process_action_free close_receipt [02:21:05]json_value_free [02:21:05]json_value_free done [02:21:05]process_json_proto returns [02:21:05]Send response to host [02:21:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874935","fd.num":43078,"shift.num":446,"shift.opened":1,"shift.open_date":1720916042,"shift.sale.total":1687.00,"shift.sale.total_cash":887.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:21:05]free response buf [02:21:05]execute_script done [02:21:05]execute_script returns [02:21:05]free content buf [02:21:05]Sock 9.Close socket [02:21:05]Sock 9.Thread stoped [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:12]OFD Sender: No OFD packet to send [02:22:17]OFD Sender: No OFD packet to send [02:22:22]OFD Sender: No OFD packet to send [02:22:27]OFD Sender: No OFD packet to send [02:22:32]OFD Sender: No OFD packet to send [02:22:37]OFD Sender: No OFD packet to send [02:22:42]OFD Sender: No OFD packet to send [02:22:47]OFD Sender: No OFD packet to send [02:22:52]OFD Sender: No OFD packet to send [02:22:57]OFD Sender: No OFD packet to send [02:23:02]OFD Sender: No OFD packet to send [02:23:07]OFD Sender: No OFD packet to send [02:23:12]OFD Sender: No OFD packet to send [02:23:17]OFD Sender: No OFD packet to send [02:23:22]OFD Sender: No OFD packet to send [02:23:27]OFD Sender: No OFD packet to send [02:23:32]OFD Sender: No OFD packet to send [02:23:37]OFD Sender: No OFD packet to send [02:23:42]OFD Sender: No OFD packet to send [02:23:47]OFD Sender: No OFD packet to send [02:23:52]OFD Sender: No OFD packet to send [02:23:57]OFD Sender: No OFD packet to send [02:24:02]OFD Sender: No OFD packet to send [02:24:07]OFD Sender: No OFD packet to send [02:24:12]OFD Sender: No OFD packet to send [02:24:17]OFD Sender: No OFD packet to send [02:24:22]OFD Sender: No OFD packet to send [02:24:27]OFD Sender: No OFD packet to send [02:24:32]OFD Sender: No OFD packet to send [02:24:37]OFD Sender: No OFD packet to send [02:24:42]OFD Sender: No OFD packet to send [02:24:47]OFD Sender: No OFD packet to send [02:24:52]OFD Sender: No OFD packet to send [02:24:57]OFD Sender: No OFD packet to send [02:25:02]OFD Sender: No OFD packet to send [02:25:07]OFD Sender: No OFD packet to send [02:25:12]OFD Sender: No OFD packet to send [02:25:17]OFD Sender: No OFD packet to send [02:25:22]OFD Sender: No OFD packet to send [02:25:27]OFD Sender: No OFD packet to send [02:25:32]OFD Sender: No OFD packet to send [02:25:37]OFD Sender: No OFD packet to send [02:25:42]OFD Sender: No OFD packet to send [02:25:47]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send