Sequence Diagram
From Glacsweb Wiki
Best case scenario
4 3 2 1 BASE R R R R | PU PU PU PU | F<-->F<-->F<-->F--->| P<---P<---P<---P<---| TX-->| TX-->TX-->| TX-->TX-->TX-->| TX-->TX-->TX-->TX-->| PD PD PD PD |
Communication failure scenario
4 3 | 2 1 BASE | R R | R R | PU PU | PU PU | F<-->F | F<-->F--->| S S | P<---P<---| PD PD | TX-->| | TX-->TX-->| | PD PD |
Key
- R = Read Sensor Data (multiple)
- PU = Power up radio
- F = Flood - Broadcast ID to all nearby nodes
- P = Prune - Work out shortest distance to sink
- TX = Transmit sensor data
- S = Store data locally
- PD = Power down radio