Skip to content
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

pair function shoud invoke QBLEDevice::pair() #427

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

jmlich
Copy link
Contributor

@jmlich jmlich commented Nov 22, 2024

I have discovered that QBLEDevice::connectToDevice(); is used instead of QBLEDevice::pair(); in InfiniTime. It seems to be legacy code intended to fix connection issues with older PineTime firmware.

The same code was copied and pasted into AsteroidOS.

I have tested this behavior with PineTime and AsteroidOS on Ubuntu Touch (Volla1), SailfishOS (PinePhone), and Kirigami (my desktop setup), and it works in my opinion much better than before.

I have noticed the same thing in Bangle.js code. I assume it will work better as well, but I currently don't have a device to test. Occasionally, I can borrow a device for testing, but it might take some time.

I have also observed that on Ubuntu Touch, the "system-wide" Authentication Agent seems to appear only when the Bluetooth Settings dialog is open. I suspect this is an issue with Ubuntu Touch. Previously, the dialog did not appear during pairing at all. - This was reported here https://gitlab.com/ubports/development/core/lomiri-system-settings/-/issues/379

Note: It might be necessary to remove device or forget device in system setting first.

@piggz piggz merged commit 5d07488 into piggz:master Nov 22, 2024
4 checks passed
@jmlich jmlich deleted the pair-instead-connect branch November 23, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants