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

Changing ad packs

Hello,

I'm trying to change advertisement packets, I found this link text

it says:

p_data Raw data to be placed in advertising packet. If NULL, no changes are made to the current advertising packet data.

Where can I find the code and area to be able to change the raw ad packs?

p.s there are a lot of p_data so i want to find the area to specifically change the raw ad packs

Parents
  • Sorry, your question doesn't make much sense. If you want to change adv. packet content (btw. this API function manages both ADV. and SCAN_RSP data) then you run it, there is no special place you can or cannot call this. Indeed it will take effect only when adv. is running but you can call it even before you call sd_ble_gap_adv_start.

Reply
  • Sorry, your question doesn't make much sense. If you want to change adv. packet content (btw. this API function manages both ADV. and SCAN_RSP data) then you run it, there is no special place you can or cannot call this. Indeed it will take effect only when adv. is running but you can call it even before you call sd_ble_gap_adv_start.

Children
No Data
Related