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

Wake on timer vs slow advertising

Hi,

my application consists of long waiting time without connection (hours, possibly days, weeks), then a central connects and downloads data, and then again long waiting time until next connection. I have no buttons or other external components to trigger wakeup, so I need to rely on internal periodic wakeup.

What would be best solution to achieve this type of operation? I'd like to wake about every 5 seconds, advertise for 500ms, then sleep again. Is slow advertising intended for such purpose? It is puzzling because documentation says slow advertising goes to idle state if no connection after timeout.

I have tried to modify ble_app_hrs example using timers to just stop advertising instead of going system off, but I get periodic system resets every second.. still working on this..

I also found this thread devzone.nordicsemi.com/.../, but the linked code is not available any more.

Any help appreciated.

Borut

Parents Reply Children
No Data
Related