Use the Jelly tool to speak Slipmux with RIOT.
Use the Jelly tool to speak Slipmux with RIOT.
The slipmux protocol allows to speak stdio, CoAP and IP over a single UART. RIOT implements it in the slipmux driver with the modules stdio_slipdev, slipdev_config and slipdev_net. On the host side, the Jelly tool can be used to interface with a slipmux speaking device.
Install Jelly on your computer by either grabbing it from crates.io via cargo install Jelly or build if from the source.
Add USEMODULE += jelly to your RIOT app makefile. Among other things, this will enable stdio and CoAP through slipmux. The backend for CoAP is unicoap. If you also want networking, you need to add USEMODULE += slipdev_net as well.
We can now build, flash and open the Jelly shell:
If you want to use networking through Jelly, add the slipdev_net module and tell Jelly which TUN interface to use:
Of course you can also manually run Jelly: