Open batang-it opened 5 years ago
Looking at the TADZKLib.php @ zk_get_free_sizes()
` /**
@return array device's storage information. */ private function zk_get_free_sizes() { $fs = []; $free_sizes_info = $this->reverse_hex(bin2hex($this->send_command_to_device(self::CMD_GET_FREE_SIZES)));
if (!$free_sizes_info) { $fs = false; } else { if (self::DEVICE_GENERAL_INFO_STRING_LENGTH > strlen($free_sizes_info)) { $free_sizes_info = '000000000000000000000000' . $free_sizes_info; } $fs['att_logs_available'] = hexdec(substr($free_sizes_info, 27, 5)); $fs['templates_available'] = hexdec(substr($free_sizes_info, 44, 4)); $fs['att_logs_capacity'] = hexdec(substr($free_sizes_info, 51, 5)); $fs['templates_capacity'] = hexdec(substr($free_sizes_info, 60, 4)); $fs['passwords_stored'] = hexdec(substr($free_sizes_info, 76, 4)); $fs['admins_stored'] = hexdec(substr($free_sizes_info, 84, 4)); $fs['att_logs_stored'] = hexdec(substr($free_sizes_info, 116, 4)); $fs['templates_stored'] = hexdec(substr($free_sizes_info, 132, 4)); $fs['users_stored'] = hexdec(substr($free_sizes_info, 148, 4)); } return $fs;
}`
No info for card (badge) used, capacity and available. Is there any?
Looking at the TADZKLib.php @ zk_get_free_sizes()
` /**
@return array device's storage information. */ private function zk_get_free_sizes() { $fs = []; $free_sizes_info = $this->reverse_hex(bin2hex($this->send_command_to_device(self::CMD_GET_FREE_SIZES)));
}`
No info for card (badge) used, capacity and available. Is there any?