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

added bt 5.1 support #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added bt 5.1 support #14

wants to merge 2 commits into from

Conversation

Simon128
Copy link

@Simon128 Simon128 commented Apr 4, 2023

Hi, I had the same issue like #7 for a BT 5.1 device. So I've added support for that. Check it out :)

@bam80
Copy link

bam80 commented May 17, 2023

Thanks!
@x2es could we merge it in?

@bam80
Copy link

bam80 commented May 29, 2023

If there is no response from upstream, maybe it's time to fork the project then?

@davidfrickert
Copy link

davidfrickert commented Jul 21, 2023

FYI In latest Arch Linux / Fedora installations it seems to be SlaveLongTermKey so this PR unfortunately doesn't work on such systems. Altough it was a simple fix to get it working, great work!

@dhouck dhouck mentioned this pull request Dec 29, 2023
@ameeno
Copy link

ameeno commented Feb 6, 2024

FYI In latest Arch Linux / Fedora installations it seems to be SlaveLongTermKey so this PR unfortunately doesn't work on such systems. Altough it was a simple fix to get it working, great work!

Simple fix? details please?

@AlejandroAkbal
Copy link

Is there any fork that works with BLE devices?

@yatli
Copy link

yatli commented May 1, 2024

To make things worse:

https://github.com/bluez/bluez/blob/6fc599e334cead9cbd014f7830753bc28ee5868b/src/adapter.c#L4100

Later releases will change the key name to "PeripheralLongTermKey"

And I just checked my /var/lib/bluetooth info files, all three variants are there:

  • LongTermKey
  • SlaveLongTermKey
  • PeripheralLongTermKey

And they're all different.

@mc0e
Copy link

mc0e commented May 20, 2024

This runs for me without the nasty errors of the main branch, but fails to actually sync my devices.

  • Orochi V2 (Mouse)
  • JBL Extreme 2 (Speaker)

In the /var/lib/bluetooth info files, the JBL speaker has a LinkKey section and the Orochi mouse has Key sections titled IdentityResolvingKey, PeripheralLongTermKey and SlaveLongTermKey.

I can provide more info and testing if that's helpful.

@Konfekt
Copy link

Konfekt commented Jun 4, 2024

Is there any fork that works with BLE devices?

Not a fork, but a script to similar effects

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.

8 participants