diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-11 23:41:27 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-11 23:41:27 +0200 |
| commit | c84773de3af76832d15806647d8529c2e5b75257 (patch) | |
| tree | 0e49df1db6e2989629a4fadf5d1ba4c48ac516f9 /app/qml/pages/ManagerPage.qml | |
| parent | 6a8cdaf2f718fef8a826fd98241050a7d3cbfb3d (diff) | |
Fixed reconnect on disconnection
Reconnection timeut will now raise gradually, to be 1000ms * reconnect attempt.
This should help preserve power in the phone, when no Pebble is around.
You can speed-up this process by reconnecting manually from manager app or its cover.
Also force channel 1 for RFCOMM, as discovery does not work anymore after disconnection.
Diffstat (limited to 'app/qml/pages/ManagerPage.qml')
| -rw-r--r-- | app/qml/pages/ManagerPage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/qml/pages/ManagerPage.qml b/app/qml/pages/ManagerPage.qml index adb1cf4..92d79b1 100644 --- a/app/qml/pages/ManagerPage.qml +++ b/app/qml/pages/ManagerPage.qml @@ -107,7 +107,7 @@ Page { if (pebbled.connected) { pebbled.disconnect(); } else { - pebbled.connect(); + pebbled.reconnect(); } } } |
