TMSiSDK.device.devices.apex.apex_device.ApexDevice.set_device_interface#
- ApexDevice.set_device_interface(device_interface=DeviceInterfaceType.bluetooth, control=TMSiControl.ControlEnabled) TMSiInterfaceStatus #
Set the device interface.
- Parameters:
device_interface (DeviceInterfaceType, optional) – the interface to set, defaults to DeviceInterfaceType.bluetooth
control (TMSiControl, optional) – enable or disable interface, defaults to TMSiControl.ControlEnabled
- Raises:
TMSiError – TMSiErrorCode.device_not_connected if not connected.
- Returns:
the new status of the device interface.
- Return type: