Files
Gadgetbridge/app
jrthomas270andJosé Rebelo 39918f74ab Even Realities G1: Improve Connection Reliability
This change fixes several things:
  1. Update the logic for 3 state related functions for MultiBLEDevice
     so they now take into account all sub devices.
  2. Fix several race condidtions in the initialization logic. This
     fixes one lens permenantly not being connected.
  3. Add a callback when one of the devicess diconnects to put the
     both sides of the lens into WAITING_FOR_RECONNECT state.
  4. Decrease the heartbeat sleep to 8 seconds. Since Android Deep sleep
     can add upwards to 20 seconds to the sleep time, this means most
     heartbeats will be sent every 28 seconds.
  5. Fixed a bug in the per-side state when the device was disconnected
     without the SideManager object being destroyed which lead to the
     full initialization process not being followed on reconnection.
2025-10-11 23:52:59 +02:00
..
2025-10-11 23:23:35 +02:00
2024-02-19 12:14:36 +01:00