This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// nimble/host/src/ble_hs_pvcy_priv.h | |
int ble_hs_pvcy_set_our_irk(const uint8_t* irk); | |
// nimble/host/src/ble_hs_priv.h | |
int ble_hs_misc_restore_irks(); | |
// nimble/host/src/ble_hs_hci_priv.h | |
int ble_hs_hci_util_rand(void *dst, int len); | |
/** | |
* Ensures that a unique IRK is assigned to this device. | |
* If an IRK does not exist, a random one is generated and stored in flash. |