mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-17 22:49:55 +00:00
Nimble: Migration changes for nimble-1.5
This commit is contained in:
committed by
Abhinav Kudnar
parent
f123585faf
commit
cd5a88be94
@@ -909,7 +909,7 @@ auth_passkey_display(uint16_t conn_handle, unsigned int passkey)
|
||||
return;
|
||||
}
|
||||
|
||||
rc = ble_hs_hci_rand(&pk.passkey, sizeof(pk.passkey));
|
||||
rc = ble_hs_hci_util_rand(&pk.passkey, sizeof(pk.passkey));
|
||||
assert(rc == 0);
|
||||
/* Max value is 999999 */
|
||||
pk.passkey %= 1000000;
|
||||
|
||||
@@ -665,7 +665,7 @@ discover_destroy(void)
|
||||
}
|
||||
|
||||
static void
|
||||
read_destroy()
|
||||
read_destroy(void)
|
||||
{
|
||||
gatt_buf_clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user