-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bluetooth Low Energy (BLE) devices support #13
Comments
Bluetooth Low Energy Device (BLE) can now be detected, but key checks will be skipped. Please take a look at: #13
- BLE support is still unimplemented until i get a BLE device, or someone with a BLE device want to help. All the code for BLE is a draft and based on info found online, not first hand. Please take a look at #13
Hello, does https://gist.github.com/Mygod/f390aabf53cf1406fc71166a47236ebf not solve this problem? |
Hi! that link doesn't contain an example of both the info file from linux and an exported registry file from windows of the same BLE device, so it doesn't help me. Thanks for the suggestion anyway! |
I am sorry for bailing out yet again, but perhaps digitalbirdo/BT-LinkkeySync#12 (comment) provides these? |
You don't have to apologize, you're trying to help! unfortunately that doesn't have what I need either. |
So https://github.com/digitalbirdo/BT-LinkkeySync/files/7692834/8863df8a2d80.zip reads
What is missing? |
The linux counterpart is missing. As stated in the first post i need both the info file of the BLE device in linux and the exported registry file of windows containing the BLE device credentials. |
True, it's for Mac. Here are the bluetooth keys for a Designer Mouse paired to Linux and Windows:
|
This is gold, thanks! It turns out the code i wrote for ble was mostly good. Scenario 1:
Scenario 2:
Scenario 3:
Scenario 4
|
It does not find any devices in Windows. Scenario 2 works thus well, the others not. Instead https://gist.github.com/Mygod/f390aabf53cf1406fc71166a47236ebf/raw/8514b2bd949c1f56a8d922ac284345b489dee871/export-ble-infos.py works perfectly. |
Could you please post the output of |
This is now the keyboard. Using two devices reduces the number of dual boots.
|
It worked fine in Windows though before rebooting into Linux |
Don't worry too much about it though, as pairing the LE devices works perfectly with https://gist.github.com/Mygod/f390aabf53cf1406fc71166a47236ebf/raw/8514b2bd949c1f56a8d922ac284345b489dee871/export-ble-infos.py |
To pair non-LE bluetooth devices (from Linux to Windows), https://github.com/x2es/bt-dualboot works fine. |
Maybe it's worthy of note, though improbable, that this is on Windows 11. |
I have an MX Anywhere 3S mouse. Like other Logitech BTLE mice, it increments its MAC address every time it is synced to a new device. Running from Linux:
Linux:
Windows:
|
I've managed to manually adjust the Linux config to match the Windows one, here it is:
All I did was rename the folder to the new MAC address and set |
Pls help. I also get the BLE error message trying to dual pair ProtoArc EM05NL with the following info and reg setup: [General] [IdentityResolvingKey] [RemoteSignatureKey] [LocalSignatureKey] [LongTermKey] [PeripheralLongTermKey] [SlaveLongTermKey] [DeviceID] [ConnectionParameters] Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys\683e269ad0d9] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys\683e269ad0d9\dedb3422e29c] Cheers, Tom |
Bluetooth Low Energy (BLE) devices pairing keys are managed differently than standard bluetooth devices.
Since I don't own any BLE device I'am unable to add support for them.
If you have a BLE device and you want their support to be implemented, you can help by posting the info i need:
The info file of the BLE device in linux:
sudo cat "/var/lib/bluetooth/${bt_controller_macaddr}/${bt_device_macaddr}/info"
The exported registry file of windows containing the BLE device credentials.
To obtain this file:
sudo apt install chntpw
"<windows_mount_point>/Windows/System32/config/SYSTEM"
sudo reged -x "<windows_mount_point>/Windows/System32/config/SYSTEM" "HKEY_LOCAL_MACHINE\SYSTEM" "ControlSet001\Services\BTHPORT\Parameters\Keys" "/tmp/exported_keys.reg"
cat "/tmp/exported_keys.reg"
I need these in order to compare the formats between the linux info file and the exported windows registry file.
Please do not hesitate to post here for any questions or difficulty you may have about this issue.
Thanks and best regards!
The text was updated successfully, but these errors were encountered: