.enabled R/O Property


Informs whether the BLE interface of the Wi-Fi/BLE add-on module is on.


Enum (no_yes, byte)

Value Range:

0 — NO (default): The BLE interface is off.

1 — YES: The BLE interface is on.

See Also:

Bringing up and enabling the BLE interface, Disabling BLE and detecting failures


The BLE interface turns on after the bt.enable method is invoked.

The BLE interface is disabled and bt.enabledis reset to 0 — NO if the module is disconnected, powered down, malfunctions, or is put in reset. When this happens, the on_bt_event(PL_BT_EVENT_DISABLED) handler is generated as well.