Skip to content

Fix resolving and connecting to devices which have different short and full device names#455

Open
hohteri wants to merge 1 commit into
gluonhq:masterfrom
hohteri:master
Open

Fix resolving and connecting to devices which have different short and full device names#455
hohteri wants to merge 1 commit into
gluonhq:masterfrom
hohteri:master

Conversation

@hohteri

@hohteri hohteri commented Jul 10, 2026

Copy link
Copy Markdown

On iOS if you had a device which had different short and full name, the full name was never updated to the device reference listening for BleDevice.State changes. This is fixed in gotPeripheral method. Once this was fixed, it was not possible to connect to the ball as a deviceNames list was maintained. As the gotPeripheral now correctly updates the correct device instance with the updated name, there is no need for separate deviceNames list but one can iterate through devices list instead.

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.

1 participant