I try sd_ble_gap_scan_start() on SoftDevice V6(nrf52832).
It's fine work.
But sd_ble_gap_connect() can not recieve advertise_report.
Why?
I try sd_ble_gap_scan_start() on SoftDevice V6(nrf52832).
It's fine work.
But sd_ble_gap_connect() can not recieve advertise_report.
Why?
Hi,
When using sd_ble_gap_connect(), you do not get any advertising reports. This is by design. Rather, you get either a BLE_GAP_EVT_CONNECTED event if the connect succeeds, or a BLE_GAP_EVT_TIMEOUT event if a connection is not established within the timeout. See the Central Connection Establishment and Termination message sequence chart for the calls and events involved.
When using sd_ble_gap_scan_start(), you will get the advertising reports. See the Scanning message sequence chart for the calls and events involved.
Regards,
Terje
OK. Thank you.