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

Issues with custom board and long periods of time

Hey all!

I have a problem with my custom board using the nRF52832 with Softdevice 6.0 and SKD 15.0.0 working on Windows 10 in SEGGER with the BMD-300. I have the following problem: I have 2 custom boards working with the light switch examples, one is the client and the other is the server. Both work well with the light switch examples for hours or even days when I'm constantly using them, such as pressing the button and seeing the light turn on/off; but if I let them idle for long periods of time, usually by not touching them until a day after I leave the office, both the server and the client are put in weird state (I think it's deep sleep) and cannot be turned on again unless I press the button for the client (interrupt/reset)...but I cannot do something for the server as it only has a light and keeps itself in that state.

The code I use is the light switch proxy examples, there's nothing changed. I tried to fix my issue by commenting out the line (void)sd_app_evt_wait(); but I still have the same problem. I don't know where they are put into sleep mode, if they are put in that state in the first place. No error lines are printed on the debugger, no softdevice nor application nor mesh assert, nothing.

I don't know what to do, I just want the example to run forever, even if I don't touch the button for a week, of course until the battery is depleted.

Thanks!

Related