Skip to content

added bt 5.1 support#14

Open
Simon128 wants to merge 2 commits intox2es:masterfrom
Simon128:master
Open

added bt 5.1 support#14
Simon128 wants to merge 2 commits intox2es:masterfrom
Simon128:master

Conversation

@Simon128
Copy link
Copy Markdown

@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
Copy Markdown

bam80 commented May 17, 2023

Thanks!
@x2es could we merge it in?

@bam80
Copy link
Copy Markdown

bam80 commented May 29, 2023

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

@davidfrickert
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

Is there any fork that works with BLE devices?

@yatli
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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