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
Everything runs fine with no errors but the message is not published to my topic. When I remove the retained flag and have the code as below, the message is published successfully and I can see it in my topic.
client.publish(AWS_IOT_STATUS_TOPIC, jsonBuffer);
I am using the PubSubClient version 2.8 on an ESP8266EX.
Is there anything I could be missing?
The text was updated successfully, but these errors were encountered:
Hi,
I am new to programming ESPs and using the PubSubClient so bear with me.
I am trying to publish retained messages to AWS IoT Core with the following line of code:
Everything runs fine with no errors but the message is not published to my topic. When I remove the retained flag and have the code as below, the message is published successfully and I can see it in my topic.
I am using the PubSubClient version 2.8 on an ESP8266EX.
Is there anything I could be missing?
The text was updated successfully, but these errors were encountered: