-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto reconnect is not aggressive enough #59
Comments
Roger that. All the more reason to look into intermittent scanning soon |
Hi! I've pushed some bluetooth-related fixes in #62, and I think it might be related to this issue too. I want to include some more fixes and additions into the next release and test it more, so I'm not sure when I'm gonna release it. But if you'd like to try it earlier, you can install this test build from Flathub CI:
UPD: Those fixes are now released as 0.5.2, but auto-reconnection is still not very reliable, and the plan is to implement secure pairing first, and then try another way of reconnection. |
Sometimes it connects for awhile, other times it disconnects within minutes. All while sitting beside the host device. One time I saw it gave some pre-determined error about rejecting the device or something. I tried to collect logs with |
Hi! My guess is that WatchMate was already running in the background, so this command merely brought it to foreground. If you click "Quit" from the menu or press Ctrl+Q, then this command should collect the logs properly |
Right on, that was it. Here are the logs. Line 1 is when the app first starts. Disconnect occurs with the unresolved GATT services, then it goes into device discovery mode, staying there until intervention. Clicking the device in the UI causes the device discovery to stop and successfully connect. So the first GATT service instance I manually reconnect, and the second time I don't manually reconnect. Second failure occurred within a few minutes of the first. |
One other addition for context in case it helps. I've been running Watchmate from a desktop (since Linux mobile you have to choose still between battery life via suspend with frequent disconnects, or a continuous connection with frequent recharges), and the watch is always within range, but I still have these disconnection issues. |
After about 30 minutes to an hour of normal usage, the Watchmate eventually disconnects from the pinetime and does not reconnect, until I reopen the app and manually reacan.
This might be fixed by the intermittent scanning mechanism you referenced in #58.
Device: OnePlus 6
Host OS: postmarketOS edge
InfiniTime Version: 1.14.0
Watchmate Version: v0.5.1 (native package)
The text was updated successfully, but these errors were encountered: