Networking Reference
In-Depth Information
Fig. 4.5 Components e interfaces of sensor nodes in the TinyOS platform
major components and their respective interfaces were created. Such components
and interfaces are illustrated in the diagrams of Fig. 4.5 , and briefly described below.
In the version implemented for the Mica/TinyOS platform, the approach adopted
for the integration in the WoT was based in the implementation of an HTTP server
embedded in the sensor nodes. Therefore, for such WSN platform, the Communi-
cation component includes classes responsible for receiving and processing HTTP
request messages, and then for composing and sending the respective HTTP reply
messages. The features of the Sensor component are realized by software compo-
nents already existing in the sensor platform; it was not necessary to implement
them. However, the implementation of the Publish-Discovery classes was hampered
by the available node interfaces. The access to the node state information on Mica
platform is restricted to the sensed data, and there is no API to report, for example, the
residual energy of the sensor. Information such as the maximum precision provided
by a given sensing unit comes preconfigured from the factory, and there is no native
method to get/set such an information. Data such as the node geographic location is
only available either if the node is endowed with a GPS unit or if some algorithm
for node location is employed. Therefore, in the current version of the SmartSensor
infrastructure all the relevant metadata for sensor nodes from the Mica/TinyOS plat-
form was statically configured as parameters in the advertising messages sent by the
The main software components implemented for the Mica/TinyOS sensor nodes
are showed in Fig. 4.5 and briefly described below:
Search MirCeyron ::

Custom Search