TOSSIM_tutorial

TOSSIM_tutorial - Execution ? Structure of NesC code module...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
TOSSIM in TinyOS 2.0.2.2 Avinash Sridharan
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is it ? Why do you Care ? Firstly I consider it to be a debugger !! PHILOSOPHY: What runs on a mote, you should be able to run on a PC ? Secondly its a SENSOR NETWORK SIMULATOR PHILOSOPHY: Try to present a lower bound in order guarantee performance in worst case scenario.
Background image of page 2
TOSSIM vs OTHERS NS-2: Great for simulating internet protocols and wired networks. Not good when it comes to wireless and mobility. QualNet (Glomossim): Definitely one of the better wireless simulator. Models cater more towards 802.11/cellular networks.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
How Does It Work ? Real Mote World The wonderful world of PC App Timer CSMA CC2420 MSP430 App CSMA CC2420 App CSMA Packet Model Timer TOSSIM Timers Physical Layer Modeling
Background image of page 4
How does TOSSIM simulate code
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Execution ? Structure of NesC code module { uses interface TimerC } implementation{ command void Boot.boot(){ call Timer.startPeriodic(); } event void Timer.fired(){ } } Execution Model Boot Schedule events Execution Time Line TOSSIM Physical Layer Simulation TOSSIM Physical Layer Node 1 Node 2 Noise = N Power=P Power=P-G Gain = G Node 2 accepts packet if P-G > N Simulating Simultaneous Transmissions TOSSIM Physical Layer Node 1 Node 2 Noise = N Power=P1 Power=P1-G21 Gain = G21 Node 3 Power=P2-G23 Power=P2 Gain = G23 Packet from node 1 accepted at node 2 if: P1 G21 > P2-G23+N You are fully equipped to play with the motes now .................
View Full Document

This note was uploaded on 12/21/2010 for the course EE 652 taught by Professor Bhaskarkrishnamachari during the Fall '07 term at USC.

Page1 / 8

TOSSIM_tutorial - Execution ? Structure of NesC code module...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online