Function esp_idf_sys::esp_ble_passkey_reply
source ยท pub unsafe extern "C" fn esp_ble_passkey_reply(
bd_addr: *mut u8,
accept: bool,
passkey: u32,
) -> esp_err_t
Expand description
@brief Reply the key value to the peer device in the legacy connection stage.
@param[in] bd_addr : BD address of the peer @param[in] accept : passkey entry successful or declined. @param[in] passkey : passkey value, must be a 6 digit number, can be lead by 0.
@return - ESP_OK : success - other : failed