Nimble: Migration changes for nimble-1.5

This commit is contained in:
Roshan Bangar
2024-02-20 11:18:09 +05:30
committed by Abhinav Kudnar
parent f123585faf
commit cd5a88be94
23 changed files with 467 additions and 47 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -665,7 +665,7 @@ discover_destroy(void)
}
static void
read_destroy()
read_destroy(void)
{
gatt_buf_clear();
}