Closed JonasNuvibit closed 1 year ago
I had a similar issue using Azure and 'Soracom Beam'. Strange thing was, when sent a message to the client, the client became disconnected. That said, I had no issues sending the message.
To double check if it was a configuration issue, I used a different client and it worked. https://platformio.org/lib/show/89/PubSubClient https://github.com/knolleary/pubsubclient/blob/master/examples/mqtt_basic/mqtt_basic.ino
Here's some of my configuration, if it's helpful. I've also tested this with versons 2.4.7 & 2.4.8. [env:mkrgsm1400] platform = atmelsam board = mkrgsm1400 framework = arduino lib_deps = arduino-libraries/MKRGSM@^1.5.0 256dpi/MQTT@2.5.0
Closing as issue is not related to the library itself.
Hello Guys
I use your lib to connect my esp32 to AWS IOT. After connecting to Wifi and IOT I publish an empty message to the topic "$aws/things/chicken-door/shadow/name/door/get" AWS IOT has some logic. So the empty message to this topic triggers a new message to the topic "$aws/things/chicken-door/shadow/name/door/get/accepted" containing a json document of the things state (they call it shadow).
Until here everything works fine. I see the empty message in the "get topic" and I see the json file in the "get/accepted topic" in the AWS console.
But unfortunately the message is never received by the ESP32. the onMessage callback function is never called.
Here is my code:
Thanks in advance for looking into this.