Skip to content

Adds feature reports support on Bluefruit52Lib's BLEHidGeneric service#849

Open
RobertDaleSmith wants to merge 1 commit intoadafruit:masterfrom
RobertDaleSmith:hid-generic-feature-reports
Open

Adds feature reports support on Bluefruit52Lib's BLEHidGeneric service#849
RobertDaleSmith wants to merge 1 commit intoadafruit:masterfrom
RobertDaleSmith:hid-generic-feature-reports

Conversation

@RobertDaleSmith
Copy link
Copy Markdown

BLE HID Input and output reports are working fine but support for feature reports is missing from this lib.

WebHID Explorer offers a great tool for testing feature reports. In order to get feature reports working with the Seeed XIAO nrf Sense board, I needed to patch these changes into the platform.io framework used.

{
_chr_features[i].setUuid(UUID16_CHR_REPORT);
_chr_features[i].setProperties(CHR_PROPS_READ | CHR_PROPS_WRITE | CHR_PROPS_WRITE_WO_RESP);
_chr_features[i].setPermission(SECMODE_OPEN, SECMODE_OPEN);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

permission is too open, should we use SECMODE_ENC_NO_MITM, SECMODE_ENC_NO_MITM as the same as output report ?

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.

2 participants