Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.7 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.7 KB

LOADng Implememntation on Contiki OS

TO DO (which we no longer work on)

  1. work with rerr
  2. update route by seqno
  3. weak link & blacklist

How To Use

  1. contiki-2.7.zip is the Contiki OS we were working on. Please unzip it to the home/contiki folder.
  2. Copy & paste route.c, route.h, route-discovery.c, route-discovery.h, mesh.c to ~/contiki/core/net/rime folder, replacing original files.
  3. Copy & paste uip-over-mesh.c to ~/contiki/core/net folder, replacing original file.
  4. Run following commandlines to test Rime with LOADng,
cd ~/contiki/examples/rime  
make TARGET=sky example-mesh
  1. Test it under Cooja, add a number of nodes programmed with example-mesh.sky
  2. "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.

Functions need to implement

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

License

3-clause BSD license