You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Lotte Steenbrink 0c67c02047 Add the AODVv2 Routing Protocol
This PR depends on #1766.

It contains a minimal implementation of the AODVv2 routing protocol.
*Not* implemented are:

	- AckReqs
	- alternate metrics
	- multiple interfaces
	- clients and Client Networks
	- buffering
	- all addresses, TLVs, and features that are marked as optional

An example application can be found at https://github.com/Lotterleben/RIOT-AODVv2/tree/master/aodvv2_demo.

The implementation relies heavily on a functioning Neighbor Discovery Protocol.
It might be necessary to fill the neighbor cache manually with the current state
of RIOTs NDP implementation.

The value of AODVV2_MAX_UNREACHABLE_NODES has been chosen arbitrarily and will be subject to
future improvement.

Please note that based on my experience, with the default transceiver
buffer size (3) of the native port, about 2/3 of the route discoveries
will fail. This has been addressed in issue #1747. It is advised to increase
the transceiver buffer size when using AODVv2 as a routing protocol.
8 years ago
boards Merge pull request #2018 from brummer-simon/devel-dac_driver 8 years ago
core core/msg: coding convention cleanup 8 years ago
cpu Merge pull request #2097 from haukepetersen/fix_stm32f0_spinbarrier 8 years ago
dist dist: run cppcheck with only one job (triage #2089) 8 years ago
doc doc: add doxygen predefines for periph headers 9 years ago
drivers Merge pull request #2018 from brummer-simon/devel-dac_driver 8 years ago
examples Merge pull request #1635 from thomaseichinger/import_agilefox 8 years ago
pkg pkg/libcoap: call "$(MAKE)", not make 8 years ago
sys Add the AODVv2 Routing Protocol 8 years ago
tests test/hwtimer_spin: test slightly wider range 8 years ago
.astylerc .astylerc: Respect max code line length of 100 9 years ago
.gitattributes make: OSX: don't fail for empty .a archives 9 years ago
.gitignore ignore IDEA project files 8 years ago
.travis.yml CI: removed AC in extern C check 8 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 9 years ago
LICENSE * updated LICENSE file from GPL to LPGL 10 years ago
Makefile make: add clean, distclean for RIOT 9 years ago
Makefile.application make: refactor make system (parallelism, deduplication) 9 years ago
Makefile.base make: easify {sys,drivers}/Makefile 8 years ago
Makefile.buildtests Add TERMFLAGS to info-build of Makefile.buildtests 8 years ago
Makefile.cflags make: del no-delete-null-pointer-checks for clang++ 9 years ago
Makefile.defaultmodules make: Add DEFAULT_MODULE and DISABLE_MODULE 9 years ago
Makefile.dep Add the AODVv2 Routing Protocol 8 years ago
Makefile.include Merge pull request #1924 from OlegHahm/strip_application_name 8 years ago
Makefile.modules make: expose used features with `-DFEATURE_ABC` 9 years ago
Makefile.pseudomodules net: Initial import of a packet wrapper for priority_queue 9 years ago
Makefile.vars make: centralize wget/curl & unzip/7z feature test 9 years ago
README.md Adapt start page to improve developement procedures 8 years ago
keyword_space.sed minor error in sed expression 10 years ago
release-notes.txt Replaced old release notes with the current ones 9 years ago

README.md

                      ZZZZZZ
                    ZZZZZZZZZZZZ
                  ZZZZZZZZZZZZZZZZ
                 ZZZZZZZ     ZZZZZZ
                ZZZZZZ        ZZZZZ
                ZZZZZ          ZZZZ
                ZZZZ           ZZZZZ
                ZZZZ           ZZZZ
                ZZZZ          ZZZZZ
                ZZZZ        ZZZZZZ
                ZZZZ     ZZZZZZZZ       777        7777       7777777777
          ZZ    ZZZZ   ZZZZZZZZ         777      77777777    77777777777
      ZZZZZZZ   ZZZZ  ZZZZZZZ           777     7777  7777       777
    ZZZZZZZZZ   ZZZZ    Z               777     777    777       777
   ZZZZZZ       ZZZZ                    777     777    777       777
  ZZZZZ         ZZZZ                    777     777    777       777
 ZZZZZ          ZZZZZ    ZZZZ           777     777    777       777
 ZZZZ           ZZZZZ    ZZZZZ          777     777    777       777
 ZZZZ           ZZZZZ     ZZZZZ         777     777    777       777
 ZZZZ           ZZZZ       ZZZZZ        777     777    777       777
 ZZZZZ         ZZZZZ        ZZZZZ       777     777    777       777
  ZZZZZZ     ZZZZZZ          ZZZZZ      777     7777777777       777
   ZZZZZZZZZZZZZZZ            ZZZZ      777      77777777        777
     ZZZZZZZZZZZ               Z
        ZZZZZ

The friendly Operating System for IoT!

FEATURES

RIOT OS is an operating system for Internet of Things (IoT) devices. It is based on a microkernel and designed for

  • energy efficiency
  • hardware independent development
  • a high degree of modularity

Its features comprise

  • a preemptive, tickless scheduler with priorities
  • flexible memory management
  • high resolution timers
  • virtual, long-term timers
  • the native port allows to run RIOT as-is on Linux, BSD, and MacOS. Multiple instances of RIOT running on a single machine can also be interconnected via a simple virtual Ethernet bridge
  • Wiselib support (C++ algorithm library, including routing, clustering, timesync, localization, security and more algorithms)
  • IPv6
  • TCP and UDP
  • 6LoWPAN
  • RPL

GETTING STARTED

USING THE NATIVE PORT WITH NETWORKING

If you compile RIOT for the native cpu and include the nativenet module, you can specify a network interface like this: PORT=tap0 make term

SETTING UP A TAP NETWORK

There is a shellscript in RIOT/cpu/native called tapsetup.sh which you can use to create a network of tap interfaces.

USAGE To create a bridge and two (or count at your option) tap interfaces: ./tapsetup.sh create [count]

EXAMPLE APPLICATIONS

In the examples directory you can find some example applications. The default application demonstrates all available features for the current platform.

For example, you can use it to the test the native networking by running two instances: make term PORT=tap0 and make term PORT=tap1. Now configure two different addresses for both RIOT instances by typing addr 1 and addr 2 respectively and send a text message from one "node" to another by typing txtsnd 2 hello on the first "node".

CONTRIBUTE

To contribute something to RIOT, please refer to the development procedures and read all notes for best practice.

MAILING LISTS

LICENSE

  • All sources and binaries that have been developed at Freie Universität Berlin are licensed under the GNU Lesser General Public License version 2 as published by the Free Software Foundation.
  • Some external sources, especially files developed by SICS are published under a separate license.

All code files contain licensing information.

For more information, see the RIOT website:

http://www.riot-os.org