-
Notifications
You must be signed in to change notification settings - Fork 2k
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
native: add option to turn RIOT into a Linux CLI tool #20656
base: master
Are you sure you want to change the base?
Conversation
Cool idea! How about making it behave like busybox? I dislike that there is a new example that does not really have value as it - add the very least add a README! I am also surprised it is nanocoap specific? While coap is a good example use case, the example itself is more "riot as cli tool" and should be presented as such. |
I agree that the example needs to be more fleshed out, this is a bit specific to the 'send arbitrary CoAP payloads as a RIOT node would' use case, but not sure what else I should include. |
Contribution description
To better integrate RIOT into some automated tests, it can be useful to run commands in a one-shot fashion.
This allows to use RIOT shell commands like Linux applications and integrate them into other tooling so e.g. Linux servers that interact with RIOT can be tested using a fixed RIOT binary.
Testing procedure
First create a TAP bridge with an (optional) uplink:
We can
ping
a host from RIOTWe can also access CoAP servers
Issues/PRs references