Parent is disconnected, reason: 106
Posted: Tue May 18, 2021 2:20 pm
Hey there,
I am working with a single node configuration and ESP-MDF.
The node, which is of course the root node, connects to wifi and gets an IP address.
It also connects to a public MQTT broker and sends messages.
After a while, the mesh breaks and the board enters a loop as shown in the Figure herein attached.
I understand the 106 code refers to "scan fail", but I do not understand why the node does not try to connect again or restore the mesh itself.
The code I am using to manage the MESH events is hosted on GitHub, on the following page:
https://github.com/lcarnevale/esp32-mes ... e/events.h
I am working with a single node configuration and ESP-MDF.
The node, which is of course the root node, connects to wifi and gets an IP address.
It also connects to a public MQTT broker and sends messages.
After a while, the mesh breaks and the board enters a loop as shown in the Figure herein attached.
Code: Select all
[mwifi, 187]: Parent is disconnected, reason: 106
The code I am using to manage the MESH events is hosted on GitHub, on the following page:
https://github.com/lcarnevale/esp32-mes ... e/events.h