- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
After bonding procedure with my device as peripheral, I set
cyBle_discoveryParam.advFilterPolicy = CYBLE_GAPP_SCAN_ANY_CONN_WHITELIST
or CYBLE_GAPP_SCAN_CONN_WHITELIST_ONLY
and after disconnect, my smartphone (android or apple) did not connect to device but find them.
If I set
cyBle_discoveryParam.advFilterPolicy = CYBLE_GAPP_SCAN_ANY_CONN_ANY
connection occurs normally.
Please tell me where to look for the cause.
Thanks.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add the device to whitelist for connection if you use CYBLE_GAPP_SCAN_ANY_CONN_WHITELIS or CYBLE_GAPP_SCAN_CONN_WHITELIST_ONLY.
Please see the following examples for whitelist: https://www.cypress.com/blog/problem-solver/project-014-whitelist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add the device to whitelist for connection if you use CYBLE_GAPP_SCAN_ANY_CONN_WHITELIS or CYBLE_GAPP_SCAN_CONN_WHITELIST_ONLY.
Please see the following examples for whitelist: https://www.cypress.com/blog/problem-solver/project-014-whitelist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Owez.
Thanks for answer.
Hm, I use CyBle_StoreBondingData(0) and when I call CyBle_GapGetDevicesFromWhiteList I receive sum data.
I thought that CyBle_StoreBondingData function will automatically put bonded device in White list.