Page 1 of 1

Generating Random Private Resolvable Address using NimBLE

Posted: Tue Sep 16, 2025 9:53 am
by Jeroenvdb
Hi All,

does anyone managed to generate a Random Private Resolvable Address using NimBLE on a ESP32-C2 (ESP8684)?

Based on the "NimBLE Security" example we are creating a BLE Peripheral using Random private resolvable address. This way we should be able to bond the device while keeping the privacy feature.

Generating Random static address and Random private non-resolvable works fine, however we cannot find any way to generate a Random private resolvable address.

Any suggestions or pointers?

Many thanks in advance.

Re: Generating Random Private Resolvable Address using NimBLE

Posted: Wed Sep 17, 2025 10:09 am
by irahul
Does setting own_addr_type as BLE_OWN_ADDR_RPA_RANDOM_DEFAULT in bleprph example here helps ?