ZPS_tsAfTCstatusEvent
This structure is used in the ZPS_EVENT_TC_STATUS event, which indicates whether negotiations to establish a link key with the Trust Centre have been successful and, if so, which key is the active key.
The ZPS_tsAfTCstatusEventstructure is detailed below.
typedef struct
{
ZPS_tuTcStatusData uTcData;
uint8 u8Status;
}ZPS_tsAfTCstatusEvent;
where:
uTcDatais dependent onu8Status(below) and is either a pointer to the link key descriptor in the case of success or the address of the Trust Centre node in the case of failure.ZPS_tuTcStatusDatais a union, detailed below.u8Statusindicates the results of the link key negotiations - one of:ZPS_E_SUCCESS (link key successfully established)
ZPS_APL_APS_E_SECURITY_FAIL (link key not established)
The ZPS_tuTcStatusDatastructure is detailed below.
typedef union {
ZPS_tsAplApsKeyDescriptorEntry *pKeyDesc;
uint64 u64ExtendedAddress;
} PS_tuTcStatusData;
where:
pKeyDescis a pointer to the active link key, if successfully established, which is contained in the structure described in Section 8.2.3.6.u64ExtendedAddressis the IEEE/MAC address of the Trust Centre node with which link key negotiations failed.
Parent topic:Event structures