Giter VIP home page Giter VIP logo

lingi2146-groupm's Introduction

LINGI2146-GroupM

Note that this project has been made using contiki 2.6, so the tests have been made with only four Z1 nodes. We are aware that some class have been changed from 2.6 to 3 but the project was almost finished when we saw this anomaly. Also note that our network works a lot better in simulation than on real modes where the modes have sometimes trouble to find the adresse of the root.

How to set-up the network :

  1. Run the Root nodes (don't forget to specify the TARGET): make clean && make RPLRoot.upload nodeid=1 nodemac=1 MOTES=/dev/ttyUSB0

  2. Run the Sender nodes (don't forget to specify the TARGET): make clean && make RPLSender.upload nodeid=X nodemac=X MOTES=/dev/ttyUSBY

  3. Launch the bash file to :

  • Start the MQTT broker
  • Start the Gateway
  • Start some subscibers

cd minirpl ./LaunchX.sh p sp [topics*] where : LaunchX = LaunchSimulationGatewayMQTT if you want to launch launch the simulation for simulated nodes cooja OR LaunchX = LaunchGatewayMQTT if you want to launch the gateway for real modes p is the port of the broker you want to start sp is the serial port of the root mode topics is a list of topics you want to subscribre

Exemple : ./LaunchGatewayMQTT.sh 1888 /dev/ttyUSB0 temperature humidity ./LaunchSimulationGatewayMQTT.sh 1886 /dev/pts/4 temperature humidity

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.