Descriptors, Viii. dxp protocol, Continued) – SurgeX CM-1115-RT-AR User Manual
Page 26
CM-1115(20)-RT-AR User Manual
Page 25
VIII. DxP Protocol
(continued)
Descriptors
Descriptors are used to describe the individual command within a command class, and the payload
that the packet contains. All of the descriptors and their payloads are outlined by command class
below.
eCmnd_set
The descriptors for this command class will be product specific.
eCmnd_get
The descriptors for this command class will be product specific.
eCmnd_io
typedef enum{
eIO_null,
eIO_changeRelay,
eIO_changeRelays,
eIO_getRelay,
eIO_getRelays,
eIO_getInput,
eIO_getInputs,
eIO_pulseRelay,
} eIO;
Command
Description
Server Response
eIO_changeRelay This command is used to change the status of an
individual relay. It carries the TChangeRelay payload; see
the Payloads subsection for details.
0 → Successful
1 → Error
eIO_changeRelays This command is used to set all of the relays in a device.
It carries the TChangeRelays payload; see the
Payloads subsection for details.
0 → Successful
1 → Error
eIO_getRelay
This command has not yet been implemented.
eIO_getRelays
This command is used to get the status of all the relays on
the server.
Byte Array
containing status
of each relay.
eIO_getInput
This command has not yet been implemented.
eIO_getInputs
This command is used to get the status of all inputs on the
server.
Byte Array
containing status
of each input.
eIO_pulseRelay
This command is used to pulse a relay. It carries the
TPulseRelay payload; see the Payloads subsection
for details.
0 → Successful
1 → Error