-
Notifications
You must be signed in to change notification settings - Fork 3k
Nanostack: Add config for Wi-SUN device type #12648
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
Nanostack: Add config for Wi-SUN device type #12648
Conversation
@artokin, thank you for your changes. |
Add configuration option for Wi-SUN device types.
efc907f
to
1b17179
Compare
@@ -159,6 +159,10 @@ | |||
"value_max": 255, | |||
"value": 255 | |||
}, | |||
"wisun-device-type": { | |||
"help": "Supported device operating modes: MESH_DEVICE_TYPE_WISUN_ROUTER, MESH_DEVICE_TYPE_WISUN_BORDER_ROUTER", | |||
"value": "MESH_DEVICE_TYPE_WISUN_ROUTER" |
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.
Would just MESH_DEVICE_TYPE_ROUTER be enough and sort of generic
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.
Those could be used also in 6LoWPAN
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.
We are using already two conventions for device type:
-
6Lowpan is already having
6lowpan-nd-device-type
with aluesNET_6LOWPAN_ROUTER
andNET_6LOWPAN_HOST
are used. -
thread is having
thread-device-type
with valuesMESH_DEVICE_TYPE_THREAD_ROUTER
,MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE
,MESH_DEVICE_TYPE_THREAD_MINIMAL_END_DEVICE
andMESH_DEVICE_TYPE_THREAD_ROUTER
.
We just need to select if we follow 6LoWPAN or Thread convention here.
CI started |
Test run: SUCCESSSummary: 8 of 8 test jobs passed |
Summary of changes
Add new configuration option for Wi-SUN device type. Device type can configured to be either router or border router.
Impact of changes
Allow Wi-SUN application device type of Wi-SUN device.
Migration actions required
Documentation
Pull request type
Test results
Reviewers