Hello,
I am using the following to reproduce the issue:
SDK |
simplelink_cc2640r2_sdk_5_30_00_03 |
IDE |
IAR8.32.2 |
Reference Project |
multiRole |
1. Just works pairing is enabled in the project.
2. By default the pairing mode is set to GAPBOND_PAIRING_MODE_WAIT_FOR_REQ. When the device is a client i.e, when it initiates the connection, pairing mode is switched to GAPBOND_PAIRING_MODE_INITIATE.
3. The MAX_NUM_BLE_CONNS is set to 1 i.e, only one connection is allowed.
Here is the flow of the functionalities for the device under test (A).
STEP 1:
STEP 2:
As described above, the issue comes when after A connects with C and non connectable advertisements start, the callbacks for the whitelisted device B stops.
1. Scanning has to be stopped and restarted to get the advertisements of B after STEP 2.
2. We verified that B is still advertising.
I have also tested other scenarios:
1. If whitelist scanning is not enabled in STEP 1 above, the scan callbacks of B are received even after STEP 2.
2. If B is not advertising with RPA, then whitelist scan callbacks of B will be received even after STEP 2.
Please help us through this issue.
Regards,
Mohini