While sending the data from esp8266-01 to raspberry pi, it works fine for certain period of time. But after some time it gives me following error.
[WiFiEsp] Data packet send error (2) [WiFiEsp] Failed to write to socket 3 [WiFiEsp] Disconnecting 3
I don’t know what it really suppose to mean.
The libraries I have used is
PubSubClient and these:
#include <WiFiEsp.h> #include <WiFiEspClient.h> #include "SoftwareSerial.h"