ZPS_tsAplZdpComplexDescRsp
This structure is used to store Complex_Desc_rsp message data - a response to a call to the function ZPS_eAplZdpComplexDescRequest(). This response contains the Complex descriptor of the node with a given network address.
The ZPS_tsAplZdpComplexDescRspstructure is detailed below.
typedef struct {
uint8 u8Status;
uint16 u16NwkAddrOfInterest;
uint8 u8Length;
/* Rest of the message is variable Length */
ZPS_tsAplZdpComplexDescElement sComplexDescriptor;
} ZPS_tsAplZdpComplexDescRsp;
where:
u8Statusis the return status for ZPS_eAplZdpComplexDescRequest().u16NwkAddrOfInterestis the network address of the remote node that sent the response (this is the network address that was specified in the request).u8Lengthis the length of the returned Complex descriptor, in bytes.sComplexDescriptoris the returned Complex descriptor, a structure of type.ZPS_tsAplZdpComplexDescRsp(described below). This is only included ifu8Statusreports success .
ZPS_tsAplZdpComplexDescElement
typedef struct { uint8 u8XMLTag;
uint8 u8FieldCount;
uint8 *pu8Data;
} ZPS_tsAplZdpComplexDescElement;
where:
u8XMLTagis the XML tag for the current field.u8FieldCountis the number of fields in the Complex descriptor.*pu8Datais a pointer to the data of the current field.
Parent topic:ZPS_tsAplZdpComplexDescRsp
Parent topic:ZDP response structures