Other Parts Discussed in Thread: CC2640R2F, BLE-STACK
Hi,
We are running CC2640R2F device as Central. We would like to implement an application where CC2640R2F works as Central and phone acts as peripheral.
The phone will be advertising with specific UUID known to Central. Central filters the adv data and initiates a connection followed by BLE bonding.
Once both devices are bonded, Central should connect back to the bonded device using device BD address. Device BD addresses part of advertisement data will be PRA (Private Resolvable Address).
We are using simplelink_cc2640r2_sdk_1_40_00_45 (BLE 4.2 stack) in which Privacy 1.2 feature is enabled by default.
Here are the questions.
1. How can the central device resolve a bonded device PRA?
2. Can the centrtal device automatically connect to a bonded device? If yes, does the application get any notification?
3. Is there any API available which gets the bonded device public address if PRA is given as input?
Also, we can't restrict advertisements only from bonded devices as we need to connect new phones which can advertise a specific UUID besides bonded devices.
Regards,
Ravi,