Technical Report Number
Wireless sensor networks (WSNs) are difﬁcult to pro-gram and usually run statically-installed software limiting its ﬂexibility. To address this, we developed Agilla, a new middleware that increases network ﬂexibility while simplifying application development. An Agilla network is deployed with no pre-installed application. Instead, users inject mobile agents that spread across nodes performing application-speciﬁc tasks. Each agent is autonomous, allowing multiple applications to share a network. Programming is simpliﬁed by allowing programmers to create agents using a high-level language. Linda-like tuple spaces are used for inter-agent communication and context discovery. This preserves each agent’s autonomy while providing a rich infrastructure for building complex applications, and marks the ﬁrst time mobile agents and tuple spaces are used in a uniﬁed framework for WSNs. Our efforts resulted in an implementation for MICA2 motes and the development of several applications. The implementation consumes a mere 41.6KB of code and 3.59KB of data memory. An agent can migrate 5 hops in less than 1.1 seconds with 92% reliability. In this paper, we present Agilla and provide a detailed evaluation of its implementation, an empirical study of its overhead, and a case study demonstrating its use.
Fok, Chien-Liang; Roman, Gruia-Catalin; and Lu, Chenyang, "Rapid Development and Flexible Deployment of Adaptive Wireless Sensor Network Applications" Report Number: WUCSE-2004-59 (2004). All Computer Science and Engineering Research.