Sdxp packet, Axess elite user manual – SurgeX SX-AX20E User Manual

Page 27

Advertising
background image

Axess Elite

User Manual

Firmware Version v1.06.227

© SurgeX | Technical Support: 800-645-9721 | surgex.com

9.3

SDxP 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 { eType

type; char[21]

uName; char[21]

password; uChar

desc;

uChar param;
uint16 seq;

} THeader

Variable

Description

type

Enumerated type that tells the SDxP server what type of packet is being sent. See the Types

subsection for a full list of packet types.

uName

This variable MUST contain a valid user on the target Axess Elite.

password

This variable MUST contain the password for the specified user.

desc

This variable is the type descriptor that describes the type of data that is being sent. By

extension, it lets the server know what the payload is. There is a different set of descriptors for

each type class. See the Descriptors subsection for a full list of descriptors by type.

param

Reserved for future use. Optional parameter that may be passed to the server in addition to the

descriptor.

seq

The packet’s sequence number. Used as part of the security scheme.

Payload

The payload is determined by a combination of the type class and the descriptor. The payloads are described by

the descriptor; see the Descriptors subsection for details.

Advertising
This manual is related to the following products: