esp-google-iot
esp-google-iot copied to clipboard
LWIP and VFS open/read/write API. (CA-230)
Hi,
Thank you in advance.
We are facing SDCard reading error issue when disconnection and reconnect to google IOT. When disconnect in the mqtt_task, another task in background of SDCard read() will return -1.
case IOTC_CONNECTION_STATE_OPEN_FAILED:
ESP_LOGE(TAG,"ERROR!\tConnection has failed reason %d\n\n", state);
/* exit it out of the application by stopping the event loop. */
iotc_events_stop();
break;
Not sure if the following is related. https://github.com/espressif/esp-idf/issues/273
Please help. Thank you Best Regards, Leo