• Reboot is almost like power off regarding starting of the firmware but power off turns off also the the RAM (most probably, it is configurable). So if something regarding bond info is stored in RAM it is lost. However since static data defined is C source that goes to RAM is reinitialized and bss section is cleared every startup it must be something else - like special linker section just for this. Maybe this can be tested by keeping the RAM on when doing 'power off'

    just checked and there are actually two methods -off and softOff not sure which one is used
    https://github.com/espruino/Espruino/blob/eccac25814d50e31e613ac682e56ab439eb64575/libs/banglejs/jswrap_bangle.c#L5281
    can you try to call one or another to see if it makes a difference?

    Has the bonding info some time validity so it can be invalid because time gets reset to 1970?

About

Avatar for fanoush @fanoush started