[−][src]Function openthread_sys::otPlatBleDisable
pub unsafe extern "C" fn otPlatBleDisable(aInstance: *mut otInstance) -> otError
Disable the Bluetooth Low Energy radio.
When disabled, the BLE stack will flush event queues and not generate new events. The BLE peripheral is turned off or put into a low power sleep state. Any dynamic memory used by the stack should be released, but static memory may remain reserved.
@param[in] aInstance The OpenThread instance structure.
@retval ::OT_ERROR_NONE Successfully transitioned to disabled. @retval ::OT_ERROR_FAILED The BLE radio could not be disabled.