-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
esp_bt_hidh_init() (IDFGH-5393) #7139
Comments
Hi guo-max, Your suggestion is reasonable, but adding Thanks! |
I need to use the callback function and the "void* event_handler_arg" argument. But the esp_bt_hidh_init function is always set it to NULL. I do not know how to work around this problem by software except make my own hidh_init function and not use the library. |
Hi guo-max, I think there are two ways to solve this problem:
What about? |
@guo-max Thanks for reporting. Would you please help share if any updates or details for this feature request? Thanks. |
@guo-max Thanks for reporting. Would you please help share if any updates or details for this feature request? Thanks. |
Thanks for reporting, this has been implemented in 5c95024, and will be part of IDF v4.4 release, you could update to the latest release/4.4 branch to have a try, feel free to reopen. |
Is your feature request related to a problem? Please describe.
In the function
there is a function call
And the last param "void* event_handler_arg" is given "NULL".
Because of this, the callback function is always has a "NULL" for the "void* event_handler_arg"
Describe the solution you'd like
Can you add another member to the config like config->event_handler_arg and pass it to the function?
The text was updated successfully, but these errors were encountered: