Closed abhay9sap closed 3 years ago
you could turn on debug log. https://github.com/jandrassy/WiFiEspAT#logging
where do you get rc -1?
Hi Jandrassy,
sorry for late reply, I got the rc=-1 on Serial Monitor from reconnect() part of code client.state().
I check debug log and report back.(I am new to this, just want to ask do I have remove all # from EspAtDrvLogging.h :), I am lost on how to use it )
replace
with
you use some older version of the library?
Hi Jandrassy,
I think both are latest version,
Following are the library version PubSubClient 2.8.0 WifiEspAT 1.3.1
Thank you :)
esp> AT+SYSSTORE=0 ...sent
esp> ERROR ...error
esp ERROR: expected OK got ERROR
esp WARN: Error setting store mode. Is the firmware AT2?
why do you have the library set for AT 2.1?
Hi Jandrassy,
I thought as my AT Firmware was 3.0.4 I had to follow this Instruction;
For AT firmware version 2.1.0 or higher open in the folder of the library the file src/utility/EspAtDrvTypes.h in a text editor and comment out the line #define WIFIESPAT1 like this //#define WIFIESPAT1
I now removed the comment out and its working fine, Thank you so much for helping me out on this.
Regard Abhay 👍
AT firmware version is different from SDK version. current non-os SDK 3+ AT versions are 1.7+. rtos SDK AT fw is version 2+
Hi Jandrassy,
Thank you for that information, I will look out for AT version on my future project.
But your Library is just awesome. Testing it for last 2 days, its rock solid and functions flawlessly.
Thank you again for helping the community and wish you Good Luck.
Regards, Abhay
Hi, might be a newbie question to ask but how do I enable logging specifically? Because I'm having MQTT disconnect after some period of time and it's driving me crazy as I do not know why :(
Oh I got it to work and show debug in my serial monitor. Is it able to automatic export into a .txt file?
Thank you.
Hi, Your post in Arduino Forum helped me flash firmware of ESP8266 on my ATMega Wifi with ESP8266.
I tried using WiFiEsp.h but I am facing issues with new firmware and your library helps solve that.
Can you help me with Example file for Mqtt connection, I tried with PubSubClient but I get PubSubClient error rc=-1, connection works with WiFiEsp.h.
Thank you,
Regards, Abhay
My Code is