ZPS_tsAplZdpPowerDescRsp

This structure is used to store Power_Desc_rsp message data - a response to a call to the function ZPS_eAplZdpPowerDescRequest(). This response contains the Power descriptor of the node with a given network address.

The ZPS_tsAplZdpPowerDescRspstructure is detailed below.

typedef struct {
    uint8 u8Status;
    uint16 u16NwkAddrOfInterest;
    /* Rest of the message is variable length */
    ZPS_tsAplZdpNodePowerDescriptor sPowerDescriptor;
} ZPS_tsAplZdpPowerDescRsp;

where:

  • u8Statusis the return status for ZPS_eAplZdpPowerDescRequest()

  • u16NwkAddrOfInterestis the network address of the remote node that sent the response (this is the network address that was specified in the request)

  • sPowerDescriptoris the returned Power descriptor, a structure of type ZPS_tsAplZdpNodePowerDescriptor(detailed in Section 9.2.1.2). This is only included if u8Statusreports success

Parent topic:ZDP response structures