Skip to content

Example Applications

Ken Bannister edited this page Nov 2, 2016 · 8 revisions

RIOT provides a couple of a example applications to demonstrate some important features and functionalities of the operating system. These examples can be found in the example directory in RIOT's root directory. More application can be found in an external repository at https://github.com/RIOT-OS/applications. These applications are not maintained as part of the main repository and might not work on all supported boards at all time.

The following gives a short overview about the example applications. More detailed information can be found in the README files inside the corresponding example application directory.

arduino_hello-world

This application shows how you can run Arduino sketches on top or RIOT.

default

Demonstrates some basic features like the shell, reading sensors, or sending packets directly over the link layer. The scope of this application varies between different boards.

gcoap

A CoAP client and server implementation for RIOT's GNRC networking stack that provides a single access point for CoAP messaging. It uses nanocoap for base CoAP structs and functionality. Also see the microcoap_server example below.

gnrc_border_router

This example provides 6LoWPAN border router on any node that is equipped with an additional IPv6 capable network interface or a second serial port.

gnrc_networking

For experimenting with the GNRC IPv6/6LoWPAN network stack. Per default this example acts as a router and allows for setting static routes as well as using RPL.

hello-world

Guess what!

ipc_pingpong

For demonstrating RIOT's IPC capabilities.

microcoap_server

gnrc + conn + microcoap based CoAP server example.

posix_sockets

Using the well-known POSIX (BSD) sockets in RIOT.

riot_and_cpp

How to write an C++ application in RIOT.

timer_periodic_wakeup

Demonstrates how to configure a periodic wakeup event using the xtimer.

Clone this wiki locally
You can’t perform that action at this time.