The wsn proxy provides an interface to a Wireless Sensor Network.
|
struct | playerc_wsn_t |
| Note: the structure describing the WSN node's data packet is declared in Player. More...
|
|
|
PLAYERC_EXPORT playerc_wsn_t * | playerc_wsn_create (playerc_client_t *client, int index) |
| Create a wsn proxy.
|
|
PLAYERC_EXPORT void | playerc_wsn_destroy (playerc_wsn_t *device) |
| Destroy a wsn proxy.
|
|
PLAYERC_EXPORT int | playerc_wsn_subscribe (playerc_wsn_t *device, int access) |
| Subscribe to the wsn device.
|
|
PLAYERC_EXPORT int | playerc_wsn_unsubscribe (playerc_wsn_t *device) |
| Un-subscribe from the wsn device.
|
|
PLAYERC_EXPORT int | playerc_wsn_set_devstate (playerc_wsn_t *device, int node_id, int group_id, int devnr, int state) |
| Set the device state.
|
|
PLAYERC_EXPORT int | playerc_wsn_power (playerc_wsn_t *device, int node_id, int group_id, int value) |
| Put the node in sleep mode (0) or wake it up (1).
|
|
PLAYERC_EXPORT int | playerc_wsn_datatype (playerc_wsn_t *device, int value) |
| Change the data type to RAW or converted engineering units.
|
|
PLAYERC_EXPORT int | playerc_wsn_datafreq (playerc_wsn_t *device, int node_id, int group_id, double frequency) |
| Change data delivery frequency.
|
|