ZPS_tsAplZdpSimpleDescRsp

This structure is used to store Simple_Desc_rsp message data - a response to a call to the function ZPS_eAplZdpSimpleDescRequest(). This response contains the Simple descriptor of a given endpoint on the node with a given network address.

The ZPS_tsAplZdpSimpleDescRspstructure is detailed below.

typedef struct {
    uint8 u8Status;
    uint16 u16NwkAddrOfInterest;
    uint8 u8Length;
    /* Rest of the message is variable length */
    ZPS_tsAplZdpSimpleDescType sSimpleDescriptor;
} ZPS_tsAplZdpSimpleDescRsp;

where:

  • u8Statusis the return status for ZPS_eAplZdpSimpleDescRequest().

  • 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 Simple descriptor, in bytes (depends on the number of clusters supported by the endpoint).

  • sSimpleDescriptoris the returned Simple descriptor, a structure of type ZPS_tsAplZdpSimpleDescType(detailed in Section 9.2.1.3). This is only included if u8Statusreports success.

Parent topic:ZDP response structures