Using Protothreads for Sensor Node Programming
Using Protothreads for Sensor Node Programming
复制标题
使用 Protothreads 进行传感器节点编程
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
T. Voigt
中科院分区:
文献类型:
--
作者:
A. Dunkels;Oliver Schmidt;T. Voigt
Wireless sensor networks consist of tiny devices
that usually have severe resource constraints in terms of energy, processing power and memory. In order to work efficiently within the constrained memory, many operating systems for such devices are based on an event-driven model rather than on multi-threading. While event-driven systems allow for reduced memory usage, they require programs to be developed as explicit state machines. Since implementing programs as explicit state machines is hard, developing, maintaining, and debugging programs for event-driven systems is difficult. In this paper, we introduce protothreads, a programming abstraction for event-driven sensor network systems. Protothreads simplify implementation of high-level functionality on top of event-driven systems, without significantly increasing the memory requirements. The memory requirement of a protothread is that of an unsigned integer.