.Enabled R/O Property

Top  Previous  Next

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 the 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) event is generated as well.