Closed keerthimk closed 4 years ago
Hi @keerthimk
It looks like you are trying to stop and delete the MQTT client from the event handler, which unfortunately wont work.
I suggest you try to notify another task (using a queue, event group etc) and then shut it down from there.
Hi @ESP-Marius Thanks for your Comment. It works when I resume another task from the event handler. Also I increased the Stack size of the task to 2048.
Hello People,
Am trying to do the following with ESP8266. I use ESP8266 FreeRTOS SDK.
Loop 3 to 6 (RTOS Tasks/ Events)
Problem Description: Resets are thrown upon Reconnect PS: Disconnects gracefully without any errors.
Please let me know if I have a wrong sequence for reconnecting and disconnecting from MQTT Broker. I have attached the code for your reference.
Please find the details below
query.zip