Files
swiftcontrol/lib/pages
Jonas Bark 0d612ce032 Re-attach connection listeners on in-place reconnect
After an in-place "No connection" disconnect, selecting Virtual Shifting
again reconnected the BLE upstream but the connect never completed:
device.isConnected stayed false and the card hung on "connecting".

The listener that flips isConnected (and drives the handshake to
completion) is created only in _connect(), which runs once via the
auto-connect queue at app start. The first manual connect reuses that
listener; disconnect cancels it (so a BLE drop doesn't fire
auto-reconnect); the second manual connect via startProxy() had no
listener and never re-ran _connect.

Route the in-place reconnect through a new Connection.connectDevice()
wrapper over _connect, re-attaching the action / connection-state
listeners — the same path the working auto-connect uses — instead of
calling ProxyDevice.startProxy() directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 14:39:10 +02:00
..
2026-05-17 19:35:16 +02:00
2026-05-05 14:15:27 +02:00
2026-05-21 22:25:28 +02:00
2026-06-06 21:33:01 +02:00
2026-02-22 17:19:56 +01:00
2026-06-07 09:21:49 +02:00
2026-05-13 11:56:12 +02:00
2026-06-10 08:53:30 +02:00
2026-03-12 18:06:17 +01:00