5.2.1.15 APS_TransportKeyReq_t Structure
Syntax
typedef struct
{
/** \ref Endian "[LE]"
* The extended 64-bit address of the destination device.*/
ExtAddr_t destAddress;
/** \cond SERVICE_FIELDS **/
struct
{
ApsCommandReq_t commandReq;
/** Global internal state of APS Transport Key component. */
enum
{
APS_TRANSPORT_KEY_BEGIN_STATE,
APS_TRANSPORT_KEY_CONFIRM_STATE,
APS_TRANSPORT_KEY_PROCESS_STATE
} state;
} service;
/** \endcond **/
/** The key being transported along with identification
* and usage parameters. */
APS_ReqTransportKeyData_t transportKeyData;
/** Callback function pointer as a handler of corresponding
* confirm primitive. Must not be set to NULL. */
void (*APS_TransportKeyConf)(APS_TransportKeyConf_t *conf);
/** Confirm primitive as a parameter of the callback function. */
APS_TransportKeyConf_t confirm;
/** Identifies the type of key material that should be transported;
* See ZigBee Specification r19, Table 4.12, page 452. */
APS_TransportKeyType_t keyType;
} APS_TransportKeyReq_t;Description
The APS_TransportKeyReq_t structure, defined in apsmeTransportKey.h and aps.h, specifies the parameters for the APSME-TRANSPORT-KEY.request primitive. For more details, refer to the Zigbee® Specification Revision 22 1.0 (05-3474-22), section 4.4.2.1 on page 423.
