ZPS_tsAfInterPanDataIndEvent
This structure is used in the ZPS_EVENT_APS_INTERPAN_DATA_INDICATION event, which indicates that an inter-PAN data packet has arrived.
The ZPS_tsAfInterPanDataIndEvent
structure is detailed below.
typedef struct
{
ZPS_tsInterPanAddress sDstAddr;
uint8 u8SrcAddrMode;
uint16 u16SrcPan;
uint64 u64SrcAddress;
uint16 u16ProfileId;
uint16 u16ClusterId;
PDUM_thAPduInstance hAPduInst;
uint8 eStatus;
uint8 u8DstEndpoint;
uint8 u8LinkQuality;
} ZPS_tsAfInterPanDataIndEvent;
where
sDstAddr
is a structure of the typeZPS_tsInterPanAddress
(see Section8.2.3.3) which contains the PAN ID and address for the destination node(s) of the inter-PAN data packet.u8SrcAddrMode
indicates the type of address specified through the elementu64SrcAddress
(see Table).u16SrcPan
is the PAN ID of the network from which the data packet originates.u64SrcAddress
is the address of the node which sent the data packet (the type of address is specified using the elementu8SrcAddrMode
above).u16ProfileId
is the identifier of the application profile for which the data packet is intended.u16ClusterId
is the identifier of the cluster for which the data packet is intended.hAPduInst
is the handle of the APDU instance for the data packet.eStatus
is one of the status codes from the lower stack layers, detailed in Section 11.2.u8DstEndpoint
is the number of the destination endpoint for the data packet (in range 1-240).u8LinkQuality
is an LQI value indicating the perceived strength of the radio signal which carried the received data packet.
Parent topic:Event structures