Skip to content

Implement more ESP BLE Descriptor support#9597

Merged
dhalbert merged 1 commit intoadafruit:mainfrom
tannewt:fix_ble_hid_peripheral
Sep 5, 2024
Merged

Implement more ESP BLE Descriptor support#9597
dhalbert merged 1 commit intoadafruit:mainfrom
tannewt:fix_ble_hid_peripheral

Conversation

@tannewt
Copy link
Member

@tannewt tannewt commented Sep 4, 2024

BLE HID was broken because the descriptor wasn't marked as readable. This fixes #9430.

Also add read/write support for client. Servers can only set the initial value. Setting it later will raise a NotImplementedError.

Setting a user_description will also raise a NotImplementedError. This can help us find cases that use it.

BLE HID was broken because the descriptor wasn't marked as
readable. This fixes micropython#9430.

Also add read/write support for client. Servers can only set the
initial value. Setting it later will raise a NotImplementedError.

Setting a user_description will also raise a NotImplementedError.
This can help us find cases that use it.
@tannewt tannewt added this to the 9.2.0 milestone Sep 4, 2024
@tannewt tannewt requested a review from dhalbert September 4, 2024 20:31
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested HID with an iPhone. Works! Thanks!

@dhalbert dhalbert merged commit 63a8db8 into adafruit:main Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BLE HID does not fully connect on ESP32-S3

2 participants