Function esp_idf_svc::sys::esp_ble_oob_req_reply

source ยท
pub unsafe extern "C" fn esp_ble_oob_req_reply(
    bd_addr: *mut u8,
    TK: *mut u8,
    len: u8,
) -> i32
Expand description

@brief This function is called to provide the OOB data for SMP in response to ESP_GAP_BLE_OOB_REQ_EVT

@param[in] bd_addr: BD address of the peer device. @param[in] TK: Temporary Key value, the TK value shall be a 128-bit random number @param[in] len: length of temporary key, should always be 128-bit

@return - ESP_OK : success - other : failed