LOADng Implememntation on Contiki OS
- work with rerr
- update route by seqno
- weak link & blacklist
- contiki-2.7.zip is the Contiki OS we were working on. Please unzip it to the home/contiki folder.
- Copy & paste
route.c, route.h, route-discovery.c, route-discovery.h, mesh.c
to~/contiki/core/net/rime
folder, replacing original files. - Copy & paste
uip-over-mesh.c
to~/contiki/core/net
folder, replacing original file. - Run following commandlines to test Rime with LOADng,
cd ~/contiki/examples/rime
make TARGET=sky example-mesh
- Test it under Cooja, add a number of nodes programmed with
example-mesh.sky
- "click button" on one of the nodes, it sends "Hello" message to node 1.1 with multihop.
NOTE: All *.backup files are unchanged from original Contiki OS.
route.c, route-discovery.c are files we are supposed to work on.
Please check out Implementation and Testing of LOADng: a Routing Protocol for WSN by Alberto Camacho Martínez Section 5.3, 5.4
- Example to check a box at README.md
route.c
- route_init
- route_add
- route_pending_list_lookup
- route_pending_add
- route_lookup
- route_blacklist_lookup
- route_blacklist_add
- route_refresh
- route_remove
route-discovery.c
- route_discovery_open
- route_discovery_discover
- route_discovery_close
- route_discovery_repair
- route_discovery_rerr