Excellent. At 6:50 your final code apparently does not include "client.on_message=on_message". You must have added it off screen? Thanks for sharing your knowledge.
You specified global only for "connected" but not "messagereceived" in the callback function. I think this is not needed. Aren't "connected" and "messagereceived" already global?
Excellent. At 6:50 your final code apparently does not include "client.on_message=on_message". You must have added it off screen? Thanks for sharing your knowledge.
Thank you! Really helpful. Saves the time from reading alot of docs when you don't have the time to
You need to add client.on_message = on_message to make message reception work
how did it keep running, i dont see any conditions or loops to make the code execute more than once, can you explain
Where is the complete code? I not see any link to it?
I want to implement one function to send mqtt commands will you please help me for the same? In c language.
You specified global only for "connected" but not "messagereceived" in the callback function. I think this is not needed. Aren't "connected" and "messagereceived" already global?
please make the same video using hive mq