TinyOS 2.x supplies a well-designed single hop messaging layer for applications, but there is no standardized multihop framework. To address this issue, we surveyed a large number of applications [1] to determine the addressing techniques and messaging stack features used in sensor networks. From the results of this survey, we designed a multihop networking API [2] to address the needs of application designers at the messaging layer in a unified way.
This framework intends to implement that API. The key goals of this include:
Our design allows application designers to focus on the application layer without being bogged down by the details of routing protocol implementation. Similarly, routing protocol designers can make their improvements more accessible to the rest of the community since only a few wiring changes are needed to alter the routing protocol used by a given addressing mode, leaving application code untouched.
In its current form, the framework implementation supports addressing and multihop routing by a single node address. Our version of Dynamic Source Routing (DSR) [3] modified for TinyOS is used as the routing layer.
[1] R. Wagner, M. Duarte, J. R. Stinnett, T. S. E. Ng, D. B. Johnson, and R. Baraniuk, “A network API-driven survey of communication requirements of distributed data processing algorithms for sensor networks,” Rice University, Tech. Rep., 2006. [Online]. Available: http://www.ece.rice.edu/˜rwagner/IPSN-API-survey.pdf
[2] R. Wagner, J. R. Stinnett, M. Duarte, R. Baraniuk, D. B. Johnson, and T. S. E. Ng, “A Network Application Programming Interface for Data Processing in Sensor Networks,” Rice University, Tech. Rep. TREE0705, Jan. 2007. [Online]. Available: http://www.dsp.rice.edu/˜rwagner/docs/wagnerTREE0705.pdf
[3] D. Johnson, Y. Hu, and D. Maltz, The Dynamic Source Routing Protocol (DSR) for Mobile Ad Hoc Networks for IPv4, IETF RFC 4728, Feb. 2007.