tsZCL_Address
This structure is used to specify the addressing mode and address for a communication with a remote node:
typedef struct PACK
{
teZCL_AddressMode eAddressMode;
union {
zuint16 u16GroupAddress;
zuint16 u16DestinationAddress;
zuint64 u64DestinationAddress;
teAplAfBroadcastMode eBroadcastMode;
} uAddress;
} tsZCL_Address;
Where:
eAddressModeis the addressing mode to be used (see Section 7.1.1).uAddressis a union containing the necessary address information (only one of the following must be set, depending on the addressing mode selected):u16GroupAddressis the 16-bit group address for the target nodes.u16DestinationAddressis the 16-bit network address of the target.u64DestinationAddressis the 64-bit IEEE/MAC address of the target.eBroadcastModeis the required broadcast mode (see Section 7.1.2).
Parent topic:General Structures