wsn
[Device proxies]
Collaboration diagram for wsn:
Detailed Description
The wsn proxy provides an interface to a Wireless Sensor Network.
Classes | |
struct | playerc_wsn_t |
WSN proxy data. More... | |
Functions | |
playerc_wsn_t * | playerc_wsn_create (playerc_client_t *client, int index) |
Create a wsn proxy. | |
void | playerc_wsn_destroy (playerc_wsn_t *device) |
Destroy a wsn proxy. | |
int | playerc_wsn_subscribe (playerc_wsn_t *device, int access) |
Subscribe to the wsn device. | |
int | playerc_wsn_unsubscribe (playerc_wsn_t *device) |
Un-subscribe from the wsn device. | |
int | playerc_wsn_set_devstate (playerc_wsn_t *device, int node_id, int group_id, int devnr, int state) |
Set the device state. | |
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). | |
int | playerc_wsn_datatype (playerc_wsn_t *device, int value) |
Change the data type to RAW or converted engineering units. | |
int | playerc_wsn_datafreq (playerc_wsn_t *device, int node_id, int group_id, double frequency) |
Change data delivery frequency. |