-
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 I made no changes to the source.
I did a clean build and tested. See attachments for log files, line numbers and summary at top of each file. Test one, power 2 nodes up at the same time Test two, power 2 nodes one becomes MESH_ROOT and the other connects to it. I stopped the log files after 72 seconds so I wouldn't lose the start. But I left the 2 terminals running while I wrote this up and they have now been going for 1416228ms or 1416 seconds or over 23 minutes This pretty much mirrors what I am seeing with my application. My objectives are to have a self organized network WITHOUT fixing my MESH_ROOT. But if a MESH_NODE connects to a parent with an RSSI < -60dBm, I want them to scan and find eligible parents with better RSSI and switch to them using Most of the time (an for the testing I am doing and reporting to you) I am only using MQTT comms for nodes to an external broker, But I have also developed and OTA solution, using HTTPS to update my MESH_ROOT and then have my MESH_ROOT push OTA updates to my MESH_NODEs using esp_mesh_send() and recv_cb. I have developed a protocol and broadcast packets of 1024 bytes at a time, and the MESH_NODEs respond after a small delay X their node number to avoid collisions. I have Ack messages and a retry mechanism for dropped packets and this works well if RSSI > -65dBm. BUT less than -65dBm the dropped packets become to much. I drop these nodes from the OTA process and complete the broadcast to the rest. I then follow up with P2P messages to the nodes I dropped which works better over lower RSSI connections. But none of the OTA stuff is active in my application during the tests I have been running, this is just for background information. |
Hi. Thanks for your response. My apologies, I thought I was working on the original "manual_networking project, but this was my test version which I did modify. I thought MESH_SET_NODE meant I could set the MESH_NODES parent (to a closer node with RSSI), but I think you are saying it is designed set the MESH_TYPE as MESH_NODE only which I guess this explains why I don't later get a MESH_ROOT. Please confirm. So can you give me a lead on how I achieve my objective as I documented in my last post. I am looking for a hybrid between example "ip_internal_networking" where everything is automatic and example "manual_networking" which is designed to manually set a fixed MESH_ROOT and MESH_NODES. I am guessing my problem lies in my use of I am guessing some how I need to restart the scanning for the router with highest RSSI for the voting process but I don't know how to tell when I have lost the MESH_ROOT in the network, and then how to trigger the rescan and vote to enable a MESH_NODE or MESH_IDLE to become MESH_ROOT again. This all happens automatically on start up before my use of esp_mesh_set_parent(). I really appreciate your help to better understand this. |
if there is no better parent, the node will remain with its current parent;
if a better parent is found, it will switch to that parent.
|
Thank you for this information I had read in the docs about the self-organized network non-root nodes periodically scanning the surrounding nodes and selecting a better parent, but I have had multiple cases where a node at one end of the network location wise has connected with a node at the opposite end of the network location wise and resulting in RSSI figures < -70dBm when there are much closer nodes in between, and they have NOT automatically switched. How often should it scan and switch? When I added my manual scan and switching code (with the fixed MESH_ROOT) it formed a much better network and the performance was very noticeably better. I will try this over the weekend and report back. |
Hi To recap, I have created a task which runs every 60 seconds to check if the node RSSI < -60dBm and if so it calls wifiMeshScan(), to scan for a better parent. For now I have commented this out and instead call wifiMeshScan() (see below) manually from my CLI console .
Here is my wifiMeshScan():
and in my mesh_event_handler I have added:
and my findClosestParent (copied and modified slightly from manual_networking example, to scan all eligible node and take the one with the best RSSI)
My problem was if I run the above code, and then later I restart my MESH_ROOT, I didn't get a new MESH_ROOT and the mesh network can't re-establish itself. Based on your last post advice I have added the following to mesh_event_handler()
Now when I restart the MESH_ROOT it works perfectly SOME of the time. The event MESH_EVENT_NETWORK_STATE fires, and the voting process starts to find a MESH_ROOT. Everything reestablishes and starts working again. But more than half of the time, the network gets in a mess. The MESH_EVENT_NETWORK_STATE event does NOT fire to restart the MESH_ROOT polling. I end up with no MESH_ROOT and MESH_NODES on deep layers all point directly or indirectly to a MESH_IDLE node. See my logs attached.
None of these log files show the In summary:
When I find a better parent:
When root disappears:
The problem: |
|
Could you provide a more complete log? I need to understand the network state before the root reboot. Specifically, how Node1, Node2, and Node3 were connected, and what the behavior was after the reboot. |
Hi I have all 4 nodes in my office for convenience.
Ignore the watchdog in MQTT. I think the library blocks a bit when WiFi is not up.
|
Hi Zhangyanjiaoesp |
|
@michaelsimp
|
Answering your questions: Can you disable the MQTT task watchdog? I'm not sure if it will interfere with the entire process. Why are there so many reboot operations in the root log? Is this the expected behavior? Then, non-root nodes disable self-organization and periodically scan for nearby APs, selecting a better parent. When the root node disappears, the other nodes re-enable self-organization, reselect the root, and restore the network. If it helps, I could make a cut down project and send it to you to test and play with. It doesn't need any special hardware, I am just using ESP32-S3-WROOM-1 dev boards with 16MB Flash |
Sure, it would be better if you could provide a demo. That way, I can test and debug it locally. |
Hi See attached wincut folder structure of my project minus the build directory. I have cut out the application but left all of the platform stuff. Its still quite big but you will probably only be interested in the source at: Typing "help" will bring up a menu. Your targets probably won't be wifi provisioned yet but if it is you can run "wifi unprovision" to clear it out. On restart it will display the provisioning screen on the console with the QRCode for the ESP provisioning app. After provisioning (all your nodes), they will start up normally and form a self organized mesh. Type "mesh" to display the nodes WiFi mesh attributes including the Mesh routing Table as follows: W (00:14:26.671) aWifiMesh: MESH_ROOT Layer: 1 MAC: 30:30:f9:33:49:bc IP: 192.168.1.13 The MQTT app will try to connect to a Mosquito Broker on 192.168.1.2. If you want to disable this the MQTT is in the file: Type "wifi scan" on a NON MESH_ROOT to get it to search for a better parent and switch. It won't run on a MESH_ROOT. Reboot the MESH_ROOT to reproduce the broken Mesh issue. Type "wifi root" to run call esp_mesh_set_self_organized(true, true) |
Have you manged to test my application yet and reproduce the problem? |
Still in testing,I didn't use your demo as it involves too many components. Instead, I made some modifications based on the |
Ok, can you reproduce the problem? |
@michaelsim There are the following points to note in your changes:
|
…nterval changed Closes #14720
Hi Zhangyanjiaoesp Thanks for the feedback and software I backed up the original files, applied the patch and then compared the files.
I will apply the 3 changes and retest and report, but I would like to know if you found and fixed anything or if your note 2 is my problem. |
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. |
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: