Middleware Design in Wireless Sensor Networks
This paper will introduce the middleware architecture of a WSN. The discussions are based on the summarization of [Miaomiao08]. If the readers want to understand more details, please refer to [Miaomiao08] for a comprehensive survey. Typically, the network protocol stack can be classified into 5 layers from top to bottom: Application layer, Transport layer, Routing layer, MAC layer, Physical layer. As an example, Crossbow Inc. motes (i.e., WSN nodes) allow a user to use NesC (Similar to C Language) to build sensor network control programs.