5.2.1.14 APS_SwitchKeyReq_t Structure

Syntax
typedef struct
{
 /** \cond SERVICE_FIELDS **/
 struct
 {
 /** Request to send APS Remove Device command. */
 ApsCommandReq_t commandReq;
 } service;
 /** \endcond **/
 /** Endian "[LE]" The extended 64-bit address of the device to
 * which the switch-key command is sent. */
 ExtAddr_t destAddress;
 /** A sequence number assigned to a network key by the Trust Center
 * and used to distinguish network keys. */
 uint8_t keySeqNumber;
 /** Confirm primitive as a parameter of the callback function */
 APS_SwitchKeyConf_t confirm;
 /** Callback function pointer as a handler of corresponding
 * confirm primitive. Must not be set to NULL. */
 void (*APS_SwitchKeyConf)(APS_SwitchKeyConf_t *conf);
} APS_SwitchKeyReq_t;

Description

The APS_SwitchKeyReq_t structure, defined in apsmeSwitchKey.h and aps.h, specifies the parameters of the APSME-SWITCH-KEY.request primitive. For more details, refer to the Zigbee® Specification Revision 22 1.0 (05-3474-22), Table 4-21 on page 437.