Hi everyone,
I’ve been working with the OpenThread CLI example on the nRF52840-DK using NCS 2.9.0, and I wanted to share my experience with the Thread Commissioning process. While setting up MeshCoP Commissioning, I encountered a system failure and crash on the joiner side. The logs indicated a stack overflow error, which was quite puzzling.
After some digging, I realized that the issue might be related to the stack size configuration for the OpenThread thread. I adjusted the stack size in the configuration file and retried the commissioning process. This time, it worked without any crashes!
Here’s what I learned:
- Check Stack Sizes: Ensure that the stack sizes for critical components like OpenThread are adequately configured, especially when dealing with complex operations like commissioning.
- Review Logs Thoroughly: The logs provided valuable insights into the root cause of the issue. Taking the time to parse through them helped me identify the problem quickly.
- Iterative Testing: Making incremental changes and testing each configuration helped isolate the issue effectively.
I hope this helps anyone else encountering similar issues. If you have any questions or tips, feel free to share!
Best regards,
[Your Name]