.Disable Method

Function:

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

Syntax:

bt.disable()

Returns:

---

See Also:

Disabling BLE and detecting failures

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 on (bt.enabled = 1-YES).

This method has no effect on the GA1000 device.