How to subscribe the published message in microcontroller using mqtt?

Successfully i have written MQTT protocol code for Microcontroller using gprs. I can able to publish the data in the topic “platform”,after that i am trying to subscribing to the same topic to get the data, but i could not receive anymore data.
I have set the clean session flag to false, retain flag to false ,Qos for (publishing-0,subscribing-1). Help me in solving this problem.
void main()

Source: c#

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.