-
Notifications
You must be signed in to change notification settings - Fork 3k
Nanostack: Update Wi-SUN configuration #12349
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
Conversation
@artokin, thank you for your changes. |
}, | ||
"wisun-bc-interval": { | ||
"help": "Broadcast interval. Duration between broadcast dwell intervals. Range: 0-16777216 milliseconds", | ||
"help": "Broadcast interval. Duration between broadcast dwell intervals. Range: 0-16777216 milliseconds, keep as 0 to learn the value from network.", | ||
"value_max": 16777216, |
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.
Not an expert here, just making sure this is correct...
16777216 is 0x100 0000. Should this by any chance be 16777215 (0xFF FFFF)?
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.
@michalpasztamobica , good catch. Actually the broadcast interval length can be 4 octets but the resolution might be limited. Setting the length as 32-bit for now.
}, | ||
"wisun-bc-interval": { | ||
"help": "Broadcast interval. Duration between broadcast dwell intervals. Range: 0-16777216 milliseconds", | ||
"help": "Broadcast interval. Duration between broadcast dwell intervals. 32-bit, keep as 0 to learn the value from network.", |
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.
BC interval and dwell is always learned by nodes and always set to value for border router. So when this value is set valid value should be used if this configuration is in future used by border router sw.
dwell:250, interval:1050 are the defaults if I remember correctly
I run Ci meanwhile |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
CI started |
Test run: FAILEDSummary: 1 of 12 test jobs failed Failed test jobs:
|
-Improve help texts of Wi-SUN configuration values -Add min/max value checks to Wi-SUN configuration values -Define default values for some parameters, instead of referring to Nanostack internal default values.
ffebccd
to
5836b7e
Compare
Test failure was caused by the change of
Would you please re-review? |
"help": "Unicast dwell interval. Range: 15-255 milliseconds.", | ||
"value_min": 15, | ||
"value_max": 255, | ||
"value": 255 |
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.
11/10 points and a big 👍
CI started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Summary of changes
-Add more details to Wi-SUN configuration help texts
-Add min/max value checks for some Wi-SUN configuration values
-Define default values for some Wi-SUN parameters instead of referring to Nanostack internal default values.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-mesh