-
-
Notifications
You must be signed in to change notification settings - Fork 39.4k
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
Adafruit feather 32u4 Bluetooth support not working. #5439
Comments
This may be related to: #4131 But I'm not entirely sure about that. Do you know if there is a version that does work correctly? |
the last time I built the firmware, with working Bluetooth was when I posted issue #2229. at that time OUT_AUTO was working but it war required to be pressed manually. But I did not test it further. |
Just thinking about it, this change may be why: #3951 Unfortunately, I don't have a BT controller to test out, ATM... so I can't test this out myself.... but if you could figure out what change caused this specifically, it would be awesome, and help us to fix the issue. |
@drashna I don't have skills to do it. I don't have much knowledge about embedded systems :( |
Can you downgrade the firmware on the adafruit feather to make this to work? |
@deltapoot I dont think the issue is with Adafriut Firmware itself, but with QMK. I do not know which version of qmk is going to work either. |
I see, I understand now. Thank you. |
OK, after a ton of investigation I have made it work with the following code changes:
And then following this procedure:
I will continue this investigation and will report back when I know more. |
Hey @fcoury, |
paging @wez who originally wrote the code for feather. Hi Wez, there seems to be some bug introduced in feather's bluetooth capabilities. Can you please help us out ? |
Sorry; I haven't been following qmk since I contributed that patch, and I don't have time to review all of the changes since that time. |
@wez it seems like it's not something on QMK that is causing the issue, here's what is happening:
Any AT+BLEKEYBOARDCODE command that gets sent is returning an error. If you could shed a light on anything that comes to your mind that can be causing the issue, it would be greatly appreciated. Thank you! |
I just got one of these Feather BLE boards, and I'm hoping to get some time to investigate this on the weekend. I've already had a cursory look through the BLE code, and one thing sticks out to me: @harshitgoel96 @fcoury could you try disabling NKRO and see if that does anything? |
@fauxpark the tests I did so far all had NKRO disabled :( |
Sorry for my bad english, if this helps, report my experience with Adafruit feather 32u4
|
@alan0ford https://learn.adafruit.com/introducing-the-adafruit-bluefruit-spi-breakout/ble-services because there's no way to know what the adafruit firmware is doing, it's possible they aren't sending these codes correctly. You could try asking adafruit if they have any filters when passing through the hid values. KC_PWR is 0xA5 this code isn't listed as a USB HID code at all in this list, so it maybe undefined in the adafruit firmware. http://www.freebsddiary.org/APC/usb_hid_usages.php |
|
@yanfali & @fauxpark very nice, even for a newbie as me, you were clear and comprehensive, thank you! |
@fauxpark looks like we can send raw values as hex. Something to look into |
BT bonding issue solved updating feather firmware over the air via app "Adafruit Bluefruit LE Connect" |
hi there, I was wondering how you managed to get the console printouts for debugging - I am working with a Teensy 2.0++ and a BLE SPI friend and I'm currently encountering some issues. Many thanks! |
@iamjackchen you'll want to have |
i see, thanks so much!! |
I got it working just last week, no problems at all so recent versions are fine. I based my board code off the handwired 42 https://github.com/qmk/qmk_firmware/blob/e258b10d71049645c2e6ce50f652ce3f11578603/keyboards/handwired/42/rules.mk |
Anyone managed to get this to work? I downloaded the source that @sfcgeorge linked to but it still didn't work for me. Keyboard works with USB plugged in, but not while on the only powered by the LiPo battery. |
I have it working but I built the firmware from scratch (i.e. creating a new keyboard within qmk) instead of modifying an existing keyboard/key map setup. Try that, it'll be easier to ensure hardware-software compatibility; another thing is you might want to have a key mapped to manually switch/override the data transmission (but/usb) mode instead of using the default auto. Make sure NKRO is disabled. Hope all of this helps |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. |
Closing due to inactivity. |
A few months ago I used QMK on Adafruit feather 32u4 and was able to get complete functional bluetooth keyboard working. Last night after reflashing the code, the Bluetooth output only works till USB is connected to the feather. When I remove the usb it does not work over bluetooth at all.
The feather is connecting to mobile, but there is no bt output unless usb is connected. I have tried OUT_BT and OUT_AUTO, but nothing seems to be working.
The text was updated successfully, but these errors were encountered: