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

mqtt client注册event_handler,event_handler没有参数吗 #10

Open
CoreyChang opened this issue May 20, 2023 · 0 comments
Open

mqtt client注册event_handler,event_handler没有参数吗 #10

CoreyChang opened this issue May 20, 2023 · 0 comments

Comments

@CoreyChang
Copy link

头文件中,axk_event_handler_t实际是void*,使用axk_mqtt_client_register_event注册后,其如何接收参数?

#ifndef AXK_EVENT_DECLARE_BASE
// Define event loop types if macros not available
typedef void *axk_event_loop_handle_t;
typedef void *axk_event_handler_t;
#endif

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