This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
If I keep scanning enabled when there is a connection, there will be no more GAP_EVT_ADV_REPORT when the connection is terminated.
To reproduce the issue, please follow the procedure below:
1. Enable scanning with duration 0(indefinite) on device A.
2. Make a connection from device A to device B. Don't disable scanning.
3. Check if device A application is still getting GAP_EVT_ADV_REPORT.
4. Turn off device B to terminate the connection by supervision timeout.
5. Check if device A application is still getting GAP_EVT_ADV_REPORT.
A simple workaround is to disable scanning and re-enable on device A. However, I'm afraid that there might be any side effect or more fundamental problem.
- Cetri
Eirik,
Unfortunately the workaround doesn't always work. Did you get any feedback from the development team? Can you please let me know ASAP if there is any update? This is an urgent issue to us. Thanks.
- Cetri