Skip to content

Instantly share code, notes, and snippets.

View braiden's full-sized avatar
🏃‍♀️

Braiden Kindt braiden

🏃‍♀️
View GitHub Profile
// 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.