5.2.1.4 APS_BindReq_t Structure
Syntax
typedef struct { /** Endian "[LE]" The source IEEE address for the binding entry. */ ExtAddr_t srcAddr; /** The source endpoint for the binding entry. Valid range: 0x01-0xFE. */ Endpoint_t srcEndpoint; /** Endian "[LE]" The identifier of the cluster on the source device * that is to be bound to the destination device. */ ClusterId_t clusterId; /** The addressing mode for the destination address. This parameter can take * a value from the following list: APS_GROUP_ADDRESS - 16-bit dst.group is used to identify the destination group APS_EXT_ADDRESS - the destination node is identified with extended address; * dst.unicast.extAddr holds the extended address, dst.unicast.endpoint holds the endpoint **/ APS_AddrMode_t dstAddrMode; /** Endian "[LE]" The destination address for the binding entry. */ APS_DstBindAddr_t dst; /** The field to keep the result of the request*/ APS_BindConf_t confirm; } APS_BindReq_t;
Description
The apsmeBind.h
file defines the structure APS_BindReq_t
, which the aps.h
file includes. This structure holds parameters for the APS_BindReq()
function. The user must pass a pointer to an instance of this type to the APS_BindReq()
function. The structure adheres to the APSME-BIND.request
primitive as defined in the Zigbee® specification.