CM-1115(20)-RT-AR User Manual
(continued)
DxP Packet
The packet is broken up into 2 parts: the Header and the Payload.
Header
The header is used to carry general information, such as is shown in the C
programming structure below:
typedef struct {
eCmnd command;
char[21] uName;
char[21] password;
uChar desc;
uint16 seq;
} THeader
Enumerated type that tells the DxP server what class of command is being sent.
See the Commands subsection for a full list of command classes.
Reserved for future use. It will contain the user name of a user on the ipIO that is
being accessed.
Reserved for future use. It will contain the password of the user above.
Command descriptor that describes the individual command within a command
class. By extension it lets the server know what the payload is. There is a
different set of descriptors for each command class; see the Descriptors
subsection for a full list of descriptors by command class.
Reserved for future use. Optional parameter that may be passed to the server in
addition to the descriptor.
The packet’s sequence number. Used as part of the security scheme.
Payload
The payload is determined by a combination of the command class and the descriptor.
The payloads are described with the descriptor; see the Descriptors subsection for
details.
Comments to this Manuals