Ai-Thinker-Open / Ai-Thinker-WB2

Apache License 2.0
42 stars 28 forks source link

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

Open CoreyChang opened 1 year ago

CoreyChang commented 1 year ago

头文件中,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