Function esp_idf_sys::esp_ble_set_encryption
source ยท pub unsafe extern "C" fn esp_ble_set_encryption(
bd_addr: *mut u8,
sec_act: esp_ble_sec_act_t,
) -> esp_err_t
Expand description
@brief Set a gap parameter value. Use this function to change the default GAP parameter values.
@param[in] bd_addr : the address of the peer device need to encryption @param[in] sec_act : This is the security action to indicate what kind of BLE security level is required for the BLE link if the BLE is supported
@return - ESP_OK : success - other : failed