Z-Stack API Reference  3.2.0
_zstack_gpdataind_t Struct Reference

#include <zstack.h>

Data Fields

gp_DataIndSecReq_t SecReqHandling
 
uint32 timestamp
 
uint8 status
 
int8 Rssi
 
uint8 LinkQuality
 
uint8 SeqNumber
 
sAddr_t srcAddr
 
uint16 srcPanID
 
uint8 appID
 
uint8 GPDFSecLvl
 
uint8 GPDFKeyType
 
bool AutoCommissioning
 
bool RxAfterTx
 
uint32 SrcId
 
uint8 EndPoint
 
uint32 GPDSecFrameCounter
 
uint8 GPDCmmdID
 
uint32 MIC
 
uint8 GPDasduLength
 
uint8 GPDasdu [1]
 

Detailed Description

Structure to send a GP Data Indication.

Field Documentation

§ appID

uint8 appID

The ApplicationID, corresponding to the received MPDU. ApplicationID 0x00 indicates the usage of the SrcID; ApplicationID 0x02 indicates the usage of the GPD IEEE address

§ AutoCommissioning

bool AutoCommissioning

The Auto-Commissioning sub-field, copied from the received GPDF

§ EndPoint

uint8 EndPoint

The identifier of the GPD endpoint used in combination with the GPD IEEE address if ApplicationID = 0b010. If ApplicationID = 0b000 this parameter is ignored

§ GPDasdu

uint8 GPDasdu[1]

The sequence of octets forming the received GPD ASDU

§ GPDasduLength

uint8 GPDasduLength

The number of octets in the received GPD ASDU

§ GPDCmmdID

uint8 GPDCmmdID

The identifier of the command, within the GP specification, which defines the application semantics of the ASDU

§ GPDFKeyType

uint8 GPDFKeyType

The security key type, which was successfully used for security processing the received MPDU

§ GPDFSecLvl

uint8 GPDFSecLvl

The security level, corresponding to the received MPDU

§ GPDSecFrameCounter

uint32 GPDSecFrameCounter

The security frame counter value used on transmission by the GPD entity from which the ASDU was received

§ LinkQuality

uint8 LinkQuality

The LQI delivered by the MAC on receipt of this frame

§ MIC

uint32 MIC

The sequence of octets forming the MIC for the received GPD MPDU

§ Rssi

int8 Rssi

The RSSI delivered by the MAC on receipt of this frame

§ RxAfterTx

bool RxAfterTx

The RxAfterTx sub-field, copied from the received GPDF

§ SecReqHandling

gp_DataIndSecReq_t SecReqHandling

The data indication Handler

§ SeqNumber

uint8 SeqNumber

The sequence number from MAC header of the received MPDU

§ srcAddr

sAddr_t srcAddr

The device address of the GPD entity from which the ASDU was received

§ SrcId

uint32 SrcId

The identifier of the GPD entity from which the ASDU was received

§ srcPanID

uint16 srcPanID

The 16-bit PAN identifier of the GPD entity from which the ASDU was received

§ status

uint8 status

Status code, as returned by dGP stub

§ timestamp

uint32 timestamp

The Timestamp delivered by the MAC on receipt of this frame


The documentation for this struct was generated from the following file: