Loading...
Searching...
No Matches
Jelly

Use the Jelly tool to speak Slipmux with RIOT.

Use the Jelly tool to speak Slipmux with RIOT.

Author
Bennet Hattesen benne.nosp@m.t.ha.nosp@m.ttese.nosp@m.n@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de

About

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.

Usage

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:

USEMODULE=jelly BOARD=nrf52840dk make flash term

If you want to use networking through Jelly, add the slipdev_net module and tell Jelly which TUN interface to use:

TERMFLAGS=--network=slip0 USEMODULE="jelly slipdev_net" BOARD=nrf52840dk make flash term

Of course you can also manually run Jelly:

Jelly --help