This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What are the conditions for sending a scan request?

Hello.

I am developing using nrf52832 (S132 v7.0.1, SDK v16.0.0) as central and Android device (Bluetooth 4.2) as advertise.
Android devices use nRF Connect.

I can set "Advertising data" and "Scan Response data" in nRF Connect and I want to receive both data. Whether or not these are received is determined by the argument "scan_evt_t" structure of "scan_evt_handler". (Example: p_scan_evt-> params.filter_match.p_adv_report-> type.scan_response)

Currently, after receiving "Advertising data", "Scan Response data" can be obtained on rare occasions.
How can I set central so that I can get "Scan Response data" every time after getting "Advertising data"?

Thank you.

Parents Reply
  • Sorry for not replying sooner. Answering this is speculations from my side, as I do not know how the phone is operating. But the phone would have to time multiplex Bluetooth LE, Bluetooth EDR, WiFi and LTE. So it might not prioritize sending scan responses. Another possibility could be that it is saving power by only sending the advertisement packet, or selectively responding to scan requests.

Children
No Data
Related