This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

timer event stops advertising

hi everyone. i have an issue with app timer. i m using SDK 9 and softdevice v8.0. in my code i used ble_app_template project and changed something according to my goals (for example) i create timer and start as in the template project and every timer event handle i update my advertisement data (sequence: advertisement stop-->update adv data--> advertisemt start). my problem, sometimes, soft device stops advertising and at next timer handle it starts again. i think problem comes from not properly set up scheduler or interrupt priority but i don't know how to. . Can someone help me to fix this problem? Thanks in advance.

samet

edit: here is my code you see the code it is a beacon project, i update scan resp data at every half of hour.

main.c

Parents Reply Children
No Data
Related