SA-82-AR / XF2-AR User Manual
Page 22
VII. DxP Protocol
(Continued)
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
eCmnd_keepAlive
typedef enum{
eKeepAlive_null;
} eKeepAlive;
Command
Description
Server Response
eKeepAlive_null
This is the only valid descriptor that the keep alive
command supports. It is defined as null, as it carries no
payload.
0 → Successful
1 → Error