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

    Currently, after receiving "Advertising data", "Scan Response data" can be obtained on rare occasions.

     What do you mean by rare occasions?

    How often do you receive the advertising data, and how often do you receive the scan response data?

    What are the advertising and scan parameters for your devices?

    Br, 
    Joakim

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

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