digi.ccble.exceptions module

exception digi.ccble.exceptions.ConnectCoreBLEException[source]

Bases: Exception

Generic ConnectCore BLE exception. This class and its subclasses indicate conditions that an application might want to catch when an error occurs.

All functionality of this class is the inherited of Exception.

exception digi.ccble.exceptions.BluetoothNotSupportedException(message='Bluetooth is not supported in the system, neither natively nor through an XBee device.')[source]

Bases: ConnectCoreBLEException

This exception is thrown when Bluetooth is not supported by the device in any form, either native support or through an XBee device.

All functionality of this class is the inherited of Exception.

exception digi.ccble.exceptions.NotAuthenticatedException(message='Data cannot be encrypted/decrypted, user has not been authenticated')[source]

Bases: ConnectCoreBLEException

This exception is thrown when the client attempts to communicate before a successful authentication process.

All functionality of this class is the inherited of Exception.