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

HID InData callback #27

Closed
alitekin2fx opened this issue Jun 2, 2021 · 5 comments
Closed

HID InData callback #27

alitekin2fx opened this issue Jun 2, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@alitekin2fx
Copy link

Is there any particular reason why the HID doesn't have an InData callback?

@benedekkupper benedekkupper added the question Further information is requested label Jun 2, 2021
@benedekkupper
Copy link
Member

It's not added because it hasn't been a use-case so far, the HID applications I've worked on triggered the IN data transmission on external events. Does your application require the use of it?

@alitekin2fx
Copy link
Author

alitekin2fx commented Jun 2, 2021

Yes, I try to use your library in my CMSIS DAP project but it needs IN and OUT endpoints.

@benedekkupper benedekkupper added enhancement New feature or request and removed question Further information is requested labels Jun 2, 2021
@benedekkupper
Copy link
Member

OK, I'm adding this request to my work queue, ETC 1 week. If it's more urgent, you can do it yourself as well, just add an InData function to hid_cbks and redirect it to the application callback.

@alitekin2fx
Copy link
Author

Thank you.

benedekkupper added a commit that referenced this issue Jun 5, 2021
This allows the application to immediately prepare another report for transmission.
@benedekkupper
Copy link
Member

Hi Ali, please try this master now, and close the ticket if it satisfies your requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants