You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why not passing the context of the program in mqtt_init ? Because in void publish_callback(void** /*unused*/, struct mqtt_response_publish *published) you have to store data in a global variable since there is no way to access it.
Why not passing the context of the program in
mqtt_init
? Because invoid publish_callback(void** /*unused*/, struct mqtt_response_publish *published)
you have to store data in a global variable since there is no way to access it.Idea:
The text was updated successfully, but these errors were encountered: