wsn
[Interface specifications]


Detailed Description

Wireless 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.

#define PLAYER_WSN_DATA   1
 Data subtypes.
#define PLAYER_WSN_CMD_DEVSTATE   1
 Command subtype: set device state.
#define PLAYER_WSN_REQ_POWER   1
 Request/reply: put the node in sleep mode (0) or wake it up (1).
#define PLAYER_WSN_REQ_DATATYPE   2
 Request/reply: change the data type to RAW or converted metric units.
#define PLAYER_WSN_REQ_DATAFREQ   3
 Request/reply: change the receiving data frequency.
typedef struct player_wsn_node_data player_wsn_node_data_t
 Data subtypes.
typedef struct player_wsn_data player_wsn_data_t
 Data subtypes.
typedef struct player_wsn_cmd player_wsn_cmd_t
 Data subtypes.
typedef struct
player_wsn_power_config 
player_wsn_power_config_t
 Data subtypes.
typedef struct
player_wsn_datatype_config 
player_wsn_datatype_config_t
 Data subtypes.
typedef struct
player_wsn_datafreq_config 
player_wsn_datafreq_config_t
 Data subtypes.

Define Documentation

#define PLAYER_WSN_REQ_DATAFREQ   3

Request/reply: change the receiving data frequency.

#define PLAYER_WSN_REQ_DATATYPE   2

Request/reply: change the data type to RAW or converted metric units.

#define PLAYER_WSN_REQ_POWER   1

Request/reply: put the node in sleep mode (0) or wake it up (1).


Last updated 12 September 2005 21:38:45