Detailed DescriptionWireless Sensor Networks.
The WSN interface provides access to a Wireless Sensor Network (driver implementations include WSN's such as Crossbow's MICA2 motes and TeCo's RCore particles).
The current implementation supports a single group of network nodes. Support for multiple groups will be added in the future.
|Data subtypes. |
|Command subtype: set device state. |
|Request/reply: put the node in sleep mode (0) or wake it up (1). |
|Request/reply: change the data type to RAW or converted metric units. |
|Request/reply: change the receiving data frequency. |
|Structure describing the WSN node's data packet. |
|Data (PLAYER_WSN_DATA). |
|Command: set device state (PLAYER_WSN_CMD_DEVSTATE) This |
|Request/reply: Put the node in sleep mode (0) or wake it up (1). |
|Request/reply: change the data type to RAW or converted engineering units. |
|Request/reply: Change data delivery frequency. |
The WSN data packet describes a wireless sensor network node.
Request/reply: Change data delivery frequency.
By default, the frequency set for receiving data is set on the wireless node. Send a PLAYER_WSN_REQ_DATAFREQ request to change the frequency. Fill in the node ID or set -1 for all nodes. Null response.
Request/reply: change the data type to RAW or converted engineering units.
Send a PLAYER_WSN_REQ_DATATYPE request to switch between RAW or converted engineering units values in the data packet. Null response.
Request/reply: Put the node in sleep mode (0) or wake it up (1).
Send a PLAYER_WSN_REQ_POWER request to power or wake up a node in the WSN. Null response.