About the case where the data written to EEROM by ESP32 disappears during AZURE communication
Posted: Tue Nov 24, 2020 9:22 am
If you do the following
The EEROM data will be erased. Please tell me this measure,
After disconnecting Wifi, reconnect Wifi and
Check the connection with Wifi Status.
After this
When the following function is processed, EEROM will be displayed.
Display the image below serially,
It disappears.
Image URL ==
https://www.dropbox.com/preview/EEROMdata.png
Example==
Points to transfer data
char buff [128];
Function that erases EEROM when processed
Esp32MQTTClient_SendEvent (buff)
When processing the following program
if (Esp32MQTTClient_SendEvent (buff))
{
Serial.println ("Sending data succeed");
}
else else
{
Serial.println ("Failure ...");
}
delay (5000);
The EEROM data will be erased. Please tell me this measure,
After disconnecting Wifi, reconnect Wifi and
Check the connection with Wifi Status.
After this
When the following function is processed, EEROM will be displayed.
Display the image below serially,
It disappears.
Image URL ==
https://www.dropbox.com/preview/EEROMdata.png
Example==
Points to transfer data
char buff [128];
Function that erases EEROM when processed
Esp32MQTTClient_SendEvent (buff)
When processing the following program
if (Esp32MQTTClient_SendEvent (buff))
{
Serial.println ("Sending data succeed");
}
else else
{
Serial.println ("Failure ...");
}
delay (5000);