Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I followed every steps from the blog, including recovery process.
Building and downloading process is fine.
The problem I'm facing is that device is only discoverable for a few millis when I insert the battery, led1 stops changing its brightness and device seems to go offline.
No connection can be then established from central devices and device is not discoverable anymore.
My understanding of the code is when advertising (normally) stops, "button 2" should restart advertising. That seems not to be the case.
I investigate further on this strange behavior. I built an entire new application, trying to make led2 toggle on every fine timer callback calls. It blinks, but only for the period observed previously.
Am I missing some concepts, like timeouts, deeps sleep or other ?