Function esp_idf_sys::esp_gap_ble_set_authorization

source ยท
pub unsafe extern "C" fn esp_gap_ble_set_authorization(
    bd_addr: *mut u8,
    authorize: bool,
) -> esp_err_t
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