examples/networking/gnrc/minimal/README.md
This is a minimalistic example for RIOT's gnrc network stack.
The application will auto initialize the device's default network interface and
the IPv6 stack and print its link-local address.
You can ping the printed address from another device to check if the node is
alive. Please note that you may have to disable 6LoWPAN header compression
(IPHC), since this example does not include it. In the gnrc_networking
example or any other application with GNRC and a shell, you can do so by
calling ifconfig <if_id> -iphc).
The example demonstrates how one can reduce the memory footprint of a gnrc
application by enabling only the minimum subset of features and setting
configuration options to smaller values than the default. In particular, this
reduction of memory consumption in comparison to the gnrc_networking example
is achieved by:
gnrc_ipv6 and gnrc_ndp modules (instead of
gnrc_ipv6_router_default). This configures the node as a IPv6/6LoWPAN host
instead of a router and disable optional features such as 6LoWPAN IPHC or
fragmentation.gnrc_rpl.DEVELHELP flag.Please take a look at the Makefile to see how the configuration is done.