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
  • Hello.

    Regarding the Scan time setting, interval is set to 0x320 (800ms) and window is set to 0x190 (400ms).
    When the reception frequency of 4000ms was measured, the reception frequency of Advertise data was 8 times and the reception frequency of Scan Response was 2 times.
    The device Advertise cycle is 100ms. Advertise parameters are Flags, 128bit UUID and Manufacturer Data, and Scan parameters are 128bit UUID and Manufacturer Data.

    Thank you.

Children
Related