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_tsAplZdpComplexDescRsp
structure is detailed below.
typedef struct {
uint8 u8Status;
uint16 u16NwkAddrOfInterest;
uint8 u8Length;
/* Rest of the message is variable Length */
ZPS_tsAplZdpComplexDescElement sComplexDescriptor;
} ZPS_tsAplZdpComplexDescRsp;
where:
u8Status
is the return status for ZPS_eAplZdpComplexDescRequest().u16NwkAddrOfInterest
is the network address of the remote node that sent the response (this is the network address that was specified in the request).u8Length
is the length of the returned Complex descriptor, in bytes.sComplexDescriptor
is the returned Complex descriptor, a structure of type.ZPS_tsAplZdpComplexDescRsp
(described below). This is only included ifu8Status
reports success .
ZPS_tsAplZdpComplexDescElement
typedef struct { uint8 u8XMLTag;
uint8 u8FieldCount;
uint8 *pu8Data;
} ZPS_tsAplZdpComplexDescElement;
where:
u8XMLTag
is the XML tag for the current field.u8FieldCount
is the number of fields in the Complex descriptor.*pu8Data
is a pointer to the data of the current field.
Parent topic:ZPS_tsAplZdpComplexDescRsp
Parent topic:ZDP response structures