NimBLE how to do directed advertising with RPA address

steaky1212
Posts: 9
Joined: Wed Jul 27, 2022 7:43 am

NimBLE how to do directed advertising with RPA address

Postby steaky1212 » Tue Aug 30, 2022 2:49 pm

I need to have a BLE peripheral perform directed advertising to a central that has previously bonded. The central is a phone and is thus using a resolvable private address. How can this be achieved with the NimBLE stack? Specifically, how do I retrieve the correct address from the bonding storage to pass in as the second parameter to ble_gap_adv_start(), since the central is using an RPA?

Thanks.

Who is online

Users browsing this forum: Baldhead, Google [Bot] and 152 guests