Code Monkey home page Code Monkey logo

ee652_loadng's Introduction

#TO DO#

  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 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

ee652_loadng's People

Contributors

jiahaoliang avatar adrianhihi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.