- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using CYW20706 in LE_Hello_Seneor project,
When 20706 in Central role and start scaning.
I only get advertisement data, but no any scan respone data.
Is there any config I need to set or API to get the scan response data?
thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found it.
in bt_cfg.ble_scan_cfg.scan_mode, I need to set BTM_BLE_SCAN_MODE_ACTIVE to get scan response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @adam
LE_Hello_Seneor project is a Peripheral project. Have you included start scan API in the existing example project ?
or are you using Hello_client project ? Can you please confirm?
Check if the info in below thread helps or not:
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AnjanaM_61 ,
I am using LE_Hello_sensor correctly. I include scan API in this project.
In wiced_bt_ble_scan_result_cback_t *p_scan_result_cback, I only get advertisement data, so I am curious about where is scan response.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found it.
in bt_cfg.ble_scan_cfg.scan_mode, I need to set BTM_BLE_SCAN_MODE_ACTIVE to get scan response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @adam
Thanks for sharing your test results.
Yes you are correct. For getting scan response data, Central device should do active scanning.
Regards,
Anjana