• Wow, thanks for digging into this - that's really interesting!

    So Bangle.js (and Bluetooth Espruino in general) has a power save mode that moves to a low power mode after ~1 minute of inactivity, and then after some data is sent it requests the 7.5ms mode.

    However if NRF.setConnectionInterval(7.5) had taken effect, that mode should be disabled and it shouldn't be sending the 'Connection Parameter Update Request'...

    The low power stuff is handled by the DYNAMIC_INTERVAL_ADJUSTMENT ifdefs, and it should get reset with the code here on disconnect https://github.com/espruino/Espruino/blo­b/master/targets/nrf5x/bluetooth.c#L1148­

    But... maybe something about the way it disconnects when out of range causes that code not to work?

About

Avatar for Gordon @Gordon started