-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
OpenThread Example Improvement #10299
Conversation
Creates a new example that mixes different APIs
Adds neessary CI file
Update ExtendedRoterNode.ino with more use of API
Adds OpenThread Native calls to the example
Update LeaderNode.ino example to add OpenThread Native calls.
Update keywords.txt to use TAB instead of SPACE in order to recognize correctly the keywords.
👋 Hello SuGlider, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files 56 suites 4m 50s ⏱️ Results for commit 52b3cb7. ♻️ This comment has been updated with latest results. |
Changed ExtendedRoterNode to ExtendedRouterNode - Typo error.
Added CI file to the example.
Delete libraries/OpenThread/examples/SimpleThreadNetwork/ExtendedRoterNode directory
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a typo to fix :) esle LGTM
libraries/OpenThread/examples/SimpleThreadNetwork/LeaderNode/LeaderNode.ino
Outdated
Show resolved
Hide resolved
libraries/OpenThread/examples/SimpleThreadNetwork/RouterNode/RouterNode.ino
Outdated
Show resolved
Hide resolved
Typos are automatically detected by CI. It may find other places and then I'll fix them all together. |
@@ -31,10 +31,10 @@ peek KEYWORD2 | |||
flush KEYWORD2 | |||
otGetDeviceRole KEYWORD2 | |||
otGetStringDeviceRole KEYWORD2 | |||
otGetRespCmd KEYWORD2 | |||
otGetRespCmd KEYWORD2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell from the diff, but it's very important to remember that name and type need to be separated by TAB and not spaces. Is this here true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It was separated by spaces and I have fixed it to use TABs.
I noticed it when I was writing the example and the keywords were not highlighted.
Description of Change
Adds a new example that mixes OpenThread native API with different Arduino OThreadCLI API calls.
New example is
ExtendedRouterNode.ino
.Adds OpenThread Native API calls to the current Router and Leader Examples.
Fixes the Library
keywords.txt
file that didn't use TAB to separate fields.Tests scenarios
Tested using two ESP32-C6 one for the Leader and the other for the Child/Router.
Used the modified examples.
Related links
Closes #10295
Related to #9486