Parent is disconnected, reason: 106

lcarnevale
Posts: 4
Joined: Mon Dec 07, 2020 9:46 am
Location: Messina
Contact:

Parent is disconnected, reason: 106

Postby lcarnevale » 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.

Code: Select all

[mwifi, 187]: Parent is disconnected, reason: 106
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
Attachments
Screenshot_2021-05-18_16-01-25.png
Screenshot_2021-05-18_16-01-25.png (34.94 KiB) Viewed 5845 times
---
Lorenzo Carnevale

website: http://lorenzocarnevale.com

Who is online

Users browsing this forum: No registered users and 20 guests