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_tsAfInterPanDataIndEventstructure 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

  • sDstAddris a structure of the type ZPS_tsInterPanAddress(see Section8.2.3.3) which contains the PAN ID and address for the destination node(s) of the inter-PAN data packet.

  • u8SrcAddrModeindicates the type of address specified through the element u64SrcAddress (see Table).

  • u16SrcPanis the PAN ID of the network from which the data packet originates.

  • u64SrcAddressis the address of the node which sent the data packet (the type of address is specified using the element u8SrcAddrModeabove).

  • u16ProfileIdis the identifier of the application profile for which the data packet is intended.

  • u16ClusterIdis the identifier of the cluster for which the data packet is intended.

  • hAPduInstis the handle of the APDU instance for the data packet.

  • eStatusis one of the status codes from the lower stack layers, detailed in Section 11.2.

  • u8DstEndpointis the number of the destination endpoint for the data packet (in range 1-240).

  • u8LinkQualityis an LQI value indicating the perceived strength of the radio signal which carried the received data packet.

Parent topic:Event structures