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

Output Report Support #22

Open
StephenElliott76 opened this issue May 5, 2023 · 0 comments
Open

Output Report Support #22

StephenElliott76 opened this issue May 5, 2023 · 0 comments

Comments

@StephenElliott76
Copy link

StephenElliott76 commented May 5, 2023

Looking within the HIDService.h, I can see that output reports are only partially supported, with the BLE characteristic defined and enum values. However there is no method of receiving the report. I've tried to expand upon this with the following function, however it doesn't seem to work. Did you have any implementation in mind for this functionality?

void ReceiveReport() {
  ble.gattServer().read(
    outputReportChar.getValueHandle(),
    (uint8_t*)outputReport,
    (uint16_t*)outputReportLength
  );
}
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

No branches or pull requests

1 participant