-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
WiFi Mesh unstable when parent offline (IDFGH-13875) #14720
Comments
@michaelsimp |
Hi
Thanks for the response.
I have a deadline for a project demo this week but I will go back
and reinstall from scratch and rebuild and test and send you the
files requested.
One thing I note is that I originally installed IDF into vscode
when 5.2.2 was the current build. I have since upgraded to ver
5.3.0 and selected this and did a clean build on my project.
Now I have gone back to "show examples" to recreate the
ip_internal_network project from scratch, it asks which version of
the IDF I want to use but only lists ver 5.2.2. Only once I
create the project I can change the version of IDF to 5.3.0
Using winmerge I compared the directory structure and files from
my target folder containing ip_internal_network
from ver 3.2.2, with the
...\esp\v5.3\esp-idf\examples\mesh\ip_internal_network folder and
the only change was in the partition.csv which now must be
aligned.
I also note there is now a version 5.3.1 marked as stable, and
5.3.0 has gone? I also found migration notes for going from 5.3
to 5.4 although I can't find this in the installer. Is 5.4 the
master (development branch).
Which version would you recommend I use? I have found everything
in IDF to be stable and bug free except for the WiFi Mesh.
Could you advise how I update IDF properly so it will enable me to
select latest version of IDF when I create project from "Show
Examples".
Last time I followed the instructions from Visual Studio at:
https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension#:~:text=In%20Visual%20Studio%20Code%2C%20select,not%20supported%20inside%20configured%20paths
Regards
Michael
On 22/10/2024 10:57 pm, ZYJ wrote:
@michaelsimp
I have tested using the ip_internal_network
example, but I didn't reproduce your problem. Can you provide
the .elf file when the crash
issue happen? Or can you provide the core dump decode file?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message
ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#14720 (comment)",
"url": "#14720 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
…--------------UEln60op0cSX066h04nQooA4
Content-Type: image/png; name="HUQ061jBK81kEjpj.png"
Content-Disposition: inline; filename="HUQ061jBK81kEjpj.png"
Content-Id:
Content-Transfer-Encoding: base64
iVBORw0KGgoAAAANSUhEUgAAARoAAAEvCAYAAACaBA6kAAAgAElEQVR4Xu19DbQd1XXefk8/
j8fPQ1TYQMBGgvXA6ymoxEIgEI717Dh1rNXIiaWsYqzmx4XlZSe1bJ6cChGXunZoo2db7XKo
I+y4toxBIFrTmLTguFL4keXISlTbosHCeQKLYAGqxeNHYCy9zpmZM3P+Zs6ZOzN3ztz73bW0
4N17fvb5zj7f7LPPmb0HRkcvmiF8gAAQAAI1IjAAoqkRXTQNBIBAiACIBooABIBA7QiAaGqH
GB0AASAAooEOAAEgUDsCIJraIUYHQAAIgGigA0AACNSOAIimdojRARAAAiAa6AAQAAK1I9Ac
0bzlY/TFD15KJwdDPPiX76UNW2sfKzrwAIHl679Av//mYNZf2Eefu/5P6BEPZIII9SPQMdEk
CiPJeJDuu+ZG+qqL3E0Tzdo/pjvetcAg6cu079Z/Rf/xoein9/2Hr9HK85ViySJZTn+45UN0
6WmGZp64j675N7dbkUjaFxaesc+4JZ2Uy8tgFbKyAqKsBXSlsv7RUFMIdEA0OYpNBZSnJqJJ
CNC20K1Ecy3dcsdKMlFR+jTOwyKYUoendlGiiRRFxLlNREMEi6appd5sv8WJRligL//tn9L7
N3Hjlyn8Snrq+iYtGmHRORONbMHw6RAtNtmKCAhoy7n0jdDsN/eXWiTmtsUpzyUaiagUQknG
V2DMzeoaeu9jBCokGh1FbXslLv4si0b4Xn96x31o1kiwoL/1Q7ro7ZHPR/zIZCj8krRRlGjE
1jMWuSCfzf/kTjSsX9PWoyDRZMiWzlVqLbnP331E72LWH8fSYA3Gc28abzgy7rtJ4JXnRZZv
Py0SrE0RY2eLto8XfRNDL040pCuRaTFl+hk42ZiIJnM7k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saojaczoomwOpVSpzJrPCDAm4neGt9ediIap7kxOWwNmJkWsvqddjDg
QjTxll1yvqvOYJXQ9YeBCzl3hUEcO1GJZnBwIKiZJpNjzSQJ5NgfWdkq+ffdtGi4HyE5Bg58
M3f8eJiu4Xdj1KNI7chT2FKJp0ian0M9abFdwosXiumug9L2gV1P0+FL1Zuquq9IPkZO2x81
+J74XRF+vMxK555qBb+np0Ox5qjt8kXGj3vjYvKxa4dEkxCzcE1BOKVK5ll9bcJABqn/xHa8
LR/Bq8fp2kMsHq/kn1H1LeOwItMSSo7phflxtGjafLzNSGZgYDBElGeudCYa7gjulGgcibFV
xdqmDLngtsxUb5WiFBa23Rf2wjzbYWrckF7C/y9ANJG1A6IRtMbJlC+sZc1UANE0g7uh17Zt
m9gQ+NaJWzMgmorVyf5SZcUd1tUciKYuZIu1a7xnU6yJJkozotm2bVu4ZeLbpcSScbFomNCi
f4b9vXr1ewrfo2li8OizAAIgmgJgoaiKQBbR8O2TdesUNRhd1OP//Y3feDd97cXfBtpAAAgA
gRCB9576Zdq+/R7JmhEdwRrRiBaMiKFo1bzznf+MhoeHadYs/vIb0AYCQKBfETh+/DgdO3aM
7rvvL6slGk5G3DmcHolzy6dfIce4gUDvIyBuh0JLRThdSv0z4S/JiZPRonGxaiJyiYgFRNP7
yoURAgGOgEo0EdnIx9maI5j9Pjp6UeiBMW2VlG8lYlGdxFHZqKnIp4MPEAACvYBAfHAUWinq
R3L4hoQT35tJK0VEZCIam1Uj/q7eJu4FYDEGIAAE3BDgxMJKZ5FM+FsW0RQhGzeRUAoIAIFe
RMBENnycxpvBJhCyLBa7JYP9Uy8qFcbUbwjo2yUTAiLZpCQT2jLhn/8fbOZ0e5NBKGYAAAAA
SUVORK5CYII=
--------------UEln60op0cSX066h04nQooA4--
|
Hi I created the ip_internal_network project from examples and configured as follows: Clean and Build project. But what I did find easy to reproduce was: See attached files: Also see .elf and .bin files in attachment. I don't know what or where the "Core dump decode file is", but these tests don't show a CPU crash. I cant run under the debugger due to the power cycle tests. Please see attachment MESH-Testing.zip two comments down |
I did some more tests which can easily cause CPU crashes. Power on both nodes, one becomes MESH_ROOT and one MESH_NODE. Second test. Power up only one node, becomes MESH_ROOT |
MESH-Testing.zip |
Hi @michaelsimp The esp-idf vscode extension allows you to save settings in multiple places: User (Global settings for vscode), Workspace and Workspace folder (your project's .vscode/settings.json). The It seems the example you are trying to use have some components with specific behavior in each esp-idf version. So building a v5.2.2 example using esp-idf v5.3 might produce some compilation problems. How about creating an example using esp-idf v5.3 ?
We will try to update the Show examples command to show all available esp-idf versions from esp-idf vscode extension to make this easier. |
@michaelsimp The backtrace of the crash issue is here:
I think this issue is caused by the mismatch between your IDF version and the version in the example. Please update your version according to Brain's suggestion and test it again. |
I installed IDF version 5.3.1
|
Delete this file:
and try to run About the ESP-IDF v5.2.2 again, it is because the newly created project does not set settings when created. You can select the v5.3.0 from status bar again. Again sorry for this issue, will work to make it easier to use in the next release of esp-idf extension. |
I need to make some real progress on this so I have completely uninstalled esp-idf and manually deleted all the ESP and espressif folders including all 3 IDF versions. |
Hi again "Fail 1.txt" is taken from the Mesh_Root "Fails 2.txt" is taken from the Mesh_Node |
It's weird, I have tested it multiple times as you said (the following two cases) and it can connect normally without any crashing issues.
I'm using the Github IDF, and I will try to test with the vscode extension |
FYI I use vscode for coding and building and
sometimes JTAG debugging
Most of the time in testing I am am monitoring serial com port
using Putty terminals on com ports
Thanks
On 30/10/2024 4:56 pm, ZYJ wrote:
It's weird, I have tested it multiple times as you
said (the following two cases) and it can connect normally
without any crashing issues.
Power on both nodes, one becomes MESH_ROOT and one
MESH_NODE. Power off WIFI router. MESH_ROOT crashes. See file
attached MESH_ROOT "Router power off.txt" (crash at end)
Second test. Power up only one node, becomes
MESH_ROOT Power off Router This time MESH_ROOT does not crash
Power on Router MESH_ROOT does not crash Power on a second
node which connects to the first MESH_ROOT - see line 492
MESH_ROOT crashes.
I'm using the Github IDF, and I will try to test
with the vscode extension
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message
ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#14720 (comment)",
"url": "#14720 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Are you using the completely unmodified example code during your testing? |
Yes. I did not change anything except:
See my source files attached where you can see most are untouched with the original install date 30/10/24 02:13pm NZ time. |
FYI I use vscode for coding and building and sometimes JTAG debugging In addition to the crashing, sometimes a MESH_NODE will not reconnect to the MESH network. As a work around for this, I want to stop and restart the wifi mesh network? No matter what I try, my nodes intermittently crash on restart? Is this perhaps related? I am hoping you could please answer a few questions to help me. What are the recommended steps to stop and then restart the WiFi Mesh network? I currently have :
but this causes a lot of error logging which stops if I add ... My restart is as follow:
I notice with my custom application: The IDF documentation states "To prevent nodes from forming a weak upstream connection, ESP-WIFI-MESH implements an RSSI threshold mechanism for beacon frames." Is this configurable and if so where? I cant find it in the API or in MenuConfig. What is the default RSSI threshhold value? The IDF documentation states in Preferred Parent Node "The preferred parent node is determined based on the following criteria: Which layer the parent node candidate is situated on. The number of downstream connections (child nodes) the parent node candidate currently has". Is it recommend to use self-organized networking or for serious applications should I manually build the mesh network? I will only have a max of 10 mesh nodes altogether but they do a reasonable amount of MQTT5 communications to the cloud. |
@michaelsimp The following are the answers for your questions:
|
@michaelsimp I can reproduce the crash using the vscode, I will check the difference between VSCode and standard IDF |
Hi Zhangyanjiaoesp |
Hi Zhangyanjiaoesp Thanks so much for taking the time to answer all my questions. Please note THESE tests are with MY application (NOT with example program ip_internal_network) running on a network of 6 nodes - all ESP32-S3. My application has a CLI console integrated so I can trigger actions and see the responses on the COM port. Q1 I will go back to just calling Q2 Triggered from the CLI Console I was calling:
Q3 The CLI Console is started from my Mainline as is my WiFi Mesh application (built on top of the ip_internal_network source). Q4 I understand this Q5 Thanks Q6 Thanks for clarifying this but I am not finding this to be the case. I distributed some MESH_Nodes across the office with the aim of creating a multi-hop network between the far extremes. But it does not form as expected or at all well for healthy RSSI. I have nodes which are close to my Mesh_Root or 2nd layer Mesh_Nodes which are not at parent capacity numbers. When my other Mesh_Nodes do connect to these parents they provide an RSSI on the child to the parent of -35dBm. But they most frequently want connect to nodes a much longer distance away getting a RSSI of < -70dBm. I read somewhere the default RSSI threshold is -120dBm, but I am finding nodes with RSSIs < -70dBm often lose their MQTT connection to the broker. I have an office environment and I have located the nodes approx 10 to 20 meters apart with a max of one wall between but they are not all line of site. I very much doubt I could even get a connection at RSSI less than -100dBm. I am thinking it may be a signal to noise ratio issue so I have scanned the office for WiFi channel usage and selected channel 1 on my WIFI Router as nothing else is using this channel and no other channels overlap. I know this is not an easy question to answer with precision and I appreciate the many influences, but realistic what is the ballpark min RSSI range at which I can expect a node to work reliably at what sort of distance range. Q7 Because of my Q6 response above, I have started evaluating the example project "manual_networking" to make my MESH_NODES manually scan and select MESH_NODES with the healthiest RSSI. It sounds like you are saying the IDF framework should already be doing this? Best regards |
|
See attached: "Target Network .png" shows the walls as black lines and nodes as circles. The blue lines are approx what I was expecting to see. It forms very randomly but with bad choices like the file "Actual example Network.png" with links and dBm in red. My project is configured for up to 50 nodes and 3 children per node as I wanted to force some layers. |
"According to the backtrace of the crash issue, it seems related to DHCP, it won't affect the mesh networking." That may be the case with the crash issue you found, but the root cause of the vscode IDF environment may cause more than one issue. I guess you will know better when you get to the bottom of the vscode IDF environment issue Do the diagrams I sent help you understand my issue better now? |
Hi Zhangyanjiaoesp Note 1: This makes sense, thanks implemented. Note 2: The second block you pointed out was taken from example project manual_networking inside function mesh_scan_done_handler(). In the else of parent_found (so !parent_found) it calls esp_wifi_scan_stop() and esp_wifi_scan_start() without esp_mesh_set_self_organized(false, false); Note 3: My thinking was to return the network to self organized again after the scan for better Parent. I will remove it soon (don't want to make too many changes at once) if it is not causing a problem for now. Please confirm. I am not sure what the overall status of this is from your side, please advise:
I did some tests. It is much better at establishing a MESH_ROOT when the MESH_ROOT reboots or is powered off. But I still have a few problems: Test1 root.txt: My Mesh_ROOT crashed line 395 Guru Meditation Error Test 2 MESH_NODE.txt: See notes at top of file. After Wifi Scan for a new parent, Became a MESH_IDLE with a child node Why does a node become a MESH_IDLE when there are MESH_ROOT and MESH_NODES very close (around -35dBM) which are well below capacity? How do I fix them? Another wifi scan request does not fix it as you can see in the log. Why does a MESH_NODE connect to a MESH_IDLE when there are MESH_ROOT and MESH_NODEs available with strong RSSIs? Surely this should not be allowed. This MESH_NODE was otherwise healthy and so when I rebooted its parent which was MESH_IDLE, it connected to another MESH_NODE successfully. I started looking though your many changes to internal_networking mesh_main file and found some changes which I think are important. eg in event <MESH_EVENT_PARENT_DISCONNECTED> Would it be possible for you to highlight any other important changes I need to merge into my application ps I also has a node assert reboot on esp_mesh_set_parent(&parent, (mesh_addr_t *)&parent_assoc.mesh_id, my_type, my_layer)
|
Also the change above adding to event <MESH_EVENT_PARENT_DISCONNECTED>
...undoes my switch to a close parent after manual scan. |
@michaelsimp
In the
Unless the return value check is critical, please avoid calling
Yes, I’ve noticed that as well. I think I need to find a better solution.
I still think this part of the code is unnecessary. Returning to the self-organized network after finding a better parent doesn’t seem meaningful, especially since you need to periodically scan for nearby APs, and disable the self-organized network during scanning. As I understand it, you only need the self-organized network when selecting the root; at other times, you prefer to actively choose a better parent, correct?
|
Need the
The device is idle because it has not yet connected to the network. Its child should return parent idle error. |
Hi Zhangyanjiaoesp I'm really a bit lost now as to where I am and what to do next. Yes I have applied all the patches you sent me and done a clean build. I would like to park the Guru Meditation Errors for now as they are infrequent and focus on my main problem which is how to recover after the MESH_ROOT is rebooted. In event <MESH_EVENT_PARENT_DISCONNECTED> if I have the code below, the networks establishes itself again reliably and everything looks quite stable. BUT: It immediately undoes my switch to a close parent after manual scan.
Whereas this, the MESH_NODE parent switch works nicely, but the mesh breaks after the MESH_ROOT reboots or powers off.
You acknowledged this replying "Yes, I’ve noticed that as well. I think I need to find a better solution." My outstanding questions are:
Your replied "The device is idle because it has not yet connected to the network. Its child should return parent idle error." But my problem is it stays this way. Is there something I should do after a node goes MESH_IDLE, or should it fix itself?
Are these symptoms of the system breaking after the manual scan and set better parent followed by the MESH_ROOT reboot? |
If you had carefully reviewed my changes, you would notice that most of the code has been transplanted from your
I am looking into this issue, but I also need to handle other higher-priority tasks, so sometimes I can't respond to you quickly. Additionally, local testing and analyzing logs from multiple devices is quite time-consuming. Regarding the mesh idle issue, we first need to understand how it occurs in order to find a solution. Could you provide the code you're currently using for testing? I need to confirm what code your current test results are based on. |
Hi Zhangyanjiaoesp I did spend time analyzing the changes you made to mesh_main.c with a full compare using winmerge. I just wanted to check with you that I hadn't missed anything important. I fully understand you have other tasks and cannot respond immediately. The purpose of my question was just to check if you were still planning to help me resolve this. See my source attached. I have commented out the esp_mesh_set_self_organized(true, false) per your advice.
I really do appreciate your assistance. |
|
@michaelsimp During my testing, I observed the following phenomenon:
If Node A scans an AP with a layer < 6 and an RSSI stronger than its current parent’s RSSI, it will adopt the new AP as a better parent. In my case, Node A found Node B, a layer2 node, as a better parent, and became a layer3 node.
However, this actually resulted in a worse network condition for Node A, because the network path became longer by transitioning from a layer2 node to a layer3 node. If I move the definition of
However, it would introduce a new problem: a layer 2 node would never switch its parent because its parent is the root node (layer = 1), and no other node has a layer smaller than 1. |
Hi In response to your 2nd to last post. Q 1. Yes I am using 5.3.1. I completed deleted earlier SDKs 5.3.0 and 5.2 a few weeks ago to be 100% sure. Q 2. I have tried this but no success.
I did some work around with the disconnect->reason codes. These are named but not described so its hard to know what they mean and how to apply them. Some of them are not even defined eg 100 & 101 On Node reboot during shutdown I get disconnect->reason codes: On Node startup I get disconnect->reason codes: I found when the MESH_ROOT is lost I get disconnect->reason codes: When I manually switch to a closer parent I get disconnect->reason codes: On event <MESH_EVENT_PARENT_DISCONNECTED> I thought I could test if not codes 8, 201 and 206 then esp_mesh_set_self_organized(true, true); but the reason codes are inconsistent
I don't feel comfortable with this solution unless it is endorsed by you guys, but anyway after several successful cycles, it failed again with lots of:
ending in a broken mesh again, see logs attached test 4 below. Q3. Yes I had changed log_levels at the start of my project. I have removed this now so everything starts at default levels. You can set the levels in my console using "loglevel xxx l" where xxx is the ESP_LOG tag and l = the level. See logs attached Wifi manual scan switch shows MESH_NODE start up and connect,followed by a manual scan and switch to a closer parent. (No reboot of MESH_ROOT) Test 1 is a reference with no manual scan for closer parent before reboot of MESH_ROOT and all nodes reconnect successfully Test 2 is a number of cycles of manual scan and parent switch followed by MESH_ROOT reboot. This was successful for about 3 cycles although it seemed the struggle, before failing on the last attempt. The logs have wrapped but show the end when it gets broken Test 3 is a more controlled failure: |
Hi In response to your last post: At present I only consider the RSSI value. My thoughts were, I am not wanting to build the mesh network from scratch as I start with a self configured network. I am only planning to make changes to nodes with poor RSSIs. So far my tests have been successful network architecture wise (when I have a fixed ROOT so I don't get the broken mesh problem). I appreciate what you are saying and will certainly doo more testing and add more intelligence into the parent selection if necessary. I already send all my node network attributes to the MESH_ROOT where I have a table of all node and their parent, children, layers and RSSI. I could broadcast this to all nodes if necessary to enable smarter logic at the selection. But I can't keep the manual scan and parent switch code while it causes my network to break which leaves me in a real predicament performance wise. I really need a resolution to this as my priority. Thanks for your ongoing help |
You can use the reason code to categorize the issues, but this is not entirely reliable, as different scenarios may generate the same reason code.
Are you saying that using |
Yes Test 2 1.txt through test 2 4.txt were the 4 devices on a single round of testing test 4 was done with" Are you saying that using disconnected->reason == WIFI_REASON_BEACON_TIMEOUT for judgment is completely ineffective, or it can work but can't work as well as (disconnected->reason != WIFI_REASON_ASSOC_LEAVE) && (disconnected->reason != WIFI_REASON_NO_AP_FOUND) && (disconnected->reason != WIFI_REASON_AP_TSF_RESET) Neither work reliably. after 2 or 3 cycles some nodes will fail and go MESH_IDLE and not scan and the network is broken. |
I just reviewed the log for test3, and the device behavior is normal. The device being in the MESH_IDLE state is not permanent; it is a temporary state. Below is my analysis:
|
According to your test log, I think the |
How long should it take to for a MESH_IDLE to find a parent again? I am sure I waited 10s of seconds and it wasn't even scanning. |
Hi Today I am getting problems where nodes get stuck in a loop logging forever. I can't keep my trace open long enough as I lose the start, but take my word for it please, once in this state it never comes out no matter how long (minutes). eg
I found I am the author of one way that this can happen, if I scan and switch parents manually. See test1 logs attached where This is one cause of the above. I think I can fix this by checking that I am not switching the nodes parent to one of its children. But Test 2 looks the same problem but is not triggered by the above. MESH_ROOT is powered off. A panic crash on a MESH_NODE 48:ca:43:9b:5d:20 which still happens from time to time, but my bigger concern is that after this, MESH_NODE MAC: 48:27:e2:18:39:80 gets stuck in the disconnect loop Are you able to reproduce these problems with the ip_internal_network you modified a week or so back? I get lost in all of this and feel we would make better progress if you were able to test, analyze and debug directly. |
Hi again |
Two posts back I wrote:
When I looked at the code, I am finding it difficult to decipher the variables
the original source (taken from the example project "manual_networking") seems to be already checking : Could you take a look at the test 1 logs as they do appear to be setting parent to each other. The entire routine is currently as follows if you could check and make any changes please.
|
Hi By the way all yesterdays test and logs and today were made with your recommendation of only using I have been testing getting the 4 nodes stacked up across 4 layers and powering off the NODE on layer 2 rather than the MESH_ROOT as this provide a cleaner set of logs. See test 1 Layer 1 MESH_ROOT 48:ca:43:9b:53:d8 Then power down NODE A on layer 2 NODE B switched from layer 3 to layer 2 and parent from NODE A to MESH_ROOT - perfect Is this valid? It stayed like this for minutes while I wrote this up Then I powered of the MESH_ROOT see test 1 MESH_ROOT line 469. This node 48:ca:43:9b:53:d8 now becomes MESH_NODE and child of Node B. See test 1 Node B.txt line 2038 Remains broken like this indefinitely. |
Sorry, I can't reproduce your issue on my side.
then update the Before scanning, retrieve the current parent information. Finally, within the
You mentioned that you don't want to rebuild the network from scratch, but instead, you want to adjust the initial network formed by the self-organizing process. However, during the actual testing, I've observed that you often call scan at the application layer while the initial network is still being formed, which forcibly interrupts the self-organizing process. So, when you call scan at the application layer, is it completely random? Would it make sense to first check whether the initial network has been fully formed before manually triggering the scan? I believe we must first resolve the issues mentioned in points 3 and 4 before proceeding with further problem analysis. If the initial logic framework isn't properly established, it could lead to a range of unforeseen issues down the line, which would be quite painful for me to handle. |
Answers checklist.
IDF version.
v5.3.0
Espressif SoC revision.
Chip is ESP32-S3 (QFN56) (revision v0.2)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-S3-WROOM-1
Power Supply used.
USB
What is the expected behavior?
I expect the ESP32 to continue to run the application without crashing when the WIFI Mesh parent disappears.
If the MESH_ROOT was powered off, I expect a MESH_NODE to assume the role of MESH_ROOT
If the WIFI Router is powered off, when I restore it, I expect the mesh network to establish itself
What is the actual behavior?
Steps to reproduce.
Debug Logs.
More Information.
My application integrates a number of IDF example programs including ip_internal_network
I went back to the example project ip_internal_network and built it unmodified, and can reproduce the same problems quite readily.
Also, for when the ESP32 nodes don't completely crash, I would like to know how to restart the Mesh network in software.
I have tried stopping the Mesh network with:
ESP_ERROR_CHECK(esp_mesh_stop());
ESP_ERROR_CHECK(esp_mesh_deinit());
ESP_ERROR_CHECK(mesh_netifs_destroy()); // I have tried with and without this line. Without it, the logs continually report:
I (135746) mesh: mesh is not started
E (00:58:02.547) mesh_netif: Received with err code 16388 ESP_ERR_MESH_NOT_START
I then try to restart the Mesh network with:
/* mesh initialization /
ESP_ERROR_CHECK(esp_mesh_init());
ESP_ERROR_CHECK(esp_mesh_set_max_layer(CONFIG_MESH_MAX_LAYER));
ESP_ERROR_CHECK(esp_mesh_set_vote_percentage(1));
ESP_ERROR_CHECK(esp_mesh_set_ap_assoc_expire(10));
/ set blocking time of esp_mesh_send() to 30s, to prevent the esp_mesh_send() from permanently for some reason /
ESP_ERROR_CHECK(esp_mesh_send_block_time(5000)); // was 30 seconds
mesh_cfg_t cfg = MESH_INIT_CONFIG_DEFAULT();
cfg.crypto_funcs = NULL;
/ mesh ID */
memcpy((uint8_t ) &cfg.mesh_id, MESH_ID, MAC_SIZE);
/ router */
cfg.channel = CONFIG_MESH_CHANNEL;
Doing the above when the system is running normally, often causes the ESP32's to crash with various errors
eg after start, MESH_NODE does a scan and then crashes with Guru Meditation Error: Core 0 panic'ed
I (00:22:02.752) aWifiMesh: <MESH_EVENT_FIND_NETWORK>new channel:8, router BSSID:00:00:00:00:00:00
W (1323864) wifi:adjust channel:1, secondary channel offset:1(40U)
W (1323874) wifi:adjust channel:8, secondary channel offset:1(40U)
I (1324184) mesh: [SCAN][ch:8]AP:2, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:1, topMAP:0[c:0,i:0][00:17:13:20:bd:74]router found<>
I (1324184) mesh: 7391[selection]try rssi_threshold:-78, backoff times:0, max:5<-78,-82,-85>
I (1324204) mesh: [DONE]connect to parent:ESPM_3372B8, channel:8, rssi:-14, 30:30:f9:33:72:b9[layer:1, assoc:0], my_vote_num:0/voter_num:0, rc[00:00:00:00:00:00/-120/0]
I (1324214) mesh: set router bssid:00:17:13:20:bd:74
I (1324834) mesh: <MESH_NWK_MIE_CHANGE><><><><><><>
I (1324834) mesh: <MESH_NWK_ROOT_ADDR>from assoc, layer:2, root_addr:30:30:f9:33:72:b9, root_cap:1
I (1324844) mesh: <MESH_NWK_ROOT_ADDR>idle, layer:2, root_addr:30:30:f9:33:72:b9, conflict_roots.num:0<>
I (1324854) mesh: [scan]new scanning time:600ms, beacon interval:300ms
I (00:22:03.744) aWifiMesh: <MESH_EVENT_ROOT_ADDRESS>root address:30:30:f9:33:72:b9
I (1324854) mesh: 2012parent monitor, my layer:2(cap:6)(node), interval:4526ms, retries:1
I (00:22:03.771) aWifiMesh: <MESH_EVENT_PARENT_CONNECTED>layer:2-->2, parent:30:30:f9:33:72:b9, ID:77:77:77:77:77:76
I (00:22:03.785) mesh_netif: It was a wifi station removing stuff
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4212753c PS : 0x00060830 A0 : 0x82127613 A1 : 0x3fcc15d0
A2 : 0xffffffff A3 : 0x00000000 A4 : 0x00000278 A5 : 0x00000001
A6 : 0x3fcc09d0 A7 : 0x00000278 A8 : 0x3c1505e4 A9 : 0x3fcd778c
A10 : 0x3fcc09d0 A11 : 0x00000000 A12 : 0x00000101 A13 : 0x3c1505e4
A14 : 0x00000007 A15 : 0x3fcaa7f4 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000284 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0xffffffff
Backtrace: 0x42127539:0x3fcc15d0 0x42127610:0x3fcc1620 0x4037e0aa:0x3fcc1640
I sometimes get MTX task stack overflows too when I try this, same as #13882
The text was updated successfully, but these errors were encountered: