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

WIP syncing Bluetooth 5.1 keys #20

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aykevl
Copy link

@aykevl aykevl commented Feb 18, 2024

I put a few hours in trying to sync BLE keys between macOS and Linux, but ultimately didn't succeed. The main blocker is the Services key which isn't part of NVRAM, and which BlueZ apparently doesn't update on connect.

I think the best way to implement this feature is by connecting to both systems manually, and then letting asahi-btsync update the BlueZ configuration based on the data stored in NVRAM. This hasn't been implemented yet though.

Maybe I'll continue working on this at some point, no guarantee. But for now, I'm just dropping this here so that hopefully someone will continue working on it (in other words, free to take!). The code is terrible and unusable in the current state, but I did reverse engineer most (probably all) important fields from NVRAM so at least that part doesn't need to be done again.

Background information:

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