New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDF_EVENT_MWIFI_ROOT_GOT_IP event does not occur on root device #186
Comments
I also have such a problem. Sometimes after voting is done ROOT does't get IP. How can i debug this problem to find a solution? |
I face the same issue. Has this been worked up on? I don't know why this is not working and the ticket is closed?
I found this in sdkconfig I found this in mwifi.c
|
Please update the following api, we will merge to the release version.
} |
Thank you Shenjun7. the only difference is |
This error does not affect the acquisition of ip. You can add esp_netif_dhcpc_stop(sta_netif) after the MDF_EVENT_MWIFI_PARENT_CONNECTED, and revert the above change.
|
Thank you Shenjun7.
and checked. It is working all right. Appreciate the help! |
@ravi-kashi Hi, can you explain the changes you made? I'm experiencing this issue and the instructions from @shenjun7 aren't clear to me what changes need to be made in what file(s). |
It's the file esp-idf/components/esp_wifi/src/wifi_default.c around line 385. The only change is to outcomment the line "netif_cfg.flags &= ~ESP_NETIF_DHCP_CLIENT;" |
Environment
git rev-parse --short HEAD
to get the commit id.): 1c76187Problem Description
I found that sometimes when the root device goes offline, someone from the other child nodes on the network becomes the root node, but the MDF_EVENT_MWIFI_ROOT_GOT_IP event does not occur.
In this case, the esp_mesh_is_root method returns true.
Could there be conditions under which such behavior is possible?
The text was updated successfully, but these errors were encountered: