.enabled R/O Property

Function:

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

Type:

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


Details

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

The BLE interface is disabled and bt.enabled is 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.


.enabled R/O Property

Details