GithubHelp home page GithubHelp logo

pedrohenriquegomes / fbr-tsch Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 35.13 MB

Firmware implementation of FBR-TSCH for EWSN Dependability Competition 2016

License: Other

Python 10.40% C 79.37% C++ 10.05% CSS 0.02% Objective-C 0.10% Batchfile 0.06%

fbr-tsch's People

Contributors

changtengfei avatar pedrohenriquegomes avatar twatteyne avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

anrgusc

fbr-tsch's Issues

have a scons switch "topology" to force topology in the motes

linear network:

| 14-15-92-00-12-e6-3b-dd |
| 14-15-92-00-12-e6-b9-57 |
| 14-15-92-00-12-e6-bb-5e |
| 14-15-92-00-12-e6-79-05 |
| 14-15-92-00-12-e6-93-0f |
| 14-15-92-00-10-f4-13-cf |
| 14-15-92-00-11-6a-6e-29 |
| 14-15-92-00-11-69-89-a5 |
| 14-15-92-00-10-ea-5a-53 |
| 14-15-92-00-12-e6-6f-16 |

remove firstPacketSent

in light.c, there is the notion of firstPacketSent. This is not needed as we know the LED is OFF to start with

FAKESEND can only be executed if we receive a packte with state equal to ours

The FAKESEND idea can only be used if we receive a packet with the same state that we have now and the last packet was received a long time ago.
How it is implemented now we may get a transition before it happens. The 2s is the minimum interval in between transitions, but the transitions may take a long time, more than 2s.
So, if we get a packet with the same state and our last packet was more than 4 seconds ago, it means we missed one transition. This assumes our packets will not be traveling on the network for more than 4 seconds, which is OK to assume.

select parents

If we receive a beacon from a node with small rank we switch right aways, We should only switch the parent if the rank is lower AND we received more beacons than what we received from our current parent.

kill old packets in the queue

If I receive or generate a packet with seqnum==15, I should drop all the packets in the queue which are older than thay seqnum

optimize slot length

packets will not exceed the EB/DATA packet formats. Tune so that the slot length is the shortest possible.

slow mode

hace beacon carry app state. parse beacon

bootload=all alias

alias for COM3,COM4,COM5,COM6,COM7,COM8,COM10,COM11,COM12,COM13,COM14

medium access should not be not based on time

with 14 neighbors, the probability of having exactly one mote transmit in a cell is lowest when each node transmits with 1/14 probability, assuming all nodes have something to send. Apply that rule to transmitting data.

light_pin catch-up algorithm

Every time the sink receives a DATA packet that is more than 4 seconds ahead of the last packet, and the state is the same, it toggles the output to signalize the transition

send EB in EB slot

Have the first slot be for EB. In that slot, each mote either transmit (1/15 probability) or receives. EBs are hence not sent based on a timer.

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.