State-Oriented Programming for TinyOS
Siarhei Smolau and Ronald Beaubrun
Summer Computer Simulation Conference 2007 (SCSC 2007)
San Diego, California (USA), July 15-18, 2007
Abstract
In many wireless sensor network (WSN) applications, nodes are having complex behavior. This behavior can be formalized as a state machine. NesC is a programming language for programming sensor networks in TinyOS. In this paper, we propose a way to implement state machines in NesC to improve maintainability of programs, decrease size of the code and facilitate debugging and maintenance of programs.