pub fn validate_device_type( command: &str, device_type: &str, allowed_types: &[&str], ) -> Result<(), HostLinkError>