InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.63k stars 901 forks source link

Not reconnecting to Gadgetbridge #2069

Open KedynsCrow opened 3 weeks ago

KedynsCrow commented 3 weeks ago

Verification

What happened?

When the watch disconnects from Gadgetbridge, then reconnects it no longer reports batter level or sends notifications to the watch.

What should happen instead?

After disconnecting I expect the watch to automatically reconnect and keep working as it did before.

Reproduction steps

I connect the watch to the Gadgetbridge app on the phone. It shows the watch's battery level, the watch receives notifications from the phone and everything works as I expect. Then I put the phone down and walk away. It disconnects as I would expect. When the phone comes back into proximity of the watch the Gadgetbridge app says it has connected again, but no longer shows the battery level of the phone, the step count is out of sync, and the watch no longer receives notifications. This state continues until I go to the Gadgetbridge app, disconnect the watch, and then reconnect it.

More details?

I have a Samsung phone running Android 13. The watch had this issue with Infinitime 1.11 and it continued when I updated to 1.14. The Gadgetbridge app has all permissions allowed from the phone. Gadgetbridge is set to "Connect to Gadgetbridge device(s) when Bluetooth is turned on" and in the device specific settings it is set to "Auto reconnect to device."

Version

1.14

Companion app

Gadgetbridge 0.79.1a

SteveAmor commented 3 weeks ago

For me, this happens using simple pairing but works as expected using secure bonding with a pin.

pbone64 commented 3 weeks ago

For me, this happens using simple pairing but works as expected using secure bonding with a pin.

Same for me. My connection was stable once I paired.

qw3r3wq commented 23 hours ago

Hi all,

looks like a bit related: https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3741 . This issue describes the same with Android 14 Pixel (Stock) phone. Also, I do have issues with Nothing Phone 2 (Android 14, Stock).

Gadget bridge 0.80.0