Closed OrenLederman closed 7 years ago
Erasing the flash and flushing the code seems to fix this issue. This is still odd.
How to recreate:
If you just start the badge and not pull data, it does update the advertisement (setAdvData). I also added a printout to see when it's being call - and when the bug happens, it's not really being called.
It seems that when recording is on, the code in ble_evt_dispatch it never gets to if(needAdvDataUpdate) . It always stops before that part because of pause requests
Temporary fix in pull request #71
It seems that at least the status bits don't always update. Can't seem to find a specific way to recreate yet