TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_card_file_info

TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_card_file_info#

ApexDevice.get_device_card_file_info(file_id: int) tuple#

Gets the information of the file on the device’s card.

Parameters:

file_id (int) – Id of the file to be investigated.

Raises:
  • TMSiError – TMSiErrorCode.device_error if get card info fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

Returns:

A tuple with file metadata and file details.

Return type:

tuple[TMSiFileMetadataHeader, TMSiDevCardFileDetails]