Hello,
I try to perform an pstorage store action after I'm done advertising just beform the devices goes in system OFF mode. Pstorage works fine before I start advertising but when I have started advertising the pstorage store doesn't get it's callback anymore.
Now I read in a couple of questions you can't perform a store action on a advertising event because the callback will not be received.
My question is how or where can I do a store action when the devices goes into IDLE mode/stops advertising. I tried triggering it on a timer, putting it in the scheduler I'm kind of out of options.