We present Tython, a Python-based scripting extension to Tiny-OS's TOSSIM simulator. Tython includes a rich library of scripting primitives that enable users to describe dynamic but reproducible simulation scenarios. We take advantage of TinyOS's event driven execution to allow users to attach script callbacks to particular simulation scenarios. Scripts can also use interfaces at both a whole-network and a per-mote level to analyze and affect behavior in response to changes in the environment. We use the development of a Pursuer-Evader application as a running example to demonstrate the value of this approach.
Title
Tython: a Dynamic Simulation Environment for Sensor Networks
Published
1905-06-27
Full Collection Name
Electrical Engineering & Computer Sciences Technical Reports
Other Identifiers
CSD-05-1372
Type
Text
Extent
7 p
Archive
The Engineering Library
Usage Statement
Researchers may make free and open use of the UC Berkeley Library’s digitized public domain materials. However, some materials in our online collections may be protected by U.S. copyright law (Title 17, U.S.C.). Use or reproduction of materials protected by copyright beyond that allowed by fair use (Title 17, U.S.C. § 107) requires permission from the copyright owners. The use or reproduction of some materials may also be restricted by terms of University of California gift or purchase agreements, privacy and publicity rights, or trademark law. Responsibility for determining rights status and permissibility of any use or reproduction rests exclusively with the researcher. To learn more or make inquiries, please see our permissions policies (https://www.lib.berkeley.edu/about/permissions-policies).