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 advertisement parameters on interrupt

Hi All, Am using NRF52 and SDK 11.0.0.2 alpha , I am using two profiles. I need to Advertise with specific name and parameters for each profile. This profile switch has to happen in a button press. (Once button is pressed I will disconnect start advertising with other profile parameter for advertisement)

When I tried updating advertisement parameter by calling gap_params_init() but my board is rebooting everytime. How can I do this ?

Thanks

Parents
  • nope low is good - other things it can be, if you're not stopping advertising first or doing something similar, you may get an error code return. Put a breakpoint in the app error handler and find out whether you are going there, that will reset the chip.

Reply
  • nope low is good - other things it can be, if you're not stopping advertising first or doing something similar, you may get an error code return. Put a breakpoint in the app error handler and find out whether you are going there, that will reset the chip.

Children
No Data
Related