-
Notifications
You must be signed in to change notification settings - Fork 2.1k
CoAP examples: make example a host instead of router #6007
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
CoAP examples: make example a host instead of router #6007
Conversation
Maybe I can even remove some boards from |
Yes, and done. |
Also adapted nanocoap example. |
7449fb7
to
30cf35c
Compare
|
please rebase |
I think this makes sense, as routing and RPL still has to be manually configured, right? |
Can you clarify how you mean that? A host has no routing capability so there is no routing nor RPL. So you see how I am a little confused? ;-) |
I mean, even if routing & RPL is compiled in (like currently in the examples), it doesn't do much until configured, right? And as the coap examples don't include a shell, there's no way of configuring anything. |
Yes (though there is a possibility for auto-init). The behavior regarding NDP is also different for hosts compared to routers (routers advertise themselves, hosts search for routers) |
My point being, all this time that functionality has been compiled into the CoAP examples without an actual way of using it, so this PR definately makes sense. |
30cf35c
to
25bcf23
Compare
Rebased |
nrf6310 pca10000 pca10005 spark-core \ | ||
stm32f0discovery telosb weio wsn430-v1_3b wsn430-v1_4 \ | ||
yunjia-nrf51822 z1 nucleo-f072 nucleo-f030 nucleo-f070 \ | ||
microbit |
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, I tested microbit
;-)
Oops, how isn't this merged yet? Rebased. |
25bcf23
to
d8429c6
Compare
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.
ACK
Please squash |
d8429c6
to
74342ee
Compare
Rebased and added |
Too many green lights not to push this button |
There was some confusion that there was no host example. Since the microcoap example also contains RPL to be able to route which makes the example more complicated (and additionally isn't even documented in its README), I thought it might be a good idea to remove routing capabilities from that example.