Skip to content Skip to sidebar Skip to footer

Not Able To Receive Subscribed Message With Pubsubclient.h In Arduino Uno R3

#include 'SPI.h' #include “WiFiEsp.h” #include <WiFiEspClient.h> #include “SoftwareSerial.h” #include <PubSubClient.h> #include <WiFiEsp

Solution 1:

The library that you are using has bug in callback hence it would be better that you use other library my preference would be https://github.com/vshymanskyy/TinyGSM this library include almost all variants of SIM800(A,C,L,H,808), variants of SIM900(A,D,908,968), ESP8266 (mounted on arduino), Ethernet shield etc. It worked for me, as same issue bugged me for almost 1-2 weeks but latter was able to receive all subscribed message irrespective of mode of communication(GSM,Ethernet,WiFi)


Post a Comment for "Not Able To Receive Subscribed Message With Pubsubclient.h In Arduino Uno R3"