Docsity

TinyOS: An Operating System for Embedded Sensor Nodes in Wireless Networks, Slides of Wireless Networking

Partial preview of the text

Download TinyOS: An Operating System for Embedded Sensor Nodes in Wireless Networks and more Slides Wireless Networking in PDF only on Docsity!

CS698T

Wireless Networks:

Principles and Practice

Topic 12 TinyOS Bhaskaran Raman, Department of CSE, IIT Kanpur http://www.cse.iitk.ac.in/users/braman/courses/wless-spring2007/

TinyOS

● Reference: “T he Emergence of Networking Abstractions and Techniques in TinyOS”, Philip Levis, Sam Madden, David Gay, Joseph Polastre, Robert Szewczyk, Alec Woo, Eric Brewer, and David Culler, NSDI 2004.

  • (^) Section- ● More related to embedded computing than wireless ● Necessary for projects

TinyOS Design Overview (1 of 2)

● Modular framework:

  • (^) A set of software components and interfaces
  • (^) No strict definition of system/user boundary ● Issues addressed by this approach:
  • (^) Adaptation to heterogeneous hardware ● Reuse of software
  • (^) Adaptation to different application requirements ● Put together required software components
  • (^) Memory resource constraints ● Use only the required components

TinyOS Design Overview (2 of 2)

● Event-driven concurrency model:

  • (^) Hardware events and software tasks ● Issues addressed by this approach:
  • (^) Requirement for concurrency ● Event-driven model is natural: no blocking or polling
  • (^) Limited memory ● Many concurrent tasks using just one stack
  • (^) Power savings ● No tasks ==> sleep

Blink: An Example TinyOS Appln.

● Split into Blink.nc & BlinkM.nc ● BlinkM.nc:

  • (^) The module: the actual implementation ● Blink.nc:
  • (^) The configuration: the “ wiring-up” of i nterfaces ● Other examples: CountLeds, CountSend, CountReceive