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

BLE HID Keyboard not working in CircuitPython 6.0 #3746

Closed
falkenad opened this issue Nov 23, 2020 · 7 comments
Closed

BLE HID Keyboard not working in CircuitPython 6.0 #3746

falkenad opened this issue Nov 23, 2020 · 7 comments

Comments

@falkenad
Copy link

I have both a NRF52840 Feather and an ItsyBitsy NRF52840 Express, and I'm trying to make the BLE HID Keyboard example here work:

This does not seem to work on CircuitPython 6.0. I have updated both the Itsybitsy and the Feather to CircuitPython 6.0, and installed the 6.0 libraries as listed (adafruit_ble,adafruit_bus_device,adafruit_hid,neopixel.mpy,simpleio.mpy).

Any ideas what might need to change?
Seems this was made for an older version of Circuitpython, since it was released in January 2020, and I'm trying this on 6.0.0 in 11/20. I can't seem to get any of my Windows PCs, Android, or iOS devices to recognize either device when trying to pair it.

@tannewt tannewt added this to the 6.0.x milestone Nov 24, 2020
@tannewt tannewt added the nordic label Nov 24, 2020
@falkenad
Copy link
Author

I'll add that it works just fine with the Feather on 5.0.0. It does not seem to work at all on the Itsybitsy NRF52840 on 5.x despite the obvious similarities between the Feather and Itsybitsy.

@tannewt
Copy link
Member

tannewt commented Nov 24, 2020

It works with 5.3.1 on both right?

@falkenad
Copy link
Author

Correct, I don't seem to have any issues with 5.3.x. I have tried 5.3.x with both the Feather NRF52840 Express and the Itsybitsy NRF52840 Express without problems. When I tried the example code with 6.0.0 it seemed to fail and not advertise, whereas with 5.3.1 I can immediately see "Circuitpython HID" appear in the device list of a host device. I haven't yet stepped through line by line to see if it fails anywhere.

@falkenad
Copy link
Author

I'm not sure what the easiest way to step through is, if there's a way to feed it through the REPL line by line easily.

@tannewt
Copy link
Member

tannewt commented Nov 25, 2020

I'm not sure what the easiest way to step through is, if there's a way to feed it through the REPL line by line easily.

There isn't. If you have a JLink or similar debugger you can do it from the C side of CircuitPython. Let me know if you'd like guidance on how to dig into it.

We should have time to look into this once we get the S2 a bit more settled.

@tannewt
Copy link
Member

tannewt commented Dec 29, 2020

@falkenad Please try 6.0.1. We believe this is fixed.

@dhalbert
Copy link
Collaborator

Fixed by #3861. I thought the issue was linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants