This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

about scan response

Hi all,

Can I update the value passed to the sd_ble_gap_adv_data_set() to do a scan response at any time?

For example when I get an interrupt from a button, can I update the value of the data of the scan response packet ?

Thanks.

Parents
  • You can not "do a scan response at any time" as scan response packets are only sent upon receiving a SCAN_REQ packet.

    You can however, as you say, change you scan response data at any point in time. Note that you need to disable advertising before updating the scan response data.

  • You are actually able to change the advertising data and scan response even while advertising with the Nordic SoftDevices. The data will not be updated until the next advertising event, but that is the only limitation.

Reply Children
No Data
Related