Closed BlitzCityDIY closed 1 month ago
Seeing the same thing, I've tried to pull the latest releases of both the adafruit_ble
and adafruit_hid
too and the same thing occurs.
Adafruit CircuitPython 9.1.0 on 2024-07-10; TinyS3 with ESP32S3
Board ID:unexpectedmaker_tinys3
Update: After posting this I noticed the board ID of tinys3
but my board is actually the Feather S3, once I reflashed with the correct build for my board, the BLE device now connects properly and shows as connected at least in MacOS.
just tested again with Adafruit CircuitPython 9.2.0-alpha.2350-23-ge5e9c5ca84 on 2024-08-21; Adafruit Feather ESP32S3 No PSRAM with ESP32S3
and i had the same result with windows 11
In the REPL, try doing:
import _bleio
_bleio.adapter.erase_bonding()
and see if that makes any difference.
i tried that and it did connect for a second but then disconnected and said "driver error" under devices. tried on macOS ventura and the same result occurred- connects for a second and then disconnects. i tried on iOS and it will connect but i can't get a key input to transfer and on the CircuitPython side the REPL is recognizing the button input
Welp. I suspect this is due to not implementing Descriptor. HID uses this to distinguish different report characteristics.
CircuitPython version
Code/REPL
Behavior
The Feather advertises the BLE connection and it appears as a device. When the connection is initiated, the Feather thinks that a connection is achieved. However, on the host device it will appear as still connecting (Windows) and eventually fail out or will show as connected but will not be shown as an active device (Mac). A keypress is never able to be sent.
Description
No response
Additional information
i also tried it without the keypad part of the code, but the same behavior occurred: