Generating Random Private Resolvable Address using NimBLE

Jeroenvdb
Posts: 3
Joined: Wed Dec 22, 2021 2:25 pm

Generating Random Private Resolvable Address using NimBLE

Postby Jeroenvdb » Tue Sep 16, 2025 9:53 am

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.

irahul
Espressif staff
Espressif staff
Posts: 57
Joined: Fri Jun 18, 2021 10:07 am

Re: Generating Random Private Resolvable Address using NimBLE

Postby irahul » Wed Sep 17, 2025 10:09 am

Does setting own_addr_type as BLE_OWN_ADDR_RPA_RANDOM_DEFAULT in bleprph example here helps ?

Who is online

Users browsing this forum: Bing [Bot], PetalBot, Qwantbot and 10 guests