TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_interface_status

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

ApexDevice.get_device_interface_status(interface=DeviceInterfaceType.bluetooth) TMSiInterfaceStatus#

Gets the device interface status.

Parameters:

interface (DeviceInterfaceType, optional) – interface to check, defaults to DeviceInterfaceType.bluetooth

Raises:
  • TMSiError – TMSiErrorCode.device_error if get device interface status from the device fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

Returns:

interface status of the device.

Return type:

TMSiInterfaceStatus