From cc40eb8e86b73af1c0e1c88b0fdcaa3f2a3b4d36 Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Mon, 2 Feb 2015 08:41:57 +0100 Subject: [PATCH 1/2] examples/rpl_udp: Add missing newlines in README.md --- examples/rpl_udp/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/rpl_udp/README.md b/examples/rpl_udp/README.md index e99fc6be71..0b86327c3d 100644 --- a/examples/rpl_udp/README.md +++ b/examples/rpl_udp/README.md @@ -66,6 +66,7 @@ Init your RPL node either as root (`r`), as node router (`n`), or as non-routing Transport layer initialized or + > init n init n INFO: Initialize as node on address 2 @@ -74,6 +75,7 @@ or Transport layer initialized or + > init h init h INFO: Initialize as non-routing node on address 3 From 4183f3e50522533472ada36adb5adebb9f6aeea0 Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Sun, 1 Feb 2015 18:37:42 +0100 Subject: [PATCH 2/2] examples/rpl_udp: Update line number on link to default RPL_MAX_ROUTING_ENTRIES --- examples/rpl_udp/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/rpl_udp/README.md b/examples/rpl_udp/README.md index 0b86327c3d..c03c68dd86 100644 --- a/examples/rpl_udp/README.md +++ b/examples/rpl_udp/README.md @@ -4,9 +4,9 @@ First switch to this application directory: cd RIOT/examples/rpl_udp #### Parameterizing the build -The build system provides two specific parameters for the RPL module. +The build system provides two specific parameters for the RPL module. These parameters are: - * `RPL_MAX_ROUTING_ENTRIES` sets the desired maximum number of entries for the RPL routing table. _If this parameter is not provided, a [default](https://github.com/RIOT-OS/RIOT/blob/master/sys/net/include/rpl/rpl_config.h#L130) value is used._ + * `RPL_MAX_ROUTING_ENTRIES` sets the desired maximum number of entries for the RPL routing table. _If this parameter is not provided, a [default](https://github.com/RIOT-OS/RIOT/blob/master/sys/net/include/rpl/rpl_config.h#L139) value is used._ * `RPL_NODE_IS_ROOT` indicating the build is specifically for a root node. This parameter is **only required** for using [`RPL_NON_STORING_MODE`](https://github.com/RIOT-OS/RIOT/blob/master/sys/net/include/rpl/rpl_config.h#L31) MOP to initialize a RPL routing table. The parameter is ignored in all other cases. _For non-storing MOP a node does not require to provide a routing table._ #### Compiling the executable @@ -30,17 +30,17 @@ builds the project and creates `103` entries for the RPL routing table for the r ../../cpu/native/tapsetup.sh create 2 -The `2` corresponds to the number of _virtual_ nodes to be started. -The tap devices are bound to the _virtual_ native node on starting the created executable `rpl_udp.elf`. +The `2` corresponds to the number of _virtual_ nodes to be started. +The tap devices are bound to the _virtual_ native node on starting the created executable `rpl_udp.elf`. #### _[native only]_ Starting _virtual_ nodes Run the first node make term -This starts the executable binding a _virtual_ node to the first tap device `tap0`. +This starts the executable binding a _virtual_ node to the first tap device `tap0`. -**Further nodes must be bound to tap devices manually.** +**Further nodes must be bound to tap devices manually.** For the second node it would be: make term PORT=tap1