Function esp_idf_svc::hal::sys::protocomm_ble_stop
source ยท pub unsafe extern "C" fn protocomm_ble_stop(pc: *mut protocomm) -> i32
Expand description
@brief Stop Bluetooth Low Energy based transport layer for provisioning
Stops service/task responsible for BLE based interactions for provisioning
@note You might want to optionally reclaim memory from Bluetooth.
Refer to the documentation of esp_bt_mem_release
in that case.
@param[in] pc Same protocomm instance that was passed to protocomm_ble_start()
@return
- ESP_OK : Success
- ESP_FAIL : Simple BLE stop error
- ESP_ERR_INVALID_ARG : Null / incorrect protocomm instance