Function esp_idf_svc::hal::sys::esp_gap_ble_set_authorization

source ยท
pub unsafe extern "C" fn esp_gap_ble_set_authorization(
    bd_addr: *mut u8,
    authorize: bool,
) -> i32
Expand description

@brief This function is called to authorized a link after Authentication(MITM protection)

@param[in] bd_addr: BD address of the peer device. @param[out] authorize: Authorized the link or not.

@return - ESP_OK : success - other : failed