Giter Site home page Giter Site logo

hobama / srdcp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stefanofioravanzo/srdcp

0.0 1.0 0.0 41.27 MB

Source Routing and Data Collection routing Protocol implementation using Contiki OS

License: MIT License

Python 20.57% Shell 7.65% Makefile 0.89% C 69.56% C++ 1.33%

srdcp's Introduction

Source Routing And Data Collection for Wireless Sensor Networks

This project was developed as a final assignment for the LaboratoryOfWirelessSensorNetworks course @UniversityOfTrento during my master degree in Computer Science.

The assignment required to implement a simple routing protocol for low power wireless devices using the Contiki open source project. Contiki is an open source OS for Internet Of Things devices or, more generally, it enables building complex wireless systems for tiny low-cost, low-power microcontrollers.

Project Details

We assume to have many nodes which serve as sensors or actuators and need to report some information to a central node, the Sink. Likewise, the Sink needs to be able to send messages to any node present in the network. To do this, the protocol needs to build some kind of topology connecting the nodes in an optimal way, taking into consideration (messages) collision and topology changes (nodes leaving and entering the network).

The routing protocol should be able to support two types of traffic patterns:

  • many-to-one traffic (Data collection): The network nodes should be able to send packets to the Sink
  • one-to-many traffic (Source routing): The Sink should be able to send packets to any node in the network

To understand the details of the implemented protocol, refer to the Protocol Description.

For a detailed description of the source code and main functions, refer to the Implementation Guide.


The Cooja Network Simulator is part of the Contiki project and was built to run simulations of network software developed with Contiki. Cooja allows to simulate both large-scale networks or fully emulated hardware devices in extreme detail.

Under the sim/ folder there are instructions to run some Cooja simulations on simple networks and how to parse the results as well as a summary and discussion of the simulations' results.

Build

The provided Dockerfile will build an Ubuntu image with all the required dependences to build and run the simulations.

The contiki/ folder contains a packages version of the Contiki OS.

To build and start the docker container:

docker-compose build
docker-compose run contiki

The compose file will replace the image's /code folder with a volume pointing to the host's project directory, so any change to the source code will be reflected to the running container as well.

srdcp's People

Contributors

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