MQTT on Arduino not working

后端 未结 1 914
[愿得一人]
[愿得一人] 2021-01-27 18:10

I\'m using Arduino Uno and Wi-Fi shield. I\'m trying to implement MQTT protocol for communication and I tried two libraries for Arduino. First one is Knolleary\'s PubSubClient:

相关标签:
1条回答
  • 2021-01-27 18:42

    As mentioned in the comments

    When using example code on public brokers make sure you change the client id to something random as the odds of clashing with somebody else are pretty high. Because client ids have to be unique else they will cause a reconnection storm

    0 讨论(0)
提交回复
热议问题