The function returns a tuple of (device_list, error_string). The function returns a tuple of (device, error_string).