Function otPlatBleEnable

Source
pub unsafe extern "C" fn otPlatBleEnable(
    aInstance: *mut otInstance,
) -> otError
Expand description

Enable the Bluetooth Low Energy radio.

@note BLE Device should use the highest ATT_MTU supported that does not exceed OT_BLE_ATT_MTU_MAX octets.

@param[in] aInstance The OpenThread instance structure.

@retval ::OT_ERROR_NONE Successfully enabled. @retval ::OT_ERROR_FAILED The BLE radio could not be enabled.