-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Bluetooth Remote Additions #1330
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
Conversation
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
|
This build seems to have an error with BadUSB. I can no longer type a comma ( , ) or the less than sign ( < ). |
These should be fixed in the latest commit, thanks for the heads up, I went and fixed a couple other misaligned keys as well. |
|
Awesome! Thank you. |
|
Hi guys, sorry for delay. I'll try to pack this PR in 0.62, if there will be no issues. @nminaylov can you take a look? |
|
Windows 10, Android 10, Mac 12.3.1 - Work (android not work play button) |
|
Dmesg on linux: Bluetooth: hci0: unexpected SMP command 0x0b from 80:::::05 |
|
Hi, we can merge this PR only if it will pass current tests. For more details see comment by @vanish125 Also brunch is not in sync with dev. |
|
This should be up to date with dev. As for the issues noted. I have tested with android 12 and the play button works fine. Make sure media is playing first, at which point you should be able to pause and play it again. |
|
Android work ok, after start music player. |
Were you able to check if the dev branch worked with linux? |
|
Now on linux connect without error, but still not work |
|
Quick update, it looks like it actually has nothing to do with "Bluetooth: hci0: unexpected SMP command 0x0b", or this at least does not prevent the connection. The issue comes from how the bluez driver handles report ids with composite devices. I have a partial fix, which gets this working with ubuntu (tested 22.04). It does not work on first pairing, but after restarting the app/connection, the functionality works. (The BT report and characteristics match before and after, and the key presses are being received) I would suggest to move forward with this as is. |
|
Does not work on MacOS 12.3.1, M1. Previous version (dev) worked fine. |
|
Hi @Cutch We've discussed this PR internally, we really love the idea. The only stopper is that it's not working on all platforms. Development team is currently busy with other tasks, but we'll try to provide you additional support if you need it. PS: to be honest we've been trying to combine keyboard and media keys before and decided to keep part that works for all platforms. But it should be doable. |
|
Also, @Cutch, you can look at QMK and ZMK projects, this is firmware for mechanical keyboards. They use BLE and works everywhere. |
|
Ok I got it working across platforms by using separate input reports instead of report ids. |
|
Ubuntu 21.10: |
|
Shoot, good catch it should be ok now. Tested Android, Win10, Ubuntu 22. |
|
All work. Great job! |
gornekich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful work, thank you!
What's new
Notes
Due to the changes, old connections need to be forgotten and the device paired again. Changing the mac address for the profile does work, but to avoid confusion forgetting the old device is probably better.
file: furi_hal_bt.c
Verification
Checklist (For Reviewer)