Put the node in sleep mode (0) or wake it up (1). More...

Detailed Description

Put the node in sleep mode (0) or wake it up (1).

Change the data type to RAW or converted engineering units. Change data delivery frequency.

The dio proxy provides an interface to the digital input/output sensors.

Classes

struct  playerc_dio_t
 Dio proxy data. More...
 

Functions

PLAYERC_EXPORT playerc_dio_t * playerc_dio_create (playerc_client_t *client, int index)
 Create a dio proxy. More...
 
PLAYERC_EXPORT void playerc_dio_destroy (playerc_dio_t *device)
 Destroy a dio proxy. More...
 
PLAYERC_EXPORT int playerc_dio_subscribe (playerc_dio_t *device, int access)
 Subscribe to the dio device. More...
 
PLAYERC_EXPORT int playerc_dio_unsubscribe (playerc_dio_t *device)
 Un-subscribe from the dio device. More...
 
PLAYERC_EXPORT int playerc_dio_set_output (playerc_dio_t *device, uint8_t output_count, uint32_t digout)
 Set the output for the dio device. More...
 

Function Documentation

◆ playerc_dio_create()

PLAYERC_EXPORT playerc_dio_t* playerc_dio_create ( playerc_client_t *  client,
int  index 
)

Create a dio proxy.

◆ playerc_dio_destroy()

PLAYERC_EXPORT void playerc_dio_destroy ( playerc_dio_t *  device)

Destroy a dio proxy.

◆ playerc_dio_set_output()

PLAYERC_EXPORT int playerc_dio_set_output ( playerc_dio_t *  device,
uint8_t  output_count,
uint32_t  digout 
)

Set the output for the dio device.

◆ playerc_dio_subscribe()

PLAYERC_EXPORT int playerc_dio_subscribe ( playerc_dio_t *  device,
int  access 
)

Subscribe to the dio device.

◆ playerc_dio_unsubscribe()

PLAYERC_EXPORT int playerc_dio_unsubscribe ( playerc_dio_t *  device)

Un-subscribe from the dio device.