.Enable Method

Top  Previous  Next

Function:

Instructs the WA2000 Wi-Fi/BLE add-on module to turns the BLE radio on. This is an asynchronous method — it returns control back to the app immediately. On_bt_event(PL_BT_EVENT_ENABLED) is generated when the radio turns on.

Syntax:

bt.enable()

Returns:

---

See Also:

Bringing up and enabling the BLE interface

 

 


 

Details

This method will only have effect if the WA2000 is booted (wln.boot was called and wln.enabled= 1- YES) and if the BLE radio is currently off (bt.enabled= 0-NO).

This method has no effect on the GA1000 device.